/* RevUp Blaze public website
   Colours are taken from the Blaze app (sidebar gradient rgb(5,23,60) -> #3a0647)
   and the RevUp Blaze logo red. */

@font-face {
    font-family: 'Archivo Black';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/archivo-black-latin.woff2') format('woff2');
}

:root {
    --navy: #05173c;
    --navy-2: #0d2257;
    --plum: #3a0647;
    --red: #d4091c;
    --red-dark: #a8061a;
    --red-bright: #ff3347;      /* red text on dark backgrounds */
    --ink: #1b1d2a;
    --muted: #545869;
    --line: #e2dfea;
    --surface: #ffffff;
    --surface-alt: #f8f5fb;     /* same lilac tint as the Blaze login page */
    --focus: #ffb300;
    --radius: 14px;
    --shadow: 0 18px 50px -18px rgba(5, 23, 60, .45);
    --shadow-sm: 0 4px 16px -6px rgba(5, 23, 60, .25);
    --gradient: linear-gradient(160deg, rgb(5, 23, 60) 0%, #1b0f4d 45%, #3a0647 100%);
    --display: 'Archivo Black', 'Arial Black', 'Segoe UI', sans-serif;
    --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1d4ed8; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Icons (inline SVG, Lucide-style strokes) */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px -10px rgba(212, 9, 28, .8); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { font-size: 1.1rem; padding: .95em 1.7em; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Classic Motor Show strip (remove after the show: see README) ---------- */
.show-strip {
    background: linear-gradient(90deg, #a01c24 0%, #6b1530 40%, #1f2a66 100%);
    color: #fff; font-size: .95rem;
}
.show-strip .wrap { display: flex; align-items: center; justify-content: center; gap: .4em 1em; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.show-strip strong { font-weight: 700; }
.show-strip a { color: #fff; font-weight: 700; white-space: nowrap; }
.show-strip a:hover { color: #ffd9dc; }
.show-strip .strip-short { display: none; }
@media (max-width: 760px) {
    .show-strip .strip-long { display: none; }
    .show-strip .strip-short { display: inline; }
    .show-strip .wrap { gap: 2px 10px; padding-top: 6px; padding-bottom: 6px; }
}

/* ---------- Header and navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: linear-gradient(90deg, rgb(5, 23, 60) 0%, #1b0f4d 60%, #3a0647 100%);
    box-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 190px; }

.nav-toggle {
    display: none; margin-left: auto; padding: 8px; border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px; background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle .i { width: 28px; height: 28px; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
    display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
    color: #e9e6f5; text-decoration: none; font-weight: 600; font-size: 1rem;
}
.site-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--red-bright); border-radius: 10px 10px 0 0; }
.site-nav .i { width: 18px; height: 18px; }
.site-nav .nav-cta { margin-left: 10px; }
.site-nav .nav-cta a { background: var(--red); color: #fff; border-radius: 999px; padding: 10px 18px; box-shadow: none; }
.site-nav .nav-cta a:hover { background: var(--red-dark); }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--gradient); padding: 8px 20px 20px; box-shadow: 0 16px 30px rgba(0, 0, 0, .3); }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .site-nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red-bright); border-radius: 0; }
    .site-nav .nav-cta { margin: 12px 0 0; }
    .site-nav .nav-cta a { justify-content: center; border-bottom: 0; }
    .brand img { width: 160px; }
    /* Without JavaScript the menu cannot be toggled, so show it in full. */
    .no-js .nav-toggle { display: none; }
    .no-js .site-header .wrap { flex-wrap: wrap; padding-top: 10px; }
    .no-js .site-nav { display: block; position: static; width: 100%; padding: 0 0 10px; box-shadow: none; background: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--gradient); overflow: hidden; isolation: isolate; }
.hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: min(38vw, 420px); z-index: -1;
    background: url('../images/sepia-racing-2000.jpg') center 65% / cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
    opacity: .55;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffb9c0; margin-bottom: 14px; }
.hero h1 .accent { color: var(--red-bright); display: block; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #e4e0f2; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-note { font-size: .95rem; color: #cfc9e6; display: flex; gap: 8px; align-items: center; }
.hero-note .i { color: var(--red-bright); width: 20px; height: 20px; }

.hero-shots { position: relative; min-height: 380px; }
.hero-shots .shot-back { width: 82%; margin-left: auto; transform: rotate(2deg); opacity: .96; }
.hero-shots .shot-front { position: absolute; left: 0; bottom: -20px; width: 86%; transform: rotate(-1.5deg); }

/* Page hero (inner pages) */
.page-hero { background: var(--gradient); color: #fff; position: relative; overflow: hidden; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: .3em; }
.page-hero p { color: #e4e0f2; font-size: 1.15rem; max-width: 46em; margin: 0; }

/* Browser-style frame for screenshots */
.frame {
    background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .25);
}
.frame img { width: 100%; } /* fill the frame even when the width attribute is smaller */
.frame::before {
    content: ""; display: block; height: 22px; background:
        radial-gradient(circle at 14px 11px, #ff5f57 4px, transparent 4.5px),
        radial-gradient(circle at 30px 11px, #febc2e 4px, transparent 4.5px),
        radial-gradient(circle at 46px 11px, #28c840 4px, transparent 4.5px),
        #eceaf1;
    border-bottom: 1px solid var(--line);
}
.phone-frame {
    background: #111; border-radius: 34px; padding: 12px; box-shadow: var(--shadow); max-width: 280px;
}
.phone-frame img { border-radius: 24px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--gradient); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-dark .section-head p { color: #d9d4ec; }
.kicker { display: block; font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.section-dark .kicker { color: #ffb9c0; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* Tick lists, matching the red ticks on the RevUp Blaze poster */
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
    background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

/* ---------- "Built for your whole club" role explorer ---------- */
.roles { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; }
.role-list { display: grid; gap: 10px; }
.role-btn {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; text-align: left;
    background: #fff; border: 2px solid var(--line); border-radius: 12px; cursor: pointer;
    font: 700 1.15rem/1.2 var(--body); color: var(--ink); text-decoration: none;
    transition: border-color .15s, background-color .15s, color .15s;
}
.role-btn .i { color: var(--red); }
.role-btn .chev { margin-left: auto; width: 20px; height: 20px; color: #9a97a8; }
.role-btn:hover { border-color: #c9c3da; color: var(--ink); }
.role-btn[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.role-btn[aria-selected="true"] .i { color: var(--red-bright); }
.role-btn[aria-selected="true"] .chev { color: #fff; }

.role-panel {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.role-panel[hidden] { display: none; }
.role-panel .role-body { padding: 32px; }
.role-panel h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.role-panel .role-media { background: var(--surface-alt); display: flex; align-items: center; justify-content: center; }
.role-panel .role-media img { width: 100%; height: 100%; object-fit: cover; }
.role-panel .role-media { position: relative; min-height: 320px; }
.role-panel .role-media img { position: absolute; inset: 0; }
.role-panel .role-media.screenshot { border-left: 1px solid var(--line); }
.role-panel .role-media.screenshot img { object-position: left top; }
.role-panel .role-media.graphic { flex-direction: column; gap: 14px; min-height: 260px; background: var(--gradient); color: #fff; font-family: var(--display); font-size: 1.6rem; }
.role-panel .role-media.graphic .i { width: 96px; height: 96px; stroke-width: 1.4; color: var(--red-bright); }
.role-panel .more { font-weight: 700; }
/* Without JavaScript all panels are shown, so the content is still reachable. */
.no-js .role-list { display: none; }
.no-js .roles { grid-template-columns: 1fr; }
.no-js .role-panel + .role-panel { margin-top: 20px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card .badge-icon {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--navy), var(--plum)); color: #fff;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.section-dark .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.section-dark .card p { color: #d9d4ec; }
.section-dark .card .badge-icon { background: var(--red); }

/* Screenshot showcase */
.showcase figure { margin: 0; }
.showcase figcaption, .figure-caption { margin-top: 14px; color: var(--muted); font-size: .98rem; }
.zoom { display: block; position: relative; cursor: zoom-in; border-radius: 10px; }
.zoom .zoom-hint {
    position: absolute; right: 12px; bottom: 12px; background: rgba(5, 23, 60, .85); color: #fff;
    padding: 6px 10px; border-radius: 8px; font-size: .85rem; font-weight: 600; display: flex; gap: 6px; align-items: center;
}
.zoom .zoom-hint .i { width: 16px; height: 16px; }

/* ---------- Classic Motor Show section ---------- */
.show-section { background: #eef0f6; }
.show-card {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; overflow: hidden;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.show-card .show-media a { display: block; height: 100%; }
.show-card .show-media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transition: opacity .15s; }
.show-card .show-media a:hover img { opacity: .92; }
.show-card .show-body { padding: 36px; }
.show-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.show-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.1rem; }
.show-facts .i { color: var(--red); margin-top: 2px; }

/* ---------- Security strip / about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.about img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Testimonials (template only; hidden until real statements are supplied) */
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; border-left: 5px solid var(--red); box-shadow: var(--shadow-sm); }
.quote blockquote { margin: 0 0 14px; font-size: 1.1rem; }
.quote figcaption { color: var(--muted); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; background: var(--gradient); overflow: hidden; isolation: isolate; text-align: center; }
.cta-band::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28;
    background: url('../images/sepia-racing-2000.jpg') center 60% / cover no-repeat;
}
.cta-band .wrap { padding-top: 80px; padding-bottom: 80px; }
.cta-band p { color: #e4e0f2; font-size: 1.15rem; max-width: 40em; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Features page ---------- */
.subnav { position: sticky; top: 72px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.subnav a { display: block; padding: 14px 14px; white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.subnav a:hover { color: var(--navy); }
.feature-block { scroll-margin-top: 140px; }
.feature-block + .feature-block { border-top: 1px solid var(--line); }
.feature-block .split { align-items: start; }
.feature-block h2 { display: flex; align-items: center; gap: 14px; }
.feature-block .section-head.center h2 { justify-content: center; }
.feature-block h2 .badge-icon {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none;
    background: linear-gradient(135deg, var(--navy), var(--plum)); color: #fff;
}
.feature-block .intro { font-size: 1.15rem; color: var(--muted); }
.feature-block .media img { border-radius: 10px; }
.photo { border-radius: var(--radius); box-shadow: var(--shadow); }

.editions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.edition { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.edition h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: .03em; margin-bottom: .2em; }
.edition .for { color: var(--red); font-weight: 700; margin-bottom: 1em; }
.edition p { color: var(--muted); }
.edition .price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.edition.featured { border: 2px solid var(--navy); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; }
.gallery .wide { grid-column: 1 / -1; }
.gallery figcaption { margin-bottom: 16px; flex: 1; } /* equal-height captions keep side-by-side images level */
.gallery .mobile-shot figcaption { margin-bottom: 0; flex: 1 1 auto; min-width: 0; }
.gallery h2 { font-family: var(--body); font-weight: 700; font-size: 1.25rem; margin: 0 0 6px; }
.gallery p { color: var(--muted); margin: 0; }
.gallery .mobile-shot { display: flex; gap: 32px; align-items: center; }
.gallery .mobile-shot .zoom { flex: none; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 10, 30, .88); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); background: #fff; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox-close {
    position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer;
}

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .req { color: var(--red); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field textarea {
    width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff;
    border: 2px solid #cfcbdb; border-radius: 10px;
}
.field input:focus, .field textarea:focus { border-color: var(--navy-2); outline: 3px solid rgba(13, 34, 87, .2); outline-offset: 0; }
.field input:disabled { background: #f1f0f5; color: #8a8799; cursor: not-allowed; }
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: .92rem; color: var(--muted); margin-top: 6px; }
.field .error { display: none; color: #b00716; font-size: .95rem; font-weight: 600; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #b00716; }
.field.invalid .error { display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.choice-row { display: flex; gap: 12px; flex-wrap: wrap; }
.field .choice {
    display: flex; margin: 0; align-items: center; gap: 10px; padding: 12px 16px; border: 2px solid #cfcbdb; border-radius: 10px;
    cursor: pointer; font-weight: 600; flex: 1 1 200px;
}
.choice input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--surface-alt); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: .92rem; color: var(--muted); }

.alert { border-radius: 12px; padding: 18px 20px; margin-bottom: 22px; display: flex; gap: 12px; align-items: flex-start; }
.alert .i { margin-top: 2px; }
.alert p { margin: 0; }
.alert-success { background: #e8f6ee; border: 1px solid #9fd5b4; color: #0f5130; }
.alert-error { background: #fdecee; border: 1px solid #f2a9b1; color: #8a0414; }
.alert-info { background: #eef2fd; border: 1px solid #b7c6f3; color: #142d73; }
.alert[hidden] { display: none; }

.aside-card { background: var(--surface-alt); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.aside-card h2 { font-family: var(--body); font-weight: 700; font-size: 1.25rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .i { color: var(--red); }
.contact-list a { font-weight: 600; }

/* ---------- Support placeholder ---------- */
.support-wrap { background: var(--gradient); position: relative; overflow: hidden; isolation: isolate; }
.support-wrap::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: -1; opacity: .4;
    background: url('../images/sepia-racing-2000.jpg') center 60% / cover no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%);
            mask-image: linear-gradient(to bottom, transparent, #000 70%);
}
.support-wrap .wrap { padding-top: 64px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; color: #fff; }
.support-wrap .lead { color: #e4e0f2; font-size: 1.15rem; }
.login-card { background: linear-gradient(180deg, #fbfbfd 0%, #f8f5fb 100%); color: var(--ink); border-radius: 18px; padding: 36px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); }
.login-card .login-logo { width: 220px; margin: 0 auto 8px; }
.login-card h2 { font-family: var(--body); font-weight: 700; font-size: 1.3rem; text-align: center; margin-bottom: 20px; }
.login-card .btn { width: 100%; }

/* ---------- Prose pages (privacy, 404) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--body); font-weight: 700; font-size: 1.35rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; }

/* ---------- Footer ---------- */
.site-footer { background: #070d24; color: #c9c6d8; font-size: .97rem; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { width: 190px; margin-bottom: 14px; }
.site-footer h2 { font-family: var(--body); font-weight: 700; font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .9rem; color: #a9a5bd; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .roles { grid-template-columns: 1fr; }
    .role-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .role-list .role-btn:last-child { grid-column: span 2; } /* 7 roles: 4 + 3, with the last filling the row */
    .role-btn { font-size: 1.02rem; padding: 12px 14px; }
    .role-btn .chev { display: none; }
    .cards, .editions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .hero .wrap, .split, .about, .contact-grid, .support-wrap .wrap, .show-card { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: 0; }
    .hero .wrap { padding-top: 44px; padding-bottom: 72px; gap: 36px; }
    .hero-shots { min-height: 0; padding-bottom: 40px; }
    .role-panel { grid-template-columns: 1fr; }
    .role-panel .role-media { max-height: 320px; overflow: hidden; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .gallery { grid-template-columns: 1fr; }
    .gallery .mobile-shot { flex-direction: column; align-items: flex-start; gap: 16px; }
    .section { padding: 64px 0; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .wrap { padding: 0 16px; }
    .role-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards, .editions, .two-col, .ticks.cols-2 { grid-template-columns: 1fr; }
    .form-card, .login-card, .show-card .show-body, .role-panel .role-body { padding: 24px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .show-strip { font-size: .88rem; }
}
