:root {
  --paper: #f7f5ee;
  --surface: #ffffff;
  --ink: #201f1d;
  --muted: #6d675f;
  --line: #ddd7cb;
  --wood: #8b4f2a;
  --clay: #b76043;
  --sage: #5c6f5d;
  --charcoal: #2d2f2b;
  --shadow: 0 20px 50px rgba(36, 31, 25, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 238, 0.9);
  border-bottom: 1px solid rgba(32, 31, 29, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-color: var(--clay);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  place-items: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(620px, calc(100vh - 76px));
  overflow: hidden;
  background: var(--charcoal);
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 245, 238, 0.95) 0%, rgba(247, 245, 238, 0.72) 31%, rgba(247, 245, 238, 0.12) 68%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(640px, 88vw);
  min-height: min(620px, calc(100vh - 76px));
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 72px);
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.8rem, 9vw, 7.2rem);
  font-weight: 900;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 850;
}

h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-line {
  margin: 8px 0 0;
  color: var(--wood);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic;
}

.hero-text {
  max-width: 480px;
  margin: 24px 0 0;
  color: #494139;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

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

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

.button.primary {
  background: var(--charcoal);
  color: var(--surface);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(32, 31, 29, 0.2);
  color: var(--ink);
}

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

.section-pad {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.intro-copy h2,
.section-heading h2,
.showcase-copy h2,
.contact-copy h2 {
  max-width: 840px;
}

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

.intro-points span,
.detail-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.intro-points span {
  min-height: 58px;
  padding: 16px;
  color: var(--charcoal);
  font-weight: 800;
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-heading.split {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, minmax(260px, 340px));
  gap: 18px;
}

.collection-panel {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.collection-panel.large {
  grid-row: span 2;
}

.collection-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.collection-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(0deg, rgba(22, 21, 19, 0.72), rgba(22, 21, 19, 0));
}

.collection-panel div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 22px;
  color: var(--surface);
}

.collection-panel span,
.product-body p {
  display: block;
  margin: 0 0 8px;
  color: #f0ba8f;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.collection-panel p {
  max-width: 460px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
  background: #eef2ec;
}

.showcase-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.showcase-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.showcase-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.showcase-copy ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.showcase-copy li {
  position: relative;
  padding-left: 28px;
  color: var(--charcoal);
  font-weight: 750;
}

.showcase-copy li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 14px;
  height: 2px;
  background: var(--sage);
}

.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-button {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--surface);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

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

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #ebe6dd;
}

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

.product-body p {
  color: var(--clay);
}

.product-body h3 {
  min-height: 3.1em;
  font-size: 1.08rem;
  line-height: 1.18;
}

.product-body span {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.materials {
  background: var(--charcoal);
  color: var(--surface);
}

.materials .section-heading h2 {
  color: var(--surface);
}

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

.detail-grid article {
  min-height: 210px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.detail-grid h3 {
  font-size: 1.18rem;
}

.detail-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
  background: #f2f4ef;
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 0.94rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfc8bb;
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--surface);
}

.site-footer span {
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.thanks-page {
  min-height: 100vh;
  background: #f2f4ef;
}

.thanks {
  display: grid;
  place-items: start;
  max-width: 760px;
  min-height: 100vh;
  padding: clamp(32px, 8vw, 92px);
  align-content: center;
}

.thanks h1 {
  margin-top: 48px;
  font-size: clamp(3rem, 9vw, 6.5rem);
}

.thanks p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.15rem;
}

@media (max-width: 1060px) {
  .product-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .hero-copy {
    min-height: 540px;
  }

  .hero-image {
    object-position: center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(247, 245, 238, 0.97) 0%, rgba(247, 245, 238, 0.78) 48%, rgba(247, 245, 238, 0.2) 100%);
  }

  .intro,
  .showcase,
  .contact {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .collection-panel.large {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    top: 68px;
  }

  .hero,
  .hero-copy {
    min-height: 500px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(247, 245, 238, 0.98) 0%, rgba(247, 245, 238, 0.84) 62%, rgba(247, 245, 238, 0.26) 100%);
  }

  .hero-copy {
    width: 100%;
    padding: 42px 18px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .intro-points,
  .product-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .collection-panel {
    min-height: 340px;
  }

  .hero-actions,
  .filters {
    width: 100%;
  }

  .hero-actions .button,
  .filter-button,
  .contact-form .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
