:root {
  --ink: #1c1915;
  --muted: #5e564c;
  --cream: #f7f1e7;
  --paper: #fbf8f3;
  --card: #fffdf9;
  --line: #e3d9cc;
  --rust: #8d4632;
  --deep: #1a242e;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
img, svg { display: block; }
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.bar {
  background: var(--deep);
  color: #d5dbe2;
  font-size: 0.82rem;
}
.bar__inner, .nav__inner, .wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  flex-wrap: wrap;
}
.bar a:hover { color: #fff; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 248, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.logo small {
  display: block;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.22em;
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: -0.15rem;
}
.nav ul { display: flex; gap: 1.4rem; list-style: none; font-size: 0.92rem; }
.nav a:hover { color: var(--rust); }
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 3.4rem 0 2.6rem;
}
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
}
.hero h1 { font-size: clamp(3rem, 6vw, 5rem); max-width: 10ch; margin: 0.4rem 0 0.8rem; }
.hero p { max-width: 42ch; color: var(--muted); font-size: 1.05rem; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.hero__panel {
  border-radius: 18px;
  min-height: 420px;
  overflow: hidden;
}
.hero__panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 20%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn:hover { background: var(--rust); }
.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--line:hover { background: var(--ink); color: #fff; }

.section { padding: 2.6rem 0 3.2rem; }
.head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.2rem; flex-wrap: wrap; }
.head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}
.filters button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.card:hover { border-color: #c9bba8; }
.card h3 { font-size: 1.55rem; margin: 0.85rem 1rem 0.15rem; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0 1rem 0.9rem; }
.price { font-weight: 600; }

.coat {
  background: #ebe3d6;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.coat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.band {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 3rem 0;
  align-items: start;
}
.facts h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0.35rem 0 0.7rem; }
.facts p { color: var(--muted); margin-bottom: 0.7rem; }
.list { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
}
.list li:last-child { border-bottom: 0; }
.list small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
}
.list a:hover { color: var(--rust); }

.page { padding: 2.8rem 0 3.4rem; }
.page h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin: 0.3rem 0 1rem; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--muted); margin-bottom: 0.75rem; }
.prose h2 { font-size: 1.8rem; margin: 1.4rem 0 0.45rem; color: var(--ink); }
.prose ul { padding-left: 1.1rem; }

.crumb { font-size: 0.86rem; color: var(--muted); margin-bottom: 1rem; }
.crumb a:hover { color: var(--rust); }
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}
.product h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin-bottom: 0.4rem; }
.product .lead { color: var(--muted); margin-bottom: 1rem; }
.meta { font-size: 1.35rem; font-weight: 600; margin-bottom: 1rem; }
.sizes { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 1rem; }
.sizes label {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.qty { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.qty button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}
.qty input { width: 52px; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 0.4rem; background: #fff; }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; }
.spec { margin-top: 1.2rem; }
.spec li { padding: 0.45rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 0.6rem; }
.related a { border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1rem; background: var(--card); }
.related a:hover { border-color: #c9bba8; }
.related strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; font-weight: 600; }

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  margin-top: 1rem;
}
.form label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.25rem; }
.form input, .form textarea, .form select {
  width: 100%;
  margin-bottom: 0.8rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.form textarea { min-height: 110px; resize: vertical; }

.summary {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 1rem 1.1rem;
  margin-top: 1.2rem;
  max-width: 460px;
}
.summary li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.summary li:last-child { border-bottom: 0; font-weight: 600; }

.footer { background: var(--deep); color: #c9d2db; padding: 2rem 0 1.2rem; font-size: 0.92rem; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.4rem; }
.footer a { display: block; padding: 0.15rem 0; }
.footer a:hover { color: #fff; }
.footer p { color: #9aabba; margin-top: 0.35rem; }
.fine { margin-top: 1.4rem; font-size: 0.8rem; color: #8ea0b0; }

@media (max-width: 860px) {
  .hero, .facts, .product, .contact, .grid, .foot { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .hero__panel, .hero__panel img { min-height: 280px; }
  .list li { grid-template-columns: 1fr; gap: 0.15rem; }
}
@media (max-width: 640px) {
  .grid, .related { grid-template-columns: 1fr; }
  .nav ul {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 20px 1rem;
    gap: 0.5rem;
  }
  .nav ul.is-open { display: flex; }
  .nav__toggle { display: block; }
  .nav__inner { position: relative; }
}
