/* =========================================================
   Splendorium — "Warm Luxury" theme
   ========================================================= */
:root {
  --ivory: #faf6ef;
  --cream: #f2e9dc;
  --sand: #e6d7c1;
  --acacia: #7a4e2d;
  --walnut: #4a2f1c;
  --espresso: #2a1d14;
  --gold: #b08a4a;
  --gold-soft: #d6bd8a;
  --ink: #2a1d14;
  --muted: #7a6a5c;
  --line: rgba(74, 47, 28, .14);
  --shadow: 0 24px 60px -28px rgba(42, 29, 20, .45);
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: var(--espresso); }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.01em; }
h1 em { font-style: italic; color: var(--acacia); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1em;
  display: flex; align-items: center; gap: .9em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold-soft); justify-content: center; }
.eyebrow.light::after { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1em 2.2em;
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all .35s ease;
}
.btn-gold { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); position: relative; overflow: hidden; }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(214,189,138,.35) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s ease; }
.btn-gold:hover { background: var(--walnut); }
.btn-gold:hover::after { transform: translateX(100%); }
.btn-ghost { color: var(--espresso); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--acacia); }
.btn-light { background: var(--ivory); color: var(--espresso); }
.btn-light:hover { background: var(--gold-soft); }
.btn-sm { padding: .8em 1.6em; font-size: .72rem; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--espresso); color: var(--gold-soft);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; justify-content: center; align-items: center; gap: 1.2em;
  padding: .7em 16px; text-align: center; flex-wrap: wrap;
}
.announce .dot { font-size: .5rem; opacity: .7; }

/* ---------- Sale ---------- */
.announce-sale { text-decoration: none; background: linear-gradient(90deg, #2a1d14, #4a2f1c 50%, #2a1d14); color: var(--ivory); }
.announce-sale strong { color: var(--gold-soft); font-weight: 500; }
.announce-sale s, .badge-main s { opacity: .6; font-size: .85em; margin-left: .3em; }
.announce-sale:hover strong { text-decoration: underline; }
.sale-pill { display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.4em; padding: .35em 1em .35em .35em; border: 1px solid var(--gold-soft); border-radius: 999px; font-size: .82rem; letter-spacing: .06em; color: var(--walnut); background: rgba(214,189,138,.15); }
.sale-pill span { background: var(--espresso); color: var(--gold-soft); border-radius: 999px; padding: .15em .8em; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 2px; }
.price-now { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--espresso); line-height: 1; }
.price-was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; background: var(--gold); color: var(--ivory); padding: .35em .8em; border-radius: 2px; }
.price-note { font-size: .8rem; color: var(--muted); margin: 6px 0 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(42,29,20,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { text-decoration: none; color: var(--espresso); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.wordmark { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: .14em; line-height: 1; color: var(--espresso); display: inline-flex; align-items: center; white-space: nowrap; }
.wm-gem { width: .82em; height: .82em; margin: 0 .1em 0 0; color: var(--gold); transform: translateY(-.02em); }
.tagline { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); padding-left: 2px; }
.nav ul { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; background: radial-gradient(ellipse at 85% 10%, var(--cream), transparent 60%), var(--ivory); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 30em; margin-bottom: 2.2em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.hero-media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold-soft); border-radius: 14px; z-index: -1; }
.hero-badge {
  position: absolute; left: -28px; bottom: -26px;
  background: var(--ivory); padding: 18px 26px; box-shadow: var(--shadow);
  border-left: 2px solid var(--gold); display: flex; flex-direction: column;
}
.badge-top { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.badge-main { font-family: var(--serif); font-size: 1.5rem; color: var(--espresso); }

/* ---------- Values ---------- */
.values { background: var(--cream); border-block: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--walnut); }
.value + .value { border-left: 1px solid var(--line); }
.value svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ---------- Product ---------- */
.product-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.gallery { position: sticky; top: 110px; }
.gallery-main { position: relative; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 1/1; object-fit: contain; transition: opacity .35s ease; }
.gallery-main img.fading { opacity: 0; }
.g-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(250,246,239,.92); border: 1px solid var(--line);
  font-size: 1.6rem; line-height: 1; color: var(--espresso); cursor: pointer; transition: background .3s;
}
.g-nav:hover { background: var(--gold-soft); }
.g-nav.prev { left: 14px; } .g-nav.next { right: 14px; }
.g-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 18px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--walnut); background: linear-gradient(transparent, rgba(250,246,239,.95)); text-align: center; }
.thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; opacity: .6; transition: opacity .3s, border-color .3s; aspect-ratio: 1; overflow: hidden; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-selected="true"], .thumbs button:hover { opacity: 1; border-color: var(--gold); }
.product-info h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.product-sub { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--acacia); }
.checklist { list-style: none; padding: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.checklist li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: "◆"; position: absolute; left: 4px; top: 15px; font-size: .6rem; color: var(--gold); }
.buy-box { background: var(--cream); padding: 26px; border: 1px solid var(--line); margin-bottom: 26px; }
.bwp-slot { margin-bottom: 12px; min-height: 48px; }
.buy-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .78rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.buy-note svg { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 2.4; flex: none; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.2rem; color: var(--gold); transition: transform .3s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc ul, .acc p { margin: 0 0 18px; color: var(--muted); }
.acc ul { padding-left: 18px; }

/* ---------- Features ---------- */
.features { background: var(--cream); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.feature { background: var(--ivory); border: 1px solid var(--line); overflow: hidden; transition: transform .5s ease, box-shadow .5s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; transition: transform 1.2s ease; }
.feature:hover img { transform: scale(1.04); }
.feature-body { padding: 30px 34px 34px; position: relative; }
.feature .num { font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.feature h3 { margin-top: .25em; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Band ---------- */
.band { background: radial-gradient(ellipse at 20% 50%, #4a2f1c, var(--espresso) 70%); color: var(--ivory); padding: 110px 0; }
.band-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.band-media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; border-radius: 10px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.band-copy { text-align: left; }
.band-copy .eyebrow.light { justify-content: flex-start; }
.band-copy .eyebrow.light::after { display: none; }
.band blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.25; margin: 0 0 1.4em; color: var(--ivory); }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.story-media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.story-copy p { color: var(--muted); font-size: 1.08rem; }
.signature { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold); margin-top: 20px; }

/* ---------- Contact ---------- */
.contact { background: var(--espresso); color: var(--cream); }
.contact h2 { color: var(--ivory); }
.contact-copy p { color: rgba(242,233,220,.75); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-list li { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid rgba(214,189,138,.2); }
.contact-list span { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); }
.contact-list a { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; color: var(--ivory); }
.contact-list a:hover { color: var(--gold-soft); }
.contact-form { background: rgba(250,246,239,.04); border: 1px solid rgba(214,189,138,.25); padding: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ivory);
  background: transparent; border: 0; border-bottom: 1px solid rgba(242,233,220,.3);
  padding: 10px 2px; border-radius: 0; transition: border-color .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%), linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field.invalid input, .field.invalid textarea { border-color: #e08a7a; }
.contact .btn-gold { background: var(--gold); border-color: var(--gold); color: var(--espresso); margin-top: 10px; }
.contact .btn-gold:hover { background: var(--gold-soft); }
.contact .btn-gold[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-size: .95rem; min-height: 1.5em; }
.form-status.ok { color: var(--gold-soft); }
.form-status.err { color: #f0a898; }

/* ---------- Footer ---------- */
.site-footer { background: #1f150e; color: rgba(242,233,220,.7); padding: 64px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(214,189,138,.15); }
.footer-brand { font-family: var(--serif); font-size: 2rem; color: var(--ivory); letter-spacing: .12em; text-transform: uppercase; }
.footer-tag { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.site-footer nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.copy { margin: 24px auto 0; font-size: .78rem; letter-spacing: .08em; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .product-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 48px 0 72px; }
  .hero-media { max-width: 520px; margin: 0 auto; }
  .gallery { position: static; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .band { padding: 80px 0; }
  .band-grid { grid-template-columns: 1fr; gap: 40px; }
  .band-media { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { height: 72px; }
  .wordmark { font-size: 23px; }
  .tagline { font-size: .52rem; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
  .nav-toggle span:not(.sr) { display: block; height: 1px; background: var(--espresso); transition: transform .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav ul { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .hero-badge { left: 8px; bottom: -20px; padding: 12px 18px; }
  .hero-media::before { inset: -10px 10px 10px -10px; }
  .feature-grid { grid-template-columns: 1fr; gap: 22px; }
  .feature-body { padding: 24px; }
  .thumbs { grid-template-columns: repeat(7, 1fr); gap: 6px; }
  .g-nav { width: 38px; height: 38px; font-size: 1.3rem; }
  .contact-form { padding: 26px 20px; }
  .announce span:nth-child(n+2) { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value { font-size: .66rem; flex-direction: column; text-align: center; gap: 8px; padding: 18px 8px; }
  .footer-grid { grid-template-columns: 1fr; }
}
