/* ==========================================================================
   theme.css — THE WORLD BY DARIA
   --------------------------------------------------------------------------
   This file holds every colour, font, size and spacing value used on the
   site. Change a value here and the whole site updates.
   You never need to touch styles.css to re-brand.
   ========================================================================== */

/* ===== QUICK BRAND EDITS ================================================= */
:root {
  /* ---- COLOURS ---------------------------------------------------------- */
  --color-bg: #FDFCFB;            /* main page background (warm porcelain) */
  --color-bg-alt: #F7F5F2;        /* alternating sections (pale warm sand) */
  --color-surface: #FFFFFF;       /* cards */
  --color-border: #EBE6DF;        /* thin lines and card borders */
  --color-text: #2D2A2E;          /* main text (deep warm graphite) */
  --color-text-muted: #6F6971;    /* secondary text (kept dark enough to pass contrast checks) */
  --color-text-faint: #A8A2AA;    /* decorative text only (large numbers, dividers) */
  --color-accent: #9B8EC4;        /* French lilac: accent button, badges, underlines */
  --color-accent-hover: #8678B3;  /* lilac when hovered */
  --color-accent-deep: #6C5DA0;   /* darker lilac for small TEXT (eyebrows, links) so it stays readable */
  --color-script: var(--color-accent-deep); /* ALL lilac handwriting: header "Daria", the signature by the portrait, 404 */
  --color-accent-soft: #F3EFFF;   /* very light lilac for pills and highlights */
  --color-accent-ink: #2D2A2E;    /* text that sits ON a lilac button */
  --color-mist: rgba(253, 252, 251, 0.85); /* the white cloud mist in the hero */
  --color-on-photo: #FFFFFF;      /* text placed over photos / video */

  /* ---- FONTS ------------------------------------------------------------ */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif; /* headings */
  --font-script: "WindSong", "Snell Roundhand", "Apple Chancery", cursive;                   /* the handwritten "Daria" */
  --font-sans: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* body + buttons */

  /* ---- TEXT SIZES (fluid: they grow with the screen) --------------------- */
  --text-h1: clamp(2.25rem, 1.35rem + 4.2vw, 4.5rem);
  --text-h2: clamp(1.9rem, 1.3rem + 2.6vw, 3.25rem);
  --text-h3: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --text-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-eyebrow: 0.75rem;

  /* ---- SPACING (8px rhythm) --------------------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---- LAYOUT ----------------------------------------------------------- */
  --container: 1200px;                         /* widest the content gets */
  --gutter: clamp(20px, 4vw, 40px);            /* breathing room at the screen edges */
  --section-pad: clamp(64px, 9vw, 128px);      /* space above/below each section */
  --header-h: 68px;                            /* height of the top bar */

  /* ---- CORNERS ---------------------------------------------------------- */
  --radius-sm: 8px;     /* buttons, inputs */
  --radius-md: 16px;    /* image cards */
  --radius-pill: 999px; /* tags */

  /* ---- SHADOWS + MOTION ------------------------------------------------- */
  --shadow-soft: 0 1px 2px rgba(45, 42, 46, 0.04), 0 12px 32px -12px rgba(45, 42, 46, 0.12);
  --shadow-lift: 0 2px 4px rgba(45, 42, 46, 0.05), 0 24px 48px -16px rgba(108, 93, 160, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 200ms;
  --dur-med: 450ms;
  --dur-slow: 900ms;

  /* ---- HERO ------------------------------------------------------------- */
  /* How far the pinned hero scrolls. 500vh = one screen + 400vh of scrubbing. */
  --hero-scroll-length: 500vh;
  /* Which part of the wide jet-window film stays in view on tall phone screens.
     0% = far left, 100% = far right. The film starts on "start" (Daria + the
     window) and glides to "end" (window centre) as the camera pushes forward. */
  --hero-focal-x-start: 71%;
  --hero-focal-x: 45%;
  --hero-focal-y: 50%;
  /* Darkness of the soft tint behind the white title over the real footage.
     0% = no tint (footage untouched), V1 used 46%. */
  --hero-scrim-strength: 24%;
}

/* ===== FONT FILES (self-hosted, no Google requests) ====================== */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-variable.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "WindSong";
  src: url("/assets/fonts/windsong-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
