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

:root {
  --cream: #0d0c0a;
  --cream-dim: #131110;
  --ink: #ece4d1;
  --ink-soft: #b3a98e;
  --brass: #c9a227;
  --brass-dark: #e8c765;
  --border: #332c1e;
  --white: #fffdf9;
  --surface: #17140f;
  --on-brass: #14120d;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
}

h1, h2, h3, .wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.015em;
  margin: 0;
  color: var(--brass);
}

a { color: inherit; }

/* ---------- Nav ---------- */

#site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 12, 10, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark-lockup {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--brass);
}

.crest-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--brass);
}

.wordmark {
  font-size: 1.25rem;
  font-style: italic;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.currency-switcher {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-family: 'EB Garamond', serif;
  font-size: 0.85rem;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  cursor: pointer;
}

.currency-switcher:hover {
  border-color: var(--brass);
  color: var(--brass-dark);
}

.currency-switcher option {
  background: var(--surface);
  color: var(--ink);
}

.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brass-dark);
  border-bottom-color: var(--brass);
}

/* ---------- Other Products dropdown ---------- */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'EB Garamond', serif;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  padding: 0 0 0.2rem;
  border-bottom: 1px solid transparent;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--brass-dark);
  border-bottom-color: var(--brass);
}

.nav-caret {
  font-size: 0.65rem;
  margin-left: 0.15rem;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.9rem;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 20;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-cat-list,
.nav-cat-children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-cat-children {
  margin-left: 0.9rem;
  padding-left: 0.6rem;
  border-left: 1px solid var(--border);
  margin-top: 0.3rem;
  margin-bottom: 0.4rem;
}

.nav-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.nav-cat-link {
  display: block;
  padding: 0.35rem 0;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
}

.nav-cat-link:hover {
  color: var(--brass-dark);
}

.nav-cat-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  width: 20px;
  height: 20px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.nav-cat-toggle:hover {
  border-color: var(--brass);
  color: var(--brass-dark);
}

.age-tag {
  font-size: 0.65rem;
  background: #8f2d22;
  color: #fdf3ec;
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.3rem;
}

/* ---------- Hero ---------- */

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  transform: translate(-50%, -50%);
  color: var(--brass);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.hero-with-image .hero-watermark {
  display: none;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  color: var(--brass-dark);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.6rem;
  font-style: italic;
  max-width: 15ch;
  margin: 0 auto 1.2rem;
  line-height: 1.15;
}

.hero p.lede {
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
}

.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--brass);
  margin: 2.5rem auto;
}

.hero-with-image {
  background-image:
    linear-gradient(rgba(20, 17, 12, 0.55), rgba(20, 17, 12, 0.55)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  max-width: none;
  padding: 7rem 1.5rem;
  color: var(--white);
}

.hero-with-image .eyebrow { color: #e8d9b8; }
.hero-with-image h1 { color: var(--white); }
.hero-with-image p.lede { color: #f0ece2; }
.hero-with-image .hero-rule { background: #e8d9b8; }

/* ---------- Utility ---------- */

.hidden { display: none !important; }

.nav-instagram {
  font-style: italic;
}

/* ---------- CTA strip ---------- */

.cta-strip {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.cta-strip h2 {
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.cta-strip p {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

/* ---------- About layout ---------- */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.about-layout.no-image {
  grid-template-columns: 1fr;
  max-width: 60ch;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ---------- Forms ---------- */

.form-section {
  max-width: 520px;
  margin: 0 auto;
}

.site-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.site-form input,
.site-form textarea {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 2px;
}

.site-form .error {
  color: #e2685a;
  font-size: 0.9rem;
  margin: 0;
  min-height: 1.2em;
}

.site-form .hint {
  color: #7fbf7f;
  font-size: 0.9rem;
  margin: 0;
  min-height: 1.2em;
}

.contact-alt {
  text-align: center;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Sections / generic ---------- */

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

section.tight { padding-top: 0; }

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 0.6rem;
}

.section-heading h2 {
  font-size: 1.9rem;
  font-style: italic;
}

/* ---------- Brand filter ---------- */

.brand-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.brand-pill {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-family: 'EB Garamond', serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  cursor: pointer;
}

.brand-pill:hover {
  border-color: var(--brass);
  color: var(--brass-dark);
}

.brand-pill.active {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--on-brass);
}

/* ---------- Breadcrumb & category tiles ---------- */

.breadcrumb {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--brass-dark);
}

.breadcrumb span {
  color: var(--brass-dark);
}

.category-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.category-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--brass);
  text-align: center;
}

.category-tile:hover {
  border-color: var(--brass);
}

/* ---------- Age gate ---------- */

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 1.5rem;
}

.age-gate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  max-width: 420px;
  text-align: center;
}

.age-gate-card h2 {
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.age-gate-card p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- Product grid / cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-image {
  display: block;
  margin-bottom: 1rem;
  position: relative;
}

.sale-sticker {
  position: absolute;
  top: -6px;
  left: -10px;
  background: #8f2d22;
  color: #fdf3ec;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 2px;
  transform: rotate(-8deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.price-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 0 0.3rem;
}

.price-original {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.price-sale {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: #d4685a;
  font-weight: 600;
}

.sale-countdown {
  font-size: 0.78rem;
  color: #d4685a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.product-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 2px;
}

.detail-image .product-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.card-brand {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--brass-dark);
  margin: 0 0 0.3rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--brass-dark); }

.blurb {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  min-height: 2.6em;
}

.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
  color: var(--brass);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.btn {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid var(--brass);
  cursor: pointer;
  background: transparent;
  color: var(--brass-dark);
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--brass);
  color: var(--on-brass);
}

.btn-primary:hover { background: var(--brass-dark); }

.btn-secondary:hover {
  background: var(--brass);
  color: var(--on-brass);
}

.btn-disabled {
  border: 1px dashed var(--border);
  color: #b4aa96;
  cursor: not-allowed;
}

/* ---------- Product detail ---------- */

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-top: 3rem;
}

.detail-image-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-thumbs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.detail-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-thumb.active {
  border-color: var(--brass);
}

.detail-image {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 3rem;
}

.detail-info .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 0.6rem;
}

.detail-info .eyebrow a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
}

.detail-info .eyebrow a:hover {
  border-bottom-color: var(--brass-dark);
}

.detail-material {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.detail-info h1 {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 0.6rem;
}

.detail-info .price {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.detail-info .price-block {
  justify-content: flex-start;
}

.detail-info .price-sale {
  font-size: 1.5rem;
}

.detail-info .sale-countdown {
  margin-bottom: 1.2rem;
}

.detail-info .description {
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

.detail-info .actions { max-width: 320px; }

.detail-back {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.detail-back a { text-decoration: none; color: var(--ink-soft); }
.detail-back a:hover { color: var(--brass-dark); }

/* ---------- About / Contact ---------- */

.prose {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--ink-soft);
}

.prose p { margin: 0 0 1.2rem; }

.prose h2 {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.contact-block {
  max-width: 46ch;
  margin: 0 auto;
  text-align: center;
}

.contact-block a.email {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--brass-dark);
  border-bottom: 1px solid var(--brass);
}

/* ---------- Footer ---------- */

#site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-wordmark::before,
.footer-wordmark::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--brass);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.footer-links a:hover { color: var(--brass-dark); }

.footer-meta {
  color: #8f8567;
  font-size: 0.85rem;
}

.footer-meta a { color: inherit; text-decoration: underline; }
.footer-meta .divider { margin: 0 0.5rem; }

/* ---------- Demo banner ---------- */

.demo-banner {
  background: #efe6d3;
  color: var(--brass-dark);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .nav-links { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 2.6rem; }
  .detail { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
}
