:root {
  --ink: #0c0c0c;
  --ink-2: #161616;
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --white: #ffffff;
  --muted: #6d675f;
  --line: #e4ddd3;
  --gold: #c8a15a;
  --gold-hot: #d9b56a;
  --sale: #b42318;
  --shadow: 0 20px 50px rgba(12, 12, 12, 0.12);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  z-index: 3000;
  font-weight: 700;
}
.skip-link:focus { top: 0.75rem; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  background: var(--ink);
  color: #d9d4cc;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.55rem;
}
.topbar a { color: var(--gold); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: auto;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: block;
  padding: 0.7rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active { color: var(--gold); }

.has-sub { position: relative; }
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.45rem;
  border-radius: 12px;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { display: block; }
.sub-menu a { padding: 0.55rem 0.7rem; border-radius: 8px; }
.sub-menu a:hover { background: var(--paper-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hot); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #2a2a2a; }
.btn-line {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.nav-menu .btn {
  min-height: 42px;
  padding: 0.55rem 1rem;
  margin-left: 0.4rem;
  color: var(--white);
}
.nav-menu .btn:hover { color: var(--white); background: #2a2a2a; }

.hero {
  min-height: 78vh;
  display: grid;
  place-items: end start;
  background: #111 center / cover no-repeat;
  color: var(--white);
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 58%, rgba(0,0,0,0.08) 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
}
.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}
.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 12ch;
  margin: 0 0 1rem;
}
.hero p {
  max-width: 46ch;
  color: #ece7df;
  font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.trust {
  background: var(--ink);
  color: #d7d1c8;
}
.trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
}
.trust article {
  padding-right: 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust article:last-child { border: 0; }
.trust h2,
.trust h3 {
  font-family: "Oswald", sans-serif;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.3rem;
}
.trust p { margin: 0; font-size: 0.92rem; }

.section { padding: 5rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head h2,
.page-title,
.prose h2,
.prose h3,
.prose h4 {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}
.section-head h2,
.page-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.muted { color: var(--muted); }
.bg-soft { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: #ece7df; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--white); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.filter-btn.is-active,
.filter-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product-card.hidden { display: none; }
.product-media {
  position: relative;
  background: #ece8e2;
  aspect-ratio: 1;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover img { transform: scale(1.05); }
.badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.55rem;
}
.badge.sale { background: var(--sale); }
.badge.sold { background: #6d675f; left: auto; right: 0.8rem; }
.product-body { padding: 1rem 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-cat {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}
.product-body h3 { font-size: 1rem; line-height: 1.35; margin: 0; }
.price { display: flex; gap: 0.5rem; align-items: baseline; font-weight: 800; }
.price del { color: var(--muted); font-weight: 600; }
.product-body .btn { margin-top: auto; width: 100%; border-radius: 0; min-height: 44px; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.collection-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: end;
  padding: 1.3rem;
}
.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
}
.collection-card span,
.collection-card strong { position: relative; z-index: 1; display: block; }
.collection-card strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.prose p { margin: 0 0 1rem; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.3rem; }
.prose h4 { font-size: 1.05rem; color: var(--gold); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.3rem;
}
.feature h3 { font-family: "Oswald", sans-serif; text-transform: uppercase; margin: 0 0 0.5rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem;
}
.blog-card .date {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.blog-card h3 { font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 1.2rem; }
.accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  margin-bottom: 0.7rem;
}
.accordion summary {
  cursor: pointer;
  font-weight: 800;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.4rem;
  display: grid;
  gap: 0.8rem;
}
.form label { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  background: #ecf8ef;
  border: 1px solid #b7e0c2;
  color: #146c2e;
  padding: 0.9rem 1rem;
  border-radius: 10px;
}
.form-success.is-visible { display: block; }

.site-footer {
  background: var(--ink);
  color: #cfc9bf;
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.site-footer h2 {
  font-family: "Oswald", sans-serif;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.4rem 0; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  font-size: 0.88rem;
}
.copyright img { height: 22px; width: auto; }

.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
  .product-grid,
  .collection-grid,
  .blog-grid,
  .feature-grid,
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .split,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
  }
  .nav-menu.is-open { display: flex; }
  .has-sub .sub-menu { position: static; display: none; box-shadow: none; border: 0; padding-left: 0.6rem; }
  .has-sub.is-open .sub-menu { display: block; }
  .hero { min-height: 62vh; }
}

@media (max-width: 640px) {
  .product-grid,
  .collection-grid,
  .blog-grid,
  .feature-grid,
  .trust .container,
  .split,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .trust article { border: 0; padding: 0.4rem 0; }
  .section { padding: 3.4rem 0; }
}
