@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #0b0d10;
  --bg-2: #0f1217;
  --surface: rgba(18, 21, 29, 0.88);
  --surface-2: rgba(16, 19, 25, 0.92);
  --ink: #f2f2f2;
  --muted: #b6bac3;
  --accent: #8b1224;
  --accent-2: #7a0e1a;
  --accent-3: #b08d57;
  --gold: #c2a46d;
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 30px 70px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(139, 18, 36, 0.35), 0 16px 40px rgba(139, 18, 36, 0.18);
  --danger: #d45858;
  --success: #64a16b;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --space-xl: 56px;
  --space-lg: 36px;
  --space-md: 20px;
  --space-sm: 12px;
  --font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 520px at 12% -20%, rgba(139, 18, 36, 0.22), transparent 60%),
    radial-gradient(900px 420px at 88% -25%, rgba(176, 141, 87, 0.15), transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid rgba(139, 18, 36, 0.7);
  outline-offset: 2px;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.page {
  position: relative;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.15;
  mix-blend-mode: soft-light;
  z-index: 0;
}

.page > * {
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--space-xl) 0;
}

.section:not(.hero-section) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.section-title {
  font-size: 30px;
  margin: 0 0 12px;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  font-weight: 600;
}

.section-lead {
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 24px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  font-weight: 600;
}

.tag {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.04);
}

.section-title + .section-lead {
  margin-top: 4px;
}

.section-title,
.section-lead,
.tag {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: 999px;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(139, 18, 36, 0.2);
}

.display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-weight: 600;
}
