@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ivory: #fbf5e9;
  --warm: #f1dec2;
  --cognac: #a85c2b;
  --walnut: #59301e;
  --leather: #27160f;
  --charcoal: #1c1b19;
  --brass: #c79a54;
  --forest: #153b2d;
  --sage: #dfe8d2;
  --line: rgba(39, 22, 15, .16);
  --shadow: 0 24px 70px rgba(39, 22, 15, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background:
    radial-gradient(circle at 8% 8%, rgba(199, 154, 84, .18), transparent 26rem),
    linear-gradient(135deg, #fffaf0 0%, var(--ivory) 48%, #efe0c7 100%);
  line-height: 1.65;
}

body.modal-open { overflow: hidden; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 245, 233, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  letter-spacing: .01em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--leather);
  color: var(--brass);
  box-shadow: inset 0 0 0 2px rgba(199, 154, 84, .32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .92rem;
  font-weight: 700;
}

.nav-links a { opacity: .82; }

.nav-links a:hover { opacity: 1; color: var(--walnut); }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff8ed;
  color: var(--leather);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  font-family: var(--sans);
  font-size: .94rem;
}

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

.btn-primary {
  background: var(--forest);
  color: #fffaf2;
  box-shadow: 0 16px 34px rgba(21, 59, 45, .24);
}

.btn-secondary {
  background: rgba(255, 248, 237, .78);
  color: var(--leather);
  border-color: rgba(255, 255, 255, .48);
}

.btn-brass {
  background: var(--brass);
  color: var(--leather);
  box-shadow: 0 14px 28px rgba(199, 154, 84, .24);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.eyebrow {
  color: var(--cognac);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 800;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: .98;
  color: var(--leather);
}

h1 { font-size: clamp(3rem, 7vw, 7.2rem); max-width: 870px; }

h2 { font-size: clamp(2.3rem, 4.6vw, 5rem); }

h3 { font-size: clamp(1.45rem, 2.4vw, 2.2rem); }

p { margin: 0; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(28, 27, 25, .78);
  max-width: 760px;
}

.hero {
  position: relative;
  min-height: 760px;
  color: #fff6e6;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 12, 7, .84), rgba(20, 12, 7, .42) 45%, rgba(20, 12, 7, .14));
  z-index: -1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 760px;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 92px 0 64px;
}

.hero h1 { color: #fff3dc; text-shadow: 0 18px 60px rgba(0, 0, 0, .42); }

.hero .lead { color: rgba(255, 245, 226, .88); }

.hero-actions, .cta-row, .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 248, 237, .2);
  background: rgba(255, 248, 237, .12);
  color: #fff5e3;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.intro-grid, .seller-grid, .checkout-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 46px;
  align-items: center;
}

.editorial-panel {
  position: relative;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  background: rgba(255, 248, 237, .62);
  box-shadow: var(--shadow);
}

.editorial-panel::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  right: -1px;
  top: -1px;
  border-top: 8px solid var(--brass);
  border-right: 8px solid var(--brass);
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.image-stack img, .feature-image {
  border-radius: 8px;
  border: 1px solid rgba(89, 48, 30, .18);
  box-shadow: var(--shadow);
  min-height: 260px;
  object-fit: cover;
}

.image-stack img:first-child { transform: translateY(26px); }

.benefit-grid, .product-grid, .blog-grid, .trust-grid, .use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.benefit-card, .trust-card, .use-card, .policy-card, .info-card {
  border: 1px solid var(--line);
  background: rgba(255, 248, 237, .68);
  padding: 24px;
  border-radius: 8px;
}

.benefit-card i, .trust-card i, .use-card i {
  color: var(--cognac);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.product-grid, .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card, .blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff8ed;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(39, 22, 15, .1);
}

.product-card img, .blog-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.card-body {
  display: grid;
  gap: 14px;
  padding: 22px;
  flex: 1;
}

.price {
  color: var(--forest);
  font-weight: 900;
  font-size: 1.1rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

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

.filter-btn {
  border: 1px solid var(--line);
  background: #fff8ed;
  color: var(--leather);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--leather);
  color: #fff8ed;
}

.craft-band {
  background: var(--leather);
  color: #f8ead5;
}

.craft-band h2 { color: #fff5df; }

.craft-band .lead { color: rgba(248, 234, 213, .78); }

.craft-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.craft-layout img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.list span {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 248, 237, .14);
}

.list i { color: var(--brass); margin-top: 4px; }

.large-cta {
  background: linear-gradient(135deg, var(--forest), #1f1710);
  color: #fff4df;
  border-radius: 8px;
  padding: clamp(34px, 7vw, 76px);
  display: grid;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.large-cta::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -90px;
  border: 1px solid rgba(199, 154, 84, .34);
  transform: rotate(18deg);
}

.large-cta h2 { color: #fff4df; }

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 42px;
  display: grid;
  gap: 20px;
}

.page-hero.compact { padding-bottom: 22px; }

.content {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 86px;
  display: grid;
  gap: 22px;
}

.content h2 { font-size: clamp(2rem, 3vw, 3.4rem); margin-top: 20px; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(15, 10, 6, .68);
  z-index: 80;
}

.modal.active { display: grid; }

.modal-card {
  width: min(860px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff8ed;
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .32);
}

.modal-card img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.modal-body {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff8ed;
  color: var(--leather);
  font-size: 1.2rem;
  cursor: pointer;
}

.notice {
  border-left: 5px solid var(--brass);
  background: rgba(199, 154, 84, .12);
  padding: 18px;
}

.site-footer {
  background: #17110d;
  color: #eadac3;
  padding: 58px 0 28px;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 28px;
}

.footer-grid h3, .footer-grid h4 { color: #fff3dd; }

.footer-grid h4 {
  margin: 0 0 12px;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links, .company-lines {
  display: grid;
  gap: 8px;
}

.footer-links a { color: #eadac3; opacity: .88; }

.text-link {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(234, 218, 195, .16);
  color: rgba(234, 218, 195, .68);
  font-size: .9rem;
}

.cookie-mini {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
  background: #fff8ed;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 8px;
  gap: 14px;
  align-items: center;
}

.cookie-mini.show { display: flex; }

@keyframes slowDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-18px, 10px, 0); }
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff8ed;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 8px;
  }
  .nav-links.open { display: flex; }
  .nav-wrap .btn-primary { display: none; }
  .intro-grid, .seller-grid, .checkout-grid, .contact-grid, .craft-layout {
    grid-template-columns: 1fr;
  }
  .benefit-grid, .trust-grid, .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero, .hero-content { min-height: 680px; }
}

@media (max-width: 640px) {
  .section { padding: 62px 0; }
  .product-grid, .blog-grid, .benefit-grid, .trust-grid, .use-grid { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .hero, .hero-content { min-height: 620px; }
  .image-stack { grid-template-columns: 1fr; }
  .image-stack img:first-child { transform: none; }
  .craft-layout img { height: 360px; }
  .cookie-mini { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
}
