:root {
  --ink: #1f1d1a;
  --muted: #746e66;
  --paper: #f7f4ef;
  --panel: #ffffff;
  --line: #ded8cf;
  --teak: #8a5a35;
  --teak-dark: #5a3822;
  --sage: #6f786a;
  --charcoal: #2d2b28;
  --shadow: 0 20px 50px rgba(44, 38, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 244, 239, 0.92);
  border-bottom: 1px solid rgba(222, 216, 207, 0.72);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.05rem;
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-links {
  position: absolute;
  top: 72px;
  left: 16px;
  right: 16px;
  display: none;
  flex-direction: column;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.nav-links a {
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  background: var(--ink);
  color: var(--paper);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 12vw, 3.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 7vw, 3.4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

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

.eyebrow {
  color: var(--teak);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(20, 18, 16, 0.1),
    rgba(20, 18, 16, 0.74)
  );
}

.hero-media img,
.page-hero img {
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 38px;
  color: white;
}

.hero-content p {
  max-width: 560px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

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

.btn.primary {
  background: var(--teak);
  color: #fff;
}

.btn.secondary {
  background: var(--ink);
  color: #fff;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.intro-strip {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.intro-strip div {
  padding: 22px 20px;
  background: var(--panel);
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.intro-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}
.intro-item {
  text-align: center;
}
.section-wrap,
.story-grid,
.craft-band,
.gallery-layout,
.contact-info {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-wrap {
  padding: 64px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.text-link {
  width: max-content;
  color: var(--teak-dark);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.featured-grid,
.review-grid,
.product-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.review-grid article,
.product-card,
.filters,
.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  overflow: hidden;
}

.feature-card img {
  height: 310px;
  object-fit: cover;
}

.feature-card div {
  padding: 18px;
}

.feature-card span,
.product-card span,
.contact-info span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  gap: 0;
  background: var(--ink);
  color: white;
}

.split-copy {
  padding: 56px 20px;
}

.split-copy p {
  max-width: 520px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.split-copy .btn {
  margin-top: 22px;
}

.split-section img {
  height: 420px;
  object-fit: cover;
}

.review-grid article {
  padding: 22px;
}

.review-grid p {
  color: var(--ink);
  font-weight: 500;
}

.review-grid span {
  display: block;
  margin-top: 16px;
  color: var(--teak-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.page-hero {
  position: relative;
  min-height: 66vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.page-hero.compact {
  min-height: 54vh;
}

.page-hero img {
  position: absolute;
  inset: 0;
}

.page-hero div {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 38px;
  color: white;
}

.page-hero p {
  max-width: 620px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.gallery-layout {
  display: grid;
  gap: 18px;
  padding: 28px 0 64px;
}

.filters {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-head h2 {
  font-size: 1.15rem;
}

.clear-filters {
  border: 0;
  background: transparent;
  color: var(--teak-dark);
  font-weight: 700;
  cursor: pointer;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teak);
  box-shadow: 0 0 0 3px rgba(138, 90, 53, 0.13);
}

.products-panel {
  min-width: 0;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.product-card {
  min-height: 430px;
  overflow: hidden;
}

.product-card button {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

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

.product-card-content {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-pill {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: #eee7df;
  color: var(--teak-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 16px;
}

.modal.open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.68);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  display: grid;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-weight: 800;
}

.modal-card img {
  height: 330px;
  object-fit: cover;
}

.modal-copy {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.modal-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-actions .btn,
.contact-actions .btn {
  flex: 1 1 150px;
}

.modal-copy span {
  color: var(--teak);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
}

dd {
  margin: 0;
  font-weight: 800;
}

.story-grid {
  display: grid;
  gap: 22px;
  padding: 58px 0;
}

.story-grid p {
  font-size: 1.03rem;
}

.craft-band {
  display: grid;
  gap: 1px;
  margin-bottom: 64px;
  background: var(--line);
}

.craft-band div {
  padding: 24px;
  background: var(--panel);
}

.craft-band span {
  color: var(--teak);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  min-height: calc(100vh - 72px);
}

.contact-visual img {
  height: 42vh;
  min-height: 300px;
  object-fit: cover;
}

.contact-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  margin: -28px 16px 32px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.form-note {
  font-size: 0.82rem;
}

.contact-info {
  display: grid;
  gap: 1px;
  margin-bottom: 64px;
  background: var(--line);
}

.contact-info div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--panel);
}

.footer {
  display: grid;
  gap: 24px;
  padding: 34px 16px 24px;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid,
.footer-bottom {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer strong,
.footer span,
.footer p,
.footer a {
  display: block;
}

.footer strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.96rem;
}

.footer span {
  color: rgba(247, 244, 239, 0.7);
}

.footer p {
  max-width: 330px;
  color: rgba(247, 244, 239, 0.68);
  font-size: 0.9rem;
}

.footer a {
  color: #fff;
  width: max-content;
  font-weight: 700;
  font-size: 0.92rem;
}

.footer a:hover {
  color: #d8b28a;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 244, 239, 0.14);
  font-size: 0.86rem;
}

@media (min-width: 640px) {
  .intro-strip,
  .featured-grid,
  .review-grid,
  .craft-band,
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .section-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .section-heading .eyebrow {
    grid-column: 1 / -1;
  }
}

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

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

  .nav-links a {
    padding: 10px 12px;
  }

  .hero-content {
    padding-bottom: 58px;
  }

  .split-section {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .split-copy {
    display: grid;
    align-content: center;
    padding: 72px max(32px, calc((100vw - 1160px) / 2)) 72px 32px;
  }

  .split-section img {
    height: 100%;
    min-height: 520px;
  }

  .gallery-layout {
    grid-template-columns: 270px 1fr;
    align-items: start;
    padding-top: 34px;
  }

  .filters {
    position: sticky;
    top: 92px;
  }

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

  .modal-card {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .modal-card img {
    height: 100%;
    min-height: 560px;
  }

  .story-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
    align-items: start;
    padding: 82px 0;
  }

  .contact-layout {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: stretch;
  }

  .contact-visual img {
    height: 96%;
    min-height: calc(100vh - 72px);
  }

  .contact-panel {
    margin: 40px max(24px, calc((100vw - 1160px) / 2)) 40px 32px;
    padding: 34px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.75fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
