/* ============================================================
   styles.css — Luxury Domain For Sale | Elara IT Solutions
   Dark luxury theme · Glassmorphism · Cinematic typography
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Core palette */
  --clr-bg:           #07070d;
  --clr-surface:      #0d0d18;
  --clr-surface-2:    #111126;
  --clr-border:       rgba(255, 255, 255, 0.07);
  --clr-border-light: rgba(255, 255, 255, 0.12);

  /* Gold accent */
  --clr-gold:         #c9a84c;
  --clr-gold-light:   #e0bc70;
  --clr-gold-dim:     rgba(201, 168, 76, 0.15);
  --clr-gold-glow:    rgba(201, 168, 76, 0.08);

  /* Text */
  --clr-text-primary:   #e8e8f0;
  --clr-text-secondary: #9898b0;
  --clr-text-muted:     #58586a;

  /* Status */
  --clr-success: #4caf7a;

  /* Orb colours (ambient) */
  --orb-1: rgba(100, 60, 200, 0.18);
  --orb-2: rgba(201, 168, 76, 0.10);
  --orb-3: rgba(60, 100, 220, 0.14);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.375rem;
  --space-sm:  0.75rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3.5rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --max-w:        1160px;
  --max-w-narrow: 780px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-pill:  999px;

  /* Motion */
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Glass */
  --glass-bg:     rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur:   saturate(180%) blur(14px);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 20px; /* 16px × 1.25 — scales all rem values by 25% */
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul { list-style: none; }

/* ── Utility ────────────────────────────────────────────────── */
.br-lg { display: none; }
@media (min-width: 768px) { .br-lg { display: inline; } }

/* ── Ambient Background ─────────────────────────────────────── */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.9;
  animation: orbDrift 24s ease-in-out infinite alternate;
}

.orb-1 {
  width: 700px; height: 700px;
  background: var(--orb-1);
  top: -200px; left: -150px;
  animation-duration: 28s;
}

.orb-2 {
  width: 500px; height: 500px;
  background: var(--orb-2);
  top: 40vh; right: -100px;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

.orb-3 {
  width: 600px; height: 600px;
  background: var(--orb-3);
  bottom: -150px; left: 30%;
  animation-duration: 32s;
}

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, -30px) scale(0.94); }
}

.grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: overlay;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 7, 13, 0.7);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--clr-border);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--clr-text-primary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
}
.nav-logo:hover { opacity: 0.85; }

.nav-logo-planet {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-logo-text {
  color: var(--clr-text-primary);
  opacity: 1;
}

/* Footer planet icon size */
.footer-logo-planet {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--clr-text-secondary);
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--clr-text-primary); }

.nav-cta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-gold);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover {
  background: var(--clr-gold-dim);
  color: var(--clr-gold-light);
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
@media (min-width: 768px) { .nav-hamburger { display: none; } }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--clr-text-secondary);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: var(--space-md) var(--space-lg);
  gap: var(--space-sm);
}
.mobile-menu.open { display: flex; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }

.mobile-link {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--clr-border);
  transition: color 0.2s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover, .mobile-link--cta { color: var(--clr-gold); }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

/* ── Glass Card ─────────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Badge ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge--gold {
  background: var(--clr-gold-dim);
  color: var(--clr-gold-light);
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.badge--outline {
  background: rgba(255,255,255,0.04);
  color: var(--clr-text-secondary);
  border: 1px solid var(--clr-border-light);
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clr-success);
  box-shadow: 0 0 8px var(--clr-success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--clr-success); }
  50%       { opacity: 0.6; box-shadow: 0 0 4px var(--clr-success); }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--clr-gold);
  color: #0a0808;
  border-color: var(--clr-gold);
}
.btn--primary:hover {
  background: var(--clr-gold-light);
  border-color: var(--clr-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-text-primary);
  border-color: var(--clr-border-light);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Section Common ─────────────────────────────────────────── */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(201,168,76,0.025) 50%, transparent 100%);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--clr-gold);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12;
  color: var(--clr-text-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1rem;
  color: var(--clr-text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(64px + var(--space-2xl)) var(--space-lg) var(--space-2xl);
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-labels {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease-smooth) both;
}

.domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem 0.5rem 0.75rem;
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
  color: var(--clr-text-secondary);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.02em;
  width: fit-content;
  animation: fadeUp 0.8s 0.1s var(--ease-smooth) both;
}

.domain-badge-icon {
  color: var(--clr-gold);
  font-size: 0.65rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.9s 0.15s var(--ease-smooth) both;
}

.hero-headline-domain {
  display: block;
  background: linear-gradient(135deg, var(--clr-text-primary) 0%, var(--clr-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-headline-suffix {
  display: block;
  color: var(--clr-text-secondary);
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--clr-text-secondary);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  animation: fadeUp 0.9s 0.22s var(--ease-smooth) both;
}

.hero-category {
  margin-bottom: var(--space-xl);
  animation: fadeUp 0.9s 0.28s var(--ease-smooth) both;
}

.hero-category-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gold);
  opacity: 0.8;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  animation: fadeUp 0.9s 0.34s var(--ease-smooth) both;
}

/* Trust strip */
.trust-strip {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.42s var(--ease-smooth) both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.03em;
}

.trust-icon { width: 14px; height: 14px; color: var(--clr-gold); opacity: 0.7; }

.trust-divider {
  width: 1px;
  height: 14px;
  background: var(--clr-border);
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: var(--space-lg);
  right: var(--space-lg);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border-light), transparent);
}

/* ── Value Section ──────────────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.value-card {
  padding: var(--space-xl) var(--space-lg);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-smooth);
}
.value-card:hover {
  border-color: var(--clr-border-light);
  transform: translateY(-4px);
}

.value-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--clr-gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.value-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--clr-text-primary);
  margin-bottom: var(--space-sm);
}

.value-card-text {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* Domain callout */
.domain-callout {
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: var(--space-sm) var(--space-lg);
  align-items: center;
  border-color: rgba(201, 168, 76, 0.15);
}

.domain-callout-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  grid-column: 1;
}

.domain-callout-text {
  font-size: 1rem;
  color: var(--clr-text-secondary);
  line-height: 1.65;
  grid-column: 1;
}

.domain-callout-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--clr-gold-light);
  grid-column: 2;
  grid-row: 1 / 3;
  white-space: nowrap;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .domain-callout { grid-template-columns: 1fr; }
  .domain-callout-name { grid-column: 1; grid-row: auto; }
}

/* ── Use Cases ──────────────────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.case-card {
  padding: var(--space-xl) var(--space-lg);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-smooth);
}
.case-card:hover {
  border-color: rgba(201, 168, 76, 0.15);
  transform: translateY(-4px);
}

.case-icon {
  width: 36px; height: 36px;
  color: var(--clr-gold);
  opacity: 0.65;
  margin-bottom: var(--space-md);
}
.case-icon svg { width: 100%; height: 100%; }

.case-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--clr-text-primary);
  margin-bottom: var(--space-sm);
}

.case-text {
  font-size: 0.875rem;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* ── Process / Secure ───────────────────────────────────────── */
.process-list {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-xl);
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.process-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--clr-gold);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  text-align: right;
}

.process-content { padding-top: 0.25rem; }

.process-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--clr-text-primary);
  margin-bottom: var(--space-xs);
}

.process-text {
  font-size: 0.9rem;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

.process-connector {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-border), transparent);
  margin-left: 60px;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.escrow-note {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg) var(--space-xl);
  border-color: rgba(255, 255, 255, 0.06);
}

.escrow-icon {
  width: 28px; height: 28px;
  color: var(--clr-gold);
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 2px;
}

.escrow-note p {
  font-size: 0.875rem;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}

/* ── Email Contact Card ─────────────────────────────────────── */
.section--form { padding-bottom: var(--space-2xl); }

.email-contact-card {
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
  border-color: rgba(201, 168, 76, 0.12);
}

@media (max-width: 600px) {
  .email-contact-card { padding: var(--space-xl) var(--space-lg); }
}

.email-contact-domain {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.email-contact-domain-name {
  color: var(--clr-gold);
}

.email-contact-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.email-contact-icon {
  width: 40px;
  height: 40px;
  color: var(--clr-gold);
  opacity: 0.7;
}

.email-contact-address {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 300;
  color: var(--clr-text-primary);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 2px;
}
.email-contact-address:hover {
  color: var(--clr-gold-light);
  border-bottom-color: rgba(201, 168, 76, 0.4);
}

.email-contact-hint {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  max-width: 380px;
  line-height: 1.7;
}

.email-contact-btn {
  margin-top: var(--space-sm);
}

/* ── Disclaimer ─────────────────────────────────────────────── */
.section--disclaimer { padding: var(--space-xl) 0; }

.disclaimer-card {
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  border-color: rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.disclaimer-icon {
  width: 24px; height: 24px;
  color: var(--clr-text-muted);
  flex-shrink: 0;
  margin-top: 3px;
}

.disclaimer-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-sm);
}

.disclaimer-text {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.footer-logo-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text-primary);
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--clr-text-secondary);
  margin-bottom: 0.25rem;
}

.footer-slogan {
  font-size: 0.78rem;
  color: var(--clr-gold);
  opacity: 0.7;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--clr-gold); }

.footer-legal { text-align: right; }
@media (max-width: 768px) { .footer-legal { text-align: left; } }

.footer-domain-ref {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.25rem;
  font-family: 'Courier New', monospace;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal (used by JS) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* ── Accessibility ──────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ambient-orb { animation: none; }
  /* Dismiss loader instantly for users who prefer reduced motion */
  .loader-bar-fill { animation: none; width: 100%; }
}

/* ── Loading Screen ─────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s var(--ease-smooth);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

/* Planet icon — draws in and pulses */
.loader-logo {
  animation: loaderPlanetIn 0.7s var(--ease-smooth) both;
}

.loader-planet {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.18));
  animation: loaderPlanetPulse 2.4s ease-in-out 0.7s infinite;
}

@keyframes loaderPlanetIn {
  from { opacity: 0; transform: scale(0.6) rotate(-15deg); }
  to   { opacity: 1; transform: scale(1)   rotate(0deg);   }
}

@keyframes loaderPlanetPulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(255,255,255,0.14)); }
  50%       { filter: drop-shadow(0 0 36px rgba(255,255,255,0.32)); }
}

/* Brand text — staggers in after the planet */
.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  animation: loaderTextIn 0.7s 0.35s var(--ease-smooth) both;
}

.loader-brand-main {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 500;
  color: var(--clr-text-primary);
  letter-spacing: 0.04em;
}

.loader-brand-sub {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  font-weight: 300;
  font-style: italic;
  color: var(--clr-gold);
  letter-spacing: 0.08em;
}

@keyframes loaderTextIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Progress bar */
.loader-bar-track {
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  animation: loaderTextIn 0.5s 0.6s var(--ease-smooth) both;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
  border-radius: var(--radius-pill);
  animation: loaderBarGrow 1.4s 0.5s var(--ease-smooth) forwards;
}

@keyframes loaderBarGrow {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-text-muted); }

/* ── Selection ──────────────────────────────────────────────── */
::selection { background: var(--clr-gold-dim); color: var(--clr-gold-light); }
