/* ==========================================================================
   digipex design tokens ("Alpine Editorial")
   Warm ink + bone palette with an alpenglow-rose accent. Photography leads;
   the interface stays quiet. All text pairings below were checked for WCAG AA.
   ========================================================================== */

/* Fonts: self-hosted variable WOFF2 (SIL OFL), no third-party requests. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/fraunces-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;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/fraunces-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;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/fraunces-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;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("/static/fonts/fraunces-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;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/static/fonts/work-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;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/static/fonts/work-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;
}

:root {
  /* ---- Palette ---- */
  --bone: #f6f1e8;          /* page */
  --bone-2: #efe7d9;        /* alternate band */
  --paper: #fbf8f2;         /* raised surface */
  --sand: #ddd2bf;          /* hairlines */
  --sand-2: #c9bca4;        /* stronger hairlines */

  --ink: #1c1815;           /* text, dark bands (15.7:1 on bone) */
  --ink-2: #3a332c;
  --ink-3: #4a423a;         /* body copy (8.8:1) */
  --mute: #6b6259;          /* secondary copy (5.3:1) */
  --umber: #76624b;         /* eyebrows on bone (5.2:1) */

  --rose: #c96a4a;          /* accent: fills, graphics, large type */
  --rose-deep: #a94f30;     /* accent as text on bone (4.9:1) */
  --glow: #e3a688;          /* alpenglow, accent on dark (8.5:1 on ink) */
  --dusk: #332c25;          /* hairlines on dark */

  --on-dark: #f6f1e8;
  --on-dark-2: #e3d9c9;
  --on-dark-3: #b0a596;     /* 7.3:1 on ink */

  /* ---- Type ---- */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.75rem, 6.1vw - 0.4rem, 5.5rem);
  --fs-h1: clamp(2.5rem, 4.6vw + 0.4rem, 4.75rem);
  --fs-h2: clamp(1.95rem, 2.6vw + 0.9rem, 3.1rem);
  --fs-h3: clamp(1.4rem, 1vw + 1.05rem, 1.9rem);
  --fs-h4: 1.2rem;
  --fs-lead: clamp(1.3rem, 0.9vw + 1.05rem, 1.85rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;

  /* ---- Layout ---- */
  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --header-h: 88px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.6s;
  --dur-fast: 0.25s;

  /* ---- Shape ---- */
  --radius: 2px;
  --shadow-soft: 0 24px 60px -28px rgba(28, 24, 21, 0.35);
}
