/* ==========================================================================
   KAIRO DESIGN BUREAU — BASE STYLES & RESET
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-pitch);
  color: var(--text-silver);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  background-color: var(--bg-pitch);
  color: var(--text-silver);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Luxury Film Grain Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: var(--z-overlay);
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Radial Glow in Background */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.08) 0%, rgba(245, 185, 66, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* Selection */
::selection {
  background-color: var(--gold-primary);
  color: #000000;
}

/* Custom Gold Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-pitch);
}

::-webkit-scrollbar-thumb {
  background: rgba(229, 169, 60, 0.35);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-highlight);
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-white);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-tight);
}

h1 {
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
}

h3 {
  font-size: var(--fs-title);
  line-height: var(--lh-title);
}

h4 {
  font-size: var(--fs-h2);
}

h5 {
  font-size: var(--fs-h3);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

p.lead {
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--text-silver);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease, opacity var(--duration-fast) ease;
}

ul, ol {
  list-style: none;
}

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

/* Text Highlights & Gradients */
.text-gold {
  color: var(--gold-highlight);
}

.text-gold-gradient {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-muted {
  color: var(--text-muted);
}

.text-white {
  color: var(--text-white);
}

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

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  position: relative;
  z-index: var(--z-base);
}

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

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  position: relative;
  z-index: var(--z-base);
}

.section-lg {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section-sm {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

/* Section Headers */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-header.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-tag);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-ultra-wide);
  color: var(--gold-highlight);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--grad-gold);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-highlight);
  box-shadow: 0 0 8px var(--gold-highlight);
  display: inline-block;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), var(--border-subtle), transparent);
  width: 100%;
  margin: var(--space-lg) 0;
}
