:root {
  --paper: #f4efe8;
  --paper-2: #ebe4da;
  --ink: #1a1612;
  --muted: #7a7268;
  --line: #d9d0c4;
  --gold: #8c7354;
  --white: #fbf8f3;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, textarea, select { font-family: inherit; }
.wrap { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.serif, h1, h2, .page-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; }
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow.light { color: #e8d7b8; }

.announce {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  overflow: hidden;
}
.announce-track { display: flex; gap: 48px; justify-content: center; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-left ul, .nav-right ul, .nav-left, .nav-right {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-right { justify-content: flex-end; }
.nav-left li, .nav-right li { list-style: none; }
.brand {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--ink);
}
.brand span {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 9px;
  letter-spacing: 0.42em;
  margin-top: 2px;
  color: var(--gold);
}
.brand img, .custom-logo { max-height: 48px; width: auto; margin-inline: auto; }
.brand-left { text-align: left; }
.burger, .drawer, .bottom-nav, .cart-mini, .swipe-hint { display: none; }

.hero { position: relative; height: min(92vh, 860px); overflow: hidden; padding: 0; }
.hero-track {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { min-width: 100%; height: 100%; position: relative; scroll-snap-align: start; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.hero-copy {
  position: absolute; inset: auto 0 10%;
  text-align: center; color: var(--white);
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
  padding: 0 24px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 92px);
  letter-spacing: 0.04em;
  line-height: .95;
  margin: 10px 0 18px;
}
.hero-copy p { font-weight: 300; max-width: 420px; margin: 0 auto 26px; font-size: 15px; }
.hero-dots {
  display: flex; gap: 6px; justify-content: center;
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2;
}
.hero-dots i { width: 22px; height: 2px; background: rgba(255,255,255,.35); display: block; }
.hero-dots i.on { background: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 180px; padding: 14px 22px;
  background: var(--ink); color: var(--paper);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 0; cursor: pointer;
}
.btn.light { background: var(--paper); color: var(--ink); }
.text-link {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}

.cats, .cats ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}
.cats ul { display: contents; }
.cats a, .cats li a {
  padding: 28px 8px; text-align: center;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  border-right: 1px solid var(--line);
  display: block;
}
.cats li { list-style: none; }
.cats a:hover { background: var(--paper-2); }

section, .home-products, .house-tease { padding: 88px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; gap: 20px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 52px); margin: 8px 0 0; }

.grid4, ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.product .thumb, li.product .thumb, .woocommerce ul.products li.product .thumb {
  background: var(--white);
  aspect-ratio: 1 / 1.05;
  display: grid; place-items: center;
  overflow: hidden; position: relative;
}
.product img, li.product .thumb img {
  width: 86%; height: 86%; object-fit: contain;
}
.product h3, .woocommerce ul.products li.product h3, .woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 14px 4px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 400;
}
.product .meta { color: var(--muted); font-size: 12px; margin: 2px 4px 0; }
.product .price, .woocommerce ul.products li.product .price {
  margin: 8px 4px 0;
  font-size: 13px;
  color: var(--ink);
}

.editorial { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 620px; padding: 0; }
.editorial img { width: 100%; height: 100%; object-fit: cover; }
.editorial-copy {
  background: var(--ink); color: var(--paper);
  padding: 72px 56px; display: flex; flex-direction: column; justify-content: center;
}
.editorial-copy h2 { font-size: 48px; line-height: 1.05; margin: 14px 0 20px; }
.editorial-copy p { color: #cfc6ba; max-width: 38ch; line-height: 1.7; margin-bottom: 28px; }

.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.story img { width: 100%; height: 560px; object-fit: cover; }
.story h2 { font-size: 46px; line-height: 1.05; margin: 12px 0 20px; }
.story p { color: var(--muted); line-height: 1.75; max-width: 46ch; }

.page-wrap { padding: 72px 0 96px; max-width: 760px; }
.page-title { font-size: clamp(36px, 5vw, 56px); margin: 8px 0 24px; }
.page-body { line-height: 1.75; color: var(--ink); }
.page-body p { margin: 0 0 1.1em; }
.featured img { width: 100%; margin-bottom: 28px; }

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 24px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 16px; }
.foot a, .foot p { display: block; color: var(--muted); font-size: 14px; margin: 0 0 8px; line-height: 1.5; }
.foot ul { list-style: none; padding: 0; }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

/* WooCommerce */
.woocommerce .site-main, .shop-main { padding: 48px 0 80px; }
.woocommerce-products-header__title, .woocommerce h1.page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
}
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce div.product { padding: 40px 0 80px; }
.woocommerce div.product .product_title {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 400;
}
.woocommerce div.product p.price { font-family: "Cormorant Garamond", serif; font-size: 22px; color: var(--ink); }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px !important;
  font-weight: 500;
  padding: 14px 22px !important;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
  background: var(--white);
  border-top-color: var(--gold);
}
.woocommerce-checkout .form-row input, .woocommerce-cart table.cart td {
  background: transparent;
}

@media (max-width: 980px) {
  .wrap { width: calc(100% - 40px); }
  section, .home-products, .house-tease { padding: 48px 0; }
  .site-header {
    grid-template-columns: 44px 1fr 44px;
    padding: 12px 16px;
  }
  .nav-left, .nav-right { display: none; }
  .brand { font-size: 22px; letter-spacing: 0.28em; }
  .burger, .cart-mini {
    display: grid; place-items: center;
    width: 44px; height: 44px; background: none; border: 0; font-size: 18px;
  }
  .drawer {
    display: none; position: fixed; inset: 0; z-index: 80;
    background: var(--paper); padding: 24px 28px;
  }
  .drawer.open { display: block; }
  .drawer a {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 36px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .announce-track {
    width: max-content;
    animation: coreni-marquee 18s linear infinite;
    justify-content: flex-start;
  }
  @keyframes coreni-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .hero { height: 78vh; }
  .hero h1 { font-size: 48px; }
  .cats, .cats ul {
    display: flex;
    overflow-x: auto;
    grid-template-columns: none;
    scrollbar-width: none;
  }
  .cats a, .cats li a { flex: 0 0 auto; padding: 16px 20px; white-space: nowrap; }
  .swipe-hint {
    display: block; font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--gold); margin: 8px 0 0;
  }
  .grid4, ul.products, .grid3 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    gap: 14px;
    padding: 0 4px 16px;
    scroll-padding-inline: 4px;
    scrollbar-width: none;
  }
  .grid4 .product, ul.products li.product, .grid3 .product {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: start;
  }
  .editorial, .story, .foot { grid-template-columns: 1fr; }
  .editorial { min-height: 0; }
  .editorial img { height: 52vh; object-fit: cover; }
  .editorial-copy { padding: 36px 22px; }
  .editorial-copy h2 { font-size: 36px; }
  .story img { height: 42vh; }
  .story h2 { font-size: 34px; }
  .btn { width: 100%; }
  .woocommerce div.product .product_title { font-size: 34px; }
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: sticky;
    bottom: 0;
    z-index: 40;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 10px 0 env(safe-area-inset-bottom);
  }
  .bottom-nav a {
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
}
