/* NUBE — base tokens, reset, typography */

:root {
  --primary: #141b2a;
  --primary-dark: #0b111a;
  --primary-light: #1d2433;

  --accent: #d6b879;
  --accent-soft: rgba(214, 184, 121, 0.14);
  --accent-hover: #e3c98e;
  --accent-light: #f0d9a8;

  --text-main: #f7f2e8;
  --text-muted: rgba(247, 242, 232, 0.72);
  --text-dim: rgba(247, 242, 232, 0.62);

  --ink: var(--text-main);
  --ink-secondary: var(--text-muted);
  --ink-tertiary: rgba(247, 242, 232, 0.6);
  --ink-dim: var(--text-dim);

  --panel-bg: rgba(8, 12, 22, 0.42);
  --panel-border: rgba(214, 184, 121, 0.22);
  --color-border: var(--panel-border);
  --color-divider: rgba(214, 184, 121, 0.16);
  --color-glass: rgba(255, 255, 255, 0.1);

  --glow: rgba(214, 184, 121, 0.35);
  --button-bg: rgba(214, 184, 121, 0.12);
  --button-text: var(--text-main);

  --bg-base-1: #1a1122;
  --bg-base-2: #2d1b4d;
  --bg-base-3: #3d2848;
  --bg-glow-1: rgba(214, 184, 121, 0.22);
  --bg-glow-2: rgba(180, 140, 200, 0.18);
  --bg-glow-3: rgba(120, 165, 200, 0.12);

  --header-bg: rgba(13, 10, 25, 0.38);
  --header-border: rgba(255, 255, 255, 0.06);

  --shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  --radius: 14px;
  --radius-sm: 10px;
  --cover-size: min(300px, 85vw);
  --hero-gap: 32px;
  --section-max: 1100px;
  --transition-theme: 0.85s ease;
}

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

html {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text-main);
  font-family: "Sora", "Avenir Next", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  background: linear-gradient(
    to bottom,
    var(--bg-base-1) 0%,
    var(--bg-base-2) 48%,
    var(--bg-base-3) 100%
  );
  background-attachment: fixed;
  overflow-x: hidden;
  transition:
    background var(--transition-theme),
    color 0.3s ease;
}

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

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

button {
  font: inherit;
}

h1,
h2,
h3,
.section-title {
  font-family: "Marcellus", "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 12px;
  color: var(--text-main);
}

.section-lead {
  margin: 0 0 22px;
  max-width: 640px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.small {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
