:root {
  color-scheme: light;
  --ink: #1b211f;
  --muted: #606a64;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --line: #dedbd1;
  --sage: #5d725f;
  --sage-dark: #263d35;
  --clay: #b46a44;
  --copper: #c58a4a;
  --graphite: #232625;
  --cream: #fbfaf6;
  --shadow: 0 22px 64px rgba(27, 33, 31, 0.13);
}

* {
  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.52;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 16px;
  transform: translateY(-140%);
  border-radius: 6px;
  padding: 10px 14px;
  color: #fff;
  background: var(--graphite);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  color: #fff;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(246, 244, 238, 0.94);
  box-shadow: 0 1px 0 rgba(27, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: var(--sage-dark);
  background: #fff;
  font-weight: 860;
}

.site-header.is-scrolled .brand-symbol,
.site-header.is-open .brand-symbol {
  border-color: rgba(27, 33, 31, 0.14);
  color: #fff;
  background: var(--sage-dark);
}

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

.site-nav a {
  position: relative;
}

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

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

.header-action,
.button,
.detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 820;
  line-height: 1;
  cursor: pointer;
}

.header-action,
.button-primary {
  color: #fff;
  background: var(--sage-dark);
}

.site-header:not(.is-scrolled):not(.is-open) .header-action {
  color: var(--sage-dark);
  background: #fff;
}

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

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

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

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

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

.hero {
  position: relative;
  min-height: clamp(520px, 66vh, 660px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #f3eee5;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  padding: clamp(82px, 9vw, 116px) clamp(24px, 6vw, 84px) clamp(28px, 5vw, 58px) 45%;
  background: #f3eee5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 22, 20, 0.86) 0%, rgba(17, 22, 20, 0.66) 42%, rgba(17, 22, 20, 0.04) 77%);
}

.hero-content {
  width: min(690px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 88px);
  padding-top: 52px;
  color: #fff;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c59f;
}

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

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

h1 {
  margin-bottom: 0;
  font-size: clamp(4.1rem, 10vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.22;
}

.hero-copy {
  width: min(570px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

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

.intro,
.collections,
.products,
.quality,
.materials,
.lookbook,
.inquiry {
  padding: clamp(66px, 9vw, 116px) clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.76fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
  background: var(--surface);
}

.intro p:last-child,
.section-note,
.quality-copy p,
.lookbook p,
.inquiry-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

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

.section-heading h2 {
  max-width: 900px;
}

.section-note {
  max-width: 720px;
  margin-top: 14px;
}

.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(240, 245, 238, 0.88)),
    radial-gradient(circle at 12% 12%, rgba(93, 114, 95, 0.2), transparent 38%);
  box-shadow: 0 10px 28px rgba(27, 33, 31, 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, 240, 231, 0.92)),
    radial-gradient(circle at 16% 18%, rgba(197, 138, 74, 0.22), transparent 36%);
}

.collection-tile:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(237, 242, 241, 0.92)),
    radial-gradient(circle at 16% 18%, rgba(58, 96, 91, 0.18), transparent 36%);
}

.collection-tile:nth-child(4) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 245, 239, 0.9)),
    radial-gradient(circle at 18% 18%, rgba(180, 106, 68, 0.18), transparent 36%);
}

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

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

.products {
  background: var(--surface);
}

.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: 830;
  cursor: pointer;
}

.filter-tab.active {
  color: #fff;
  background: var(--sage-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(27, 33, 31, 0.08);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(246, 244, 238, 0.98), rgba(236, 242, 237, 0.9)),
    linear-gradient(90deg, rgba(93, 114, 95, 0.08), rgba(197, 138, 74, 0.08));
}

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

.product-media.is-contain img {
  object-fit: contain;
  padding: 18px;
}

.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(27, 33, 31, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--sage-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(--sage);
  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: 740;
}

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

.quality {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  background: #edf1ea;
}

.quality-copy p {
  margin-top: 20px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 22px;
  border-left: 4px solid var(--sage);
  background: rgba(255, 255, 255, 0.74);
}

.feature-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.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.82);
}

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

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

.swatch-boucle {
  background:
    radial-gradient(circle at 25% 25%, #fffaf0 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, #d6cdbd 0 2px, transparent 3px),
    #efe7d8;
  background-size: 10px 10px;
}

.swatch-linen {
  background:
    linear-gradient(45deg, rgba(80, 67, 52, 0.18) 25%, transparent 25% 50%, rgba(80, 67, 52, 0.18) 50% 75%, transparent 75%),
    #dfd4c2;
  background-size: 9px 9px;
}

.swatch-velvet {
  background: linear-gradient(135deg, #7b3a2f, #bd7358, #2d4968);
}

.swatch-graphite {
  background: linear-gradient(135deg, #fbfaf6, #d8d0bd, #9c8a72);
}

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

.lookbook .section-label {
  color: #bed8c8;
}

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

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

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

.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(27, 33, 31, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  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: cover;
  background: var(--paper);
}

.modal-content img.is-contain {
  object-fit: contain;
  padding: 22px;
}

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

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

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

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

.site-footer .brand-symbol {
  color: #fff;
  background: var(--sage-dark);
  border-color: rgba(27, 33, 31, 0.14);
}

@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: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    min-height: 66px;
    padding: 12px 18px;
  }

  .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;
  }

  .header-action {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(17, 22, 20, 0.82) 0%, rgba(17, 22, 20, 0.56) 50%, rgba(17, 22, 20, 0.08) 100%),
      linear-gradient(90deg, rgba(17, 22, 20, 0.42), transparent);
  }

  .hero-image {
    object-position: center bottom;
    padding: 330px 24px 36px;
  }

  .hero-content {
    margin: 0 20px;
    padding-top: 38px;
  }

  .intro,
  .quality,
  .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(3.4rem, 18vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.35rem);
  }

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

  .button,
  .detail-button {
    width: 100%;
  }
}
