:root {
  color-scheme: light;
  --ink: #191715;
  --muted: #706960;
  --paper: #faf8f4;
  --panel: #ffffff;
  --line: #ded7ce;
  --accent: #b85c38;
  --accent-dark: #7b351f;
  --forest: #273d36;
  --gold: #c19a5b;
  --shadow: 0 18px 45px rgba(33, 27, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(250, 248, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--forest);
  border: 2px solid var(--gold);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  content: "";
}

.menu-icon::before {
  transform: translateY(-6px);
}

.menu-icon::after {
  transform: translateY(4px);
}

.hero {
  min-height: calc(82vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 12vw, 132px) clamp(20px, 7vw, 96px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.78), rgba(16, 16, 15, 0.34)),
    url("https://static.wixstatic.com/media/947358ee2a6d4402835f1e8d1ef75da8.jpg/v1/fill/w_1600,h_980,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/947358ee2a6d4402835f1e8d1ef75da8.jpg") center / cover;
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c78d;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 100%;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 52ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--forest);
}

.quick-actions a {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.quick-actions a:hover,
.quick-actions a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: clamp(68px, 10vw, 116px) clamp(20px, 6vw, 84px);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow),
.copy-block p {
  color: var(--muted);
  font-size: 1rem;
}

.gallery-section {
  background: #fff;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
  background: #f5f0e8;
}

.quote-copy p:not(.eyebrow) {
  max-width: 56ch;
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.customer-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.customer-fields label,
.quote-fields {
  display: grid;
}

.quote-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.customer-fields label,
.quote-fields label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.wide-field {
  grid-column: span 3;
}

.field-unit {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.customer-fields input,
.customer-fields textarea,
.quote-fields input,
.quote-fields select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 12px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.customer-fields input:focus,
.customer-fields textarea:focus,
.quote-fields input:focus,
.quote-fields select:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(184, 92, 56, 0.17);
}

.quote-result {
  display: grid;
  gap: 8px;
  padding: 22px;
  color: #fff;
  background: var(--forest);
}

.quote-result > span {
  color: #f1c78d;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

#quote-total {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  line-height: 1;
}

#quote-message {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

#quote-breakdown {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

#quote-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

#quote-breakdown strong {
  color: #fff;
  white-space: nowrap;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.quote-actions .button {
  min-height: 40px;
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.quote-print-summary {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #ddd4c7;
}

.gallery-item.feature {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 16px 14px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
  background: var(--paper);
}

.copy-block {
  max-width: 680px;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.products-section {
  background: #f1eee7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 220px auto;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-card img,
.price-tile {
  width: 100%;
  height: 220px;
}

.product-card img {
  object-fit: cover;
}

.product-card > div:last-child {
  padding: 20px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-type {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-tile {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(39, 61, 54, 0.94), rgba(184, 92, 56, 0.92)),
    var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 700;
}

.hours-section {
  background: var(--forest);
  color: #fff;
}

.hours-section .eyebrow,
.hours-section .section-heading p {
  color: #f1c78d;
}

.hours-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
}

.hours-list div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.hours-list dt {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hours-list dd {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(30px, 7vw, 90px);
  background: #fff;
}

address {
  margin-top: 24px;
  color: var(--muted);
  font-style: normal;
}

address a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(184, 92, 56, 0.17);
}

.contact-form button {
  justify-self: start;
  border: 0;
  font: inherit;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.76);
  background: #171514;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px clamp(18px, 4vw, 56px) 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .quick-actions,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .split,
  .quote-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .quote-fields {
    grid-template-columns: 1fr;
  }

  .customer-fields {
    grid-template-columns: 1fr;
  }

  .wide-field {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
  }

  .site-nav {
    top: 67px;
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 84px;
  }

  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .quick-actions,
  .gallery-grid,
  .product-grid,
  .hours-list {
    grid-template-columns: 1fr;
  }

  .gallery-item.feature {
    grid-column: span 1;
    grid-row: span 1;
  }

  .product-card {
    grid-template-rows: 190px auto;
  }

  .product-card img,
  .price-tile {
    height: 190px;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  body > :not(main),
  main > :not(#quote),
  #quote > :not(.quote-form),
  .quote-form > :not(.quote-print-summary) {
    display: none !important;
  }

  .quote-section,
  .quote-form,
  .quote-print-summary {
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
  }

  .quote-print-summary {
    max-width: 7.5in;
    margin: 0 auto;
    color: #000;
    font: 12pt/1.45 Georgia, "Times New Roman", serif;
  }

  .quote-print-summary header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #000;
  }

  .quote-print-summary h2 {
    font-size: 28pt;
  }

  .quote-print-summary h3 {
    margin: 22px 0 8px;
  }

  .quote-print-summary p,
  .quote-print-summary address {
    margin: 0;
    color: #000;
  }

  .print-customer-grid,
  .print-total-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 18px 0;
  }

  .print-total-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 14px;
    border-top: 1px solid #000;
  }

  .quote-print-summary dt {
    font-weight: 800;
    text-transform: uppercase;
  }

  .quote-print-summary dd {
    margin: 0;
  }

  #print-quote-lines {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #print-quote-lines li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #ddd;
  }

  #print-total {
    font-size: 18pt;
    font-weight: 800;
  }
}
