/* ═══════════════════════════════════════════════════
   ARKANEA — Design v3 (UX Pro Max Pass)
   Colors: Onyx #0B0B0D | Aureus Gold #D4AF37 | Sapphire #0D2E6B | Ivory Mist #F4F1E9
   Fonts: Cormorant (Headlines) | Montserrat (Body) | Cormorant Garamond (Accents)
   ═══════════════════════════════════════════════════ */

/* ─── Dark Theme (Default) ─── */
:root {
  --onyx: #0B0B0D;
  --surface: #111114;
  --panel: #16161a;
  --sapphire: #0D2E6B;
  --sapphire-glow: rgba(13, 46, 107, 0.25);
  --sapphire-soft: rgba(13, 46, 107, 0.12);
  --gold: #D4AF37;
  --gold-dim: rgba(212, 175, 55, 0.25);
  --gold-glow: rgba(212, 175, 55, 0.08);
  --ivory: #F4F1E9;
  --muted: rgba(244, 241, 233, 0.72);
  --dim: rgba(244, 241, 233, 0.5);
  --line: rgba(244, 241, 233, 0.1);
  --line-gold: rgba(212, 175, 55, 0.22);
  --curve: cubic-bezier(0.16, 1, 0.3, 1);

  /* Semantic accent (Gold in dark) */
  --accent: #D4AF37;
  --accent-dim: rgba(212, 175, 55, 0.25);
  --accent-glow: rgba(212, 175, 55, 0.08);
  --accent-soft: rgba(212, 175, 55, 0.12);
  --accent-line: rgba(212, 175, 55, 0.22);
}

/* ─── Light Theme ─── */
[data-theme="light"] {
  --onyx: #F8F6F1;
  --surface: #EFEDE7;
  --panel: #E6E3DC;
  --sapphire: #0D2E6B;
  --sapphire-glow: rgba(13, 46, 107, 0.12);
  --sapphire-soft: rgba(13, 46, 107, 0.08);
  --gold: #9E7B10;
  --gold-dim: rgba(158, 123, 16, 0.18);
  --gold-glow: rgba(158, 123, 16, 0.05);
  --ivory: #1A1A2E;
  --muted: rgba(26, 26, 46, 0.72);
  --dim: rgba(26, 26, 46, 0.50);
  --line: rgba(26, 26, 46, 0.10);
  --line-gold: rgba(13, 46, 107, 0.18);

  /* Semantic accent (Sapphire in light) */
  --accent: #0D2E6B;
  --accent-dim: rgba(13, 46, 107, 0.22);
  --accent-glow: rgba(13, 46, 107, 0.06);
  --accent-soft: rgba(13, 46, 107, 0.10);
  --accent-line: rgba(13, 46, 107, 0.20);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  color-scheme: dark;
}

[data-theme="light"] {
  color-scheme: light;
}

body {
  margin: 0;
  background-color: var(--onyx);
  color: var(--ivory);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 300ms var(--curve), color 300ms var(--curve);
}

/* Subtle diamond lattice overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20Z' fill='none' stroke='%23D4AF37' stroke-width='.4'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--gold);
  color: var(--onyx);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 999;
  transition: top 200ms;
}

.skip-link:focus {
  top: 0;
}

/* System preference default (no localStorage value) */
@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    --onyx: #F8F6F1;
    --surface: #EFEDE7;
    --panel: #E6E3DC;
    --gold: #9E7B10;
    --gold-dim: rgba(158, 123, 16, 0.18);
    --gold-glow: rgba(158, 123, 16, 0.05);
    --ivory: #1A1A2E;
    --muted: rgba(26, 26, 46, 0.72);
    --dim: rgba(26, 26, 46, 0.50);
    --line: rgba(26, 26, 46, 0.10);
    --line-gold: rgba(13, 46, 107, 0.18);
    --accent: #0D2E6B;
    --accent-dim: rgba(13, 46, 107, 0.22);
    --accent-glow: rgba(13, 46, 107, 0.06);
    --accent-soft: rgba(13, 46, 107, 0.10);
    --accent-line: rgba(13, 46, 107, 0.20);
    color-scheme: light;
  }
}

/* ─── Theme Toggle ─── */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: var(--ivory);
  font-size: 1.2rem;
  transition: border-color 250ms var(--curve), background 250ms var(--curve), transform 300ms var(--curve);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
}

.theme-toggle:active {
  transform: scale(0.92);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: transform 400ms var(--curve), opacity 300ms var(--curve);
}

/* Dark mode: show sun icon (to switch to light) */
.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* Light mode: show moon icon (to switch to dark) */
[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: all 350ms var(--curve);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-right: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.nav.scrolled {
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--line-gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.brand img {
  height: 2rem;
  width: auto;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 250ms var(--curve), background 250ms var(--curve);
}

.nav-links a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--ivory);
  transition: all 400ms var(--curve);
  transform-origin: center;
}

.menu-active .hamburger span:first-child {
  transform: rotate(45deg) translateY(4.5px);
}
.menu-active .hamburger span:last-child {
  transform: rotate(-45deg) translateY(-4.5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8rem;
  gap: 1rem;
  background: rgba(11, 11, 13, 0.96);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms var(--curve);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ivory);
  padding: 0.5rem 1rem;
  opacity: 0;
  transform: translateY(2rem);
  transition: all 400ms var(--curve), color 200ms;
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active a:nth-child(2) { transition-delay: 60ms; }
.mobile-menu.active a:nth-child(3) { transition-delay: 120ms; }
.mobile-menu.active a:nth-child(4) { transition-delay: 180ms; }
.mobile-menu.active a:nth-child(5) { transition-delay: 240ms; }
.mobile-menu.active a:nth-child(6) { transition-delay: 300ms; }
.mobile-menu.active a:nth-child(7) { transition-delay: 360ms; }
.mobile-menu.active a:nth-child(8) { transition-delay: 420ms; }

.mobile-menu a:hover { color: var(--gold); }

/* ─── Brand Strip (Banner below nav) ─── */
.brand-strip {
  margin-top: 4.5rem;
  width: 100%;
  background: #0B0B0D;
  overflow: hidden;
  transition: background 300ms var(--curve);
}

[data-theme="light"] .brand-strip {
  background: #F8F6F1;
}

.brand-strip-inner {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

[data-theme="light"] .brand-strip-inner {
  background: #F8F6F1;
  max-width: 850px;
}

.brand-strip img {
  width: 100%;
  height: auto;
  display: block;
}

[data-theme="light"] .brand-strip img {
  mix-blend-mode: multiply;
}

.brand-strip-fade {
  position: absolute;
  pointer-events: none;
}

.brand-strip-fade--left {
  inset: 0 auto 0 0;
  width: 15%;
  background: linear-gradient(to right, #0B0B0D, transparent);
}

.brand-strip-fade--right {
  inset: 0 0 0 auto;
  width: 15%;
  background: linear-gradient(to left, #0B0B0D, transparent);
}

[data-theme="light"] .brand-strip-fade--left {
  width: 8%;
  background: linear-gradient(to right, #F8F6F1, transparent);
}

[data-theme="light"] .brand-strip-fade--right {
  width: 8%;
  background: linear-gradient(to left, #F8F6F1, transparent);
}

.brand-strip-fade--bottom {
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, var(--onyx), transparent);
}

[data-theme="light"] .brand-strip-fade--bottom {
  height: 25%;
  background: linear-gradient(to top, #F8F6F1, transparent);
}

/* ─── Hero Section ─── */
.hero {
  padding: 3rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 70vw;
  background: radial-gradient(ellipse, var(--sapphire-glow), transparent 60%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.container {
  width: min(1400px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.8rem;
  max-width: 800px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

h1 {
  font-family: 'Cormorant', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

h1 .accent {
  background: linear-gradient(135deg, var(--gold), #f0d060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 400;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.5rem 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 300ms var(--curve);
}

.btn:active {
  transform: scale(0.97) translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.06));
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.08));
  opacity: 0;
  transition: opacity 300ms var(--curve);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.12), 0 0 0 1px inset rgba(212, 175, 55, 0.15);
}

.btn-ghost {
  background: rgba(244, 241, 233, 0.04);
  border: 1px solid var(--line);
  color: var(--ivory);
}

.btn-ghost:hover {
  background: rgba(244, 241, 233, 0.08);
  border-color: rgba(244, 241, 233, 0.15);
}

.btn .icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 300ms var(--curve);
}

.btn:hover .icon {
  transform: translateX(3px) scale(1.05);
}

/* Hero Badge (inline) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: rgba(13, 46, 107, 0.2);
  border: 1px solid var(--sapphire-soft);
  border-radius: 0.8rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

/* ─── Sections ─── */
section {
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-top: 0.8rem;
}

.section-header .subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold);
  margin-top: 0.6rem;
  font-weight: 400;
}

.section-header p {
  max-width: 75ch;
  margin-top: 1rem;
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* Gold divider — see animation section below */

/* ─── Marketplace Grid ─── */
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.card {
  position: relative;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(244, 241, 233, 0.02);
  cursor: pointer;
  transition: all 350ms var(--curve);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 300ms var(--curve);
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: var(--gold-dim);
  background: var(--gold-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.06), 0 1px 0 inset rgba(212, 175, 55, 0.1);
}

.card .kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.card h3 {
  font-family: 'Cormorant', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
}

.card p {
  margin-top: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 45ch;
  font-size: 0.95rem;
}

.card .arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  transition: all 300ms var(--curve);
}

.card:hover .arrow {
  border-color: var(--gold);
  background: var(--gold-dim);
}

/* ─── Product/Offer Grid ─── */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.offer-item {
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(244, 241, 233, 0.02);
  transition: border-color 300ms var(--curve), transform 300ms var(--curve), box-shadow 300ms var(--curve), background 300ms var(--curve);
}

.offer-item:hover {
  border-color: var(--line-gold);
  background: rgba(212, 175, 55, 0.03);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.05);
}

.offer-item h3 {
  font-family: 'Cormorant', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--ivory);
}

.offer-item p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* ─── Coming Soon ─── */
.coming-soon {
  position: relative;
  padding: 4.5rem;
  border: 1px solid var(--line-gold);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, var(--gold-glow), rgba(13, 46, 107, 0.06));
  overflow: hidden;
  text-align: center;
}

.coming-soon::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, var(--sapphire-glow), transparent 55%);
  pointer-events: none;
  animation: heroGlow 10s ease-in-out infinite alternate;
}

.coming-soon::after {
  content: "";
  position: absolute;
  bottom: -4rem;
  left: -4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06), transparent 60%);
  pointer-events: none;
}

.coming-soon h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  position: relative;
}

.coming-soon .lead {
  position: relative;
  margin-top: 1.2rem;
  max-width: 75ch;
  margin-inline: auto;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.2rem;
  position: relative;
}

.status-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

/* ─── Footer ─── */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--line-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
}

.footer-col strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.8rem;
}

.footer-col a {
  display: block;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 250ms var(--curve);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-status {
  display: block;
  padding: 0.4rem 0;
  color: var(--gold);
  font-size: 0.95rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.footer-brand img {
  height: 1.6rem;
}

.footer-copy {
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ─── Legal Pages ─── */
.legal-page {
  padding: 8rem 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: 'Cormorant', serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-top: 0.8rem;
}

.legal-section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.legal-section p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ─── Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 500ms var(--curve), transform 500ms var(--curve);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Gold shimmer on divider */
.divider {
  height: 1px;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold-dim), var(--gold), var(--gold-dim), transparent);
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}

#about + .divider + #shops {
  padding-top: 2.5rem;
}
#about {
  padding-bottom: 2.5rem;
}

/* ─── Light Mode Component Overrides ─── */

/* Nav scrolled background */
[data-theme="light"] .nav.scrolled {
  background: rgba(248, 246, 241, 0.92);
  box-shadow: 0 4px 24px rgba(13, 46, 107, 0.06);
  border-bottom-color: var(--accent-line);
}

/* Nav links — sapphire hover */
[data-theme="light"] .nav-links a:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

/* Mobile menu */
[data-theme="light"] .mobile-menu {
  background: rgba(248, 246, 241, 0.97);
}

[data-theme="light"] .mobile-menu a:hover {
  color: var(--accent);
}

/* Diamond overlay — lighter in light mode */
[data-theme="light"] body::after {
  opacity: 0.015;
}

/* Hero glow — sapphire radial */
[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse, rgba(13, 46, 107, 0.10), transparent 60%);
}

/* Eyebrow — sapphire accent */
[data-theme="light"] .eyebrow {
  color: var(--accent);
  border-color: var(--accent-dim);
}

[data-theme="light"] .eyebrow::before {
  background: var(--accent);
}

/* Headline gradient — sapphire spectrum */
[data-theme="light"] h1 .accent {
  background: linear-gradient(135deg, #0D2E6B, #1A4A9E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* All h2 headings — sapphire in light mode */
[data-theme="light"] h2 {
  color: var(--accent);
}

/* Buttons — sapphire primary */
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, rgba(13, 46, 107, 0.10), rgba(13, 46, 107, 0.04));
  border-color: rgba(13, 46, 107, 0.28);
  color: var(--accent);
}

[data-theme="light"] .btn-primary:hover {
  border-color: rgba(13, 46, 107, 0.55);
  box-shadow: 0 12px 36px rgba(13, 46, 107, 0.10), 0 0 0 1px inset rgba(13, 46, 107, 0.10);
}

[data-theme="light"] .btn-primary::before {
  background: linear-gradient(135deg, rgba(13, 46, 107, 0.15), rgba(13, 46, 107, 0.05));
}

[data-theme="light"] .btn-ghost {
  background: rgba(26, 26, 46, 0.04);
  border-color: var(--line);
}

[data-theme="light"] .btn-ghost:hover {
  background: rgba(13, 46, 107, 0.06);
  border-color: rgba(13, 46, 107, 0.15);
  color: var(--accent);
}

[data-theme="light"] .btn .icon {
  background: rgba(13, 46, 107, 0.08);
}

/* Hero badge — sapphire tint */
[data-theme="light"] .hero-badge {
  background: rgba(13, 46, 107, 0.06);
  border-color: var(--accent-line);
}

/* Cards — sapphire spotlight & hover */
[data-theme="light"] .card {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .card:hover {
  border-color: var(--accent-dim);
  background: var(--accent-glow);
  box-shadow: 0 16px 48px rgba(13, 46, 107, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .card::before {
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(13, 46, 107, 0.06), transparent 40%);
}

[data-theme="light"] .card:hover .arrow {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

/* Offer items — sapphire hover */
[data-theme="light"] .offer-item {
  background: var(--surface);
}

[data-theme="light"] .offer-item:hover {
  border-color: var(--accent-line);
  background: var(--accent-glow);
  box-shadow: 0 8px 28px rgba(13, 46, 107, 0.06);
}

/* Coming soon section — sapphire border */
[data-theme="light"] .coming-soon {
  background: linear-gradient(145deg, rgba(13, 46, 107, 0.04), rgba(13, 46, 107, 0.02));
  border-color: var(--accent-line);
}

[data-theme="light"] .coming-soon::before {
  background: radial-gradient(circle, rgba(13, 46, 107, 0.06), transparent 55%);
}

/* Status badge — sapphire */
[data-theme="light"] .status-badge {
  color: var(--accent);
  border-color: var(--accent-dim);
}

[data-theme="light"] .status-badge::before {
  background: var(--accent);
}

/* Divider — sapphire shimmer */
[data-theme="light"] .divider {
  background: linear-gradient(90deg, transparent, var(--accent-dim), var(--accent), var(--accent-dim), transparent);
  background-size: 200% 100%;
}

/* Footer — sapphire link hover */
[data-theme="light"] .footer {
  border-top-color: var(--accent-line);
}

[data-theme="light"] .footer-col a:hover {
  color: var(--accent);
}

/* Focus ring — sapphire in light */
[data-theme="light"] :focus-visible {
  outline-color: var(--accent);
}

/* Theme toggle — sapphire hover in light */
[data-theme="light"] .theme-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* Hamburger lines */
[data-theme="light"] .hamburger span {
  background: var(--ivory);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .market-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .brand { display: none; }
  .theme-toggle { margin-left: auto; }
  .market-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .hero { padding-top: 4rem; }
  section { padding: 3rem 0; }
  .section-header h2,
  .coming-soon h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }
  .coming-soon { padding: 2rem; }
  .brand-strip-inner { max-width: 100%; }
  .brand-strip-fade--left,
  .brand-strip-fade--right { width: 8%; }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
  .hero-content {
    gap: 1.4rem;
  }
  .btn-row {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
