:root {
  --oak-dark: #3a2418;
  --oak-medium: #7b5638;
  --oak-light: #c9a46f;
  --oak-pale: #eadcc7;
  --charcoal: #181716;
  --warm-grey: #6f6860;
  --soft-grey: #f4f1ec;
  --off-white: #fbfaf7;
  --line: #ded4c8;
  --shadow: 0 18px 45px rgba(40, 28, 18, 0.12);
  --radius: 8px;
  --max-width: 1180px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--off-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--oak-medium);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}

:focus-visible {
  outline: 3px solid rgba(123, 86, 56, 0.45);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--oak-dark);
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 8vw, 5.8rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

p {
  color: var(--warm-grey);
}

code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

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

.skip-link:focus {
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--off-white);
  background: var(--oak-dark);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(58, 36, 24, 0.12);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--oak-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(58, 36, 24, 0.25);
  border-radius: 50%;
  background: var(--oak-dark);
  color: var(--oak-pale);
  font-size: 0.7rem;
}

.nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--oak-dark);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle-bars::before {
  transform: translateY(-7px);
}

.nav-toggle-bars::after {
  transform: translateY(5px);
}

.nav-menu {
  position: fixed;
  top: var(--header-height);
  right: 16px;
  left: 16px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--off-white);
  box-shadow: var(--shadow);
}

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

.nav-menu a:not(.button) {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--charcoal);
  font-weight: 650;
}

.nav-menu a:not(.button):hover {
  background: var(--soft-grey);
  color: var(--oak-dark);
}

.section {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 72px 0;
}

.section-warm,
.section-dark {
  width: 100%;
  max-width: none;
  padding-right: max(16px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(16px, calc((100vw - var(--max-width)) / 2));
}

.section-warm {
  background: var(--soft-grey);
}

.section-dark {
  background: var(--charcoal);
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
  color: var(--oak-pale);
}

.section-dark p,
.section-dark figcaption,
.section-dark details p {
  color: #d6cec4;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--oak-medium);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--oak-dark);
  color: var(--off-white);
  box-shadow: 0 12px 28px rgba(58, 36, 24, 0.22);
}

.button-primary:hover {
  background: #4b2f20;
  color: var(--off-white);
}

.button-secondary {
  border-color: rgba(58, 36, 24, 0.22);
  background: var(--off-white);
  color: var(--oak-dark);
}

.button-secondary:hover {
  background: var(--oak-pale);
  color: var(--oak-dark);
}

.button-small {
  min-height: 42px;
  padding: 9px 14px;
  font-size: 0.94rem;
}

.full-width {
  width: 100%;
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  gap: 34px;
  padding-top: 54px;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 28px;
  color: #4e4944;
  font-size: clamp(1.08rem, 2.5vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 11px;
  border: 1px solid rgba(58, 36, 24, 0.15);
  border-radius: 999px;
  background: rgba(234, 220, 199, 0.48);
  color: var(--oak-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(125deg, rgba(24, 23, 22, 0.08), rgba(24, 23, 22, 0.35)),
    repeating-linear-gradient(90deg, #624129 0 42px, #7a5437 42px 86px, #4e3322 86px 132px);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 22%, rgba(0, 0, 0, 0.2) 78%),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(0, 0, 0, 0.12) 30px 31px);
  content: "";
  mix-blend-mode: overlay;
}

.hero-board {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c1b13, #9b744e 48%, #2b1d16);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.26);
}

.hero-board-one {
  top: 16%;
  left: -14%;
  width: 78%;
  height: 54px;
  transform: rotate(-11deg);
}

.hero-board-two {
  right: -20%;
  bottom: 26%;
  width: 88%;
  height: 66px;
  transform: rotate(14deg);
}

.hero-board-three {
  top: 52%;
  left: 12%;
  width: 70%;
  height: 34px;
  background: linear-gradient(90deg, #1e1510, #c49b68 50%, #3a2418);
  transform: rotate(-2deg);
}

.hero-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 250px;
  padding: 16px;
  border: 1px solid rgba(234, 220, 199, 0.35);
  border-radius: var(--radius);
  background: rgba(24, 23, 22, 0.72);
  color: var(--oak-pale);
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.product-grid,
.idea-grid,
.gallery-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.product-card,
.material-panel,
.character-note,
.contact-form,
.contact-card,
details {
  border: 1px solid rgba(58, 36, 24, 0.12);
  border-radius: var(--radius);
  background: var(--off-white);
  box-shadow: 0 12px 30px rgba(40, 28, 18, 0.08);
}

.product-card {
  position: relative;
  min-height: 235px;
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--oak-pale);
  color: var(--oak-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-card p {
  margin-bottom: 14px;
}

.product-card .price {
  margin-top: auto;
  margin-bottom: 0;
  color: var(--oak-dark);
  font-weight: 900;
}

.materials-layout,
.custom-layout,
.contact-layout {
  display: grid;
  gap: 18px;
}

.material-panel,
.character-note,
.contact-card {
  padding: 24px;
}

.character-note {
  background:
    linear-gradient(135deg, rgba(58, 36, 24, 0.88), rgba(123, 86, 56, 0.88)),
    repeating-linear-gradient(90deg, #4a3021 0 28px, #604129 28px 56px);
  color: var(--off-white);
}

.character-note h3,
.character-note p {
  color: var(--off-white);
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #463f39;
}

.check-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--oak-medium);
  content: "";
}

.columns {
  display: grid;
  gap: 0 18px;
}

.idea-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.idea-card {
  min-height: 132px;
  display: flex;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(58, 36, 24, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(58, 36, 24, 0.76), rgba(58, 36, 24, 0.18)),
    repeating-linear-gradient(45deg, #c9a46f 0 18px, #eadcc7 18px 36px, #7b5638 36px 54px);
  color: var(--off-white);
  box-shadow: 0 10px 24px rgba(40, 28, 18, 0.08);
  transition: transform 180ms ease;
}

.idea-card:hover {
  transform: translateY(-3px);
}

.idea-card span {
  max-width: 18ch;
  font-weight: 850;
  line-height: 1.2;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(234, 220, 199, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--oak-pale);
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--oak-light);
  background: var(--oak-pale);
  color: var(--oak-dark);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(234, 220, 199, 0.16);
  border-radius: var(--radius);
  background: #221d19;
  transition: transform 180ms ease, opacity 180ms ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

.gallery-card.is-hidden {
  display: none;
}

.image-frame {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(24, 23, 22, 0.25), rgba(24, 23, 22, 0.72)),
    repeating-linear-gradient(90deg, #5a3925 0 30px, #7c5638 30px 64px, #3f2a1e 64px 95px);
}

.image-frame::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(0, 0, 0, 0.16) 24px 25px);
  content: "";
}

.image-frame img {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-fallback {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(24, 23, 22, 0.62);
  color: var(--oak-pale);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.placeholder-barn-light {
  background:
    linear-gradient(135deg, rgba(24, 23, 22, 0.12), rgba(58, 36, 24, 0.45)),
    repeating-linear-gradient(90deg, #aa997f 0 30px, #786a59 30px 64px, #c1b196 64px 95px);
}

.placeholder-slab {
  background:
    linear-gradient(135deg, rgba(24, 23, 22, 0.16), rgba(24, 23, 22, 0.55)),
    radial-gradient(ellipse at center, #ba8b57 0 22%, #7b5638 23% 43%, #3a2418 44% 70%, #1f1814 71%);
}

.placeholder-boards {
  background:
    linear-gradient(135deg, rgba(24, 23, 22, 0.18), rgba(24, 23, 22, 0.62)),
    repeating-linear-gradient(0deg, #9b744e 0 42px, #63412a 42px 76px, #c9a46f 76px 118px);
}

.placeholder-geometric {
  background:
    linear-gradient(135deg, rgba(24, 23, 22, 0.08), rgba(24, 23, 22, 0.56)),
    conic-gradient(from 45deg, #3a2418, #c9a46f, #eadcc7, #7b5638, #3a2418);
}

.placeholder-table {
  background:
    linear-gradient(180deg, rgba(24, 23, 22, 0.12) 0 45%, rgba(24, 23, 22, 0.78) 46%),
    linear-gradient(90deg, transparent 0 18%, #171412 18% 21%, transparent 21% 79%, #171412 79% 82%, transparent 82%),
    linear-gradient(0deg, #3a2418 0 18%, #b88752 19% 38%, #eadcc7 39% 43%, transparent 44%);
}

.placeholder-wall {
  background:
    linear-gradient(135deg, rgba(24, 23, 22, 0.2), rgba(24, 23, 22, 0.52)),
    repeating-linear-gradient(90deg, #786a59 0 24px, #b8ab96 24px 48px, #56483b 48px 72px, #9b8566 72px 96px);
}

.placeholder-shelf {
  background:
    linear-gradient(180deg, #efe5d7 0 58%, #d9d0c4 59%),
    linear-gradient(90deg, transparent 0 15%, #3a2418 15% 85%, transparent 85%);
}

.gallery-card figcaption {
  padding: 14px 16px 16px;
  font-weight: 750;
}

.process-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 24px;
  border-left: 4px solid var(--oak-medium);
  border-radius: var(--radius);
  background: var(--soft-grey);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--oak-dark);
  color: var(--off-white);
  font-weight: 900;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--off-white);
  box-shadow: var(--shadow);
}

.pricing-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.pricing-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.pricing-table th,
.pricing-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.pricing-table th {
  background: var(--oak-dark);
  color: var(--off-white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table td:last-child {
  color: var(--oak-dark);
  font-weight: 850;
}

.custom-layout {
  align-items: center;
}

.custom-list-wrap {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--soft-grey);
}

.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

details {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(234, 220, 199, 0.16);
  box-shadow: none;
}

summary {
  color: var(--oak-pale);
  font-weight: 850;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
}

.contact-layout {
  align-items: start;
}

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

.form-row {
  display: grid;
  gap: 7px;
}

label {
  color: var(--oak-dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--charcoal);
}

input,
select {
  min-height: 48px;
  padding: 10px 12px;
}

textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--oak-medium);
}

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

.contact-card {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.contact-list {
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--warm-grey);
}

.contact-list a {
  color: var(--oak-dark);
  font-weight: 800;
}

.quote-tips {
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(58, 36, 24, 0.1);
  border-radius: var(--radius);
  background: var(--soft-grey);
}

.quote-tips h3 {
  margin-bottom: 12px;
}

.quote-tips ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.quote-tips li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--warm-grey);
  font-size: 0.95rem;
}

.quote-tips li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--oak-medium);
  content: "";
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 34px max(16px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid rgba(234, 220, 199, 0.18);
  background: var(--oak-dark);
  color: var(--oak-pale);
}

.site-footer p {
  max-width: 520px;
  margin: 8px 0 0;
  color: #d8c9b6;
}

.footer-logo {
  color: var(--oak-pale);
}

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

.footer-links a {
  color: #d8c9b6;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--off-white);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(251, 250, 247, 0.92), rgba(244, 241, 236, 0.94)),
    repeating-linear-gradient(90deg, #eadcc7 0 36px, #c9a46f 36px 72px, #fbfaf7 72px 108px);
}

.not-found-panel {
  width: min(100%, 620px);
  padding: 36px;
  border: 1px solid rgba(58, 36, 24, 0.14);
  border-radius: var(--radius);
  background: var(--off-white);
  box-shadow: var(--shadow);
}

.not-found-panel h1 {
  font-size: clamp(2.3rem, 8vw, 4.6rem);
}

@media (min-width: 680px) {
  .section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .hero {
    padding-top: 72px;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  }

  .hero-actions .button {
    min-width: 190px;
  }

  .materials-layout,
  .custom-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  }

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

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-full {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-menu a:not(.button) {
    padding: 8px 9px;
    font-size: 0.95rem;
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  :root {
    --header-height: 66px;
  }

  .nav {
    width: min(100% - 24px, var(--max-width));
  }

  .logo span:last-child {
    max-width: 148px;
    line-height: 1.05;
  }

  .section {
    width: min(100% - 24px, var(--max-width));
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-warm,
  .section-dark {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 330px;
  }

  .image-frame {
    min-height: 220px;
  }
}

/* Real-photo sales site refinements */
body {
  overflow-x: hidden;
}

.hero {
  width: 100%;
  max-width: none;
  min-height: min(760px, calc(100vh - var(--header-height)));
  display: grid;
  align-items: center;
  margin: 0;
  padding: 86px max(16px, calc((100vw - var(--max-width)) / 2));
  background:
    linear-gradient(90deg, rgba(24, 23, 22, 0.82), rgba(24, 23, 22, 0.54) 46%, rgba(24, 23, 22, 0.16)),
    url("assets/images/hero-barn-exterior-open.webp") center / cover no-repeat;
}

.hero-text {
  max-width: 850px;
}

.hero h1,
.hero .eyebrow {
  color: var(--off-white);
}

.hero-lede,
.hero-note {
  color: #efe6da;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
}

.hero-note {
  max-width: 520px;
  margin: 18px 0 0;
  font-weight: 800;
}

.hero .trust-list li {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(251, 250, 247, 0.9);
  color: var(--oak-dark);
}

.product-card {
  display: flex;
  min-height: auto;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.product-media,
.image-frame,
.photo-card,
.idea-card-image {
  position: relative;
}

.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft-grey);
}

.product-media img,
.photo-card img,
.idea-card img,
.process-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media img {
  transition: transform 260ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-body h3 {
  font-size: 1.2rem;
}

.product-body .price {
  margin-top: auto;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 6px;
  color: var(--oak-dark);
  font-weight: 900;
}

.text-cta::after {
  content: "\2192";
}

.text-cta:hover {
  color: var(--oak-medium);
}

.media-badge {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.92);
  color: var(--oak-dark);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.media-badge-concept {
  background: rgba(24, 23, 22, 0.78);
  color: var(--oak-pale);
}

.materials-layout {
  align-items: stretch;
}

.material-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.material-panel .button {
  justify-self: start;
}

.material-photo-grid {
  display: grid;
  gap: 18px;
}

.photo-card {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(58, 36, 24, 0.12);
  border-radius: var(--radius);
  background: var(--off-white);
  box-shadow: 0 12px 30px rgba(40, 28, 18, 0.08);
}

.photo-card img {
  min-height: 220px;
  max-height: 340px;
}

.photo-card figcaption {
  padding: 14px 16px;
  color: var(--oak-dark);
  font-weight: 850;
}

.wide-note {
  width: min(100% - 32px, var(--max-width));
  margin: 26px auto 0;
}

.idea-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.idea-card {
  min-height: 0;
  display: grid;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(58, 36, 24, 0.12);
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--charcoal);
  box-shadow: 0 10px 24px rgba(40, 28, 18, 0.08);
}

.idea-card h3 {
  margin-bottom: 8px;
}

.idea-card p {
  margin-bottom: 0;
}

.idea-card-image {
  min-height: 330px;
  align-content: end;
  padding: 0;
  overflow: hidden;
  color: var(--off-white);
}

.idea-card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 23, 22, 0.04), rgba(24, 23, 22, 0.84));
  content: "";
}

.idea-card-image img {
  position: absolute;
  inset: 0;
}

.idea-card-image > div {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.idea-card-image h3,
.idea-card-image p {
  color: var(--off-white);
}

.idea-card-image .media-badge {
  position: static;
  margin-bottom: 12px;
}

.image-frame {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.image-frame img {
  transition: transform 260ms ease;
}

.gallery-card:hover .image-frame img {
  transform: scale(1.035);
}

.gallery-card figcaption {
  min-height: 58px;
}

.process-list li {
  padding: 0;
  overflow: hidden;
  border-left: 0;
  background: var(--off-white);
  box-shadow: 0 10px 24px rgba(40, 28, 18, 0.08);
}

.process-photo {
  aspect-ratio: 4 / 3;
  max-height: 260px;
}

.process-body {
  padding: 22px;
}

.customer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.customer-tags li {
  padding: 9px 12px;
  border: 1px solid rgba(58, 36, 24, 0.13);
  border-radius: 999px;
  background: var(--off-white);
  color: var(--oak-dark);
  font-weight: 850;
}

.form-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(58, 36, 24, 0.11);
  border-radius: var(--radius);
  background: var(--soft-grey);
  color: var(--warm-grey);
  font-size: 0.95rem;
}

.form-note a {
  color: var(--oak-dark);
  font-weight: 850;
}

.product-media.is-missing,
.image-frame.is-missing,
.photo-card.is-missing,
.idea-card-image.is-missing {
  display: grid;
  place-items: center;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(58, 36, 24, 0.12), rgba(24, 23, 22, 0.22)),
    repeating-linear-gradient(90deg, #eadcc7 0 28px, #c9a46f 28px 58px, #fbfaf7 58px 88px);
}

.product-media.is-missing::after,
.image-frame.is-missing::after,
.photo-card.is-missing::after,
.idea-card-image.is-missing::after {
  position: static;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(24, 23, 22, 0.72);
  color: var(--off-white);
  font-weight: 850;
  content: "Photo coming soon";
}

@media (min-width: 760px) {
  .hero {
    min-height: min(790px, calc(100vh - var(--header-height)));
    padding-top: 108px;
    padding-bottom: 108px;
  }

  .material-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 560px;
    padding-top: 74px;
    padding-bottom: 58px;
    background:
      linear-gradient(180deg, rgba(24, 23, 22, 0.82), rgba(24, 23, 22, 0.5)),
      url("assets/images/hero-barn-exterior-open.webp") center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-button {
    flex: 1 1 auto;
  }

  .product-body,
  .process-body {
    padding: 18px;
  }

  .contact-card {
    position: static;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 520px;
  }

  .product-grid,
  .gallery-grid,
  .idea-grid {
    grid-template-columns: 1fr;
  }
}
