/* ================================================================
 *  demo-agency-2.css — Framo theme for the Yakety Yak homepage
 *
 *  Yak palette: Ink #2E2A3B for the dark bands and text, Yak Teal
 *  #3DBEA7 as the main fill color, Deep Teal #17695C for links and
 *  buttons on light grounds, Amber #F2A541 as the attention color,
 *  Paper #FFF8EC for the soft light backgrounds. Light only. Each
 *  brand color generates its own scale of tints and shades.
 *
 *  Your own CSS goes in custom.css, which loads after this file.
 * ================================================================ */

/* Body, heading and code fonts (Google Fonts). Change a family here, then
   name it in --font-sans / --font-heading below. Keep JetBrains Mono in
   the URL: code blocks use it (--font-mono). This @import must stay the
   first rule in the file. Each page also preloads this URL in its <head>
   (the <link data-theme-fonts> line) so the fonts arrive sooner: after
   changing it here, replace it in the pages too, or delete that line. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Urbanist:wght@500;600;700;800&display=swap");

/* Dark scheme: take ONE of these two lines out of this comment.
@import url("../dark.css");                                     the whole site dark
@import url("../dark.css") (prefers-color-scheme: dark);        dark when the visitor's system is
*/

:root {

    /* ------------------------------------------------------------
     *  BRAND COLORS
     * ------------------------------------------------------------ */
    --color-primary-base:    #3DBEA7;   /* main color: Yak Teal, for fills (never text on white) */
    --color-secondary-base:  #2E2A3B;   /* second color: Ink, for the dark bands */
    --color-tertiary-base:   #17695C;   /* third color: Deep Teal, for links, buttons and teal text */
    --color-quaternary-base: #6b6779;   /* quiet fourth color: ink-tinted grey, the *-quaternary variants */
    --color-accent-base:     #F2A541;   /* attention color: Amber, for pilot buttons and badges */

    /* Readable text (-ink), text on each fill (on-) and hover are derived
       from the seeds. */

    /* ------------------------------------------------------------
     *  NEUTRALS
     *  Tinted by the seeds above, so a Style Switcher preset retints them
     *  too. A plain hex here fixes one for good.
     * ------------------------------------------------------------ */
    --color-text:      #2E2A3B;   /* headings and body text: Ink */
    --color-text-soft: oklch(from var(--color-secondary-base) 0.4889 calc(c * 0.67) calc(h + 0.9));   /* secondary text  */
    --color-text-muted: var(--color-text-soft);   /* meta text (roles, footer small print): the template mixes it 55% with the bg, too light for AA on Paper */
    --color-bg:        #ffffff;   /* page background */
    --color-bg-soft:   #FFF8EC;   /* Paper, for alternate sections */
    --color-border:    oklch(from var(--color-quaternary-base) 0.9097 calc(c * 0.465) calc(h - 5));   /* lines and borders  */
    --color-dark:      #2E2A3B;   /* dark sections and dark buttons: Ink */

    /* ------------------------------------------------------------
     *  TYPOGRAPHY
     * ------------------------------------------------------------ */
    --text-scale: 1;   /* text size, spacing follows: 0.875 = 14px · 1 = 16px · 1.125 = 18px */

    --font-sans:    'Inter', system-ui, sans-serif;                          /* body text */
    --font-heading:  'Inter', system-ui, sans-serif;                          /* headings */
    --font-serif:    'Instrument Serif', Georgia, 'Times New Roman', serif;   /* italic accents */
    --font-tertiary: 'Urbanist', system-ui, sans-serif;                       /* big figures */

    /* Stylesheets of the accent fonts, fetched only on pages that use them.
       Change a family above and its URL here together. Set one to "" to
       load nothing, e.g. when that font is a system font. */
    --font-serif-src:    "https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap";
    --font-tertiary-src: "https://fonts.googleapis.com/css2?family=Urbanist:wght@500;600;700;800&display=swap";

    /* Headings and buttons */
    --heading-weight:     600;                     /* 500–700: Inter loads 300–700 above */
    --heading-tracking:   var(--tracking-tight);   /* or var(--tracking-normal) */
    --btn-font-weight:    600;                     /* 500–700 */
    --btn-letter-spacing: 0;                       /* button tracking */
    --btn-text-transform: none;                    /* or uppercase: buttons in capitals */

    /* ------------------------------------------------------------
     *  SHAPE
     * ------------------------------------------------------------ */
    --radius-scale:        1.5;     /* corner rounding: 0 square · 0.5 subtle · 1 · 1.5 round */
    --btn-radius-override: 9999px;  /* one shape for every button: 0px square · 0.5rem rounded · 9999px pill */

    /* ------------------------------------------------------------
     *  LAYOUT
     * ------------------------------------------------------------ */
    --container-max: 1320px;   /* widest content column (1140px, 1280px, 1320px, 1440px …) */
    --section-y-scale: 1;      /* space between sections: 0.75 compact · 1 · 1.25 spacious */
}
