/*
Theme Name: Van Energy Systems
Description: A precise, mobile-first visual system for campervan electrical engineering.
Version: 0.3.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: van-energy-systems
*/
:root, .editor-styles-wrapper {
  --ves-navy: #102a43; --ves-blue: #146fc2; --ves-charcoal: #1d2935;
  --ves-off-white: #f7f9fa; --ves-green: #55b947; --ves-white: #ffffff;
  --ves-ink: var(--ves-navy); --ves-body: #384957; --ves-muted: #526473;
  --ves-link: #146fc2; --ves-link-hover: #0c4d83; --ves-dark-text: #c7d3df;
  --ves-line: #d6dfe5; --ves-dark-line: #3f5162; --ves-muted-bg: #edf2f5;
  --ves-error: #a52626; --ves-success: #236633; --ves-error-bg: #fff2f2; --ves-success-bg: #eff8f0;
  --ves-container: 78rem; --ves-readable: 44rem; --ves-wide: 90rem;
  --ves-gutter: clamp(1.25rem, 4vw, 3rem);
  --ves-space-1: .25rem; --ves-space-2: .5rem; --ves-space-3: .75rem;
  --ves-space-4: 1rem; --ves-space-5: 1.5rem; --ves-space-6: 2rem;
  --ves-space-7: 3rem; --ves-space-8: 4rem; --ves-space-9: 6rem;
  --ves-section-space: clamp(3.5rem, 7vw, 6.5rem);
  --ves-radius: .25rem; --ves-font: "Segoe UI", Arial, Helvetica, sans-serif;
  --ves-mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --ves-h1: clamp(2.5rem, 5.7vw, 5rem); --ves-h2: clamp(2rem, 3.6vw, 3.25rem);
  --ves-h3: clamp(1.2rem, 1.7vw, 1.5rem); --ves-h4: 1.125rem;
  --ves-body-size: 1.0625rem; --ves-small: .875rem; --ves-label: .75rem;
  --ves-leading: 1.65; --ves-heading-leading: 1.08;
  --ves-button-height: 3.125rem; --ves-header-height: 5.5rem;
  --ves-shadow: 0 .75rem 2rem rgb(16 38 61 / 12%); --ves-motion: 140ms ease;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ves-body); background: var(--ves-off-white); font-family: var(--ves-font); font-size: var(--ves-body-size); line-height: var(--ves-leading); overflow-wrap: anywhere; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0 0 var(--ves-space-5); color: var(--ves-ink); font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--ves-h1); line-height: 1.02; letter-spacing: -.045em; max-width: 18ch; }
h2 { font-size: var(--ves-h2); line-height: var(--ves-heading-leading); letter-spacing: -.035em; max-width: 25ch; }
h3 { font-size: var(--ves-h3); line-height: 1.25; letter-spacing: -.02em; }
h4 { font-size: var(--ves-h4); line-height: 1.3; }
p { margin: 0 0 var(--ves-space-5); max-width: 68ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--ves-link); text-underline-offset: .22em; text-decoration-thickness: 1px; transition: color var(--ves-motion), background-color var(--ves-motion), border-color var(--ves-motion); }
a:hover { color: var(--ves-link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ves-blue); outline-offset: 4px; }
img { max-width: 100%; height: auto; vertical-align: middle; }
figure { margin: 0; } iframe { max-width: 100%; border: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; } address { font-style: normal; }
.ves-container, .ves-shell { width: min(var(--ves-container), calc(100% - var(--ves-gutter) * 2)); margin-inline: auto; }
.ves-container--wide { max-width: var(--ves-wide); }
.ves-prose { max-width: var(--ves-readable); }
.ves-section { padding-block: var(--ves-section-space); }
.ves-section-head { margin-bottom: var(--ves-space-7); }
.ves-section-head h2 { margin-bottom: 0; }
.ves-eyebrow { font-family: var(--ves-mono); font-size: var(--ves-label); font-weight: 600; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; color: var(--ves-link); margin-bottom: var(--ves-space-5); }
.ves-lead { font-size: clamp(1.0625rem, 1.7vw, 1.25rem); line-height: 1.6; max-width: 57ch; }
.ves-small, .ves-card-meta { font-size: var(--ves-small); }
.ves-technical-label { font: .75rem/1.6 var(--ves-mono); letter-spacing: .07em; text-transform: uppercase; }
.ves-surface-muted { background: var(--ves-muted-bg); }
.ves-surface-dark, .ves-surface-charcoal { --ves-ink: var(--ves-white); color: var(--ves-dark-text); background: var(--ves-navy); }
.ves-surface-charcoal { background: var(--ves-charcoal); }
:is(.ves-surface-dark, .ves-surface-charcoal) .ves-eyebrow { color: var(--ves-green); }
:is(.ves-surface-dark, .ves-surface-charcoal) a:not(.ves-button):not(.wp-block-button__link) { color: var(--ves-white); }
.ves-button, .wp-block-button__link, button[type=submit], input[type=submit] { min-height: var(--ves-button-height); display: inline-flex; align-items: center; justify-content: center; gap: var(--ves-space-5); padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: var(--ves-radius); color: var(--ves-white); background: var(--ves-link); font-size: .9375rem; font-weight: 650; line-height: 1.35; text-decoration: none; text-align: center; }
.ves-button:hover, .wp-block-button__link:hover, button[type=submit]:hover { color: var(--ves-white); background: var(--ves-link-hover); }
.ves-button:active, .wp-block-button__link:active { box-shadow: inset 0 0 0 2px currentColor; }
.ves-button span[aria-hidden] { font-size: 1.2rem; }
.ves-button--secondary, .is-style-ves-secondary .wp-block-button__link { background: transparent; border-color: var(--ves-line); color: var(--ves-navy); }
.ves-button--secondary:hover { color: var(--ves-navy); background: var(--ves-muted-bg); border-color: var(--ves-navy); }
.ves-button--light, .is-style-ves-light .wp-block-button__link { color: var(--ves-navy); background: var(--ves-white); }
.ves-button--light:hover, .is-style-ves-light .wp-block-button__link:hover { color: var(--ves-navy); background: var(--ves-muted-bg); }
.ves-button--text { color: var(--ves-link); padding-inline: 0; background: transparent; text-decoration: underline; text-underline-offset: .3em; }
.ves-button--text:hover { color: var(--ves-link-hover); background: transparent; }
.ves-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ves-space-5); }
.ves-actions p { margin: 0; }
.ves-actions:empty { display: none; }
.site-header { background: var(--ves-white); border-bottom: 1px solid var(--ves-line); position: relative; z-index: 20; }
.ves-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: var(--ves-header-height); gap: var(--ves-space-4); padding-block: var(--ves-space-4); }
.ves-brand { display: inline-flex; text-decoration: none; color: var(--ves-navy); font-size: 1.125rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; text-transform: uppercase; flex-shrink: 0; }
.ves-brand span { max-width: 12ch; }
.ves-brand:hover { color: var(--ves-link); }
.ves-brand img { width: auto; max-width: 12rem; max-height: 3.5rem; object-fit: contain; }
.ves-menu-toggle { display: flex; align-items: center; gap: var(--ves-space-3); min-height: 44px; padding: .5rem .75rem; color: var(--ves-navy); border: 1px solid var(--ves-line); background: var(--ves-white); border-radius: var(--ves-radius); font-size: .875rem; font-weight: 600; }
.ves-menu-icon { display: block; width: 1.1rem; height: .6rem; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.ves-menu-toggle[aria-expanded=true] .ves-menu-icon { height: 2px; border-bottom: 0; }
.ves-primary-nav { width: 100%; }
.ves-menu, .sub-menu { list-style: none; padding: 0; margin: 0; }
.ves-menu a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ves-navy); font-size: .875rem; font-weight: 550; text-decoration: none; }
.ves-menu a:hover, .ves-menu .current-menu-item > a { color: var(--ves-link); text-decoration: underline; text-underline-offset: .5em; }
.ves-menu li { position: relative; }
.ves-primary-nav .sub-menu { padding-left: var(--ves-space-5); }
.ves-submenu-toggle { width: 44px; height: 44px; padding: 0; border: 0; color: var(--ves-navy); background: transparent; vertical-align: middle; border-radius: var(--ves-radius); }
.ves-submenu-toggle:hover { background: var(--ves-muted-bg); }
.ves-submenu-toggle[aria-expanded=true] span { display: inline-block; transform: rotate(180deg); }
.ves-js .ves-primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto; background: var(--ves-white); border-bottom: 1px solid var(--ves-line); padding: var(--ves-space-5) var(--ves-gutter) var(--ves-space-6); box-shadow: var(--ves-shadow); max-height: calc(100dvh - var(--ves-header-height)); overflow-y: auto; }
.ves-js .ves-nav-open .ves-primary-nav { display: block; }
.ves-js .ves-primary-nav .sub-menu { display: none; }
.ves-js .ves-primary-nav .ves-submenu-open > .sub-menu { display: block; }
.ves-primary-nav > .ves-button { margin-top: var(--ves-space-5); }
.ves-home-hero { padding-block: clamp(3rem, 6vw, 5.5rem) var(--ves-space-6); overflow: clip; }
.ves-hero-grid { display: grid; gap: var(--ves-space-7); align-items: start; }
.ves-hero-copy h1 { max-width: 15ch; }
.ves-hero-copy .ves-lead { max-width: 51ch; margin-block: var(--ves-space-6); }
.ves-hero-copy .ves-eyebrow::before { content: ""; display: inline-block; width: .4rem; height: .4rem; background: var(--ves-green); margin-right: .65rem; vertical-align: .12em; }
.ves-hero-secondary a { display: inline-flex; gap: var(--ves-space-4); align-items: center; min-height: 48px; font-size: .9375rem; }
.ves-system-brief { border-left: 1px solid var(--ves-dark-line); padding-left: var(--ves-space-5); }
.ves-system-brief h2 { font-size: 1.75rem; max-width: 14ch; }
.ves-system-brief > p:not(.ves-eyebrow) { font-size: .9375rem; }
.ves-brief-row { border-top: 1px solid var(--ves-dark-line); padding-block: var(--ves-space-4); }
.ves-brief-row h3 { font-size: .9375rem; margin-bottom: .25rem; letter-spacing: 0; }
.ves-brief-row p { font-size: .875rem; margin: 0; }
.ves-hero-baseline { border-top: 1px solid var(--ves-dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--ves-space-4); margin-top: var(--ves-space-7); padding-top: var(--ves-space-5); }
.ves-hero-baseline p { margin: 0; }
.ves-home-hero-image { display: block; width: 100%; max-height: 36rem; object-fit: cover; margin-top: var(--ves-space-7); border-radius: var(--ves-radius); }
.ves-card-grid, .ves-grid { display: grid; grid-template-columns: 1fr; gap: var(--ves-space-4); margin: 0; padding: 0; list-style: none; }
.ves-card-grid.wp-block-group > *, .ves-split.wp-block-group > *, .ves-hero-grid.wp-block-group > *, .ves-hero-baseline.wp-block-group > * { margin-block: 0; }
.ves-grid > li { min-width: 0; }
.ves-card { background: var(--ves-white); border: 1px solid var(--ves-line); border-radius: var(--ves-radius); min-width: 0; height: 100%; }
.ves-card-body { padding: var(--ves-space-5); }
.ves-card :is(h2, h3) { font-size: var(--ves-h3); line-height: 1.25; margin-bottom: var(--ves-space-4); }
.ves-card p { font-size: .9375rem; }
.ves-card .ves-card-number { font: .75rem/1.5 var(--ves-mono); color: var(--ves-link); margin-bottom: var(--ves-space-7); }
.ves-card a { color: var(--ves-navy); text-decoration: underline; text-underline-offset: .3em; }
.ves-card:has(a):hover { border-color: var(--ves-link); }
.ves-card-media { overflow: hidden; aspect-ratio: 4/3; border-bottom: 1px solid var(--ves-line); }
.ves-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ves-card .ves-card-meta { font-size: .8125rem; margin-bottom: var(--ves-space-2); line-height: 1.5; }
.ves-card-meta span { color: var(--ves-muted); display: block; font: .6875rem/1.7 var(--ves-mono); letter-spacing: .05em; text-transform: uppercase; }
.ves-card-meta + p:not(.ves-card-meta) { margin-top: var(--ves-space-5); }
.ves-split { display: grid; gap: var(--ves-space-7); align-items: start; }
.ves-split-media:empty { display: none; }
.ves-split-media img { display: block; width: 100%; border-radius: var(--ves-radius); }
.ves-info-panel { border-left: 3px solid var(--ves-blue); padding: var(--ves-space-5); background: var(--ves-white); }
.ves-info-panel h3 { margin-bottom: var(--ves-space-3); }
.ves-info-panel p { font-size: .9375rem; }
.ves-flagship { border-top: 3px solid var(--ves-green); }
.ves-flagship .ves-section-head h2 { max-width: 15ch; }
.ves-engineering-panel { border: 1px solid var(--ves-dark-line); padding: var(--ves-space-5); border-radius: var(--ves-radius); }
.ves-engineering-panel .ves-card { background: transparent; border: 0; border-top: 1px solid var(--ves-dark-line); border-radius: 0; padding-inline: 0; }
.ves-engineering-panel .ves-card-number { color: var(--ves-green); margin-bottom: var(--ves-space-4); }
.ves-engineering-panel .ves-card h3 { font-size: 1.125rem; }
.ves-engineering-panel > .ves-small { padding-top: var(--ves-space-5); border-top: 1px solid var(--ves-dark-line); margin-top: var(--ves-space-4); }
.ves-victron-cards .ves-card { border-top: 3px solid var(--ves-blue); }
.ves-feature-grid .ves-card { display: flex; gap: var(--ves-space-4); align-items: baseline; padding: var(--ves-space-5); }
.ves-feature-grid .ves-card-number, .ves-feature-grid h3 { margin: 0; }
.ves-feature-grid h3 { font-size: 1.0625rem; }
.ves-process .ves-card { background: transparent; border: 0; border-top: 1px solid var(--ves-line); border-radius: 0; padding-inline: 0; }
.ves-process .ves-card-number { font-size: 1.5rem; }
.ves-compact-section .ves-container { display: grid; gap: var(--ves-space-5); }
.ves-compact-section .ves-section-head { margin-bottom: 0; }
.ves-faq { max-width: 58rem; }
.ves-faq details, details.wp-block-details { border-top: 1px solid var(--ves-line); padding-block: var(--ves-space-5); }
.ves-faq details:last-child { border-bottom: 1px solid var(--ves-line); }
.ves-faq summary, .wp-block-details summary { color: var(--ves-navy); font-size: 1.0625rem; font-weight: 650; cursor: pointer; min-height: 44px; padding: .5rem 2rem .5rem 0; position: relative; list-style: none; }
.ves-faq summary::-webkit-details-marker { display: none; }
.ves-faq summary::after { content: "+"; position: absolute; right: .25rem; top: .3rem; font-size: 1.5rem; line-height: 1.5; font-weight: 400; }
.ves-faq details[open] > summary::after { content: "−"; }
.ves-faq details p { padding-top: var(--ves-space-3); max-width: 66ch; }
.ves-workshop-grid { display: grid; gap: var(--ves-space-7); }
.ves-workshop-grid h3 { font-size: 1.0625rem; }
.ves-hours { margin: 0; }
.ves-hours > div { margin-bottom: var(--ves-space-3); }
.ves-hours dt { font-size: .875rem; }
.ves-hours dd { margin: 0; font-weight: 600; }
.ves-map { width: 100%; height: 26rem; display: block; border-radius: var(--ves-radius); }
.ves-workshop .ves-section { padding-bottom: 0; }
.ves-final-cta h2 { max-width: 18ch; }
.ves-contact-links { display: flex; flex-direction: column; gap: var(--ves-space-3); }
.ves-final-cta .ves-contact-links { margin-top: var(--ves-space-6); font-size: 1.25rem; }
.ves-cta > .ves-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ves-space-6); }
.ves-cta h2 { margin: 0; }
.site-footer { color: var(--ves-dark-text); background: var(--ves-charcoal); padding-block: var(--ves-space-8) var(--ves-space-6); font-size: .9375rem; }
.site-footer h2 { font-size: .875rem; letter-spacing: .04em; color: var(--ves-white); }
.site-footer .ves-brand { color: var(--ves-white); font-size: 1.5rem; margin-bottom: var(--ves-space-5); }
.site-footer a { color: var(--ves-dark-text); }
.site-footer a:hover { color: var(--ves-white); }
.ves-footer-grid { display: grid; gap: var(--ves-space-7); }
.ves-footer-brand p { max-width: 24ch; }
.ves-footer-navigation ul { list-style: none; margin: 0; padding: 0; }
.ves-footer-navigation a { min-height: 36px; font-size: .875rem; font-weight: 400; }
.ves-footer-navigation .sub-menu { padding-left: var(--ves-space-4); font-size: .875rem; }
.ves-footer-bottom { border-top: 1px solid var(--ves-dark-line); padding-top: var(--ves-space-6); margin-top: var(--ves-space-7); display: flex; flex-wrap: wrap; align-items: center; gap: var(--ves-space-5); font-size: .8125rem; }
.ves-footer-bottom p { margin: 0; max-width: 64ch; }
.ves-social, .ves-legal { display: flex; flex-wrap: wrap; gap: var(--ves-space-4); list-style: none; padding: 0; margin: var(--ves-space-4) 0 0; }
.ves-legal a, .ves-social a { display: inline-flex; align-items: center; min-height: 44px; }
.ves-proret-logo { max-width: 6rem; max-height: 3rem; object-fit: contain; }
.ves-page-hero { padding-block: var(--ves-section-space); background: var(--ves-muted-bg); }
.ves-page-hero h1 { max-width: 20ch; }
.ves-page-hero .ves-lead { margin-top: var(--ves-space-6); }
.ves-hero-image { display: block; width: 100%; max-height: 38rem; object-fit: cover; margin-top: var(--ves-space-7); border-radius: var(--ves-radius); }
.ves-page-content { padding-block: var(--ves-space-7); }
.entry-content > :not(.ves-section):not(.ves-home-hero):not(.alignfull) { width: min(var(--ves-readable), calc(100% - var(--ves-gutter) * 2)); margin-inline: auto; }
.entry-content > .alignwide { width: min(var(--ves-container), calc(100% - var(--ves-gutter) * 2)); }
.entry-content > .ves-section { width: 100%; max-width: none; }
.entry-content .ves-container p, .entry-content .ves-container h2 { margin-inline: 0; }
.ves-gallery, .entry-content > .ves-gallery, .ves-details, .ves-project-body > .ves-section { width: min(var(--ves-container), calc(100% - var(--ves-gutter) * 2)); margin-inline: auto; }
.ves-gallery .ves-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ves-space-3); }
.ves-gallery a { display: block; border-radius: var(--ves-radius); overflow: hidden; }
.ves-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ves-gallery a:hover { outline: 2px solid var(--ves-blue); outline-offset: 2px; }
.ves-details { display: grid; gap: var(--ves-space-3) var(--ves-space-6); padding-block: var(--ves-space-6); border-top: 1px solid var(--ves-line); border-bottom: 1px solid var(--ves-line); }
.ves-details dt { font: .75rem/1.7 var(--ves-mono); color: var(--ves-muted); text-transform: uppercase; }
.ves-details dd { margin: 0 0 var(--ves-space-5); }
.ves-video { width: 100%; aspect-ratio: 16/9; display: block; }
.ves-lightbox { background: var(--ves-charcoal); color: var(--ves-white); border: 1px solid var(--ves-dark-line); border-radius: var(--ves-radius); padding: var(--ves-space-4); width: min(74rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); }
.ves-lightbox::backdrop { background: rgb(0 0 0 / 85%); }
.ves-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--ves-space-4); margin-bottom: var(--ves-space-4); }
.ves-lightbox-controls { display: flex; gap: var(--ves-space-2); }
.ves-lightbox button { color: var(--ves-white); background: transparent; border: 1px solid var(--ves-dark-line); border-radius: var(--ves-radius); min-width: 44px; min-height: 44px; }
.ves-lightbox button:hover { background: var(--ves-navy); }
.ves-lightbox img { display: block; max-height: calc(100dvh - 10rem); max-width: 100%; width: auto; margin-inline: auto; object-fit: contain; touch-action: pan-y; }
.ves-lightbox p { margin: 0; }
.ves-breadcrumbs { padding-block: var(--ves-space-5); font-size: .8125rem; color: var(--ves-muted); }
.ves-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--ves-space-3); list-style: none; padding: 0; margin: 0; }
.ves-breadcrumbs a { text-underline-offset: .3em; }
.ves-archive, .ves-search, .ves-error-page { padding-block: var(--ves-section-space); min-height: 45vh; }
.ves-archive > h1, .ves-search > h1 { margin-bottom: var(--ves-space-7); }
.ves-search article { padding-block: var(--ves-space-6); border-bottom: 1px solid var(--ves-line); max-width: var(--ves-readable); }
.ves-search article h2 { font-size: var(--ves-h3); }
.ves-field { margin-bottom: var(--ves-space-5); }
label, legend { color: var(--ves-navy); font-weight: 600; font-size: .9375rem; }
.ves-field label { display: block; margin-bottom: var(--ves-space-2); }
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]), select, textarea { display: block; width: 100%; max-width: 100%; min-height: 48px; border: 1px solid var(--ves-muted); background: var(--ves-white); color: var(--ves-navy); border-radius: var(--ves-radius); padding: .7rem .85rem; font-size: 1rem; }
textarea { min-height: 10rem; resize: vertical; }
input[type=checkbox], input[type=radio] { width: 1.25rem; height: 1.25rem; margin: 0 .5rem 0 0; accent-color: var(--ves-link); vertical-align: middle; }
.ves-choice { min-height: 44px; display: flex; align-items: center; gap: var(--ves-space-2); }
input[type=file]::file-selector-button { color: var(--ves-navy); background: var(--ves-muted-bg); border: 1px solid var(--ves-line); border-radius: var(--ves-radius); padding: .5rem; margin-right: var(--ves-space-4); }
[aria-invalid=true] { border-color: var(--ves-error) !important; border-width: 2px !important; }
.ves-help { font-size: var(--ves-small); color: var(--ves-muted); margin-top: var(--ves-space-2); }
.ves-field-error { font-size: var(--ves-small); font-weight: 600; color: var(--ves-error); margin-top: var(--ves-space-2); }
.ves-notice { border: 1px solid var(--ves-line); border-left-width: 4px; padding: var(--ves-space-5); margin-block: var(--ves-space-5); }
.ves-notice--error { color: var(--ves-error); background: var(--ves-error-bg); border-color: var(--ves-error); }
.ves-notice--success { color: var(--ves-success); background: var(--ves-success-bg); border-color: var(--ves-success); }
fieldset { border: 1px solid var(--ves-line); margin: 0 0 var(--ves-space-5); padding: var(--ves-space-5); }
.ves-search-form { max-width: 36rem; display: grid; gap: var(--ves-space-3); margin-bottom: var(--ves-space-7); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 100; width: auto; height: auto; clip-path: none; padding: 1rem; color: var(--ves-navy); background: var(--ves-white); }
.wp-caption { max-width: 100%; } .wp-caption-text, .gallery-caption { font-size: var(--ves-small); }
@media (min-width: 40rem) {
  .ves-card-grid, .ves-grid, .ves-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ves-gallery .ves-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ves-details { grid-template-columns: 12rem 1fr; }
}
@media (min-width: 60rem) {
  .ves-hero-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, .8fr); gap: var(--ves-space-8); }
  .ves-system-brief { margin-top: var(--ves-space-2); padding-left: var(--ves-space-6); }
  .ves-split:has(> :nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ves-split.is-style-ves-reverse > :first-child { order: 2; }
  .ves-card-grid, .ves-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ves-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ves-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ves-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ves-compact-section .ves-container { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--ves-space-8); }
  .ves-workshop-grid { grid-template-columns: 1fr 1fr 1.5fr; }
  .ves-gallery .ves-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ves-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 75rem) {
  .ves-header-inner { flex-wrap: nowrap; gap: var(--ves-space-6); }
  .ves-menu-toggle { display: none; }
  .ves-js .ves-primary-nav, .ves-primary-nav { position: static; display: flex; width: auto; align-items: center; gap: var(--ves-space-6); padding: 0; box-shadow: none; border: 0; overflow: visible; max-height: none; }
  .ves-primary-nav > .ves-menu { display: flex; align-items: center; gap: var(--ves-space-5); }
  .ves-primary-nav > .ves-button { margin-top: 0; flex-shrink: 0; }
  .ves-primary-nav .ves-menu > li { display: flex; flex-wrap: wrap; align-items: center; }
  .ves-primary-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 16rem; background: var(--ves-white); border: 1px solid var(--ves-line); box-shadow: var(--ves-shadow); padding: var(--ves-space-3); z-index: 21; }
  .ves-primary-nav .sub-menu a { display: inline-flex; padding-inline: var(--ves-space-3); }
  .ves-primary-nav .sub-menu .sub-menu { position: static; box-shadow: none; border: 0; padding-left: var(--ves-space-4); }
  html:not(.ves-js) .ves-primary-nav .sub-menu { position: static; box-shadow: none; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Approved Version B: blue-led engineering identity. */
:root, .editor-styles-wrapper { --ves-radius: .5rem; --ves-section-space: clamp(3rem, 5vw, 5rem); --ves-h1: clamp(2.4rem, 4.25vw, 4.1rem); --ves-h2: clamp(1.9rem, 3vw, 2.7rem); }
.ves-brand span { max-width: 19ch; }
.ves-home-hero, .ves-final-cta, .ves-cta {
 background-color: var(--ves-navy);
 background-image: linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px), linear-gradient(115deg, #07599f 0%, #104a78 48%, #102a43 100%);
 background-size: 36px 36px, 36px 36px, auto;
 color: #edf5fc;
}
.ves-home-hero { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.ves-hero-copy h1 { max-width: 19ch; }
.ves-hero-copy .ves-lead { font-size: 1.0625rem; line-height: 1.65; }
.ves-home-hero .ves-eyebrow, .ves-final-cta .ves-eyebrow, .ves-cta .ves-eyebrow { color: #e0edfa; }
.ves-home-hero .ves-button--primary { color: var(--ves-navy); background: white; border-color: white; box-shadow: 0 5px 20px rgb(0 0 0 / 12%); }
.ves-home-hero .ves-button--primary:hover { background: #e2f0fc; }
.ves-home-hero :focus-visible, .ves-final-cta :focus-visible { outline-color: white; }
.ves-system-brief { padding: 1.5rem; background: rgb(10 35 58 / 94%); border: 1px solid #55738d; border-top: 3px solid var(--ves-green); border-radius: var(--ves-radius); box-shadow: 0 16px 40px rgb(0 0 0 / 16%); }
.ves-system-brief h2 { font-size: 1.4rem; max-width: none; }
.ves-system-brief > .ves-eyebrow { font-size: .65rem; }
.ves-brief-row { position: relative; padding-left: 1rem; border-color: #385771; }
.ves-brief-row::before { content: ''; position: absolute; left: 0; top: 1.4rem; height: .35rem; width: .35rem; border-radius: 50%; background: var(--ves-green); }
.ves-hero-baseline { border-color: #55738d; }
.ves-hero-visual { margin: 0; min-width: 0; }
.ves-hero-visual img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--ves-radius); border: 1px solid #55738d; }
.ves-hero-visual figcaption { font-size: .75rem; line-height: 1.5; color: #d4e2ef; margin-top: .6rem; }
.ves-hero-visual .ves-home-hero-image { margin-top: 0; }
.ves-section-head .ves-eyebrow::before { content: ''; display: inline-block; width: 1.25rem; height: 2px; background: var(--ves-blue); margin: 0 .6rem .2rem 0; }
.ves-card { box-shadow: 0 6px 22px rgb(16 42 67 / 5%); border-color: #e0e8ef; }
.ves-card-body { padding: 1.75rem; }
.ves-card .ves-card-number { display: inline-flex; justify-content: center; align-items: center; min-width: 2.5rem; height: 2.5rem; padding: .3rem; background: #eaf4fe; border-radius: .4rem; font-size: .9rem; font-weight: 700; margin-bottom: 1.5rem; }
.ves-surface-muted { background: #edf5fb; }
.ves-flagship { background: linear-gradient(120deg, #102a43, #094f88); }
.ves-engineering-panel { background: rgb(7 33 54 / 40%); border-color: #55738d; }
.ves-engineering-panel .ves-card { box-shadow: none; }
.ves-engineering-panel .ves-card-number { color: white; background: #17517e; }
.ves-process .ves-card { box-shadow: none; border-top: 2px solid #d8e8f6; }
.ves-process .ves-card-number { color: white; background: var(--ves-blue); border-radius: 50%; }
.ves-feature-grid .ves-card { align-items: center; }
.ves-feature-grid .ves-card-number { margin: 0; flex-shrink: 0; }
.ves-faq details { margin-bottom: .75rem; padding: .5rem 1.25rem; border: 1px solid var(--ves-line); border-radius: var(--ves-radius); background: white; }
.ves-workshop { background: #edf5fb; }
.ves-final-cta { border-top: 3px solid var(--ves-blue); }
.site-footer { background: var(--ves-navy); }
@media (min-width: 60rem) {
 .ves-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
 .ves-hero-visual { grid-column: 2; grid-row: 1; }
 .ves-hero-copy { grid-column: 1; grid-row: 1; }
 .ves-system-brief { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-top: 0; }
 .ves-system-brief > .ves-eyebrow, .ves-system-brief > h2, .ves-system-brief > p { grid-column: 1 / -1; margin: 0; }
 .ves-system-brief > .ves-eyebrow, .ves-system-brief > p { display: none; }
 .ves-system-brief > h2 { display: block; }
 .ves-brief-row { border-top: 0; padding-block: .5rem; }
 .ves-brief-row::before { top: .9rem; }
}
@media (min-width: 90rem) {
 .ves-hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.05fr) minmax(0, .85fr); gap: 1.75rem; }
 .ves-system-brief { grid-column: 3; grid-row: 1; display: block; padding: 1.25rem; }
 .ves-brief-row { border-top: 1px solid #385771; padding-block: 1rem; }
 .ves-brief-row:first-of-type { border-top: 0; }
 .ves-brief-row::before { top: 1.4rem; }
 .ves-hero-copy h1 { font-size: 2.8rem; }
 .ves-system-brief > h2 { margin-bottom: 1rem; }
 .ves-hero-visual img { aspect-ratio: 4/5; }
}

@media (max-width: 25rem) { .ves-brand span { max-width: 12ch; } }
