:root {
  --paper: #f7f3ec;
  --sand: #e7dccb;
  --ink: #111111;
  --muted: #777777;
  --gold: #c6a15b;
  --line: rgba(17, 17, 17, 0.12);
  --soft: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 80px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.cart-link {
  border: 1px solid var(--line);
  padding: 0.65rem 0.85rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
}

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

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section.soft {
  background: var(--sand);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.65fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 9vw, 8.4rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.lead,
.support,
.muted {
  color: var(--muted);
}

.lead,
.support {
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: stretch;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 7rem) 0;
}

.hero-copy {
  padding-top: 2rem;
}

.hero .support {
  max-width: 600px;
  margin: 1.4rem 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

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

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero-visual {
  position: relative;
  min-height: clamp(470px, 65vw, 720px);
}

.editorial-image,
.image-tile,
.product-image,
.article-image,
.gallery-tile {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.42), rgba(198,161,91,0.14)),
    linear-gradient(160deg, #d9c9b5, #f6f0e7 42%, #b9aa96);
}

.editorial-image::before,
.image-tile::before,
.product-image::before,
.article-image::before,
.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.editorial-image::after,
.image-tile::after,
.product-image::after,
.article-image::after,
.gallery-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(17,17,17,0.12), transparent);
}

.hero-visual .main {
  position: absolute;
  inset: 0 0 7% 14%;
  box-shadow: var(--shadow);
}

.hero-visual .side {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  aspect-ratio: 0.72;
  border: 10px solid var(--paper);
  box-shadow: var(--shadow);
}

.category-grid,
.product-grid,
.article-grid,
.benefit-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.category-card,
.product-card,
.article-card,
.benefit-card,
.info-card,
.cart-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.category-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.category-card:hover,
.product-card:hover,
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 161, 91, 0.55);
}

.category-card .image-tile {
  aspect-ratio: 0.86;
}

.category-card h3,
.article-card h3 {
  font-size: 1.7rem;
}

.text-link {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card,
.article-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.product-image {
  aspect-ratio: 0.78;
}

.product-body,
.article-body,
.info-card,
.benefit-card,
.cart-card {
  padding: 1.2rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.55rem 0;
}

.category-label {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price {
  font-weight: 800;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1rem;
}

.product-actions .btn {
  min-height: 40px;
  padding-inline: 0.7rem;
  font-size: 0.66rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.large-image {
  min-height: 560px;
}

.benefit-card {
  min-height: 130px;
}

.newsletter {
  text-align: center;
}

.newsletter .lead {
  max-width: 560px;
  margin: 1rem auto 0;
}

.form-row {
  display: flex;
  max-width: 560px;
  margin: 2rem auto 0;
  border: 1px solid var(--line);
  background: var(--soft);
}

.form-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 1rem;
  color: var(--ink);
}

.form-row .btn {
  border: 0;
}

.page-hero {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(2.6rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  max-width: 680px;
  margin-top: 1rem;
}

.filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.48);
  color: var(--ink);
  min-height: 46px;
  padding: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery .product-image:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 1.25;
}

.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.3rem 0;
}

.option {
  border: 1px solid var(--line);
  background: transparent;
  min-width: 46px;
  min-height: 40px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
}

.option.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.accordion {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.accordion button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.accordion-panel {
  display: none;
  padding: 0 0 1rem;
  color: var(--muted);
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  aspect-ratio: 0.8;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qty span {
  min-width: 32px;
  text-align: center;
}

.remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.44);
}

.size-table th,
.size-table td {
  border: 1px solid var(--line);
  padding: 1rem;
  text-align: left;
}

.footer {
  padding: 4rem 0 2rem;
  color: var(--sand);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(160px, 1fr));
  gap: 2rem;
}

.footer a {
  display: block;
  color: rgba(247, 243, 236, 0.72);
  margin-top: 0.55rem;
}

.footer .brand {
  color: var(--paper);
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(247, 243, 236, 0.14);
  color: rgba(247, 243, 236, 0.62);
}

.status {
  min-height: 1.4em;
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav-links {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 20px 2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .hero-grid,
  .section-head,
  .split,
  .product-detail,
  .cart-layout {
    grid-template-columns: 1fr;
  }

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

  .category-grid,
  .product-grid,
  .article-grid,
  .benefit-grid,
  .card-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 430px;
  }

  .category-grid,
  .product-grid,
  .article-grid,
  .benefit-grid,
  .card-grid,
  .filters,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    display: grid;
  }

  .form-row input {
    min-height: 52px;
  }

  .product-actions,
  .gallery {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 74px 1fr;
  }
}
