/* ==========================================================================
   New design (Carrot, Oct 2026): shared colours and font
   The values of the delivered prototype (06_Prototype_Source_Code/app.css :root and
   the final "V5 client revisions"), with an "s2-" prefix so they never clash with the
   current site. Every v2 stylesheet takes its colours from here. Loaded only for Preview users.
   ========================================================================== */

:root {
    /* Brand */
    --s2-indigo: #00315A;          /* Deep heritage indigo: header "+", bottom bar, buttons */
    --s2-indigo-dark: #002240;     /* Main text */
    --s2-blue: #2B5C8F;            /* Denim blue: kickers, pressed links */
    --s2-sky: #9EC1E0;
    --s2-sky-bg: #E8F1F8;
    --s2-sand: #DCCAA4;            /* Verso */
    --s2-sand-dark: #BFA575;       /* Open submenu, guide line */
    --s2-red: #E03137;             /* Form errors */

    /* Neutrals */
    --s2-border: #E4E7EC;
    --s2-border-soft: #F1F4F9;
    --s2-light-gray: #F2F4F7;
    --s2-text-muted: #64748B;
    --s2-text-light: #9AA8B6;      /* "Continue reading", footer */
    --s2-text-faint: #94A3B8;      /* placeholders, field labels, steps not reached yet */
    --s2-nav-idle: #99ADBD;        /* Bottom bar icons that are not current (60% white on indigo) */
    --s2-line: rgba(0, 49, 90, 0.08);
    --s2-overlay: rgba(0, 34, 64, 0.45);

    /* Font: Inter only (400 to 800) */
    --s2-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

    /* Motion */
    --s2-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --s2-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --s2-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* Layout */
    --s2-header-h: 60px;
    --s2-bottom-nav-h: 58px;
}

/* ---------- Photos fade in once they have fully arrived (img-wait.js), as in the prototype: until then the
   place shows its own colour (navy tile, light grey card) and a photo is never seen half drawn ---------- */
img.s2-img-hidden {
    opacity: 0 !important;
}
img.s2-img-in {
    animation: s2ImgIn 0.45s ease both;
}
@keyframes s2ImgIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
