/*
 * HolidayOnCall theme.
 *
 * Colours are measured from the logo files (HOCLogo, Nov 2026):
 *   navy   #00214E  the wordmark
 *   orange #FC6701  the road ring
 *   teal   #01A499  the road and "On"; the light logo uses #01B4A3
 *
 * Text on colour is kept readable (WCAG AA, 4.5:1): the orange call-to-action
 * buttons carry navy text, because white on this orange is only 3:1; orange and
 * teal text use darker shades of the same hues.
 */

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/poppins-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/poppins-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2");
}

:root {
    --tn-primary: #00214e;
    --tn-primary-rgb: 0, 33, 78;
    --tn-primary-dark: #001534;
    --tn-primary-contrast: #ffffff;
    --tn-primary-soft: #e7eef8;

    --tn-secondary: #01a499;
    --tn-secondary-text: #01756e;
    --tn-secondary-soft: #e1f6f3;

    --tn-accent: #fc6701;
    --tn-accent-text: #b34a00;
    --tn-accent-soft: #fff1e6;

    --tn-cta-bg: #fc6701;
    --tn-cta-bg-hover: #ff7d24;
    --tn-cta-text: #00214e;

    --tn-text: #16213a;
    --tn-muted: #586379;
    --tn-page: #f5f7fb;
    --tn-border: #e1e7ef;
    --tn-border-strong: #c6cfdc;
    --tn-focus: rgba(1, 164, 153, .5);
    --tn-star: #fc9d1c;

    --tn-hero-bg:
        radial-gradient(circle at 88% 8%, rgba(1, 164, 153, .38) 0, rgba(1, 164, 153, 0) 38%),
        radial-gradient(circle at 6% 96%, rgba(252, 103, 1, .28) 0, rgba(252, 103, 1, 0) 34%),
        linear-gradient(135deg, #00214e 0%, #002c63 55%, #003a74 100%);
    --tn-hero-text: #ffffff;
    --tn-footer-bg: #001534;
    --tn-footer-text: rgba(255, 255, 255, .8);
    --tn-placeholder-bg: linear-gradient(135deg, #00214e 0%, #01857c 100%);

    --tn-tone-primary: linear-gradient(140deg, #00214e 0%, #003c7a 100%);
    --tn-tone-secondary: linear-gradient(140deg, #01857c 0%, #015d57 100%);
    --tn-tone-accent: linear-gradient(140deg, #c75000 0%, #9e3f00 100%);

    --tn-font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --tn-font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --tn-radius-sm: .6rem;
    --tn-radius: .9rem;
    --tn-radius-lg: 1.25rem;
}

/* The logo's road ring, echoed faintly behind the hero. Decoration only. */
.tn-hero::before,
.tn-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tn-hero::before {
    width: 34rem;
    height: 34rem;
    right: -12rem;
    top: -16rem;
    border: 2.25rem solid rgba(252, 103, 1, .14);
}

.tn-hero::after {
    width: 30rem;
    height: 30rem;
    right: -10rem;
    top: -14rem;
    border: 3px dashed rgba(255, 255, 255, .22);
}

@media (max-width: 767.98px) {
    .tn-hero::before {
        width: 20rem;
        height: 20rem;
        right: -9rem;
        top: -10rem;
        border-width: 1.5rem;
    }

    .tn-hero::after {
        width: 17rem;
        height: 17rem;
        right: -7.5rem;
        top: -8.5rem;
    }
}
