:root {
  --bg: #0a0a0b;
  --panel: #141417;
  --panel2: #1a1a1f;
  --text: #f6efe3;
  --muted: #b7aea0;
  --gold: #c9a86a;
  --gold2: #e7c98f;
  --rose: #c79297;
  --line: rgba(201, 168, 106, 0.24);
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
  --max: 1160px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top, rgba(201, 168, 106, 0.1), transparent 24%),
    linear-gradient(180deg, #09090a, #0a0a0b);
  color: var(--text);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.app-shell { opacity: 0; transition: opacity 0.35s ease; }
body.app-shell.is-ready { opacity: 1; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }

.announcement-bar {
  background: linear-gradient(180deg, rgba(231, 201, 143, 0.14), rgba(201, 168, 106, 0.08));
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 8px 14px;
}
.announcement-bar p {
  margin: 0;
  color: var(--gold2);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.section { padding: 74px 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 700;
  margin-bottom: 14px;
}
.title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.lead { color: var(--muted); margin: 0; max-width: 780px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 11, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.92rem; white-space: nowrap; }
.brand .mark { color: var(--gold2); }
.smooth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.smooth-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(231, 201, 143, 0.22));
}
.smooth-wordmark {
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.smooth-brand:hover .smooth-wordmark { color: var(--gold2); }
.site-nav { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; }
.site-nav a { padding: 6px 4px; border-radius: 10px; }
.site-nav a:hover { color: var(--text); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.45rem;
}
.menu-btn span { width: 18px; height: 2px; background: var(--text); display: block; }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero { padding: 102px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: center; }
.hero-title { font-size: clamp(2.8rem, 6.8vw, 5.4rem); line-height: 0.92; letter-spacing: -0.05em; margin: 0 0 20px; }
.hero-title span { color: var(--gold2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero .reveal:first-child { animation: heroFade 0.9s ease-out both; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.18s ease;
}
.btn-primary { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1b140a; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 22px rgba(231, 201, 143, 0.26), 0 14px 32px rgba(0, 0, 0, 0.38); }
.btn-secondary { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.12); color: var(--text); }
.btn-secondary:hover { border-color: var(--line); color: var(--gold2); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); }

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(229, 198, 137, 0.1), rgba(255, 255, 255, 0.02)), var(--panel);
}
.hero-card-label { margin: 0 0 14px; color: var(--gold2); font-weight: 700; }
.hero-media,
.product-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #121317;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}
.hero-media img { transform: scale(1.02); }
.hero-media { min-height: 280px; margin-bottom: 14px; }
.product-media { min-height: 280px; margin: 0 0 14px; }
.hero-media { aspect-ratio: 4 / 3; }
.product-media { aspect-ratio: 4 / 3; }
.hero-media img,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.product-card:hover .product-media img { transform: scale(1.045); }
.product-media.is-loading::before,
.hero-media.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.08), rgba(255,255,255,.02));
  animation: shimmer 1.3s linear infinite;
}

.section-head { margin-bottom: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.product-card { overflow: hidden; }
.product-card[role="button"] { cursor: pointer; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.product-card[role="button"]:hover { transform: translateY(-4px); box-shadow: 0 26px 52px rgba(0, 0, 0, 0.38); border-color: var(--line); }
.product-card[role="button"]:focus-visible { outline: 2px solid rgba(231, 201, 143, 0.5); outline-offset: 2px; }
.product-body { padding: 20px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.product-body h3 { margin: 8px 0 10px; font-size: 1.3rem; letter-spacing: -0.03em; }
.product-body p { margin: 0 0 14px; color: var(--muted); }
.price { margin: 0 0 10px; color: var(--gold2); font-weight: 800; letter-spacing: 0.02em; }
.soldout-recs { margin-top: 12px; display: grid; gap: 8px; }

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(201, 168, 106, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold2);
  margin-bottom: 10px;
}
.badge.rose {
  color: var(--rose);
  border-color: rgba(199, 146, 151, 0.4);
  background: rgba(199, 146, 151, 0.1);
}
.stock-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stock-badge.genesis { color: #ddc79d; border-color: rgba(221, 199, 157, 0.45); }
.stock-badge.small { color: #bdd4c8; border-color: rgba(189, 212, 200, 0.35); }
.stock-badge.limited { color: #d9be96; border-color: rgba(217, 190, 150, 0.44); }
.stock-badge.coming { color: #c7b7de; border-color: rgba(199, 183, 222, 0.42); }
.stock-badge.sold { color: #d2a7ac; border-color: rgba(210, 167, 172, 0.45); }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.feature-list li { padding-left: 14px; position: relative; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.feature-list.single { grid-template-columns: 1fr; }
.highlight {
  border-color: rgba(201, 168, 106, 0.38);
  background: linear-gradient(180deg, rgba(229, 198, 137, 0.09), rgba(255, 255, 255, 0.01));
}

.pay-row { margin-top: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cta-panel {
  display: grid;
  grid-template-columns: 1.6fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(229, 198, 137, 0.1), rgba(255, 255, 255, 0.02)), var(--panel);
}

.newsletter {
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(229, 198, 137, 0.09), rgba(255, 255, 255, 0.02)), var(--panel);
}
.smooth-form {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.smooth-form input {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0 14px;
}
.smooth-form input:focus {
  outline: none;
  border-color: var(--line);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.12);
}
.micro-note { grid-column: 1 / -1; font-size: 0.88rem; margin-top: 4px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-list { display: grid; gap: 10px; margin-top: 18px; }
details.faq { padding: 14px 16px; }
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq p { margin: 10px 0 0; color: var(--muted); }

.contact-card { padding: 20px; display: grid; gap: 10px; }
.contact-card a { color: var(--gold2); font-weight: 600; }

.floating-register {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #1b140a;
  font-weight: 800;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.site-footer { padding: 34px 0 70px; color: var(--muted); text-align: center; font-size: 0.92rem; }
.premium-footer { border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
  padding-bottom: 18px;
}
.footer-grid a { display: block; color: var(--muted); margin-bottom: 6px; }
.footer-grid a:hover { color: var(--gold2); }
.compliance { margin: 10px auto 0; max-width: 780px; font-size: 0.84rem; color: #b8b0a3; }

.footer-foundation {
  margin: 12px auto 0;
  max-width: 520px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: rgba(184, 176, 163, 0.88);
}
.footer-foundation-subtle {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  color: rgba(184, 176, 163, 0.72);
}
.footer-doodbrand {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(184, 176, 163, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-doodbrand:hover {
  color: var(--gold2);
  border-color: rgba(229, 198, 137, 0.35);
}

.footer-legal {
  margin-top: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.footer-legal a {
  color: rgba(184, 176, 163, 0.85);
  text-decoration: none;
  margin: 0 4px;
}
.footer-legal a:hover {
  color: var(--gold2);
  text-decoration: underline;
}
.footer-social-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-social-note a,
.social-inline-links a {
  color: rgba(184, 176, 163, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social-note a:hover,
.social-inline-links a:hover {
  color: var(--gold2);
  border-color: rgba(229, 198, 137, 0.35);
}
.footer-social-links {
  margin: 10px 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(184, 176, 163, 0.82);
}
.social-inline-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.social-inline-links .dot {
  color: rgba(184, 176, 163, 0.55);
}
.contact-social {
  margin-top: 12px;
}
.contact-social .eyebrow {
  margin-bottom: 8px;
}

.foundation-strip {
  padding-top: 0;
  padding-bottom: 8px;
}
.foundation-strip .foundation-note {
  margin: 0 auto;
  max-width: 34rem;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  padding: 16px;
  background: rgba(7, 7, 8, 0.78);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}
.modal-backdrop.is-open { display: flex; }
.product-modal {
  width: min(780px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(229, 198, 137, 0.08), rgba(255, 255, 255, 0.015)), var(--panel);
}
.modal-media { min-height: 260px; margin-bottom: 16px; }
.modal-media { aspect-ratio: 4 / 3; }
.modal-title { font-size: clamp(1.7rem, 4vw, 2.35rem); margin-bottom: 10px; }
.modal-description { margin-bottom: 18px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.modal-grid h4 { margin: 0 0 8px; font-size: 1rem; color: var(--gold2); }
.modal-micro { font-size: 0.82rem; color: rgba(184, 176, 163, 0.82); margin-bottom: 12px; }
.modal-close {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}
.modal-close:hover { border-color: var(--line); color: var(--gold2); }
.modal-actions { margin-top: 16px; }
.modal-actions .btn[aria-disabled="true"] { opacity: 0.72; cursor: not-allowed; }
.cart-trigger { white-space: nowrap; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 150;
  width: min(420px, 96vw);
  height: 100vh;
  transform: translateX(104%);
  transition: transform 0.3s ease;
  background: linear-gradient(180deg, rgba(229, 198, 137, 0.08), rgba(255, 255, 255, 0.015)), #121215;
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 50px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.cart-drawer.open { transform: translateX(0); }
.cart-scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-scrim.open { opacity: 1; pointer-events: auto; }
.cart-header, .cart-footer { padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.cart-footer { border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.cart-footer .lead { font-size: 0.84rem; margin-bottom: 10px; }
.cart-note { color: rgba(184, 176, 163, 0.9); }
.cart-items { padding: 12px 16px; overflow: auto; display: grid; gap: 10px; }
.cart-item { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 10px; background: rgba(255, 255, 255, 0.02); }
.cart-item h4 { margin: 0 0 4px; font-size: 0.96rem; }
.qty-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.03); color: var(--text); }
.ritual-flow { padding: 24px; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.flow-grid article { border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px; background: rgba(255,255,255,.02); }
.flow-grid h3 { margin: 0 0 6px; color: var(--gold2); }
.trust-strip { padding: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.trust-strip span { border: 1px solid rgba(255,255,255,.11); padding: 6px 10px; border-radius: 999px; color: var(--muted); font-size: 0.84rem; }
.media-landscape { min-height: 260px; }
.media-portrait { min-height: 420px; }
.media-portrait img { object-position: center 38%; }
.ritual-inside-list { margin-top: 10px; }
.policy-main { max-width: 820px; display: grid; gap: 16px; }
.policy-main h2 { margin: 0; color: var(--gold2); font-size: 1.2rem; }
.policy-main p { margin: 0; color: var(--muted); }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .hero-grid, .split, .cta-panel { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: flex; flex-direction: column; padding-top: 10px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .product-grid, .feature-list { grid-template-columns: 1fr; }
  .smooth-form { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .product-modal {
    max-height: 92vh;
    padding: 18px 16px 26px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .site-footer { padding: 30px 0 92px; }
  .cart-header, .cart-footer { padding: 18px 16px; }
  .cart-items { padding: 16px; gap: 12px; }
  .modal-actions .btn { min-height: 52px; }
  .section { padding: 62px 0; }
  .hero { padding: 82px 0 52px; }
  .hero-media { min-height: 220px; }
  .product-media { min-height: 230px; }
  .hero-media img { object-position: center 42%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100vw; }
  .btn { min-height: 50px; }
  .smooth-mark { width: 24px; height: 24px; }
  .smooth-wordmark { font-size: 0.86rem; letter-spacing: 0.16em; }
  .cart-trigger {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 155;
    border-color: var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.38);
    background: linear-gradient(180deg, rgba(231, 201, 143, 0.95), rgba(201, 168, 106, 0.95));
    color: #1b140a;
    min-height: 48px;
    padding: 0 16px;
  }
  .cart-trigger #cartCount {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(27, 20, 10, 0.14);
    margin-left: 6px;
    font-size: 0.78rem;
  }
  .media-portrait { min-height: 300px; }
}
@media (max-width: 640px) {
  .btn-row { width: 100%; }
  .btn { flex: 1 1 100%; }
  .floating-register { left: 14px; right: 14px; text-align: center; }
  .cart-items { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn,
  .product-card[role="button"],
  .hero-media img,
  .product-media img {
    transition: none;
    animation: none;
  }
  .product-card:hover .product-media img,
  .btn-primary:hover,
  .btn-secondary:hover,
  .product-card[role="button"]:hover {
    transform: none;
    box-shadow: none;
  }
}
