/* tugoz.com brand tokens: the one place for the logo, font, primary and accent colours and corner radius.
   index.html loads this after booking.css and before site.css. site.css (home, pricing, Find an event, Support,
   Getting started), the footer and the event pages read only these tokens, so swapping this file restyles them with no
   other change (Buyer experience Phase 4.3). Tugoz is the default set.
   Shared files: booking.css takes the font through --tz-font-sans and the home glow through --tz-brand-primary-rgb,
   each with the Tugoz value as fallback, so admin (which also loads booking.css) and host sites (widget.css) are
   unchanged. Neutral greys stay with each page's own palette in site.css. */

/* Self-hosted fonts (SIL Open Font License 1.1, css/fonts/brand/OFL.txt), latin and latin-ext subsets.
   Figtree is a variable font: one file per subset covers every weight. Pushed by push_site.sh --fonts. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/brand/figtree-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/brand/figtree-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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/brand/ibm-plex-mono-normal-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/brand/ibm-plex-mono-normal-400-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: 'IBM Plex Mono'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/brand/ibm-plex-mono-normal-500-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/brand/ibm-plex-mono-normal-500-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; }

:root {
    /* Logo (light backgrounds) and its width:height ratio */
    --tz-brand-logo: url(/images/logo-light.svg);   /* root path: a url() in a custom property resolves where it is used */
    --tz-brand-logo-ratio: 4236 / 780;

    /* Type */
    --tz-brand-font: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --tz-brand-font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Primary: call-to-action buttons (Register Host, Get tickets), selected choices, highlights */
    --tz-brand-primary: #ffc107;
    --tz-brand-primary-rgb: 255, 193, 7;
    --tz-brand-primary-hover: #ffca2c;
    --tz-brand-primary-soft: #fff8e1;
    --tz-brand-on-primary: #000;

    /* Accent: emphasis, step numbers, focus rings, footer link hover */
    --tz-brand-accent: #2b5bee;
    --tz-brand-accent-rgb: 43, 91, 238;
    --tz-brand-accent-focus: #95adf6;
    --tz-brand-accent-2: #1f9a8c;

    /* Text links on the marketing pages */
    --tz-brand-link: #0066cc;

    /* Corners: buttons and fields, cards and tiles, large panels */
    --tz-brand-radius: 12px;
    --tz-brand-radius-lg: 20px;
    --tz-brand-radius-xl: 28px;

    /* Hooks the shared booking.css reads */
    --tz-font-sans: var(--tz-brand-font);
}

/* Bootstrap bridge: on tugoz.com "warning" is the brand primary (Register Host, trailer button, expander arrows,
   badges on event pages), so it follows the token set */
.tgz {
    --bs-warning: var(--tz-brand-primary);
    --bs-warning-rgb: var(--tz-brand-primary-rgb);
}
.tgz .btn-warning {
    --bs-btn-bg: var(--tz-brand-primary);
    --bs-btn-border-color: var(--tz-brand-primary);
    --bs-btn-color: var(--tz-brand-on-primary);
    --bs-btn-hover-bg: var(--tz-brand-primary-hover);
    --bs-btn-hover-border-color: var(--tz-brand-primary-hover);
    --bs-btn-hover-color: var(--tz-brand-on-primary);
    --bs-btn-active-bg: var(--tz-brand-primary-hover);
    --bs-btn-active-border-color: var(--tz-brand-primary-hover);
    --bs-btn-active-color: var(--tz-brand-on-primary);
    --bs-btn-disabled-bg: var(--tz-brand-primary);
    --bs-btn-disabled-border-color: var(--tz-brand-primary);
    --bs-btn-disabled-color: var(--tz-brand-on-primary);
}

/* Logo: <span class="tz-brand-logo" role="img" aria-label="Tugoz"></span>, sized by height */
.tz-brand-logo {
    display: inline-block;
    height: 22px;
    aspect-ratio: var(--tz-brand-logo-ratio);
    background: var(--tz-brand-logo) no-repeat left center / contain;
    vertical-align: middle;
}

/* Booking and membership codes */
.tz-brand-code { font-family: var(--tz-brand-font-mono); }
