/* ============================================================
   VINCO SPORT — site design system (canonical brand layer)
   Loaded after the token layers. Reconciles the imported tokens
   with the canonical Vinco brand: Montserrat body, square corners
   + one 45° chamfer, gold accent text, links never red, and the
   3px red rule. Adds motion + light/dark theming for the site.
   ============================================================ */

:root {
	/* Body reads in Montserrat; Exo 2 stays for display/headings/labels. */
	--font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Angular shape language — square everything, one chamfer flourish. */
	--radius-none: 0; --radius-xs: 0; --radius-sm: 0; --radius-md: 0;
	--radius-lg: 0; --radius-xl: 0; --radius-2xl: 0;
	--cut: 10px;
	--cut-sm: 7px;
	--chamfer: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
	--chamfer-sm: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));

	/* Accent text (eyebrows/labels): gold on dark. Links: gold + underline. */
	--text-accent: #f3bd28;
	--text-link:   #f3bd28;
	--vs-page-max: var(--container-xl);
}

/* Accent text + links deepen to neutral on light (gold fails small-text AA on white).
   --text-muted is pulled to the canonical brand value (#636b78) so muted copy
   clears AA 4.5:1 on white/#f6f7f9 (the imported #79828f only reached ~3.7:1). */
.theme-light {
	--text-accent: #4c545f;
	--text-link:   #353b44;
	--text-muted:  #636b78;
}

/* ---- Focus: a keyboard ring that survives clip-path ----
   The token outline sits outside the element and is clipped away by the 45°
   chamfer, so chamfered controls draw an inset ring instead. Non-clipped
   elements (inputs, plain links) keep the standard offset outline from base.css. */
.vs-btn:focus-visible,
.vs-scard:focus-visible,
.vs-crosslink:focus-visible,
.vs-theme-toggle:focus-visible,
.vs-burger:focus-visible,
.vs-pill:focus-visible,
.vs-tab:focus-visible,
.vs-drop-link:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 2px var(--border-focus);
}
/* On the red primary the ring must contrast against red — use white. */
.vs-btn--primary:focus-visible {
	box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 4px var(--accent-press);
}

/* The theme flips instantly (all surfaces at once) — a staggered background
   crossfade reads as broken, and the brand favours decisive motion. */
html { scroll-behavior: smooth; }
html, body { background: var(--bg-base); }
body {
	font-family: var(--font-body);
	color: var(--text-primary);
}
main { display: block; }

/* Headings stay on the brand face; body prose on Montserrat. */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

/* Content links: secondary colour + underline, never red. Buttons and the
   self-styled nav/index links opt out. */
main a:not(.vs-btn):not(.vs-scard):not(.vs-crosslink):not(.vs-logo):not(.vs-subnav-link):not(.vs-legal-idx-link):not(.vs-crumb) {
	color: var(--text-link);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
	transition: color var(--dur-fast) var(--ease-out);
}

/* Numbers align in mono. */
.vs-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* The home hero is an always-dark cinematic band in both themes, so its text
   stays on the on-dark inks. The background is composed in CSS (no loud photo):
   a deep neutral gradient, a faint warm glow off the top-right, and fine angular
   "speed" hairlines that fade in from the right so the text column stays clean. */
.vs-home-hero {
	--text-primary:   #f4f6f8;
	--text-secondary: #aab2bf;
	--text-accent:    #f3bd28;
	position: relative;
	min-height: 660px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background:
		radial-gradient(120% 120% at 88% 0%, rgba(197, 57, 25, 0.16) 0%, rgba(197, 57, 25, 0) 44%),
		linear-gradient(158deg, #16191f 0%, #0c0f13 52%, #0a0c0f 100%);
}
/* Fine angular "speed" hairlines, fading in from the right so the text stays clean. */
.vs-home-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background-image: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.035) 0 1px, rgba(255, 255, 255, 0) 1px 60px);
	-webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 88%);
	mask-image: linear-gradient(90deg, transparent 30%, #000 88%);
}
.vs-home-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; pointer-events: none; z-index: 2;
	background: linear-gradient(180deg, rgba(10, 12, 15, 0) 0%, var(--bg-base) 100%);
}
/* FX layer — a breathing red glow and a large faint finish-line motif filling the
   right so the hero reads as broadcast + track & field, not half-empty. */
.vs-home-hero-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.vs-hero-glow {
	position: absolute; top: -22%; right: -6%; width: min(60vw, 780px); aspect-ratio: 1;
	background: radial-gradient(circle at center, rgba(197, 57, 25, 0.28) 0%, rgba(197, 57, 25, 0) 62%);
	animation: vs-breathe 7s var(--ease-in-out) infinite;
}
.vs-hero-motif {
	position: absolute; right: -30px; bottom: -40px; width: min(48vw, 640px); aspect-ratio: 1;
	background: url("../img/motif-finish-line.png") right bottom / contain no-repeat;
	filter: invert(1); opacity: .06;
}
@keyframes vs-breathe { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

/* Image-led hero — a full-bleed photo behind the headline with a left-weighted
   dark scrim so the text stays legible and the subject reads on the right. */
.vs-home-hero--image { background: #0a0c0f; }
.vs-home-hero--image::before { display: none; } /* no hairlines over a photo */
.vs-home-hero-media {
	position: absolute; inset: 0; z-index: 0;
	background-size: cover; background-position: 62% center;
	animation: vs-hero-zoom 18s var(--ease-out) both;
}
.vs-home-hero-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg,
		rgba(10, 12, 15, 0.94) 0%, rgba(10, 12, 15, 0.80) 34%,
		rgba(10, 12, 15, 0.52) 66%, rgba(10, 12, 15, 0.40) 100%);
}
/* A slow, subtle push-in on first load — broadcast, never busy. */
@keyframes vs-hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
/* On phones the text fills the width, so the scrim goes vertical + heavier to
   keep the headline legible while the photo still reads as a moody backdrop. */
@media (max-width: 860px) {
	.vs-home-hero-media { background-position: center; }
	.vs-home-hero-media::after {
		background: linear-gradient(180deg, rgba(10, 12, 15, 0.86) 0%, rgba(10, 12, 15, 0.66) 46%, rgba(10, 12, 15, 0.92) 100%);
	}
}

.vs-home-hero-inner {
	position: relative; z-index: 3;
	max-width: var(--vs-page-max); width: 100%; margin: 0 auto; padding: 104px 40px;
	display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}

/* Kicker row: eyebrow + a live broadcast bug. */
.vs-hero-kicker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vs-live-chip {
	display: inline-flex; align-items: center; gap: 7px;
	font-family: var(--font-display); font-weight: 800; font-size: 11px;
	letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-primary);
	padding: 5px 11px; clip-path: var(--chamfer-sm); box-shadow: inset 0 0 0 1px var(--border-default);
}
.vs-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: vs-livepulse 1.9s ease-out infinite; }
@keyframes vs-livepulse { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 32, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(255, 45, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 32, 0); } }

/* Huge headline + the one red chamfer marker (the signature hook). */
.vs-hero-h1 {
	margin: 0; max-width: 15ch;
	font-family: var(--font-display); font-weight: 900;
	/* Looser leading so the filled marker never overlaps the line above/below. */
	font-size: clamp(46px, 6vw, 82px); line-height: 1.14; letter-spacing: var(--tracking-tighter);
	color: var(--text-primary); text-wrap: balance;
}
.vs-mark {
	display: inline-block; color: #fff; background: var(--accent); white-space: nowrap;
	padding: 0.02em 0.16em; margin: 0 -0.04em; line-height: 1; clip-path: var(--chamfer-sm);
}
.vs-hero-lede { margin: 0; max-width: 52ch; font-size: 18px; line-height: 1.6; color: var(--text-secondary); }

/* Decisive staggered load-in for the hero. */
@keyframes vs-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.vs-home-hero-inner > * { animation: vs-rise 0.7s var(--ease-out) both; }
.vs-home-hero-inner > :nth-child(1) { animation-delay: .04s; }
.vs-home-hero-inner > :nth-child(2) { animation-delay: .12s; }
.vs-home-hero-inner > :nth-child(3) { animation-delay: .20s; }
.vs-home-hero-inner > :nth-child(4) { animation-delay: .28s; }

/* Hero CTA pair wraps rather than overflowing on the narrowest phones. The
   max-width caps the row to its column (it sits in an align-items:flex-start
   column, so without it the row sizes to both buttons on one line). */
.vs-hero-cta { flex-wrap: wrap; max-width: 100%; }

/* Grid/flex children default to min-width:auto, which refuses to shrink below
   their content and blows tracks past the container on narrow screens. Let them
   shrink so every grid collapses cleanly. */
.vs-hero-grid > *, .vs-grid-3 > *, .vs-grid-4 > *, .vs-steps > *, .vs-contact-inner > * { min-width: 0; }

/* Eyebrow — Exo 2, gold/neutral, tracked uppercase. */
.vs-eyebrow {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--text-accent);
}

/* ---- Chamfer helpers (borders drawn as inset shadow so they follow the cut) ---- */
.vs-cut  { border: 0 !important; clip-path: var(--chamfer);    box-shadow: inset 0 0 0 1px var(--border-subtle); }
.vs-cut--feature { box-shadow: inset 0 0 0 1px var(--border-subtle); }
.vs-cut--left    { box-shadow: inset 3px 0 0 0 var(--accent), inset 0 0 0 1px var(--border-subtle); }

/* Signature: the 3px red rule on emphasis surfaces sweeps in left-to-right on
   reveal (a finish-line wipe). Static when above the fold or reduced-motion,
   since the wipe only arms on elements the reveal observer primed. */
.vs-cut--feature, .vs-scard--feature, .vs-contact-card { position: relative; }
.vs-cut--feature::after, .vs-scard--feature::after, .vs-contact-card::after {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: var(--accent); transform-origin: left;
}
.vs-cut--feature.vs-reveal::after, .vs-scard--feature.vs-reveal::after, .vs-contact-card.vs-reveal::after {
	transform: scaleX(0); transition: transform var(--dur-slower) var(--ease-out) 140ms;
}
.vs-cut--feature.vs-reveal.is-in::after, .vs-scard--feature.vs-reveal.is-in::after, .vs-contact-card.vs-reveal.is-in::after {
	transform: scaleX(1);
}
.vs-lift { transition: transform var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.vs-lift:hover { transform: translateY(-3px); filter: drop-shadow(0 16px 34px rgba(0,0,0,.5)); }
.theme-light .vs-lift:hover { filter: drop-shadow(0 14px 30px rgba(16,19,23,.14)); }

/* ============================================================
   Buttons — one red primary per view; square with a small chamfer.
   ============================================================ */
.vs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font-display); font-weight: 600; line-height: 1;
	letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
	border: 0; clip-path: var(--chamfer-sm);
	transition: background-color var(--dur-fast) var(--ease-snap), color var(--dur-fast) var(--ease-snap), transform var(--dur-instant) var(--ease-snap), box-shadow var(--dur-fast) var(--ease-out);
	white-space: nowrap;
}
.vs-btn--sm { padding: 8px 14px; font-size: 13px; }
.vs-btn--md { padding: 11px 18px; font-size: 14px; }
.vs-btn--lg { padding: 15px 24px; font-size: 15px; }
.vs-btn--block { width: 100%; }
.vs-btn:active { transform: translateY(1px); }

.vs-btn--primary { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.vs-btn--primary:hover { background: var(--accent-hover); box-shadow: inset 0 0 0 1px var(--accent-hover), var(--glow-accent); color: #fff; }

.vs-btn--outline { background: transparent; color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border-strong); }
.vs-btn--outline:hover { box-shadow: inset 0 0 0 1px var(--text-primary); background: var(--fill-subtle); }

.vs-btn--ghost { background: transparent; color: var(--text-secondary); }
.vs-btn--ghost:hover { color: var(--text-primary); background: var(--fill-subtle); }

/* ============================================================
   Badge — gold, the recognition colour (never a primary action).
   ============================================================ */
.vs-badge {
	display: inline-flex; align-items: center;
	font-family: var(--font-display); font-weight: 700; font-size: 11px;
	letter-spacing: var(--tracking-wide); text-transform: uppercase;
	padding: 4px 9px; clip-path: var(--chamfer-sm);
	color: var(--secondary); background: var(--secondary-subtle);
	box-shadow: inset 0 0 0 1px var(--secondary-border);
}

/* Skip link — visible only when focused. */
.vs-skip {
	position: fixed; left: 12px; top: -80px; z-index: var(--z-toast);
	background: var(--accent); color: #fff; padding: 12px 18px;
	font-family: var(--font-display); font-weight: 700; font-size: 14px; text-decoration: none;
	clip-path: var(--chamfer-sm); transition: top var(--dur-fast) var(--ease-out);
}
.vs-skip:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }
#vs-content:focus { outline: none; }

/* ============================================================
   Header
   ============================================================ */
.vs-header {
	position: sticky; top: 0; z-index: var(--z-header);
	background: color-mix(in srgb, var(--bg-base) 88%, transparent);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border-subtle);
}
.vs-header-inner { max-width: var(--vs-page-max); margin: 0 auto; padding: 0 40px; height: 72px; display: flex; align-items: center; gap: 32px; }
.vs-logo { display: flex; align-items: center; flex: none; }
.vs-logo img { height: 24px; display: block; }
.theme-light .vs-logo img { filter: invert(1) brightness(.12); } /* white lockup → near-black on light */

.vs-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.vs-nav-group { position: relative; }
.vs-nav-btn {
	position: relative; display: flex; align-items: center; gap: 7px;
	background: none; border: none; cursor: pointer; padding: 26px 14px;
	font-family: var(--font-display); font-size: 12px; font-weight: 700;
	letter-spacing: var(--tracking-caps); text-transform: uppercase;
	color: var(--text-secondary); transition: color var(--dur-fast) var(--ease-out);
}
.vs-nav-btn:hover, .vs-nav-group:hover .vs-nav-btn { color: var(--text-primary); }
.vs-nav-btn svg { transition: transform var(--dur-fast) var(--ease-out); }
.vs-nav-group:hover .vs-nav-btn svg { transform: translateY(1px); }
.vs-nav-btn.is-active::after,
.vs-nav-group:hover .vs-nav-btn::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--accent);
	transform: scaleX(1); transform-origin: left; transition: transform var(--dur-base) var(--ease-out);
}
.vs-nav-btn:not(.is-active)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.vs-nav-group:hover .vs-nav-btn:not(.is-active)::after { transform: scaleX(1); }

.vs-dropdown {
	position: absolute; top: 100%; left: 0; min-width: 320px;
	background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-default), var(--shadow-lg);
	clip-path: var(--chamfer); padding: 8px; display: flex; flex-direction: column;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
	z-index: var(--z-overlay);
}
.vs-nav-group:hover .vs-dropdown, .vs-nav-group:focus-within .vs-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.vs-drop-link { display: block; padding: 11px 12px; text-decoration: none; transition: background-color var(--dur-fast) var(--ease-out); }
.vs-drop-link:hover { background: var(--fill-subtle); }
.vs-drop-title { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); font-family: var(--font-display); }
.vs-drop-desc { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.vs-header-cta { display: flex; align-items: center; gap: 20px; flex: none; }
.vs-header-contact { font-size: 14px; font-weight: 600; color: var(--text-secondary); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.vs-header-contact:hover { color: var(--text-primary); }

/* Theme toggle */
.vs-theme-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; flex: none; cursor: pointer;
	background: transparent; color: var(--text-secondary);
	border: 0; box-shadow: inset 0 0 0 1px var(--border-default); clip-path: var(--chamfer-sm);
	transition: color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.vs-theme-toggle:hover { color: var(--text-primary); background: var(--fill-subtle); box-shadow: inset 0 0 0 1px var(--border-strong); }
.vs-theme-toggle .vs-ico-sun { display: none; }
.vs-theme-toggle .vs-ico-moon { display: block; }
.theme-light .vs-theme-toggle .vs-ico-sun { display: block; }
.theme-light .vs-theme-toggle .vs-ico-moon { display: none; }

/* Mobile nav toggle (hidden on desktop) */
.vs-burger { display: none; }

/* ============================================================
   Footer
   ============================================================ */
.vs-footer { background: var(--surface-1); border-top: 1px solid var(--border-subtle); }
.vs-footer-cols { max-width: var(--vs-page-max); margin: 0 auto; padding: 64px 40px 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.vs-footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.vs-footer-brand img { height: 22px; display: block; }
.theme-light .vs-footer-brand img { filter: invert(1) brightness(.12); }
.vs-footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); max-width: 300px; }
.vs-footer-col { display: flex; flex-direction: column; gap: 12px; }
.vs-footer-col h3 { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); font-family: var(--font-display); }
.vs-flink { font-size: 14px; color: var(--text-secondary); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); width: fit-content; }
.vs-flink:hover { color: var(--text-primary); }
.vs-footer-base { max-width: var(--vs-page-max); margin: 48px auto 0; padding: 20px 40px; border-top: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.vs-footer-base span { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   Home / archive service cards
   ============================================================ */
/* min(…, 100%) lets a track shrink below its ideal on phones so the grid never
   forces horizontal overflow. */
.vs-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.vs-card-grid--feature { grid-template-columns: 1fr; }
/* Spacious pair — fewer, larger cards for a change of rhythm between rows. */
.vs-card-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.vs-card-grid--wide .vs-scard { padding: 34px; gap: 16px; }
.vs-card-grid--wide .vs-scard h3 { font-size: 22px; }
.vs-card-grid--wide .vs-scard p { font-size: 15px; }
.vs-scard {
	display: flex; flex-direction: column; gap: 14px; padding: 28px;
	background: var(--surface-2); clip-path: var(--chamfer);
	box-shadow: inset 0 0 0 1px var(--border-subtle);
	text-decoration: none;
	transition: transform var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.vs-scard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--border-default); filter: drop-shadow(0 16px 34px rgba(0,0,0,.5)); }
.theme-light .vs-scard:hover { filter: drop-shadow(0 14px 30px rgba(16,19,23,.12)); }
.vs-scard h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--text-primary); }
.vs-scard p { margin: 0; flex: 1; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.vs-scard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vs-scard-price { font-size: 12px; color: var(--text-muted); }
.vs-scard-cta { font-size: 13px; font-weight: 700; color: var(--text-primary); font-family: var(--font-display); display: inline-flex; align-items: center; gap: 6px; }
.vs-scard:hover .vs-scard-cta { color: var(--accent-hover); }
.vs-scard--feature { flex-direction: row; align-items: center; gap: 40px; box-shadow: inset 0 0 0 1px var(--border-subtle); padding: 40px; }
.vs-scard--feature > * { flex: 1; }
.vs-scard--feature h3 { font-size: 26px; }

/* Crosslink band — 3px red left rule + chamfer */
.vs-crosslink { transition: transform var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out); }
.vs-crosslink:hover { transform: translateY(-2px); }

/* Hero image empty state — a faint athletics motif so even the placeholder
   reads as track & field (the motifs are black line art, inverted to white on
   the dark canvas). */
.vs-img-empty { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; background: var(--fill-subtle); overflow: hidden; }
.vs-img-empty::before { content: ""; position: absolute; inset: 0; background: url("../img/motif-lightning.png") center / 120px no-repeat; filter: invert(1); opacity: .08; }
.theme-light .vs-img-empty::before { filter: none; opacity: .09; }
.vs-img-empty span { position: relative; z-index: 1; font-size: 13px; color: var(--text-muted); max-width: 220px; }

/* ============================================================
   Contact
   ============================================================ */
.vs-contact { position: relative; background: var(--bg-base); padding: 96px 0; overflow: hidden; }
/* Faint stopwatch watermark — broadcast-timing texture, one motif, given room. */
.vs-contact::before { content: ""; position: absolute; left: -30px; bottom: -50px; width: 340px; height: 340px; background: url("../img/motif-stopwatch.png") left bottom / contain no-repeat; filter: invert(1); opacity: .05; pointer-events: none; }
.theme-light .vs-contact::before { filter: none; opacity: .06; }
.vs-contact-inner { position: relative; z-index: 1; max-width: var(--container-lg); margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.vs-contact-copy { display: flex; flex-direction: column; gap: 20px; }
.vs-contact-h { margin: 0; font-size: var(--text-3xl); font-weight: 800; letter-spacing: var(--tracking-tighter); line-height: 1.1; color: var(--text-primary); }
.vs-contact-lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 420px; }
.vs-contact-notes { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.vs-contact-strong { font-size: 14px; color: var(--text-primary); }
.vs-contact-muted { font-size: 13px; color: var(--text-muted); }
.vs-contact-card { background: var(--surface-2); clip-path: var(--chamfer); box-shadow: inset 0 0 0 1px var(--border-subtle); padding: 32px; }
.vs-form-error { margin: 0 0 16px; padding: 10px 14px; font-size: 13px; color: var(--danger); background: var(--danger-bg); box-shadow: inset 3px 0 0 0 var(--danger); clip-path: var(--chamfer-sm); }
.vs-form { display: flex; flex-direction: column; gap: 18px; }
.vs-form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-field-l { display: flex; flex-direction: column; gap: 6px; }
.vs-field-l > span { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.vs-form input, .vs-form textarea, .vs-select {
	font-family: var(--font-body); font-size: 14px; color: var(--text-primary);
	background-color: var(--fill-subtle); border: 0; box-shadow: inset 0 0 0 1px var(--border-default);
	padding: 11px 12px; outline: none; transition: box-shadow var(--dur-fast) var(--ease-out);
}
.vs-form input:focus, .vs-form textarea:focus, .vs-select:focus { box-shadow: inset 0 0 0 1px var(--border-focus), var(--ring); }
/* Per-field validity — flagged only after the user has touched the field. */
.vs-form input:user-invalid, .vs-form textarea:user-invalid { box-shadow: inset 0 0 0 1px var(--danger); }
.vs-form input:user-invalid:focus, .vs-form textarea:user-invalid:focus { box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 3px var(--danger-bg); }
.vs-req { color: var(--text-accent); }
.vs-form input::placeholder, .vs-form textarea::placeholder { color: var(--text-muted); }
.vs-form textarea { resize: vertical; line-height: 1.5; }
.vs-select {
	appearance: none; padding-right: 34px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23868f9d' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}
.vs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vs-contact-done { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px 24px; text-align: center; }
.vs-contact-done h3 { margin: 0; font-size: 22px; font-weight: 700; color: var(--text-primary); }
.vs-contact-done p { margin: 0; font-size: 14px; color: var(--text-secondary); }
.vs-check { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--success-bg); color: var(--success); font-size: 22px; font-weight: 700; }

/* ============================================================
   Legal page
   ============================================================ */
.vs-legal-doc { background: var(--surface-1); clip-path: var(--chamfer); box-shadow: inset 0 0 0 1px var(--border-subtle); padding: 56px 64px; }
.vs-legal-doc article { max-width: 720px; margin: 0 auto; font-family: var(--font-body); }
.vs-legal-doc h2 { margin: 0 0 6px; font-size: 28px; font-weight: 800; letter-spacing: var(--tracking-tight); color: var(--text-primary); }
.vs-legal-meta { margin: 0 0 32px; font-size: 13px; color: var(--text-muted); }
.vs-legal-sec { display: flex; flex-direction: column; gap: 24px; font-size: 14.5px; line-height: 1.75; color: var(--text-secondary); }
.vs-legal-sec h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--text-primary); }
.vs-pill { padding: 9px 18px; clip-path: var(--chamfer-sm); border: 0; box-shadow: inset 0 0 0 1px var(--border-default); background: transparent; color: var(--text-secondary); font-family: var(--font-display); font-size: 13px; font-weight: 700; cursor: pointer; transition: all var(--dur-fast) var(--ease-out); }
.vs-pill.is-on { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.vs-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.vs-tab { padding: 9px 16px; border: 0; background: transparent; color: var(--text-muted); font-family: var(--font-display); font-weight: 700; font-size: 13px; cursor: pointer; position: relative; }
.vs-tab.is-on { color: var(--text-primary); }
.vs-tab.is-on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -2px; height: 2px; background: var(--accent); }

/* ============================================================
   Scroll-reveal motion — one calm entrance, from a visible default.
   ============================================================ */
.vs-reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.vs-reveal.is-in { opacity: 1; transform: none; }

/* Long-form prose fallback (index/pages) */
.vs-prose { color: var(--text-secondary); line-height: 1.75; font-size: 16px; }
.vs-prose h2, .vs-prose h3 { color: var(--text-primary); margin: 28px 0 10px; }
.vs-prose a { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   Service sub-page nav (Overview · Pricing · Terms · Privacy)
   ============================================================ */
.vs-subnav { max-width: var(--container-xl); margin: 16px auto 0; padding: 0 40px; }
.vs-subnav-inner { display: flex; gap: 4px; flex-wrap: wrap; box-shadow: inset 0 -1px 0 0 var(--border-default); }
.vs-subnav-link { padding: 12px 16px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--text-muted); text-decoration: none; position: relative; transition: color var(--dur-fast) var(--ease-out); }
.vs-subnav-link:hover { color: var(--text-primary); }
.vs-subnav-link.is-on { color: var(--text-primary); }
.vs-subnav-link.is-on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: var(--rule); background: var(--accent); }

/* ============================================================
   Feature comparison chart
   ============================================================ */
.vs-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vs-compare { width: 100%; min-width: 620px; border-collapse: collapse; font-family: var(--font-body); }
.vs-compare th, .vs-compare td { text-align: center; padding: 15px 18px; box-shadow: inset 0 -1px 0 0 var(--border-subtle); vertical-align: middle; }
.vs-compare thead th { vertical-align: bottom; padding-bottom: 18px; box-shadow: inset 0 -2px 0 0 var(--border-default); }
.vs-compare .vs-compare-feat { text-align: left; }
.vs-compare tbody .vs-compare-feat { font-weight: 600; color: var(--text-primary); font-size: 14.5px; }
.vs-compare-corner { font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); }
.vs-compare-tier { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--text-primary); }
.vs-compare-price { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); }
.vs-compare-price em { font-style: normal; color: var(--text-muted); }
.vs-compare-fnote { display: block; margin-top: 3px; font-style: normal; font-weight: 400; font-size: 12px; color: var(--text-muted); }
.vs-compare th.is-featured, .vs-compare td.is-featured { background: var(--fill-subtle); }
.vs-compare thead th.is-featured { box-shadow: inset 0 -2px 0 0 var(--accent); }
.vs-compare-yes { color: var(--accent-hover); font-weight: 700; }
.vs-compare-no { color: var(--text-disabled); }
.vs-compare-val { font-family: var(--font-mono); font-size: 13.5px; color: var(--text-primary); }

/* Legal index links */
.vs-legal-idx-link { font-size: 13.5px; font-weight: 600; color: var(--text-link); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; width: fit-content; }
.vs-legal-idx-link span { color: var(--text-muted); transition: transform var(--dur-fast) var(--ease-out); }
.vs-legal-idx-link:hover { color: var(--text-primary); }
.vs-legal-idx-link:hover span { transform: translateX(3px); color: var(--accent-hover); }

/* ============================================================
   Extra detail sections (repeatable)
   ============================================================ */
.vs-detail-sec { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 40px; align-items: start; }
.vs-detail-sec-head { position: relative; padding-left: 18px; }
.vs-detail-sec-head::before { content: ""; position: absolute; left: 0; top: 4px; width: var(--rule); height: 1.1em; background: var(--accent); }

/* ============================================================
   Pricing teaser (overview -> full pricing page)
   ============================================================ */
.vs-price-teaser { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center; }
.vs-price-teaser-head { grid-column: 1 / -1; }
.vs-price-teaser-tiers { display: flex; flex-wrap: wrap; gap: 12px; }
.vs-price-chip { display: flex; flex-direction: column; gap: 3px; padding: 12px 18px; background: var(--surface-2); clip-path: var(--chamfer-sm); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.vs-price-chip-label { font-size: 10.5px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-muted); }
.vs-price-chip-price { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--text-primary); }
.vs-price-chip-price em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--text-muted); }
.vs-price-teaser-cta { justify-self: end; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
	.vs-hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
	.vs-contact-inner { grid-template-columns: 1fr; gap: 40px; }
	.vs-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
	.vs-steps { grid-template-columns: repeat(2, 1fr) !important; }
	.vs-scard--feature { flex-direction: column; align-items: stretch; }
}
@media (max-width: 860px) {
	.vs-header-inner { padding: 0 20px; gap: 16px; }
	.vs-nav { display: none; }
	.vs-nav.is-open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--surface-1); box-shadow: 0 20px 40px rgba(0,0,0,.4); padding: 12px; gap: 0; }
	.vs-nav.is-open .vs-nav-group { width: 100%; }
	.vs-nav.is-open .vs-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
	.vs-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; box-shadow: inset 0 0 0 1px var(--border-default); clip-path: var(--chamfer-sm); color: var(--text-primary); cursor: pointer; }
	.vs-header-contact { display: none; }
	.vs-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 20px 0; }
	.vs-footer-base { padding: 20px; }
	.vs-grid-3, .vs-grid-4, .vs-steps, .vs-why { grid-template-columns: 1fr !important; }
	.vs-legal-doc { padding: 32px 24px; }
	.vs-subnav { padding: 0 20px; }
	.vs-detail-sec { grid-template-columns: 1fr; gap: 14px; }
	.vs-detail-sec-head { padding-left: 14px; }
	.vs-price-teaser { grid-template-columns: 1fr; }
	.vs-price-teaser-cta { justify-self: start; }
	.vs-price-teaser-cta .vs-btn { width: 100%; text-align: center; justify-content: center; }
}
@media (max-width: 560px) {
	.vs-form-row2 { grid-template-columns: 1fr; }
	.vs-footer-cols { grid-template-columns: 1fr; }
	.vs-header-cta { gap: 10px; }
	/* On phones the header keeps logo + theme toggle + menu; the "Request a demo"
	   button is redundant with the hero CTA and the menu, and it's what pushes
	   the row past the viewport. */
	.vs-header-cta .vs-btn { display: none; }
}

/* Tighter vertical rhythm on phones — the desktop 88–96px section paddings
   stack into too much dead space on a narrow viewport. */
@media (max-width: 640px) {
	.vs-home-hero { min-height: 0; }
	.vs-home-hero-inner { padding: 60px 20px 64px; }
	#services { padding-top: 52px !important; }
	#services > div { gap: 52px !important; }
	.vs-contact { padding: 64px 0; }
	.vs-footer-cols { padding-top: 40px; }
}

/* Respect reduced motion — remove positional motion and the scroll-reveal, but
   keep colour/opacity feedback on hover and focus (a blanket transition kill
   would destroy that useful feedback). */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.vs-reveal { opacity: 1 !important; transform: none !important; transition: none; }
	.vs-home-hero-inner > *, .vs-hero-glow, .vs-live-dot, .vs-home-hero-media { animation: none !important; opacity: 1 !important; transform: none !important; }
	.vs-lift:hover,
	.vs-scard:hover,
	.vs-crosslink:hover,
	.vs-nav-group:hover .vs-nav-btn svg,
	.vs-btn:active { transform: none; }
}
