/* ============================================================
   TABLETOP TREASURES — "Arcane Midnight" Design System
   Shared stylesheet for all mockup pages. DO NOT fork per page.
   Page-specific styles go in a <style> block using var(--*) tokens.
   ============================================================ */

/* ---- Fonts ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Cinzel+Decorative:wght@700;900&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ---- Design Tokens ----------------------------------------- */
:root {
  /* surfaces */
  --bg-void:      #07060e;
  --bg-base:      #0c0a17;
  --bg-raised:    #14111f;
  --bg-raised-2:  #1c1830;
  --bg-inset:     #0a0813;

  /* borders */
  --border-faint:  rgba(232,179,73,0.10);
  --border:        rgba(232,179,73,0.20);
  --border-strong: rgba(232,179,73,0.40);

  /* arcane palette */
  --gold:        #e8b349;
  --gold-bright: #f6d488;
  --gold-deep:   #b8862c;
  --violet:      #9a7fe0;
  --violet-bright:#bda6f2;
  --violet-deep: #6a4fb5;
  --cyan:        #6fd6d6;   /* maps / cartography accent */
  --discord:     #5865f2;
  --rune-red:    #c05a4a;
  --emerald:     #7fc99a;   /* success / online */

  /* ink */
  --ink:        #ece4d2;
  --ink-soft:   #c4bcab;
  --ink-muted:  #8b8497;
  --ink-faint:  #5f5a6e;

  /* type */
  --font-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-deco:    'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --font-body:    'Spectral', Georgia, 'Times New Roman', serif;

  /* effects */
  --glow-gold:   0 0 28px rgba(232,179,73,0.28);
  --glow-violet: 0 0 30px rgba(154,127,224,0.32);
  --shadow-card: 0 22px 55px -24px rgba(0,0,0,0.85);
  --shadow-pop:  0 30px 70px -20px rgba(0,0,0,0.9);
  --radius:      4px;
  --radius-lg:   8px;
  --ease:        cubic-bezier(.2,.7,.2,1);
  --maxw:        1240px;
}

/* ---- Reset ------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input,textarea,select { font-family: inherit; }
ul { list-style: none; }
::selection { background: rgba(232,179,73,0.28); color: #fff; }

/* ---- Atmosphere: starfield + ambient glows + grain --------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.2px 1.2px at 34% 68%, rgba(255,255,255,.40), transparent),
    radial-gradient(1.6px 1.6px at 58% 14%, rgba(246,212,136,.55), transparent),
    radial-gradient(1.1px 1.1px at 73% 52%, rgba(255,255,255,.38), transparent),
    radial-gradient(1.3px 1.3px at 88% 30%, rgba(189,166,242,.55), transparent),
    radial-gradient(1.2px 1.2px at 22% 88%, rgba(255,255,255,.32), transparent),
    radial-gradient(1.5px 1.5px at 91% 80%, rgba(255,255,255,.30), transparent),
    radial-gradient(900px 600px at 82% -8%, rgba(106,79,181,.22), transparent),
    radial-gradient(820px 560px at 8% 104%, rgba(184,134,44,.16), transparent),
    var(--bg-base);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Layout ------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }
.section { padding-block: 96px; position: relative; }
.section--tight { padding-block: 56px; }
.stack > * + * { margin-top: 1rem; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grid { display: grid; gap: 24px; }
.center { text-align: center; }

/* ---- Typography -------------------------------------------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.14; letter-spacing: .01em; color: #fff; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.08rem; letter-spacing: .04em; }
p  { color: var(--ink-soft); }

.display { font-family: var(--font-deco); font-weight: 700; line-height: 1.06; }
.lede { font-size: 1.18rem; color: var(--ink-soft); font-weight: 300; }
.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); }
.text-gold { color: var(--gold); }
.text-violet { color: var(--violet-bright); }
.text-cyan { color: var(--cyan); }

.eyebrow {
  font-family: var(--font-display); font-weight: 600;
  font-size: .74rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before, .eyebrow.eyebrow--both::after {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.eyebrow--both::after { background: linear-gradient(90deg, var(--gold), transparent); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; }

/* ---- Decorative bits --------------------------------------- */
/* engraved double-line frame — the signature container */
.rune-frame { position: relative; border: 1px solid var(--border); }
.rune-frame::before {
  content: ""; position: absolute; inset: 5px; border: 1px solid var(--border-faint);
  pointer-events: none;
}
/* gold corner brackets — add .rune-frame--corners */
.rune-frame--corners::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--gold),var(--gold)), linear-gradient(var(--gold),var(--gold)),
    linear-gradient(var(--gold),var(--gold)), linear-gradient(var(--gold),var(--gold)),
    linear-gradient(var(--gold),var(--gold)), linear-gradient(var(--gold),var(--gold)),
    linear-gradient(var(--gold),var(--gold)), linear-gradient(var(--gold),var(--gold));
  background-repeat: no-repeat;
  background-size: 18px 1.5px,1.5px 18px, 18px 1.5px,1.5px 18px, 18px 1.5px,1.5px 18px, 18px 1.5px,1.5px 18px;
  background-position:
    top left, top left, top right, top right,
    bottom left, bottom left, bottom right, bottom right;
}

/* ornamental divider — <div class="ornament"></div> */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  color: var(--gold); margin-block: 8px;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, var(--border-strong));
}
.ornament::after { background: linear-gradient(90deg, var(--border-strong), transparent); }
.ornament-mark { font-size: 1rem; transform: rotate(45deg); }

.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  pointer-events: none; z-index: -1; opacity: .5;
}

/* ---- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 26px; border-radius: var(--radius);
  border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap; cursor: pointer; position: relative;
}
.btn--primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #261a05; box-shadow: 0 8px 26px -10px rgba(232,179,73,.6);
}
.btn--primary:hover { box-shadow: var(--glow-gold), 0 8px 26px -8px rgba(232,179,73,.7); transform: translateY(-2px); }
.btn--ghost {
  border-color: var(--border-strong); color: var(--ink);
  background: rgba(232,179,73,0.03);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(232,179,73,0.08); }
.btn--violet {
  background: linear-gradient(180deg, var(--violet-bright), var(--violet-deep));
  color: #160f2b; box-shadow: 0 8px 26px -10px rgba(154,127,224,.6);
}
.btn--violet:hover { box-shadow: var(--glow-violet), 0 8px 26px -8px rgba(154,127,224,.7); transform: translateY(-2px); }
.btn--discord {
  background: var(--discord); color: #fff; border-color: var(--discord);
}
.btn--discord:hover { background: #6b76f4; box-shadow: 0 0 26px rgba(88,101,242,.5); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: .72rem; }
.btn--lg { padding: 18px 36px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--icon { padding: 12px; border-radius: var(--radius); }

/* ---- Navigation -------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,8,19,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-faint);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(232,179,73,.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--font-display); font-weight: 700; font-size: 1.04rem;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.brand-text span {
  font-size: .58rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-family: var(--font-display); font-weight: 500; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  transition: color .2s var(--ease); cursor: pointer; border-radius: var(--radius);
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--gold-bright); }
.nav-caret { width: 9px; opacity: .6; transition: transform .2s var(--ease); }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px;
  background: var(--bg-raised); border: 1px solid var(--border);
  box-shadow: var(--shadow-pop); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s var(--ease);
}
.nav-item:hover .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu::before {
  content: ""; position: absolute; inset: 4px; border: 1px solid var(--border-faint);
  pointer-events: none;
}
.nav-menu a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  font-size: .92rem; color: var(--ink-soft); transition: all .18s var(--ease);
}
.nav-menu a:hover { background: rgba(232,179,73,.07); color: var(--gold-bright); }
.nav-menu a small { display: block; color: var(--ink-faint); font-size: .76rem; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: var(--radius);
  display: grid; place-items: center; color: var(--ink-soft);
  border: 1px solid transparent; transition: all .2s var(--ease);
}
.nav-icon-btn:hover { color: var(--gold-bright); border-color: var(--border); background: rgba(232,179,73,.05); }
.nav-toggle { display: none; }

/* notification dot */
.notif-dot {
  position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 9px; background: var(--rune-red); color: #fff;
  font-family: var(--font-body); font-size: .62rem; font-weight: 600;
  display: grid; place-items: center; border: 2px solid var(--bg-base);
}

/* ---- Cards / panels ---------------------------------------- */
.card {
  background: var(--bg-raised); border: 1px solid var(--border-faint);
  position: relative; transition: all .3s var(--ease);
}
.card:hover { border-color: var(--border); }
.card--raised { background: var(--bg-raised-2); box-shadow: var(--shadow-card); }
.panel {
  background: var(--bg-raised); border: 1px solid var(--border-faint);
  padding: 24px;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--border-faint);
}
.panel-head h3 { font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---- Tags / chips / badges --------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 10px; border: 1px solid var(--border); color: var(--gold);
  background: rgba(232,179,73,.05);
}
.tag--violet { color: var(--violet-bright); border-color: rgba(154,127,224,.35); background: rgba(154,127,224,.07); }
.tag--cyan   { color: var(--cyan); border-color: rgba(111,214,214,.32); background: rgba(111,214,214,.07); }
.tag--solid  { background: var(--gold); color: #261a05; border-color: var(--gold); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px;
  border-radius: 40px; border: 1px solid var(--border-faint);
  background: var(--bg-raised); font-size: .82rem; color: var(--ink-soft);
  transition: all .2s var(--ease); cursor: pointer;
}
.chip:hover, .chip.is-active { border-color: var(--gold); color: var(--gold-bright); }
.chip.is-active { background: rgba(232,179,73,.08); }

/* achievement badge */
.achv {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; width: 92px;
}
.achv-medallion {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--bg-raised-2), var(--bg-inset));
  border: 1.5px solid var(--border-strong); color: var(--gold);
  box-shadow: inset 0 0 16px rgba(0,0,0,.6), var(--glow-gold);
}
.achv-medallion.is-locked { border-color: var(--border-faint); color: var(--ink-faint); box-shadow: none; filter: grayscale(1); }
.achv small { font-size: .72rem; color: var(--ink-muted); letter-spacing: .04em; }

/* ---- Avatars ----------------------------------------------- */
.avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  background: var(--bg-raised-2); border: 1px solid var(--border);
  flex-shrink: 0;
}
.avatar--lg { width: 64px; height: 64px; }
.avatar--xl { width: 132px; height: 132px; border-width: 2px; }
.avatar-ring { padding: 3px; border-radius: 50%; background: conic-gradient(var(--gold), var(--violet), var(--gold)); }
.avatar-ring .avatar { border-color: var(--bg-base); }
.avatar-stack { display: flex; }
.avatar-stack .avatar { margin-left: -12px; border: 2px solid var(--bg-base); }
.avatar-stack .avatar:first-child { margin-left: 0; }
.presence-dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--emerald);
  border: 2px solid var(--bg-base); box-shadow: 0 0 8px var(--emerald);
}

/* ---- Follow control ---------------------------------------- */
.follow-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--border-strong);
  color: var(--gold); background: rgba(232,179,73,.04);
  transition: all .22s var(--ease);
}
.follow-btn:hover { background: rgba(232,179,73,.1); border-color: var(--gold); }
.follow-btn .ico-following { display: none; }
.follow-btn.is-following {
  color: var(--emerald); border-color: rgba(127,201,154,.4); background: rgba(127,201,154,.07);
}
.follow-btn.is-following .ico-follow { display: none; }
.follow-btn.is-following .ico-following { display: inline; }

/* ---- XP / progress ----------------------------------------- */
.xp-bar {
  height: 9px; border-radius: 40px; background: var(--bg-inset);
  border: 1px solid var(--border-faint); overflow: hidden; position: relative;
}
.xp-fill {
  height: 100%; border-radius: 40px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  box-shadow: 0 0 14px rgba(232,179,73,.6); position: relative;
}
.xp-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: shimmer 2.6s linear infinite;
}

/* ---- Stat grid --------------------------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 1px; background: var(--border-faint); }
.stat { background: var(--bg-raised); padding: 20px 16px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-bright); }
.stat span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }

/* ---- Ratings ----------------------------------------------- */
.rating { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); }
.rating .star { width: 15px; height: 15px; }
.rating .star.is-empty { color: var(--ink-faint); }

/* ---- Product card ------------------------------------------ */
.product-card {
  background: var(--bg-raised); border: 1px solid var(--border-faint);
  display: flex; flex-direction: column; transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--shadow-card); }
.product-art {
  aspect-ratio: 4/3; position: relative; display: grid; place-items: center;
  border-bottom: 1px solid var(--border-faint); overflow: hidden;
}
.product-art .product-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.product-art .fav {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(7,6,14,.7); display: grid; place-items: center;
  color: var(--ink-soft); border: 1px solid var(--border-faint); transition: all .2s var(--ease);
}
.product-art .fav:hover, .product-art .fav.is-following { color: var(--rune-red); border-color: var(--rune-red); }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-title { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: #fff; }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--gold-bright); }
.price s { color: var(--ink-faint); font-size: .85rem; font-weight: 400; margin-right: 6px; }

/* ---- Thread / community ------------------------------------ */
.thread-card {
  display: flex; gap: 16px; padding: 20px 22px;
  background: var(--bg-raised); border: 1px solid var(--border-faint);
  transition: all .25s var(--ease);
}
.thread-card:hover { border-color: var(--border); background: var(--bg-raised-2); }
.vote { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-muted); }
.vote button { width: 26px; height: 22px; display: grid; place-items: center; transition: color .15s; }
.vote button:hover { color: var(--gold); }
.vote b { font-family: var(--font-display); color: var(--gold); font-size: 1rem; }
.thread-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: var(--ink-muted); }
.thread-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Tabs -------------------------------------------------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-faint); flex-wrap: wrap; }
.tab {
  padding: 13px 20px; font-family: var(--font-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-muted); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all .2s var(--ease); cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--gold-bright); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .4s var(--ease); }

/* ---- Discord widget ---------------------------------------- */
.discord-card {
  background: linear-gradient(160deg, rgba(88,101,242,.14), var(--bg-raised));
  border: 1px solid rgba(88,101,242,.3); padding: 24px; position: relative;
}
.discord-presence { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-soft); }
.discord-presence .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }
.discord-msg { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border-faint); }
.discord-msg .avatar { width: 32px; height: 32px; }

/* ---- Forms ------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-label {
  font-family: var(--font-display); font-weight: 600; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.input, .textarea, .select {
  width: 100%; padding: 13px 15px; background: var(--bg-inset);
  border: 1px solid var(--border-faint); color: var(--ink);
  font-size: .96rem; transition: all .2s var(--ease); border-radius: var(--radius);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,179,73,.1);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.textarea { resize: vertical; min-height: 120px; }
.form-divider {
  display: flex; align-items: center; gap: 14px; color: var(--ink-faint);
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; margin: 22px 0;
}
.form-divider::before, .form-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border-faint);
}

/* ---- Breadcrumb -------------------------------------------- */
.breadcrumb { display: flex; gap: 10px; font-size: .8rem; color: var(--ink-muted); letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--ink-faint); }

/* ---- Marquee / hero carousel ------------------------------- */
.marquee {
  position: relative; height: clamp(520px, 78vh, 760px);
  overflow: hidden; border-bottom: 1px solid var(--border);
}
.marquee-track { display: flex; height: 100%; transition: transform .9s var(--ease); }
.marquee-slide {
  min-width: 100%; height: 100%; position: relative;
  display: flex; align-items: center;
}
.marquee-slide .slide-bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 600px at 78% 40%, rgba(154,127,224,.2), transparent),
              linear-gradient(120deg, var(--bg-void), var(--bg-base) 55%, #100c22);
}
.slide-content {
  max-width: var(--maxw); margin-inline: auto; padding: 0 32px; width: 100%;
}
.slide-text { max-width: 600px; }
.slide-text .eyebrow { margin-bottom: 18px; }
.slide-text h1 { color: #fff; }
.slide-text h1 em { color: var(--gold-bright); font-style: normal; }
.slide-text p { margin: 18px 0 30px; font-size: 1.15rem; }
.slide-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.marquee-art {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  width: min(440px, 38vw); opacity: .92; pointer-events: none;
  filter: drop-shadow(0 0 50px rgba(232,179,73,.3));
}
/* slide entrance animation when active */
.marquee-slide .slide-text > * { opacity: 0; transform: translateY(22px); }
.marquee-slide.is-active .slide-text > * { animation: fadeUp .7s var(--ease) forwards; }
.marquee-slide.is-active .slide-text > *:nth-child(1) { animation-delay: .15s; }
.marquee-slide.is-active .slide-text > *:nth-child(2) { animation-delay: .28s; }
.marquee-slide.is-active .slide-text > *:nth-child(3) { animation-delay: .41s; }
.marquee-slide.is-active .slide-text > *:nth-child(4) { animation-delay: .54s; }
.marquee-slide.is-active .marquee-art { animation: floatIn 1s var(--ease) forwards; }

.marquee-controls {
  position: absolute; bottom: 30px; left: 0; right: 0;
  max-width: var(--maxw); margin-inline: auto; padding: 0 32px;
  display: flex; align-items: center; gap: 18px;
}
.marquee-arrow {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border-strong); color: var(--gold);
  background: rgba(7,6,14,.6); transition: all .22s var(--ease);
}
.marquee-arrow:hover { background: var(--gold); color: #261a05; box-shadow: var(--glow-gold); }
.marquee-dots { display: flex; gap: 10px; }
.marquee-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); transition: all .25s var(--ease); }
.marquee-dot.is-active { background: var(--gold); width: 30px; border-radius: 5px; box-shadow: var(--glow-gold); }
.marquee-counter { font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; color: var(--ink-muted); margin-left: auto; }
.marquee-counter b { color: var(--gold-bright); }
.marquee-progress { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--gold); box-shadow: var(--glow-gold); width: 0; }

/* ---- Footer ------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-void);
  margin-top: 80px; position: relative;
}
.footer-grid {
  max-width: var(--maxw); margin-inline: auto; padding: 64px 32px 40px;
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; max-width: 320px; }
.footer-col h5 {
  font-family: var(--font-display); font-weight: 600; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a { display: block; padding: 6px 0; font-size: .9rem; color: var(--ink-muted); transition: color .18s; }
.footer-col a:hover { color: var(--gold-bright); }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter .input { padding: 11px 13px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-bottom {
  border-top: 1px solid var(--border-faint);
  max-width: var(--maxw); margin-inline: auto; padding: 22px 32px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: var(--ink-faint);
}
.footer-bottom a:hover { color: var(--gold); }

/* ---- Scroll reveal ----------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Keyframes --------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(-50%) scale(.92); } to { opacity: .92; transform: translateY(-50%) scale(1); } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes twinkle { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float { animation: floatY 6s ease-in-out infinite; }

/* ---- Responsive -------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .marquee-art { display: none; }
  .section { padding-block: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container, .nav-inner, .slide-content, .marquee-controls { padding-inline: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* mobile nav drawer */
.nav-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 300;
  background: var(--bg-raised); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .35s var(--ease);
  padding: 28px 24px; overflow-y: auto;
}
.nav-drawer.is-open { transform: none; }
.nav-drawer a { display: block; padding: 12px 0; font-family: var(--font-display);
  font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); border-bottom: 1px solid var(--border-faint); }
.nav-scrim {
  position: fixed; inset: 0; background: rgba(7,6,14,.7); z-index: 250;
  opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }
