@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Libre+Caslon+Display&display=swap');

:root {
  /* Colors */
  --color-obsidian: #08080a;
  --color-onyx: #040406;
  --color-carbon: #121317;
  --color-graphite: #1c1d22;
  --color-slate: #2e3038;
  --color-smoke: #464853;
  --color-ash: #5e616e;
  --color-steel: #777a88;
  --color-fog: #9194a1;
  --color-mist: #acafb9;
  --color-silver: #c7c9d1;
  --color-bone: #e2e3e9;
  --color-paper-white: #ffffff;
  --color-copper: #cc9166;
  --color-copper-hover: #db9f75;
  --color-gold: #ae9357;
  --color-gold-light: #fff0cc;
  --gradient-gilded-gradient: linear-gradient(103deg, rgb(174, 147, 87), rgb(255, 240, 204) 40%, rgb(174, 147, 87) 70%, rgba(189, 157, 79, 0));

  /* Typography */
  --font-serif: 'Libre Caslon Display', Garamond, Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography Scale */
  --text-eyebrow: 12px;
  --text-body-xs: 14px;
  --text-body-sm: 16px;
  --text-body: 18px;
  --text-subheading: 24px;
  --text-heading-sm: 36px;
  --text-heading: 48px;
  --text-heading-lg: 64px;
  --text-display: 80px;

  /* Border Radii */
  --radius-cards: 10px;
  --radius-pill: 9999px;
  --radius-nav: 2px;
}

/* Global Reset & Base Styling */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  background-color: #08080a;
  color: #e2e3e9;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  background-color: #08080a;
  color: #e2e3e9;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Typography Classes */
.font-serif {
  font-family: var(--font-serif);
  letter-spacing: 0.01em;
}

.font-sans {
  font-family: var(--font-sans);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #08080a;
}
::-webkit-scrollbar-thumb {
  background: #1c1d22;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2e3038;
}

/* Selection Color */
::selection {
  background-color: #cc9166;
  color: #08080a;
}

/* Custom Surface & Border Utilities */
.bg-obsidian { background-color: #08080a; }
.bg-onyx { background-color: #040406; }
.bg-carbon { background-color: #121317; }
.border-graphite { border-color: #1c1d22; }
.border-slate { border-color: #2e3038; }
.border-steel { border-color: #777a88; }
.text-bone { color: #e2e3e9; }
.text-silver { color: #c7c9d1; }
.text-mist { color: #acafb9; }
.text-fog { color: #9194a1; }
.text-ash { color: #5e616e; }
.text-copper { color: #cc9166; }
.bg-copper { background-color: #cc9166; }

/* Hairline Borders */
.border-hairline {
  border-width: 1px;
  border-style: solid;
  border-color: #1c1d22;
}

.border-b-hairline {
  border-bottom: 1px solid #1c1d22;
}

.border-t-hairline {
  border-top: 1px solid #1c1d22;
}

/* Card Styling */
.editorial-card {
  background-color: #040406;
  border: 1px solid #1c1d22;
  border-radius: 10px;
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.editorial-card:hover {
  border-color: #2e3038;
}

/* Pill Controls */
.pill-button-primary {
  background-color: #ffffff;
  color: #08080a;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pill-button-primary:hover {
  background-color: #e2e3e9;
  transform: translateY(-1px);
}

.pill-button-ghost {
  background-color: transparent;
  color: #e2e3e9;
  border: 1px solid #1c1d22;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pill-button-ghost:hover {
  border-color: #777a88;
  color: #ffffff;
  transform: translateY(-1px);
}

.pill-button-copper {
  background-color: #cc9166;
  color: #08080a;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pill-button-copper:hover {
  background-color: #db9f75;
  transform: translateY(-1px);
}

.pill-tag {
  color: #9194a1;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  padding: 0;
  background: transparent;
  border: none;
}

/* Gilded Gradient Utilities */
.gilded-text {
  background: linear-gradient(103deg, #ae9357, #fff0cc 40%, #ae9357 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gilded-border {
  border-image: linear-gradient(103deg, #ae9357, #fff0cc 40%, #ae9357 70%, transparent) 1;
}

/* Horizontal Market Ticker Animation */
@keyframes tickerMove {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 40s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}

/* Kinetic Motion for Hero Light Sculpture */
@keyframes cinematicDrift {
  0% { transform: translateY(0px) rotate(0deg) scale(1); }
  50% { transform: translateY(-14px) rotate(0.6deg) scale(1.02); }
  100% { transform: translateY(0px) rotate(0deg) scale(1); }
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.45; filter: blur(100px); }
  50% { opacity: 0.75; filter: blur(130px); }
}

@keyframes sheenSweep {
  0% { transform: translateX(-150%) skewX(-20deg); opacity: 0; }
  30% { opacity: 0.4; }
  60% { transform: translateX(180%) skewX(-20deg); opacity: 0; }
  100% { transform: translateX(180%) skewX(-20deg); opacity: 0; }
}

.cinematic-sculpture {
  animation: cinematicDrift 16s ease-in-out infinite;
  will-change: transform;
}

.ambient-glow-pulse {
  animation: ambientPulse 10s ease-in-out infinite;
}

.sheen-overlay {
  animation: sheenSweep 8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Remove grid background (pure dark obsidian void) */
.bg-grid-pattern {
  background: transparent !important;
}

/* Radial Dark Vignette */
.hero-vignette {
  background: radial-gradient(circle at 50% 20%, rgba(18, 19, 23, 0.7) 0%, rgba(8, 8, 10, 1) 75%);
}

