/* ─── SELF-HOSTED FONTS ────────────────────────────────────────────────────── */

/* DM Sans — Normal (Weights 300–600, Latin-Ext) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans — Normal (Weights 300–600, Latin) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans — Italic (Weights 300–400, Latin-Ext) */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans — Italic (Weights 300–400, Latin) */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/dm-sans/dm-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Source Sans 3 — Normal (Weights 300–600, Latin-Ext) */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/source-sans-3/ss3-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 — Normal (Weights 300–600, Latin) */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/source-sans-3/ss3-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 — Italic (Weights 300–400, Latin-Ext) */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/source-sans-3/ss3-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 — Italic (Weights 300–400, Latin) */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/source-sans-3/ss3-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── RESET ───────────────────────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-night);
  background: var(--c-paper);
  overflow-x: hidden;
}

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

a {
  color: var(--c-horizon);
  text-decoration: none;
  transition: color 180ms var(--ease-std);
}
a:hover { color: var(--c-gold); }

/* ─── TYPOGRAFIE ──────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }

.eyebrow {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-horizon);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--c-horizon);
  flex-shrink: 0;
}

/* ─── LAYOUT ──────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
@media (max-width: 640px) {
  .container { padding: 0 var(--space-sm); }
}

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

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: background 180ms var(--ease-std), color 180ms var(--ease-std),
              box-shadow 180ms var(--ease-std), transform 180ms var(--ease-std);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--c-gold);
  color: var(--c-night);
}
.btn--primary:hover {
  background: var(--c-amber);
  color: var(--c-night);
  box-shadow: 0 6px 20px oklch(0.62 0.14 68 / 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--c-lavender);
  border: 1.5px solid oklch(0.72 0.07 270 / 0.4);
}
.btn--ghost:hover {
  background: oklch(0.72 0.07 270 / 0.08);
  color: oklch(0.975 0.008 260);
  border-color: var(--c-lavender);
}

/* ─── FADE-IN ANIMATION ───────────────────────────────────────────────────── */

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

.fade-up {
  opacity: 0;
  transform: translateY(20px);
}
.fade-up.visible {
  animation: fadeUp 500ms var(--ease-out) forwards;
}
.fade-up:nth-child(1) { animation-delay: 0ms; }
.fade-up:nth-child(2) { animation-delay: 80ms; }
.fade-up:nth-child(3) { animation-delay: 160ms; }
.fade-up:nth-child(4) { animation-delay: 240ms; }
.fade-up:nth-child(5) { animation-delay: 320ms; }

/* ─── UTILITY ─────────────────────────────────────────────────────────────── */

.text-gold    { color: var(--c-gold); }
.text-horizon { color: var(--c-horizon); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
