:root {
  --ink: #171510;
  --muted: #675f53;
  --paper: #f5f1ea;
  --panel: #fffaf2;
  --line: #ddd3c3;
  --walnut: #4b2c1d;
  --oak: #c69a63;
  --maple: #e7cf9d;
  --cherry: #9b4a2f;
  --forest: #1f4d3a;
  --steel: #263432;
  --blue: #345c72;
  --gold: #b77b35;
  --rust: #9d4d32;
  --shadow: 0 18px 45px rgba(29, 21, 13, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 54px);
  background: rgba(245, 241, 234, 0.92);
  border-bottom: 1px solid rgba(221, 211, 195, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: #fff8ed;
  border-radius: 8px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 16px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(75, 44, 29, 0.09);
}

.nav-cta {
  background: var(--forest);
  color: white;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 76px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 241, 234, 0.98) 0%, rgba(245, 241, 234, 0.84) 32%, rgba(245, 241, 234, 0.2) 70%),
    linear-gradient(0deg, rgba(23, 21, 16, 0.18), transparent 48%);
}

.hero-copy {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
}

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

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  color: #393229;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--forest);
  color: white;
}

.button.secondary {
  background: rgba(255, 250, 242, 0.86);
  border: 1px solid rgba(75, 44, 29, 0.24);
}

.status-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px clamp(18px, 5vw, 72px);
  background: var(--steel);
  color: white;
}

.status-band strong {
  padding: 7px 10px;
  border-radius: 8px;
  background: #e9c88e;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.status-band span {
  color: #e6ded0;
  line-height: 1.5;
}

.section {
  padding: clamp(58px, 9vw, 104px) clamp(18px, 5vw, 72px);
}

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

.about-section,
.shop-section {
  background: var(--panel);
}

.about-grid,
.selling-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-grid article,
.selling-grid article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 25px rgba(29, 21, 13, 0.06);
}

.about-grid p,
.selling-grid span {
  color: var(--muted);
  line-height: 1.55;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 25px rgba(29, 21, 13, 0.06);
}

.product-photo {
  min-height: 225px;
  border-bottom: 1px solid var(--line);
  background-size: cover;
  background-position: center;
}

.shelf-photo {
  background:
    linear-gradient(135deg, rgba(31, 77, 58, 0.08), rgba(183, 123, 53, 0.12)),
    url("assets/wood-shelves-hero.png") center / 180%;
}

.key-photo {
  background:
    linear-gradient(135deg, rgba(31, 77, 58, 0.06), rgba(23, 21, 16, 0.05)),
    url("assets/wood-shelves-hero.png") 89% 46% / 150%;
}

.cabinet-photo {
  background:
    linear-gradient(135deg, rgba(52, 92, 114, 0.14), rgba(157, 77, 50, 0.08)),
    url("assets/wood-shelves-hero.png") 26% 66% / 155%;
}

.decor-photo {
  background:
    linear-gradient(135deg, rgba(31, 77, 58, 0.06), rgba(23, 21, 16, 0.05)),
    url("assets/wood-shelves-hero.png") 89% 46% / 150%;
}

.woodwork-photo {
  background:
    linear-gradient(135deg, rgba(75, 44, 29, 0.12), rgba(31, 77, 58, 0.08)),
    url("assets/wood-shelves-hero.png") 44% 42% / 170%;
}

.supplies-photo {
  background:
    linear-gradient(135deg, rgba(52, 92, 114, 0.18), rgba(183, 123, 53, 0.08)),
    url("assets/wood-shelves-hero.png") 58% 78% / 190%;
}

.product-body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #ece5d8;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
}

.product-card p,
.product-card li,
.custom-copy p,
.quote-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.product-card ul {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  margin: 18px 0 0;
}

.shop-button {
  width: 100%;
  margin-top: 18px;
  background: var(--forest);
  color: white;
}

.selling-section {
  background: #ece7dd;
}

.selling-grid strong,
.selling-grid span {
  display: block;
}

.selling-grid span {
  margin-top: 10px;
}

.custom-section,
.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.custom-section {
  background: #fbf8f2;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.feature-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-weight: 800;
}

.upload-demo,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.upload-demo {
  padding: 18px;
}

.upload-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.upload-head strong {
  color: var(--ink);
}

.drop-zone {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 20px;
  border: 2px dashed #b9aa96;
  border-radius: 8px;
  background: #fffaf2;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--forest);
  color: white;
  font-size: 28px;
  font-weight: 800;
}

.drop-zone small {
  margin-top: 8px;
  color: var(--muted);
}

.file-preview {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f1ea;
  color: var(--muted);
}

.file-preview img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}

.materials-section {
  background: #ece7dd;
}

.species-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.species-grid article {
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.swatch {
  display: block;
  width: 100%;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(23, 21, 16, 0.16);
  border-radius: 6px;
}

.swatch.walnut {
  background: linear-gradient(90deg, #2e1710, #613922, #25110b);
}

.swatch.white-oak {
  background: linear-gradient(90deg, #caa36d, #e7d0a1, #b78b51);
}

.swatch.maple {
  background: linear-gradient(90deg, #f0dfb2, #d5bd82, #fff1c7);
}

.swatch.cherry {
  background: linear-gradient(90deg, #74351f, #b85d3e, #8b4229);
}

.swatch.cedar {
  background: linear-gradient(90deg, #d59b62, #a96637, #e5bd83);
}

.swatch.reclaimed {
  background: linear-gradient(90deg, #5a4a3d, #a28b6d, #3a3028, #c1a47a);
}

.species-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.quote-section {
  background: var(--panel);
}

.quote-total {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin-top: 28px;
  padding: 20px;
  border-left: 5px solid var(--gold);
  background: white;
  box-shadow: var(--shadow);
}

.quote-total span,
.quote-total small {
  color: var(--muted);
}

.quote-total strong {
  color: var(--forest);
  font-size: 32px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc4b4;
  border-radius: 8px;
  padding: 13px 12px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 77, 58, 0.18);
  border-color: var(--forest);
}

textarea {
  resize: vertical;
}

.input-unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfc4b4;
  border-radius: 8px;
  background: #fffdf9;
}

.input-unit input {
  border: 0;
  border-radius: 0;
}

.input-unit span {
  padding-right: 12px;
  color: var(--muted);
  font-weight: 800;
}

.wide {
  grid-column: 1 / -1;
}

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

.form-status.error {
  color: #8c2f22;
}

.roadmap-section {
  background: var(--steel);
  color: white;
}

.roadmap-section .eyebrow {
  color: #e9c88e;
}

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

.roadmap-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.roadmap-grid strong,
.roadmap-grid span {
  display: block;
}

.roadmap-grid span {
  margin-top: 10px;
  color: #d7d1c5;
  line-height: 1.55;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: white;
  font-size: 14px;
}

@media (max-width: 1040px) {
  .product-grid,
  .about-grid,
  .species-grid,
  .selling-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 84vh;
    padding-top: 72px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(245, 241, 234, 0.95) 0%, rgba(245, 241, 234, 0.85) 42%, rgba(245, 241, 234, 0.32) 100%);
  }

  .status-band,
  .product-grid,
  .about-grid,
  .custom-section,
  .species-grid,
  .selling-grid,
  .quote-section,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .nav a {
    padding-inline: 8px;
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
  }

  .quote-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .footer {
    display: grid;
  }
}
