:root {
  --ink: #171915;
  --muted: #5e6359;
  --paper: #f7f7f1;
  --surface: #ffffff;
  --line: #d9ddd0;
  --olive: #4f6537;
  --olive-dark: #24351f;
  --teal: #2c6f73;
  --cane: #bc8b4d;
  --chrome: #d9e1df;
  --wood: #704421;
  --shadow: 0 24px 70px rgba(23, 25, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  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: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 247, 241, 0.95);
  box-shadow: 0 1px 0 rgba(23, 25, 21, 0.08);
  backdrop-filter: blur(16px);
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark img,
.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.site-header.is-scrolled .brand-mark img,
.site-header.is-open .brand-mark img {
  border-color: rgba(23, 25, 21, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.93rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  height: clamp(280px, 21vw, 390px);
  min-height: 0;
  overflow: hidden;
  display: grid;
  align-items: center;
  background: #f5f1e8;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 16, 14, 0.78), rgba(12, 16, 14, 0.32) 42%, rgba(12, 16, 14, 0.06)),
    linear-gradient(0deg, rgba(12, 16, 14, 0.32), transparent 42%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 68px clamp(20px, 5vw, 76px) 34px;
  color: #fff;
}

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

.hero .eyebrow {
  color: #d9f1ec;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.96rem, 1.3vw, 1.12rem);
}

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

.product-body .card-actions {
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
}

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

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

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

.button:hover,
.filter-tab:hover,
.collection-tile:hover {
  transform: translateY(-1px);
}

.intro,
.collections,
.products,
.materials,
.lookbook,
.inquiry {
  padding: clamp(72px, 11vw, 132px) clamp(20px, 5vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 8vw, 108px);
  align-items: end;
  background: #fff;
}

.intro p:last-child,
.lookbook p,
.inquiry-copy p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

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

.section-note {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.collection-tile {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 235, 0.88)),
    radial-gradient(circle at 10% 10%, rgba(44, 111, 115, 0.18), transparent 34%);
  box-shadow: 0 10px 28px rgba(23, 25, 21, 0.06);
  transition: transform 160ms ease, border-color 160ms ease;
}

.collection-tile:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 241, 232, 0.9)),
    radial-gradient(circle at 18% 18%, rgba(188, 139, 77, 0.2), transparent 36%);
}

.collection-tile:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(237, 244, 244, 0.9)),
    radial-gradient(circle at 14% 16%, rgba(79, 101, 55, 0.18), transparent 36%);
}

.collection-tile span {
  font-size: 1.22rem;
  font-weight: 850;
  line-height: 1.12;
}

.collection-tile small {
  color: var(--muted);
  font-size: 0.94rem;
}

.products {
  background: #fff;
}

.product-heading {
  align-items: center;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.filter-tab {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.filter-tab.active {
  color: #fff;
  background: var(--olive-dark);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(23, 25, 21, 0.08);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(247, 247, 241, 0.98), rgba(235, 241, 236, 0.92)),
    linear-gradient(90deg, rgba(44, 111, 115, 0.08), rgba(188, 139, 77, 0.08));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 300ms ease;
}

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

.source-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(23, 25, 21, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--olive-dark);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
}

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

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.detail-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--olive-dark);
  background: #fff;
  padding: 12px 18px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.asin-note {
  margin: 18px 0 0;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-secondary.light {
  color: var(--olive-dark);
  border-color: var(--line);
  background: #fff;
}

.materials {
  background: linear-gradient(180deg, var(--paper), #eef4ef);
}

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

.material-list article {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.8);
}

.swatch {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 50%;
  border: 1px solid rgba(23, 25, 21, 0.12);
}

.swatch-cane {
  background: repeating-linear-gradient(45deg, #d5ae75 0 4px, #a87335 4px 7px);
}

.swatch-velvet {
  background: radial-gradient(circle at 30% 30%, #738952, #26351e);
}

.swatch-chrome {
  background: linear-gradient(135deg, #f7fbfa, #9aa7a5 48%, #ffffff 52%, #6c7774);
}

.swatch-boucle {
  background: radial-gradient(circle, #ffffff 0 18%, #d9d1c1 19% 32%, #ffffff 33%);
}

.material-list p {
  color: var(--muted);
}

.lookbook {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 8vw, 104px);
  background: var(--olive-dark);
  color: #fff;
}

.lookbook .eyebrow {
  color: #a9d8ca;
}

.lookbook p {
  color: rgba(255, 255, 255, 0.78);
}

.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 7vw, 90px);
  background: #fff;
}

.inquiry-copy {
  max-width: 700px;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--paper);
}

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

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

.inquiry-form textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.product-modal {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 14, 12, 0.62);
}

.product-modal.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(23, 25, 21, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  position: absolute;
  top: 19px;
  left: 10px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
}

.modal-content img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  padding: 22px;
  background: var(--paper);
}

.modal-copy {
  padding: 42px 34px 34px 0;
}

.modal-copy p {
  color: var(--muted);
}

.modal-copy .spec-list {
  margin-bottom: 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 76px);
  color: var(--muted);
  background: var(--paper);
}

.site-footer img {
  border: 1px solid rgba(23, 25, 21, 0.12);
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .collection-grid,
  .material-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

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

  .site-nav a::after {
    display: none;
  }

  .hero {
    height: 360px;
  }

  .hero-image {
    object-fit: cover;
    object-position: 42% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(12, 16, 14, 0.76), rgba(12, 16, 14, 0.16) 68%),
      linear-gradient(90deg, rgba(12, 16, 14, 0.46), transparent);
  }

  .hero-content {
    padding: 78px 20px 34px;
  }

  .intro,
  .lookbook,
  .inquiry,
  .modal-content {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .product-heading {
    display: grid;
    align-items: start;
  }

  .filter-tabs {
    width: 100%;
    border-radius: 8px;
  }

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

  .modal-copy {
    padding: 0 24px 28px;
  }

  .modal-content img {
    min-height: 260px;
    max-height: 360px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 620px) {
  .collection-grid,
  .product-grid,
  .material-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(4.5rem, 23vw, 7rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .hero-actions,
  .card-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
