:root {
  --ink: #201a17;
  --muted: #746960;
  --paper: #fbf8f3;
  --cream: #f3eadc;
  --rose: #b76e79;
  --sage: #6e8069;
  --gold: #b88945;
  --charcoal: #2b2b2d;
  --line: rgba(32, 26, 23, 0.14);
  --shadow: 0 24px 70px rgba(32, 26, 23, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--charcoal);
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 1rem; }
.brand small { color: var(--muted); font-size: 0.76rem; }

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.desktop-nav a { color: var(--muted); }
.desktop-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-button, .cart-button {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.icon-button svg, .cart-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button { position: relative; }
.cart-button span {
  position: absolute;
  right: -5px;
  top: -7px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  font-size: 0.72rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 26, 23, 0.72), rgba(32, 26, 23, 0.18) 58%, rgba(32, 26, 23, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 76px 0 104px;
  color: #fff;
}

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

.hero h1, .section-heading h2, .shop-bar h2, .story-band h2, .contact-copy h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.03;
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

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

.primary-action, .secondary-action, .contact-form button, .cart-footer button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
}

.primary-action, .contact-form button, .cart-footer button {
  color: #fff;
  background: var(--rose);
}

.secondary-action {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip article {
  padding: 24px clamp(18px, 4vw, 54px);
  background: #fff;
}

.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-size: 1.15rem; }
.trust-strip span { margin-top: 4px; color: var(--muted); }

.section, .shop-section, .contact-section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading, .shop-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2, .shop-bar h2, .story-band h2, .contact-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.collection-tile {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  background-image:
    radial-gradient(circle at 26% 22%, rgba(255,255,255,.72) 0 10px, transparent 11px),
    radial-gradient(circle at 68% 58%, rgba(255,255,255,.5) 0 9px, transparent 10px),
    linear-gradient(145deg, rgba(255,255,255,.2), rgba(32,26,23,.12));
}

.collection-tile.rose { background-color: #d5a0a4; }
.collection-tile.sage { background-color: #a8b59e; }
.collection-tile.ivory { background-color: #efe4d5; }
.collection-tile span { font-weight: 800; }
.collection-tile strong { max-width: 290px; margin-top: 8px; font-size: 1.55rem; line-height: 1.08; }

.shop-section { background: #fff; }

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.filter {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.filter.active {
  color: #fff;
  background: var(--charcoal);
}

.search-panel {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-bottom: 22px;
}

.search-panel label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.search-panel input, .contact-form input, .contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.product-art {
  position: relative;
  min-height: 260px;
  background:
    radial-gradient(circle at 50% 19%, rgba(255,255,255,.95) 0 28px, transparent 29px),
    linear-gradient(90deg, transparent 46%, rgba(255,255,255,.75) 47% 53%, transparent 54%),
    repeating-radial-gradient(circle at 50% 62%, rgba(255,255,255,.42) 0 2px, transparent 3px 14px),
    var(--swatch);
}

.product-art::after {
  content: "";
  position: absolute;
  inset: 52px 25% 26px;
  border-radius: 42% 42% 8px 8px;
  border: 1px solid rgba(32, 26, 23, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.02));
}

.product-info { padding: 16px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.82rem; font-weight: 800; }
.product-info h3 { min-height: 48px; margin: 10px 0 14px; font-size: 1.05rem; line-height: 1.35; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 900; }
.add-button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--charcoal);
  font-weight: 800;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  padding: clamp(58px, 9vw, 112px) clamp(18px, 6vw, 88px);
  color: #fff;
  background: var(--charcoal);
}

.story-band p:last-child {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
  line-height: 1.8;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 440px);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.contact-copy > p {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 24px;
}

.contact-details a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-details a:hover {
  border-color: rgba(183, 110, 121, 0.42);
  box-shadow: 0 12px 30px rgba(32, 26, 23, 0.08);
}

.contact-details span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-details strong {
  line-height: 1.35;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-brand { min-width: auto; }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  color: var(--muted);
  font-weight: 800;
}

.site-footer nav a:hover {
  color: var(--ink);
}

.policy-page {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.policy-hero {
  max-width: 820px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.policy-hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
}

.policy-hero p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.policy-content article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.policy-content h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.policy-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.policy-content a {
  color: var(--rose);
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(420px, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(105%);
  transition: transform .25s ease;
  box-shadow: var(--shadow);
}

.cart-drawer.open { transform: translateX(0); }
.cart-head, .cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-footer { border-top: 1px solid var(--line); border-bottom: 0; }
.cart-footer div span, .cart-footer div strong { display: block; }
.cart-footer div span { color: var(--muted); font-size: 0.82rem; }
.cart-items { flex: 1; overflow: auto; padding: 14px 18px; }
.cart-line {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-thumb { width: 54px; aspect-ratio: 1; border-radius: 8px; background: var(--swatch); }
.cart-line strong, .cart-line span { display: block; }
.cart-line span { margin-top: 4px; color: var(--muted); font-size: 0.84rem; }
.empty { color: var(--muted); line-height: 1.6; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(32, 26, 23, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.scrim.open { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .site-header { min-height: 66px; }
  .hero { min-height: 82vh; }
  .hero h1 { font-size: clamp(2.7rem, 16vw, 4.8rem); }
  .hero-overlay { background: linear-gradient(180deg, rgba(32,26,23,.72), rgba(32,26,23,.3)); }
  .trust-strip, .collection-grid, .product-grid, .story-band, .contact-section { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-content { grid-template-columns: 1fr; }
  .site-footer { display: grid; }
  .site-footer nav { justify-content: flex-start; }
  .section-heading, .shop-bar { display: block; }
  .filters { margin-top: 18px; }
}

@media (max-width: 560px) {
  .brand { min-width: 0; }
  .brand small { display: none; }
  .hero-content { width: calc(100% - 32px); margin: 0 16px; padding-bottom: 82px; }
  .hero-actions a { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .product-art { min-height: 300px; }
  .cart-footer { display: grid; }
  .cart-footer button { width: 100%; }
}
