/* ============================================================
   MINTED LEGENDS · SHARED BASE STYLESHEET
   ============================================================ */

:root {
  --bg-deep: #0c0a07;
  --bg-paper: #1a140c;
  --bg-card: #1f1810;
  --bg-cream: #f1e6c8;
  --bg-cream-deep: #e5d4a7;
  --bg-parchment: #efe2bd;
  --bg-museum: #ede0bc;
  --gold: #c9a14d;
  --gold-light: #e9c573;
  --gold-deep: #8a6a26;
  --gold-rich: #b18632;
  --gold-soft: #d4b066;
  --silver: #c0c0bc;
  --copper: #b07050;
  --ink: #f0e6cf;
  --ink-mute: #b8a982;
  --ink-faint: #6b5d3f;
  --ink-dark: #1a1410;
  --ink-darker: #0d0a07;
  --rule: #2b2218;
  --rule-bright: #443525;
  --red-deep: #6e1818;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='1'/></svg>");
  mix-blend-mode: overlay;
}
img { display: block; max-width: 100%; height: auto; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* TYPOGRAPHY */
.display {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.italic-block {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--gold-soft);
  display: block;
  margin-top: 4px;
}
.label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ORNATE DIVIDER */
.ornate-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.85;
}
.ornate-rule::before, .ornate-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.ornate-rule .gem {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.ornate-rule .gem.outer {
  width: 4px; height: 4px;
  background: var(--gold-deep);
}
.cream .ornate-rule::before,
.cream .ornate-rule::after {
  background: linear-gradient(to right, transparent, var(--gold-deep), transparent);
}
.cream .ornate-rule .gem { background: var(--gold-deep); }
.cream .ornate-rule .gem.outer { background: var(--gold-rich); }

/* TOP NAV */
nav.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 7, 5, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
nav.top .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.nav-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-mark-logo {
  width: 38px; height: 38px;
  object-fit: contain;
}
.nav-mark-text {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
}
nav.top ul {
  list-style: none;
  display: flex;
  gap: 36px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
nav.top ul a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.2s;
}
nav.top ul a:hover, nav.top ul a.current { color: var(--gold); }
.cta-buy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.cta-buy:hover { background: var(--gold); color: var(--bg-deep); }
@media (max-width: 1000px) { nav.top ul { display: none; } }

/* BUTTONS */
.btn-primary {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 17px 34px;
  background: var(--gold);
  color: var(--bg-deep);
  border: 1px solid var(--gold);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-secondary {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule-bright);
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover { color: var(--gold); border-color: var(--gold); }
.btn-secondary .arrow { margin-left: 10px; transition: margin-left 0.2s; }
.btn-secondary:hover .arrow { margin-left: 14px; }
.btn-cream {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 17px 34px;
  background: var(--ink-dark);
  color: var(--gold-light);
  border: 1px solid var(--ink-dark);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
  display: inline-block;
}
.btn-cream:hover { background: var(--gold-deep); color: var(--bg-cream); border-color: var(--gold-deep); }

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}
h2.section-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.05;
  font-size: clamp(36px, 4.4vw, 60px);
  margin-bottom: 24px;
  color: var(--ink);
}
.section-lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 36px;
}
.section-lede em { color: var(--ink); font-style: italic; }

/* CREAM SECTION VARIANTS */
.cream .section-eyebrow { color: var(--gold-deep); }
.cream h2.section-title { color: var(--ink-dark); }
.cream h2.section-title .italic-block { color: var(--gold-rich); }
.cream .section-lede { color: var(--ink-faint); }
.cream .section-lede em { color: var(--ink-dark); }
.cream .label { color: var(--gold-deep); }

/* FOOTER */
footer {
  background: var(--bg-paper);
  border-top: 1px solid var(--rule-bright);
  padding: 80px 0 40px;
  position: relative;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 40px 30px; } }
.foot-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.foot-mark img {
  width: 52px; height: 52px;
  object-fit: contain;
}
.foot-mark-text {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.foot-motto {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.foot-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 280px;
}
.foot-h {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.foot-link {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--ink-mute);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}
.foot-link:hover { color: var(--gold); }
.foot-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 16px;
}

/* PAGE HERO (for sub-pages) */
section.page-hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
section.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 161, 77, 0.10), transparent 65%);
  pointer-events: none;
}
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}
.breadcrumb:hover { color: var(--gold); }
h1.page-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.05;
  font-size: clamp(46px, 6.4vw, 90px);
  margin-bottom: 22px;
  color: var(--ink);
}
.page-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--gold-soft);
  margin-bottom: 32px;
}
.page-lede {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 680px;
  margin: 32px auto 0;
}
.page-lede em { color: var(--ink); font-style: italic; }
