:root {
  --ivory: #fbf7ed;
  --paper: #fffdf8;
  --ink: #171411;
  --muted: #70685e;
  --cognac: #9b552c;
  --walnut: #4f2b1a;
  --olive: #293b2f;
  --brass: #b08a45;
  --sand: #e9ddc7;
  --line: rgba(23, 20, 17, 0.12);
  --shadow: 0 24px 70px rgba(31, 24, 17, 0.14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(251, 247, 237, 0.84);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 247, 237, 0.96);
  box-shadow: 0 12px 35px rgba(28, 22, 16, 0.08);
}

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

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

.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: radial-gradient(circle at 30% 20%, var(--brass), var(--walnut) 70%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.91rem;
  color: #2f2a24;
}

.site-nav a {
  position: relative;
  padding: 28px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

.menu-toggle,
.icon-link {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.8);
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--cognac);
  color: #fff;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  margin-top: -22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(79, 43, 26, 0.18);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--walnut), var(--cognac));
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.82);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline {
  color: var(--walnut);
  background: transparent;
  border-color: rgba(79, 43, 26, 0.28);
}

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  background: #120f0d;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.03);
  animation: slowFrame 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 11, 9, 0.82), rgba(13, 11, 9, 0.44) 42%, rgba(13, 11, 9, 0.1) 76%), linear-gradient(0deg, rgba(13, 11, 9, 0.48), rgba(13, 11, 9, 0));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 66px;
  color: #fffdf8;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brass);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.hero h1 {
  width: min(780px, 100%);
  margin: 18px 0 16px;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 7.4vw, 7.8rem);
  line-height: 0.86;
  font-weight: 600;
  letter-spacing: 0;
}

.hero p {
  width: min(620px, 100%);
  margin: 0 0 30px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

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

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(760px, 100%);
  margin-top: 36px;
}

.trust-badges span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fffdf8;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 0.86rem;
}

.section {
  padding: clamp(70px, 9vw, 132px) 0;
}

.section-tight {
  padding: clamp(48px, 7vw, 90px) 0;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h2,
.page-title {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 600;
}

h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.05;
  margin: 0 0 12px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 34px;
  align-items: stretch;
}

.editorial-panel {
  padding: clamp(28px, 4vw, 54px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.editorial-panel p {
  margin: 0 0 18px;
  color: #413a33;
}

.editorial-panel p:last-child {
  margin-bottom: 0;
}

.image-stack {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
}

.image-stack img {
  width: 78%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.image-stack img:last-child {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 320px;
  border: 12px solid var(--ivory);
}

.benefits-grid,
.trust-grid,
.lifestyle-grid,
.craft-grid,
.product-grid,
.blog-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit,
.trust-item,
.craft-card,
.policy-card,
.contact-card,
.checkout-card,
.cart-summary {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 100%;
}

.benefit i,
.trust-item i,
.craft-card i,
.policy-card i,
.contact-card i {
  color: var(--brass);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.benefit strong,
.trust-item strong,
.policy-card strong {
  display: block;
  margin-bottom: 7px;
}

.benefit p,
.trust-item p,
.craft-card p,
.policy-card p,
.contact-card p,
.checkout-card p,
.cart-summary p {
  margin: 0;
  color: var(--muted);
}

.magazine-band {
  background: var(--olive);
  color: var(--ivory);
  overflow: hidden;
}

.magazine-band .lead {
  color: rgba(251, 247, 237, 0.78);
}

.feature-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: #1b1714;
  color: #fffdf8;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover img {
  transform: scale(1.04);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 11, 9, 0.82), rgba(13, 11, 9, 0.05) 58%);
}

.feature-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.feature-copy p {
  margin: 0 0 18px;
  color: rgba(255, 253, 248, 0.78);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.split-feature img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.numbered-list {
  display: grid;
  gap: 16px;
  counter-reset: craft;
  margin-top: 26px;
}

.numbered-list div {
  counter-increment: craft;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.numbered-list div::before {
  content: counter(craft, decimal-leading-zero);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--walnut);
  color: var(--ivory);
  font-family: var(--serif);
}

.numbered-list p {
  margin: 0;
  color: var(--muted);
}

.large-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1b1714, #293b2f);
  color: var(--ivory);
}

.large-cta::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(176, 138, 69, 0.34);
  pointer-events: none;
}

.large-cta .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(48px, 7vw, 86px) 0;
}

.large-cta h2 {
  margin-top: 0;
}

.large-cta p {
  margin: 14px 0 0;
  max-width: 680px;
  color: rgba(251, 247, 237, 0.78);
}

.page-hero {
  padding: clamp(72px, 10vw, 130px) 0 52px;
  background: linear-gradient(135deg, rgba(41, 59, 47, 0.1), rgba(155, 85, 44, 0.08));
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  max-width: 760px;
  margin-top: 18px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--olive);
  color: var(--ivory);
  border-color: var(--olive);
}

.product-card,
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card img,
.blog-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  background: #fff;
}

.product-body,
.blog-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta,
.post-date {
  color: var(--cognac);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.price {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--walnut);
  margin: 8px 0 12px;
}

.product-body p,
.blog-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.product-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.68);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  max-height: min(86vh, 880px);
  overflow: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.modal-close {
  position: sticky;
  top: 14px;
  margin: 14px 14px 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  padding: 0 28px 28px;
}

.modal-grid img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  background: #fff;
}

.modal-copy ul {
  padding-left: 18px;
  color: var(--muted);
}

.cart-layout,
.checkout-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 26px;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 18px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.cart-item img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  background: #fff;
}

.cart-item h3 {
  font-size: 1.4rem;
}

.remove-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

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

.payment-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
}

.payment-card i {
  font-size: 2rem;
  color: var(--walnut);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
}

.form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.form-message {
  min-height: 24px;
  color: var(--olive);
  font-weight: 700;
}

.footer {
  background: #14110f;
  color: rgba(251, 247, 237, 0.78);
}

.footer-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.footer h2,
.footer h3 {
  color: var(--ivory);
}

.footer h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin: 0 0 14px;
}

.footer-disclaimer {
  color: rgba(251, 247, 237, 0.66);
  max-width: 620px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: rgba(251, 247, 237, 0.78);
}

.footer-company {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 38px 0 24px;
  border: 1px solid rgba(251, 247, 237, 0.18);
}

.footer-company div {
  padding: 18px;
  border-right: 1px solid rgba(251, 247, 237, 0.18);
}

.footer-company div:last-child {
  border-right: 0;
}

.footer-company strong {
  display: block;
  color: var(--brass);
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 247, 237, 0.14);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.toast-note {
  position: fixed;
  right: 16px;
  bottom: 92px;
  z-index: 120;
  padding: 12px 16px;
  border-radius: 999px;
  background: #171411;
  color: #fffdf8;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

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

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

.empty-state {
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
}

@keyframes slowFrame {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 20px 24px;
    background: rgba(251, 247, 237, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .section-head,
  .intro-grid,
  .split-feature,
  .large-cta .container,
  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .trust-grid,
  .lifestyle-grid,
  .craft-grid,
  .product-grid,
  .blog-grid,
  .policy-grid,
  .payment-grid,
  .footer-links,
  .footer-company {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-company div:nth-child(2) {
    border-right: 0;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-grid img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .container,
  .footer-main,
  .hero-content {
    width: min(100% - 22px, 1180px);
  }

  .brand-name {
    font-size: 1.22rem;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-bottom: 38px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .btn {
    width: 100%;
  }

  .trust-badges span,
  .pill {
    width: 100%;
    justify-content: center;
  }

  .benefits-grid,
  .trust-grid,
  .lifestyle-grid,
  .craft-grid,
  .product-grid,
  .blog-grid,
  .policy-grid,
  .payment-grid,
  .footer-links,
  .footer-company {
    grid-template-columns: 1fr;
  }

  .image-stack {
    min-height: auto;
    gap: 12px;
  }

  .image-stack img,
  .image-stack img:last-child {
    position: static;
    width: 100%;
    height: 300px;
    border: 0;
  }

  .feature-card,
  .feature-card img {
    min-height: 390px;
  }

  .split-feature img {
    min-height: 340px;
  }

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

  .cart-item img {
    width: 88px;
    height: 88px;
  }

  .cart-item .remove-btn {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 999px;
  }

  .footer-company div {
    border-right: 0;
    border-bottom: 1px solid rgba(251, 247, 237, 0.18);
  }

  .footer-company div:last-child {
    border-bottom: 0;
  }

  .footer-bottom,
  .cookie-banner {
    flex-direction: column;
  }
}
