/* punoletstvo.com - design tokens and fonts. Source of truth for colours, type, radii and motion.
   Same family as the guest portal (web/src/styles/tokens.css): midnight navy, gold, warm ivory. */

/* ---------- fonts (self-hosted, OFL; licenses next to the files) ---------- */
/* Each face carries a unicode-range, so a Cyrillic page never fetches the Serbian Latin files and vice versa. */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('/assets/fonts/unbounded-cyrillic-wght-normal.woff2?v=e30bf6a6') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('/assets/fonts/unbounded-latin-wght-normal.woff2?v=22f9b928') 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;
}
/* Only the ten Serbian Latin letters (c-caron, c-acute, d-stroke, s-caron, z-caron, both cases). */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('/assets/fonts/unbounded-srlatn-wght-normal.woff2?v=70a11a64') format('woff2');
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/fonts/manrope-cyrillic-500-normal.woff2?v=ab67a6d3') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/fonts/manrope-latin-500-normal.woff2?v=19874318') 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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/fonts/manrope-latin-ext-500-normal.woff2?v=40787d0c') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('/assets/fonts/manrope-cyrillic-800-normal.woff2?v=e76a69e6') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('/assets/fonts/manrope-latin-800-normal.woff2?v=74c161db') 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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('/assets/fonts/manrope-latin-ext-800-normal.woff2?v=262536c3') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0;
}

/* Accent serif: one face only (800 italic), for the emphasised phrase inside headings. */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 800;
  src: url('/assets/fonts/playfair-display-cyrillic-800-italic.woff2?v=3f2929a2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 800;
  src: url('/assets/fonts/playfair-display-latin-800-italic.woff2?v=b2dbf820') 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;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-display: swap;
  font-weight: 800;
  src: url('/assets/fonts/playfair-display-latin-ext-800-italic.woff2?v=80701431') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0;
}

/* Metric-compatible fallbacks so the swap to the web fonts does not move the layout
   (values measured for the guest portal on Cyrillic samples). */
@font-face {
  font-family: 'Unbounded Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Roboto Bold'), local('Roboto-Bold'), local('Arial'), local('Roboto');
  font-weight: 200 900;
  size-adjust: 135%;
  ascent-override: 73.7%;
  descent-override: 18.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Playfair Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Noto Serif');
  size-adjust: 101%;
  ascent-override: 107%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial'), local('Roboto'), local('Helvetica');
  size-adjust: 103%;
  ascent-override: 103.5%;
  descent-override: 29%;
  line-gap-override: 0%;
}

:root {
  /* ---------- night (default surfaces) ---------- */
  --night-950: #050919;
  --night-900: #0b1430; /* page ground, same as the portal */
  --night-800: #111c3f; /* raised surface */
  --night-700: #1a2752;
  --night-line: #2c3a68;

  /* ---------- gold ---------- */
  --gold-200: #f6db95;
  --gold-300: #ebc978;
  --gold-500: #d9a84e; /* brand gold */
  --gold-700: #b8842f;
  --gold-900: #7a5416; /* gold text on paper (AA on --paper) */
  --gold-grad: linear-gradient(135deg, #f6db95 0%, #d9a84e 52%, #b8842f 100%);

  /* ---------- text on night ---------- */
  --text: #f4ebdd; /* headings */
  --body: #ddd6c8; /* paragraphs */
  --muted: #c9c2b4; /* secondary, 14 px and up */
  --on-gold: #0b1430;

  /* ---------- paper (the light band, like an invitation card) ---------- */
  --paper: #f6efe2;
  --paper-2: #ede2cf;
  --paper-line: #dccfb6;
  --ink: #0b1430; /* headings on paper */
  --ink-body: #2a3355; /* paragraphs on paper */
  --ink-muted: #4d5778;

  /* ---------- accents ---------- */
  --heart: #ff5d7a;
  --ok: #58c896;

  /* ---------- surfaces ---------- */
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-line: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 18px 48px rgba(3, 7, 20, 0.5);
  --shadow-gold: 0 10px 28px rgba(217, 168, 78, 0.3);
  --shadow-paper: 0 14px 36px rgba(11, 20, 48, 0.12);

  /* ---------- radii ---------- */
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  /* ---------- type ---------- */
  --font-display: 'Unbounded', 'Unbounded Fallback', 'Arial Black', system-ui, sans-serif;
  --font-serif: 'Playfair Display', 'Playfair Fallback', Georgia, serif;
  --font-ui: 'Manrope', 'Manrope Fallback', system-ui, sans-serif;

  --fs-hero: clamp(2.125rem, 1.2rem + 4.6vw, 4.75rem); /* 34 -> 76 px */
  --fs-h2: clamp(1.625rem, 1.1rem + 2.4vw, 2.875rem); /* 26 -> 46 px */
  --fs-h3: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); /* 18 -> 22 px */
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); /* 17 -> 20 px */
  --fs-body: 1.0625rem; /* 17 px */
  --fs-small: 0.875rem; /* 14 px */
  --fs-eyebrow: 0.8125rem; /* 13 px */

  --lh-tight: 1.04;
  --lh-heading: 1.12;
  --lh-body: 1.65;

  /* ---------- layout ---------- */
  --page: 1200px; /* max content width */
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 9vw, 136px);
  --tap: 44px;
  --btn-h: 56px;

  /* ---------- motion: only opacity and transform animate ---------- */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 140ms;
  --t-med: 320ms;
  --t-slow: 640ms;
}
