@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-italic-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --paper-deep: #ebe4d9;
  --ink: #26241f;
  --muted: #62594f;
  --line: #d7cec1;
  --clay: #775139;
  --night: #272622;
  --night-inset: #33312c;
  --night-line: #5e564d;
  --sand: #debea1;
  --white: #fcf8f2;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --header-height: 78px;
  --gutter: clamp(24px, 5vw, 82px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.65 var(--body);
}

body, button, input, select { font-family: var(--body); }
button, input, select { font-size: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.96;
}

h2 {
  font-size: clamp(3.125rem, 5.8vw, 5.25rem);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

::selection { color: var(--ink); background: var(--sand); }

.wrap {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding-block: clamp(74px, 8.2vw, 126px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: calc(var(--header-height) - 1px);
  display: grid;
  grid-template-columns: minmax(176px, 1fr) auto minmax(176px, 1fr);
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.135em;
}

.brand-point { width: 5px; height: 5px; background: var(--clay); }
.brand-sub {
  margin-top: 6px;
  font-size: 0.51rem;
  font-weight: 700;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 42px);
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
}

.site-nav > a:not(.button) { padding: 10px 0; }
.site-nav > a:not(.button):hover, .back-top:hover { color: var(--clay); }
.header-cta { justify-self: end; }
.mobile-cta { display: none !important; }

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  vertical-align: middle;
  transition: transform 200ms ease;
}

.arrow::before, .arrow::after {
  content: "";
  position: absolute;
  border-top: 1px solid currentColor;
}

.arrow::before {
  top: 50%;
  left: 50%;
  width: 13px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.arrow::after {
  top: calc(50% - 5px);
  left: calc(50% - 2px);
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
}

.arrow-up { transform: rotate(-45deg); }
.button:hover .arrow { transform: translate(2px, -2px); }
.button-outline { border-color: #b6a99b; background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.header-cta { min-height: 43px; padding: 10px 14px; gap: 14px; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--sand); }
.button-hero-outline { border-color: #e8dcc5a6; color: var(--white); }
.button-hero-outline:hover { background: #fcf8f229; border-color: var(--white); }
.button-sand { background: var(--sand); color: var(--ink); }
.button-sand:hover { background: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #4a3a2e; }

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
}

.menu-lines {
  position: relative;
  display: block;
  width: 18px;
  margin-inline: auto;
}

.menu-lines::before, .menu-lines::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1px;
  background: currentColor;
  transition: transform 200ms ease;
}

.menu-lines::before { transform: translateY(-4px); }
.menu-lines::after { transform: translateY(3px); }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after { transform: rotate(-45deg); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(590px, 49.5vw, 790px);
  display: grid;
  overflow: hidden;
  background: #504033;
  color: var(--white);
}

.hero-image, .hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; object-position: center 54%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #1d1714c4 0%, #21191590 33%, #28201827 65%, transparent 93%),
    linear-gradient(0deg, #19120d70, transparent 34%);
}

.hero-inner {
  min-height: 100%;
  position: relative;
  display: grid;
  align-items: center;
  padding-block: 74px 98px;
}

.hero-content { animation: enter 680ms ease-out both; }

@keyframes enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
  color: var(--clay);
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 22px;
  height: 1px;
  background: currentColor;
}

.hero .eyebrow, .calculator .eyebrow { color: #efd1b5; }

.hero h1 {
  font-size: clamp(5rem, 8vw, 8.25rem);
  line-height: 0.82;
  letter-spacing: -0.048em;
}

.hero h1 em {
  display: block;
  margin-top: 5px;
  color: #f0d7bc;
  font-weight: 500;
}

.hero-description {
  max-width: 365px;
  margin-top: 27px;
  color: #faf3e9;
  font-size: clamp(0.94rem, 1.2vw, 1.12rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-caption {
  position: absolute;
  right: 0;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.71rem;
  letter-spacing: 0.075em;
}

.hero-caption span { width: 23px; height: 1px; background: currentColor; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(235px, 330px);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2 { text-wrap: initial; }
.section-heading > p { padding-bottom: 3px; color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filters button {
  min-height: 42px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.filters button:hover { border-color: var(--clay); }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 22px; }
.project { position: relative; border-bottom: 1px solid var(--line); }
.project-image { aspect-ratio: 1.28; overflow: hidden; background: var(--paper-deep); }

.project-image img, .estimate-image img, .benefits-photo img, .dialog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image img { transition: transform 500ms ease; }
.project:has(.project-open:not([hidden])):hover img, .project:focus-within img { transform: scale(1.04); }

.project-info { padding: 17px 49px 17px 0; }
.project-style {
  color: var(--clay);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project h3 { margin-top: 5px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.project-materials { margin-top: 8px; color: var(--muted); font-size: 0.8rem; }

.project-open {
  display: grid;
  position: absolute;
  inset: 0;
  width: 100%;
  align-items: end;
  justify-items: end;
  padding: 0 0 19px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.project-open .arrow {
  display: grid;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 200ms ease, color 200ms ease;
}

.project-open:hover .arrow, .project-open:focus-visible .arrow { background: var(--ink); color: var(--white); }

.calculator {
  color: var(--white);
  background: var(--night);
  color-scheme: dark;
}

.calculator .section-heading > p, .calculator .field-hint { color: #d2c8bc; }

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.calc-form { display: grid; gap: 24px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 9px; font-weight: 700; }
.layout-options, .dimension-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.layout-options label {
  display: flex;
  position: relative;
  min-height: 86px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 4px;
  border: 1px solid var(--night-line);
  border-radius: 2px;
  background: var(--night-inset);
  color: #e6ddd1;
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
}

.layout-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.layout-options label:has(input:checked) { border-color: var(--sand); background: #473b30; color: var(--white); }
.layout-options label:has(input:focus-visible) { outline: 2px solid var(--white); outline-offset: 3px; }

.layout-shape {
  display: block;
  width: 28px;
  height: 21px;
  border: 4px solid currentColor;
  color: var(--sand);
}
.straight { height: 21px; border-width: 4px 0 0; }
.corner { border-width: 4px 0 0 4px; }
.u-shape { border-bottom: 0; }
.field-hint { margin: -4px 0 10px; font-size: 0.77rem; }

.material-fields, .request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.calc-form label:not(.layout-options label, .extras label), .request-form label {
  display: grid;
  gap: 7px;
  align-content: start;
  font-size: 0.83rem;
  font-weight: 700;
}

.calc-form label:has(input[type="text"]) { color: #e6ddd1; font-weight: 500; }

select, input[type="text"] {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 11px;
  border: 1px solid var(--night-line);
  border-radius: 2px;
  background: var(--night-inset);
  color: var(--white);
  font: 500 0.88rem/1.4 var(--body);
}

input[aria-invalid="true"] { border-color: #f4a690; }
.extras { display: grid; gap: 0; }
.extras label {
  min-height: 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid var(--night-line);
  font-size: 0.84rem;
  cursor: pointer;
}

.extras input { width: 16px; height: 16px; margin: 0 2px 0 0; accent-color: var(--sand); }
.extra-price { padding-left: 4px; color: #e2c6ad; white-space: nowrap; }

.estimate { background: var(--night-inset); }
.estimate-image { aspect-ratio: 2.05; overflow: hidden; background: #44392f; }
.estimate-image img { object-position: center; }
.estimate-info { padding: clamp(23px, 3.1vw, 40px); }
#estimate-title { color: #e4d7c8; font-size: 0.88rem; }

.estimate output {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.065em;
}

.estimate-note { min-height: 3em; margin-top: 14px; color: #d3c9bd; font-size: 0.8rem; }
.estimate .button { width: 100%; margin-top: 20px; }

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li { padding-top: 17px; border-top: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 25px; color: var(--clay); font-size: 0.77rem; letter-spacing: 0.05em; }
.process-list h3 { margin-bottom: 10px; font-size: clamp(1.7rem, 2.45vw, 2.35rem); }
.process-list p { max-width: 255px; color: var(--muted); font-size: 0.88rem; }

.benefits { padding-block: clamp(54px, 6.5vw, 98px); background: var(--paper-deep); }
.benefits-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.benefits-photo { aspect-ratio: 1.1; background: #685142; overflow: hidden; }
.benefits-copy h2 { text-wrap: initial; }
.benefits-list { margin-top: 25px; }
.benefits-list > div { padding: 12px 0 13px; border-top: 1px solid #cbbeb0; }
.benefits-list dt { font-weight: 700; }
.benefits-list dd { margin-top: 3px; color: var(--muted); font-size: 0.87rem; }

.faq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 6vw, 84px); }
.faq h2 { text-wrap: initial; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 18px;
  align-items: center;
  padding: 17px 2px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--clay); font-size: 1.4rem; font-weight: 400; line-height: 1; text-align: center; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--clay); }
.faq-list p { max-width: 620px; padding: 0 35px 17px 2px; color: var(--muted); font-size: 0.88rem; }

.request-section { background: #e7d8c6; }
.request-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 90px); align-items: center; }
.request-copy h2 { text-wrap: initial; }
.request-copy > p:last-child { max-width: 435px; margin-top: 15px; color: #514638; }
.request-content { min-width: 0; }
.request-form { display: grid; gap: 15px; justify-items: start; }
.request-fields { width: 100%; }
.request-form select { background: #f4ece2; border-color: #aa9987; color: var(--ink); }

.attached-estimate {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 4px 11px;
  background: #f4ece2;
  border: 1px solid #aa9987;
  font-size: 0.82rem;
}

.attached-estimate button, .dialog-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: 400 1.5rem/1 system-ui, sans-serif;
}

.attached-estimate button:hover { border-color: #aa9987; }
.request-result h3 { font-size: 2.2rem; }
.request-result p { margin-top: 9px; }
.request-result .button { margin-top: 15px; }
.site-footer { padding-block: 34px; background: var(--night); color: var(--white); }
.site-footer .brand-point { background: var(--sand); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.footer-inner p { color: #d2c8bc; font-size: 0.77rem; }
.back-top { justify-self: end; padding-block: 7px; font-size: 0.81rem; }
.back-top:hover { color: var(--sand); }
.back-top span { margin-left: 5px; }

.project-dialog {
  width: min(865px, calc(100% - 36px));
  max-height: calc(100% - 34px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

.project-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.project-dialog::backdrop { background: #171410b8; }
.dialog-image { min-height: 405px; background: var(--paper-deep); }
.dialog-copy { padding: 55px clamp(22px, 4vw, 44px) 28px; align-self: center; }
.dialog-copy h2 { margin-bottom: 14px; font-size: clamp(2.9rem, 5vw, 4.5rem); text-wrap: initial; }
.dialog-copy > p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }
.dialog-materials { font-weight: 700; font-size: 0.87rem; }
.dialog-copy .button { margin-top: 19px; }
.dialog-close { position: absolute; z-index: 1; top: 9px; right: 9px; border-color: var(--line); background: var(--paper); }
.dialog-close:hover { background: var(--paper-deep); }

@media (max-width: 960px) {
  :root { --header-height: 68px; }
  .site-header:not(.menu-ready) { position: relative; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0; }
  .header-cta { display: none; }
  .site-nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 0 20px;
    padding: 7px 0 12px;
  }
  .menu-ready .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 4px var(--gutter) 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 14px 20px #21191516;
  }
  .menu-ready .site-nav > a:not(.button) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-ready .mobile-cta { display: inline-flex !important; justify-self: start; margin-top: 14px; }
  .hero { min-height: 568px; }
  .hero h1 { font-size: clamp(4.5rem, 11vw, 7.5rem); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-fields { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
  .section-heading, .benefits-inner, .faq, .request-inner { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .section-heading { margin-bottom: 27px; }
  .section-heading > p { max-width: 450px; }
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .estimate-image { aspect-ratio: 2.4; }
  .benefits-inner { gap: 27px; }
  .benefits-photo { aspect-ratio: 1.6; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
  .step-number { margin-bottom: 14px; }
  .faq, .request-inner { gap: 25px; }
  .request-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  :root { --gutter: 19px; }
  .section { padding-block: 62px; }
  .hero { min-height: 590px; }
  .hero-inner { padding-block: 58px 62px; }
  .hero-image { object-position: 56% center; }
  .hero::after { background: linear-gradient(90deg, #1d1714b8, #21191557 95%), linear-gradient(0deg, #19120d83, transparent 42%); }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(3.58rem, 11.6vw, 4.65rem); line-height: 0.86; }
  .hero-description { max-width: 300px; margin-top: 20px; }
  .hero-actions { margin-top: 24px; }
  .hero-caption { bottom: 16px; }
  .button { min-height: 47px; }
  .hero-actions .button { gap: 9px; padding-inline: 11px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .project-image { aspect-ratio: 1.31; }
  .project h3 { font-size: 2.2rem; }
  .filters { gap: 6px; margin-bottom: 16px; }
  .filters button { padding-inline: 7px; font-size: 0.73rem; }
  .layout-options, .dimension-fields { gap: 7px; }
  .material-fields, .request-fields { grid-template-columns: 1fr; }
  select, input[type="text"] { font-size: 1rem; }
  .footer-inner { grid-template-columns: 1fr auto; gap: 16px; }
  .footer-inner p { grid-row: 2; grid-column: 1 / -1; }
  .project-dialog[open] { grid-template-columns: minmax(0, 1fr); }
  .dialog-image { min-height: 0; aspect-ratio: 1.55; }
  .dialog-copy { padding: 24px 18px; }
}

@media (max-width: 365px) {
  .hero-actions { align-items: start; flex-direction: column; }
  .hero-actions .button { padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
