﻿/* Vesigo Studios redesign (Refined Classic, navy lead). Loads after css3/content.css.
   Everything new is prefixed "vs-" so it cannot collide with class names used inside the existing content pages. */

:root {
    --amber: #F2A32A;
    --amber-text: #9A5B00; /* amber is too light for text on white; this deeper tone is used where amber text is needed */
    --navy: #11428E;
    --blue: #275DB0;
    --ink: #202024;
    --text: #3c3c40;
    --muted: #68686e;
    --line: #e4e4e4;
    --wash: #f5f6f8;
    --tint: #eef3fb;
    --radius: 8px;
    --radius-lg: 14px;
    --container: 1180px;
    --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 28px rgba(0,0,0,.07);
    --tribar: linear-gradient(90deg, var(--amber) 0 33.4%, var(--navy) 33.4% 66.7%, #6b6b6b 66.7% 100%);
    --primary-bg: linear-gradient(135deg, #1e5bbd, var(--navy));
    --font: "Segoe UI", "Helvetica Neue", Arial, Helvetica, sans-serif;
}

/* ---------- Base (overrides the carried-over defaults) ---------- */
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
input, select, button, textarea { font-family: var(--font); }
a, a:visited, a:focus, a:active { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; }
h1, h2 { letter-spacing: -.015em; line-height: 1.2; }
h3, h4 { line-height: 1.3; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
[class^="vs-"], [class*=" vs-"], [class^="vs-"]::before, [class*=" vs-"]::before, [class^="vs-"]::after, [class*=" vs-"]::after { box-sizing: border-box; }

.vs-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.vs-icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.vs-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.5em; border-radius: var(--radius); font: inherit; font-weight: 700; line-height: 1.2; border: 2px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s; }
/* The link states repeat only the text decoration. Sizes stay out of them, so a size set by another class holds while pressed or focused. */
.vs-btn:visited, .vs-btn:focus, .vs-btn:active { text-decoration: none; }
.vs-btn:hover { text-decoration: none; }
.vs-btn .vs-icon { width: 18px; height: 18px; }
/* border-box origin: otherwise the gradient repeats under the transparent border and shows as edge lines. */
.vs-btn-primary, .vs-btn-primary:visited, .vs-btn-primary:focus, .vs-btn-primary:active { background: var(--primary-bg); background-origin: border-box; color: #fff; box-shadow: 0 8px 18px -8px rgba(17,66,142,.55); position: relative; isolation: isolate; }
/* Hover and press darken through an overlay, so the button and its label never move. */
.vs-btn-primary::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: #000; opacity: 0; transition: opacity .15s; z-index: -1; pointer-events: none; }
.vs-btn-primary:hover::before { opacity: .15; }
.vs-btn-primary:active::before { opacity: .28; }
.vs-btn-ghost, .vs-btn-ghost:visited, .vs-btn-ghost:focus, .vs-btn-ghost:active { border-color: currentColor; color: var(--ink); background: transparent; }
.vs-btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.vs-btn-accent, .vs-btn-accent:visited, .vs-btn-accent:focus, .vs-btn-accent:active { background: var(--amber); color: var(--ink); }
.vs-btn-accent:hover { background: #E39417; }
.vs-btn-sm { padding: .62em 1.15em; font-size: .9375rem; }

/* ---------- Header ---------- */
.vs-utility { background: var(--navy); color: #dfe8f7; font-size: .8125rem; }
.vs-utility .vs-container { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
.vs-utility a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; font-weight: 600; line-height: 1.25; transition: background .2s, color .2s, border-color .2s; }
.vs-utility a, .vs-utility a:visited, .vs-utility a:focus, .vs-utility a:active { color: inherit; text-decoration: none; }
.vs-utility a:hover, .vs-utility a:focus-visible { background: #fff; border-color: #fff; color: var(--navy); text-decoration: none; }
.vs-utility .vs-icon { width: 15px; height: 15px; }
.vs-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.vs-mainbar { display: flex; align-items: center; gap: 24px; min-height: 84px; position: relative; }
.vs-logo img { height: 58px; width: auto; display: block; }
.vs-logo .vs-logo-dark, .vs-footer-brand .vs-logo-dark { display: none; }
.vs-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.vs-nav a { font-weight: 600; font-size: .9375rem; padding: 10px 14px; border-radius: var(--radius); position: relative; }
.vs-nav a, .vs-nav a:visited, .vs-nav a:focus, .vs-nav a:active { color: var(--text); text-decoration: none; }
.vs-nav a:hover { color: var(--ink); text-decoration: none; }
.vs-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; background: var(--amber); border-radius: 2px; transform: scaleX(0); transition: transform .2s ease; }
.vs-nav a:hover::after, .vs-nav a.vs-active::after { transform: scaleX(1); }
.vs-nav .vs-nav-util { display: none; }
.vs-nav-cta .vs-icon { width: 16px; height: 16px; }
.vs-menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }

/* ---------- Page title band and content area ---------- */
.vs-page-title { padding: 30px 0 28px; background: var(--wash); border-bottom: 1px solid var(--line); position: relative; }
.vs-page-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--tribar); }
.vs-breadcrumb { display: block; font-size: .8125rem; color: var(--muted); margin: 0 0 8px; }
.vs-breadcrumb a, .vs-breadcrumb a:visited { color: var(--muted); }
.vs-breadcrumb-sep { margin: 0 7px; color: #a6a6ab; }
.vs-page-title h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Existing pages put a wide divider image (images/sep-*.png) inside the title; the band shows just its ringed photograph. */
.vs-page-title .section-head-img { flex: none; width: 92px; height: 92px; max-width: none; margin: 0; border-radius: 50%; object-fit: cover; object-position: center; box-shadow: 0 8px 20px rgba(17,34,68,.18); }
.vs-content { padding: 16px 0 64px; }
.vs-layout-full .vs-content { padding: 0; }

/* ---------- Home: hero ---------- */
.vs-hero { background: linear-gradient(180deg, var(--wash), #fff 90%); padding: 64px 0 36px; position: relative; }
.vs-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--tribar); }
.vs-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.vs-hero h1 { font-size: clamp(2rem, 4.1vw, 3.125rem); margin: 0 0 .5em; padding: 0; text-wrap: balance; }
.vs-eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin: 0 0 14px; }
.vs-lead { font-size: 1.125rem; line-height: 1.6; color: var(--muted); max-width: 56ch; margin: 0; }
.vs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.vs-hero-note { font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; margin: 0; }
.vs-hero-note li { display: flex; align-items: center; gap: 6px; }
.vs-hero-note .vs-icon { width: 16px; height: 16px; color: var(--amber); stroke-width: 2.75; }
/* Shows only the photograph from the existing home banner, which has its headline baked into the right half. */
/* Hero photo or carousel. The markup comes from SiteImages.Carousel; photos are cropped to fill the 5:4 frame. */
.vs-carousel { min-width: 0; }
.vs-carousel-frame { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius-lg); background: #1b2433; box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 24px 48px rgba(17,34,68,.22); border-bottom: 6px solid var(--amber); touch-action: pan-y; }
.vs-carousel-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.vs-carousel-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.vs-carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.vs-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; }
.vs-carousel-controls[hidden] { display: none; }
.vs-carousel-dots { display: flex; align-items: center; gap: 2px; }
.vs-carousel-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: width .25s ease; }
.vs-carousel-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 10px; background: currentColor; opacity: .3; transition: width .25s ease, opacity .25s ease; }
.vs-carousel-dots button:hover::before { opacity: .55; }
.vs-carousel-dots button.is-active { width: 38px; }
.vs-carousel-dots button.is-active::before { width: 24px; background: var(--amber); opacity: 1; }
.vs-carousel-pause { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.vs-carousel-pause:hover { border-color: var(--blue); color: var(--blue); }
.vs-carousel-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.vs-carousel-pause .vs-carousel-icon-play { display: none; fill: currentColor; stroke-width: 1.5; }
.vs-carousel.is-paused .vs-carousel-icon-play { display: block; }
.vs-carousel.is-paused .vs-carousel-icon-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
    .vs-carousel-dots button, .vs-carousel-dots button::before { transition: none; }
}

/* ---------- Home: quick links and key facts ---------- */
.vs-quick { padding: 28px 0 12px; }
.vs-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vs-quick-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: #fff; transition: transform .15s, box-shadow .15s, border-color .15s; }
.vs-quick-card, .vs-quick-card:visited, .vs-quick-card:focus, .vs-quick-card:active { color: var(--text); text-decoration: none; }
.vs-quick-card:hover { text-decoration: none; border-color: var(--amber); transform: translateY(-2px); box-shadow: var(--shadow); }
.vs-quick-card strong { color: var(--ink); font-size: 1.0625rem; display: flex; align-items: center; gap: 8px; }
.vs-quick-card strong .vs-icon { width: 20px; height: 20px; color: var(--navy); }
.vs-quick-card span { font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.vs-stats { padding: 20px 0 8px; }
.vs-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.vs-stat { padding: 22px 24px; border-left: 1px solid var(--line); }
.vs-stat:first-child { border-left: 0; }
.vs-stat b { display: block; font-size: 1.75rem; line-height: 1.15; color: var(--navy); font-weight: 700; letter-spacing: -.02em; }
.vs-stat span { font-size: .875rem; color: var(--muted); }

/* ---------- Home: sections ---------- */
.vs-section { padding: 72px 0; }
.vs-section-alt { background: var(--wash); }
.vs-section h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin: 0 0 .6em; padding: 0; text-wrap: balance; }
.vs-section p { margin: 0 0 1.1em; line-height: 1.6; }
.vs-split { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.vs-split-rev { grid-template-columns: auto 1fr; }
.vs-rule { display: block; width: 72px; height: 5px; border-radius: 3px; background: var(--tribar); margin: 0 0 18px; }
.vs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
/* Shows only the ringed photograph from the existing section divider images (images/sep-*.png). */
.vs-badge-photo { display: block; width: 260px; height: 260px; border-radius: 50%; background: no-repeat center / auto 100%; box-shadow: 0 18px 40px rgba(17,34,68,.2); }
.vs-define { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px 34px; max-width: 440px; }
.vs-define b { display: block; font-size: 1.75rem; letter-spacing: .04em; color: var(--ink); }
.vs-define i { display: block; color: var(--muted); margin: 2px 0 12px; }
.vs-define p { font-size: 1.1875rem; line-height: 1.45; color: var(--ink); margin: 0; }

/* ---------- Call-to-action band and footer ---------- */
.vs-cta-band { background: linear-gradient(112deg, #0d3676, #1b55b3 60%, #2a6fd6); color: #fff; padding: 52px 0; }
.vs-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.vs-cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin: 0 0 6px; padding: 0; }
.vs-cta-band p { margin: 0; color: #fff; max-width: 60ch; }
.vs-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.vs-cta-band .vs-btn-ghost, .vs-cta-band .vs-btn-ghost:visited { color: #fff; }
.vs-cta-band .vs-btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.vs-footer { background: #eff0f2; color: var(--text); border-top: 1px solid var(--line); padding: 56px 0 44px; font-size: .9375rem; }
.vs-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.vs-footer-brand img { height: 64px; width: auto; margin-bottom: 14px; display: block; }
.vs-footer-brand p { margin: 0 0 6px; }
.vs-footer h3 { color: var(--ink); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; padding: 0; }
.vs-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs-footer a, .vs-footer a:visited, .vs-footer a:focus, .vs-footer a:active { color: var(--text); }
.vs-footer a:hover { color: var(--blue); }
.vs-footer-bottom { background: var(--navy); color: #dfe8f7; font-size: .8125rem; }
.vs-footer-bottom .vs-container { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.vs-footer-bottom a, .vs-footer-bottom a:visited, .vs-footer-bottom a:focus, .vs-footer-bottom a:active { color: #fff; }
.vs-footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }

.vs-preview-badge { position: fixed; left: 12px; bottom: 12px; z-index: 99990; background: var(--ink); color: #fff; font-size: .8125rem; padding: 8px 12px; border-radius: var(--radius); box-shadow: var(--shadow); }
.vs-preview-badge a, .vs-preview-badge a:visited { color: var(--amber); margin-left: 8px; }

/* ---------- Existing content classes, refreshed without touching page markup ---------- */
.body_content { max-width: 860px; }
.body_content h3 { font-size: 1.25rem; color: var(--ink); }
.body_content h4 { color: var(--ink); }
/* The Employment page enlarges its job titles on phones to suit the old fixed-width layout. */
.body_content .JobPositionTitle { font-size: 1.5rem; }
.body_content p { line-height: 1.65; }
.body_content .lists-box li::marker { color: var(--amber); }
.body_content .btn-custon-link, .body_content .btn-custon-link:hover { background: var(--primary-bg); border-bottom: 0; border-radius: var(--radius); box-shadow: 0 8px 18px -8px rgba(17,66,142,.55); margin: 0 12px 28px 0; position: relative; isolation: isolate; }
.body_content .btn-custon-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: 0; transition: opacity .15s; z-index: -1; pointer-events: none; }
.body_content .btn-custon-link:hover::before { opacity: .15; }
.body_content .btn-custon-link:active::before { opacity: .28; }
.body_content .btn-custon-link-inner { background: none; border-bottom: 0; border-radius: var(--radius); }
.body_content .btn-custon-link a, .body_content .btn-custon-link a:hover, .body_content .btn-custon-link a:active, .body_content .btn-custon-link a:focus, .body_content .btn-custon-link a:visited { display: block; background: none; color: #fff; font-weight: 700; line-height: 1.2; padding: .7em 1.4em; text-decoration: none; }
.body_content input[type="text"], .body_content input[type="password"], .body_content textarea, .body_content select { box-sizing: border-box; height: auto; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #b9b9be; border-radius: var(--radius); padding: 10px 12px; max-width: 100%; }
.body_content textarea { min-height: 150px; }
.body_content input[type="text"]:focus, .body_content input[type="password"]:focus, .body_content textarea:focus, .body_content select:focus { outline: 3px solid rgba(242,163,42,.5); border-color: var(--amber-text); }
.body_content input[type="submit"], .body_content input[type="button"] { font-size: 1rem; font-weight: 700; padding: .75em 1.6em; border: 0; border-radius: var(--radius); background: var(--primary-bg); color: #fff; cursor: pointer; box-shadow: 0 8px 18px -8px rgba(17,66,142,.55), inset 0 0 0 99px rgba(0,0,0,0); transition: box-shadow .15s; }
/* Inputs cannot carry the overlay the other buttons use, so an inset shadow does the darkening. */
.body_content input[type="submit"]:hover, .body_content input[type="button"]:hover { box-shadow: 0 8px 18px -8px rgba(17,66,142,.55), inset 0 0 0 99px rgba(0,0,0,.15); }
.body_content input[type="submit"]:active, .body_content input[type="button"]:active { box-shadow: 0 8px 18px -8px rgba(17,66,142,.55), inset 0 0 0 99px rgba(0,0,0,.28); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .vs-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .vs-split, .vs-split-rev { grid-template-columns: 1fr; gap: 32px; }
    .vs-split-rev > :first-child { order: 2; }
    .vs-badge-photo { width: 200px; height: 200px; }
    .vs-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .vs-stat:nth-child(3) { border-left: 0; }
    .vs-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .vs-footer-grid { grid-template-columns: repeat(3, 1fr); }
    .vs-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .vs-utility { display: none; }
    .vs-mainbar { gap: 12px; min-height: 68px; }
    .vs-logo img { height: 46px; }
    .vs-menu-toggle { display: inline-flex; }
    .vs-nav-cta { margin-left: auto; }
    .vs-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 24px -14px rgba(0,0,0,.25); display: none; }
    .vs-nav.vs-open { display: flex; }
    .vs-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
    .vs-nav a::after { display: none; }
    .vs-nav a.vs-active { color: var(--navy); }
    .vs-nav .vs-nav-util { display: block; }
}

@media (max-width: 640px) {
    .vs-container { padding: 0 16px; }
    .vs-nav { padding: 4px 16px 16px; }
    .vs-nav-cta { padding: .55em .9em; font-size: .875rem; }
    .vs-section { padding: 52px 0; }
    .vs-hero { padding: 44px 0 24px; }
    .vs-hero-actions .vs-btn { flex: 1 1 auto; }
    .vs-quick-grid { grid-template-columns: 1fr; gap: 12px; }
    .vs-stat { padding: 16px; }
    .vs-stat b { font-size: 1.375rem; }
    .vs-cta-actions { width: 100%; }
    .vs-cta-actions .vs-btn { flex: 1 1 auto; }
    .vs-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .vs-page-title { padding: 22px 0 20px; }
    .vs-page-title .section-head-img { width: 64px; height: 64px; }
    .vs-content { padding-bottom: 48px; }
    .vs-define { padding: 24px; }
    .body_content td { display: block; padding: 0 0 6px; }
    .body_content td:empty { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    [class^="vs-"], [class*=" vs-"], .vs-nav a::after { transition: none !important; }
}

@media print {
    .vs-utility, .vs-nav, .vs-nav-cta, .vs-menu-toggle, .vs-cta-band, .vs-footer, .vs-preview-badge { display: none !important; }
    .vs-header { position: static; }
}

/* ---------- Theme switch (footer) ---------- */
.vs-theme { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); overflow: hidden; }
.vs-theme button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; font: inherit; font-weight: 600; line-height: 1.2; color: #dfe8f7; background: none; border: 0; border-left: 1px solid rgba(255,255,255,.2); cursor: pointer; transition: background-color .15s, color .15s; }
.vs-theme button:first-child { border-left: 0; }
.vs-theme button:hover { background: rgba(255,255,255,.12); color: #fff; }
.vs-theme button[aria-pressed="true"] { background: #fff; color: #11428E; }
.vs-theme .vs-icon { width: 15px; height: 15px; }

/* ---------- Dark mode ----------
   The script in the page head sets data-theme on <html> from the visitor's choice or the system setting.
   Screen only, so printing always uses the light colors. Images are left as they are. */
@media screen {
    html[data-theme="dark"] {
        color-scheme: dark;
        --amber-text: #F2B85A;
        --navy: #8DB4F2; /* navy is used for text and icons; the navy bars are set separately below */
        --blue: #8DB4F2;
        --ink: #f1f2f4;
        --text: #cdd0d6;
        --muted: #9aa0aa;
        --line: #333842;
        --wash: #181c24;
        --tint: #1c2942;
        --page: #12151b;
        --surface: #1e232c;
        --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px rgba(0,0,0,.5);
        --tribar: linear-gradient(90deg, var(--amber) 0 33.4%, #2a6fd6 33.4% 66.7%, #8a8a90 66.7% 100%);
        --primary-bg: linear-gradient(135deg, #2a6fd6, #1a4fa8);
    }
    [data-theme="dark"] body { background: var(--page); }

    /* Header, footer, and the pieces that sit on a white card in light mode */
    [data-theme="dark"] .vs-header,
    [data-theme="dark"] .vs-quick-card,
    [data-theme="dark"] .vs-stats-grid,
    [data-theme="dark"] .vs-define { background: var(--surface); }
    [data-theme="dark"] .vs-hero { background: linear-gradient(180deg, var(--wash), var(--page) 90%); }
    [data-theme="dark"] .vs-utility, [data-theme="dark"] .vs-footer-bottom { background: #0b1f44; }
    [data-theme="dark"] .vs-footer { background: #0f1217; }
    [data-theme="dark"] .vs-preview-badge { background: #000; border: 1px solid #4a5160; }

    [data-theme="dark"] .vs-logo-light { display: none; }
    [data-theme="dark"] .vs-logo .vs-logo-dark, [data-theme="dark"] .vs-footer-brand .vs-logo-dark { display: block; }

    /* Pieces that stay light or brand-colored keep their light-mode text colors */
    [data-theme="dark"] .vs-utility a:hover, [data-theme="dark"] .vs-utility a:focus-visible { color: #11428E; }
    [data-theme="dark"] .vs-btn-ghost:hover { color: var(--page); }
    [data-theme="dark"] .vs-cta-band .vs-btn-ghost:hover,
    [data-theme="dark"] .vs-btn-accent, [data-theme="dark"] .vs-btn-accent:visited, [data-theme="dark"] .vs-btn-accent:focus, [data-theme="dark"] .vs-btn-accent:active { color: #202024; }

    /* Carried-over content styles */
    [data-theme="dark"] input[type="text"], [data-theme="dark"] input[type="password"], [data-theme="dark"] input[type="email"], [data-theme="dark"] input[type="tel"],
    [data-theme="dark"] textarea, [data-theme="dark"] select,
    [data-theme="dark"] .body_content input[type="text"], [data-theme="dark"] .body_content input[type="password"], [data-theme="dark"] .body_content textarea, [data-theme="dark"] .body_content select { background-color: #232934; color: var(--ink); border-color: #4a5160; }
    [data-theme="dark"] legend.title-form, [data-theme="dark"] .blog-text-date, [data-theme="dark"] .conversation-box span, [data-theme="dark"] .skip-link a:hover,
    [data-theme="dark"] .tesis-box .title-section-text, [data-theme="dark"] .home-text-section_1 .right-s .title-section-text { color: var(--ink); }
    [data-theme="dark"] .title-section-text, [data-theme="dark"] .four-coll-text .header-s h2, [data-theme="dark"] .section-head h2,
    [data-theme="dark"] .quest-item-head, [data-theme="dark"] .features-head h3, [data-theme="dark"] .quick-ligan-item-head h3 a:hover { color: #E89B6E; }
    [data-theme="dark"] .some-text p, [data-theme="dark"] .section-head p, [data-theme="dark"] .name-label, [data-theme="dark"] .skip-text p { color: var(--muted); }
    [data-theme="dark"] .important-field, [data-theme="dark"] .require-field { color: #ff7b7b; }
    [data-theme="dark"] .home-thick-line, [data-theme="dark"] .home-thin-line { background: var(--line); }
    [data-theme="dark"] .section-head { border-bottom-color: var(--line); }
    [data-theme="dark"] .conversation-box { background-color: var(--surface); }
    [data-theme="dark"] .infoBox { background-color: #2e2814; border-color: #6b5a1e; }
}
@media screen and (max-width: 900px) {
    [data-theme="dark"] .vs-nav { background: var(--surface); }
}
