/*==============================================================
  visualhaus — first screen
  Built to the supplied single-viewport specification, with
  visualhaus content. Loaded AFTER vh-2027.css so it owns the
  first screen; everything below section 01 is untouched.

  Deliberate deviations from the spec, all forced by the fact
  that this is a seven-section site and not a landing page:
    - no scroll lock and no position:fixed stage. The hero is a
      100svh section; everything else is per spec.
    - the logo stays the visualhaus wordmark, not the spec mark.
    - copy, nav tree and stats carry visualhaus content. The
      stats are the real lab machine, not invented metrics.
    - the desktop chevrons open a real dropdown, because a
      chevron with nothing behind it is a broken affordance.
    - one scroll cue bottom-right, because the page scrolls.
==============================================================*/

/*--------------------------------------------------------------
  1. Fonts — aliases exactly as the spec names them
--------------------------------------------------------------*/
@font-face {
	font-family: 'SG';
	src: url('../webfonts/SG.woff2') format('woff2-variations'),
	     url('../webfonts/SG.woff2') format('woff2');
	font-weight: 300 700;
	font-style: normal;
	font-display: block;
}
@font-face {
	font-family: 'JB';
	src: url('../webfonts/JB.woff2') format('woff2-variations'),
	     url('../webfonts/JB.woff2') format('woff2');
	font-weight: 100 800;
	font-style: normal;
	font-display: block;
}

/*--------------------------------------------------------------
  2. Tokens and the canvas scaler
--------------------------------------------------------------*/
.vh-screen {
	/* desktop canvas 1505 x 700 */
	--s: min(100vw / 1505, 100vh / 700);

	/* monochrome: a near-black ground (the clip's own), light as the accent */
	--accent: #fff;
	--accent-ink: #000;
	--ground: #0f0f0f;     /* = the clip's background, matches --vh-ground */
	--accent-hover: #cfcfcf;
	--glow: 0 0 14px rgba(255,255,255,.55);
	--ink: #fff;
	--sub: #e6e6e6;
	--lab: #949494;

	--bx: 60; --by: 36; --bs: 44;
	--logoh: 24;          /* wordmark height */

	--h1y: -12.5;
	--suby: 167.5;
	--ctay: 248;
	--numy: 19;
	--laby: 74;

	--cx: 73;              /* copy column */
	--headh: 90;           /* header band  */
	--heroh: 306;          /* h1 + sub + cta block */
	--statsh: 96;

	--fh1: 68.7;  --lh1: 76;   --tr1: -2.4;
	--fsub: 18.7; --lsub: 26;  --tsub: -0.87;
	--fnum: 33.45;
	--flab: 21.9;
	--fbtn: 20.85;
	--btnw: 212; --btnh: 58; --btnpl: 18; --btnpr: 22; --btng: 11;

	--s1x: 70.4; --s2x: 213.1; --s3x: 392.6;
	--r1x: 181;  --r2x: 356;

	position: relative;
	display: block;
	width: 100%;
	height: 100svh;
	min-height: 460px;
	overflow: hidden;
	background: var(--ground);
	color: var(--ink);
	isolation: isolate;
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
}
@supports not (height: 100svh) { .vh-screen { height: 100vh; } }

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

.vh-screen .svgdefs { position: absolute; width: 0; height: 0; overflow: hidden; }

/*--------------------------------------------------------------
  3. The monolith stage (vh-monolith.js draws into the canvas)
--------------------------------------------------------------*/
.vh-screen .stage {
	/* where the stone sits, as shares of the stage */
	--rock-x: .69;
	--rock-y: .46;
	--rock-h: .64;
	position: absolute; inset: 0;
	overflow: hidden;
	pointer-events: none;
	background: var(--ground);
}
.vh-screen .stage-canvas,
.vh-screen .stage-video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	display: block;
	border: 0;
}
.vh-screen .stage-canvas { opacity: 0; transition: opacity 1.4s ease; }
.vh-screen .stage.is-live .stage-canvas { opacity: 1; }
/* a rendered clip, once it plays, replaces the canvas */
.vh-screen .stage-video {
	object-fit: cover;
	object-position: var(--clip-pos, 50% 50%);
	/* desktop: push the clip's centred object to the right of the copy */
	transform: scale(var(--clip-scale, 1.22));
	transform-origin: var(--clip-origin, 0% 50%);
	opacity: 0;
	transition: opacity 1.4s ease;
}
.vh-screen .stage--video .stage-video { opacity: 1; }
.vh-screen .stage--video .stage-canvas { opacity: 0; }

/* film grain, interlace and vignette, as in the reference */
.vh-screen .grain {
	position: absolute; inset: -50%;
	pointer-events: none;
	z-index: 1;
	opacity: .11;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: vh-grain 1.1s steps(6) infinite;
}
.vh-screen .grain:after {
	content: '';
	position: absolute; inset: 0;
	background: repeating-linear-gradient(180deg, rgba(0,0,0,.0) 0 2px, rgba(0,0,0,.55) 2px 3px);
	opacity: .6;
}
@keyframes vh-grain {
	0%   { transform: translate(0, 0); }
	20%  { transform: translate(-4%, 3%); }
	40%  { transform: translate(3%, -2%); }
	60%  { transform: translate(-2%, -4%); }
	80%  { transform: translate(4%, 2%); }
	100% { transform: translate(0, 0); }
}
.vh-screen .scrim {
	position: absolute; inset: 0;
	pointer-events: none;
	z-index: 1;
	background:
		radial-gradient(120% 90% at 65% 45%, transparent 55%, rgba(15,15,15,.65) 100%),
		linear-gradient(90deg, rgba(15,15,15,.55) 0%, rgba(15,15,15,.2) 38%, transparent 55%);
}
/* soften the bottom edge so the clip's content settles into the
   ground before section 01 */
.vh-screen .stage--video:after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 28%;
	background: linear-gradient(180deg, rgba(15,15,15,0), var(--ground));
}

/*--------------------------------------------------------------
  4. Frame
--------------------------------------------------------------*/
.vh-screen .frame {
	position: absolute; inset: 0;
	display: flex;
	flex-direction: column;
	z-index: 2;
}
.vh-screen .sp { flex-shrink: 0; flex-basis: 0; }
.vh-screen .sp-a { flex-grow: 239; }
.vh-screen .sp-b { flex-grow: 194; }
.vh-screen .sp-c { flex-grow: 115; }

/*--------------------------------------------------------------
  5. Header
--------------------------------------------------------------*/
.vh-screen header.vhhead {
	position: relative;
	flex: 0 0 auto;
	height: calc(var(--headh) * var(--s));
	background: none;
	padding: 0;
	margin: 0;
	border: 0;
	box-shadow: none;
	width: 100%;
	z-index: 5;
}

.vh-screen .vhlogo {
	position: absolute;
	left: calc(var(--bx) * var(--s));
	top: calc(var(--by) * var(--s));
	height: calc(var(--bs) * var(--s));
	display: flex;
	align-items: center;
	line-height: 0;
	transform-origin: left center;
}
.vh-screen .vhlogo img {
	/* wide wordmark (485 x 48): sized by its own height token */
	height: calc(var(--logoh, 24) * var(--s));
	width: auto;
	max-width: none;
	display: block;
}

/* --- nav ------------------------------------------------------ */
.vh-screen .vhnav {
	position: absolute;
	left: auto;
	right: calc(var(--bx) * var(--s));
	top: calc(32 * var(--s));
	height: calc(48 * var(--s));
	display: flex;
	align-items: stretch;
	gap: calc(32 * var(--s));
}
.vh-screen .vhnav > .navitem { position: relative; display: flex; }
.vh-screen .vhnav > .navitem + .navitem { margin-left: 0; }

.vh-screen .vhnav a.nl {
	display: inline-flex;
	align-items: center;
	gap: calc(7 * var(--s));
	height: 100%;
	font-family: 'JB', ui-monospace, SFMono-Regular, Menlo, monospace;
	font-weight: 400;
	font-size: calc(14.5 * var(--s));
	line-height: 1;
	letter-spacing: calc(-0.15 * var(--s));
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	background: none;
	transition: color .22s ease;
}
.vh-screen .vhnav a.nl:before,
.vh-screen .vhnav a.nl:after { display: none; }
.vh-screen .vhnav .chev {
	width: calc(11.6 * var(--s));
	height: calc(7.2 * var(--s));
	margin-top: calc(-2.6 * var(--s));
	flex: 0 0 auto;
	overflow: visible;
	transition: transform .22s ease;
}
.vh-screen .vhnav .chev path {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	vector-effect: non-scaling-stroke;
}

/* desktop dropdown */
.vh-screen .vhnav .drop {
	position: absolute;
	left: 0;
	top: calc(58 * var(--s));
	min-width: calc(258 * var(--s));
	padding: calc(12 * var(--s)) 0;
	background: #000;
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(calc(6 * var(--s)));
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.vh-screen .vhnav .drop a {
	display: block;
	padding: calc(9 * var(--s)) calc(20 * var(--s));
	font-family: 'JB', ui-monospace, monospace;
	font-weight: 400;
	font-size: calc(16.4 * var(--s));
	line-height: 1.35;
	letter-spacing: calc(-0.3 * var(--s));
	color: var(--sub);
	text-decoration: none;
	white-space: nowrap;
	transition: color .18s ease;
}
.vh-screen .vhnav .navitem:hover .drop,
.vh-screen .vhnav .navitem:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.vh-screen .vhnav .navitem:hover > a .chev,
.vh-screen .vhnav .navitem:focus-within > a .chev { transform: rotate(180deg); }

@media (hover: hover) {
	.vh-screen .vhnav a.nl:hover { color: var(--accent); text-shadow: var(--glow); }
	.vh-screen .vhnav .drop a:hover { color: var(--accent); text-shadow: var(--glow); }
}

/* --- burger --------------------------------------------------- */
.vh-screen .mburger {
	position: absolute;
	right: calc(var(--bx) * var(--s));
	top: calc(var(--by) * var(--s));
	width: calc(var(--bs) * var(--s));
	height: calc(var(--bs) * var(--s));
	display: none;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: pointer;
	/* above .menu (1200): the burger is a sibling of the overlay, not a
	   child of .frame, so its close X stays clickable while open */
	z-index: 1300;
}
.vh-screen .mburger span {
	position: absolute;
	left: 0;
	height: calc(2 * var(--s));
	width: 100%;
	background: #fff;
	transition: transform .38s cubic-bezier(.2,.7,.2,1), opacity .2s ease, width .38s cubic-bezier(.2,.7,.2,1);
}
.vh-screen .mburger span:nth-child(1) { top: calc(var(--bs) * .30 * var(--s)); }
.vh-screen .mburger span:nth-child(2) { top: calc(var(--bs) * .50 * var(--s)); }
.vh-screen .mburger span:nth-child(3) { top: calc(var(--bs) * .70 * var(--s)); width: 47%; }
body.nav-open .vh-screen .mburger {
	position: fixed;
	top: calc(var(--by) * var(--s));
	right: calc(var(--bx) * var(--s));
	z-index: 1300;
}
body.nav-open .vh-screen .mburger span:nth-child(1) { transform: translateY(calc(var(--bs) * .20 * var(--s))) rotate(45deg); }
body.nav-open .vh-screen .mburger span:nth-child(2) { opacity: 0; }
body.nav-open .vh-screen .mburger span:nth-child(3) { width: 100%; transform: translateY(calc(var(--bs) * -.20 * var(--s))) rotate(-45deg); }

/*--------------------------------------------------------------
  6. Buttons
--------------------------------------------------------------*/
.vh-screen .btn {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: calc(var(--btng) * var(--s));
	min-width: calc(var(--btnw) * var(--s));
	height: calc(var(--btnh) * var(--s));
	padding: 0 calc(var(--btnpr) * var(--s)) 0 calc(var(--btnpl) * var(--s));
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: 0;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .24s ease;
}
.vh-screen .btn:before,
.vh-screen .btn:after { display: none; }
.vh-screen .btn .lbl {
	font-family: 'SG', 'Space Grotesk', system-ui, sans-serif;
	font-weight: 480;
	font-size: calc(var(--fbtn) * var(--s));
	line-height: 1;
	letter-spacing: calc(-0.62 * var(--s));
	color: inherit;
	transform: translateY(calc(1.5 * var(--s)));
}
.vh-screen .btn .arw {
	width: calc(21.5 * var(--s));
	height: calc(18 * var(--s));
	flex: 0 0 auto;
	overflow: visible;
	transition: transform .28s cubic-bezier(.16,1,.3,1);
}
.vh-screen .btn .arw path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}
@media (hover: hover) {
	.vh-screen .btn:hover { background: var(--accent-hover); box-shadow: 0 0 28px rgba(255,255,255,.22); }
	.vh-screen .btn:hover .arw { transform: translateX(calc(3 * var(--s))); }
}

/*--------------------------------------------------------------
  7. Hero block
--------------------------------------------------------------*/
.vh-screen section.hero {
	position: relative;
	flex: 0 0 auto;
	height: calc(var(--heroh) * var(--s));
	padding: 0;
	margin: 0;
	background: none;
	min-height: 0;
}

.vh-screen h1.vhh1 {
	position: absolute;
	left: calc(var(--cx) * var(--s));
	top: calc(var(--h1y) * var(--s));
	margin: 0;
	padding: 0;
	font-family: 'SG', 'Space Grotesk', system-ui, sans-serif;
	font-weight: 700;
	font-size: calc(var(--fh1) * var(--s));
	line-height: calc(var(--lh1) * var(--s));
	letter-spacing: calc(var(--tr1) * var(--s));
	color: #fff;
	text-transform: none;
}
.vh-screen h1.vhh1 .ln { display: block; }
.vh-screen h1.vhh1 .ln > span { display: block; will-change: transform; }

.vh-screen p.vhsub {
	position: absolute;
	left: calc(var(--cx) * var(--s));
	top: calc(var(--suby) * var(--s));
	margin: 0;
	padding: 0;
	font-family: 'JB', ui-monospace, monospace;
	font-weight: 400;
	font-size: calc(var(--fsub) * var(--s));
	line-height: calc(var(--lsub) * var(--s));
	letter-spacing: calc(var(--tsub) * var(--s));
	color: var(--sub);
	max-width: none;
}

.vh-screen .btn-cta {
	position: absolute;
	left: calc(var(--cx) * var(--s));
	top: calc(var(--ctay) * var(--s));
}

/*--------------------------------------------------------------
  8. Stats
--------------------------------------------------------------*/
.vh-screen section.stats {
	position: relative;
	flex: 0 0 auto;
	height: calc(var(--statsh) * var(--s));
	padding: 0;
	margin: 0;
	background: none;
	min-height: 0;
}
.vh-screen .st { position: absolute; top: 0; }
.vh-screen .s1 { left: calc(var(--s1x) * var(--s)); }
.vh-screen .s2 { left: calc(var(--s2x) * var(--s)); }
.vh-screen .s3 { left: calc(var(--s3x) * var(--s)); }

.vh-screen .num {
	position: absolute;
	top: calc(var(--numy) * var(--s));
	left: 0;
	margin: 0;
	font-family: 'JB', ui-monospace, monospace;
	font-weight: 480;
	font-size: calc(var(--fnum) * var(--s));
	line-height: 1;
	color: #fff;
	white-space: nowrap;
}
.vh-screen .lb {
	position: absolute;
	top: calc(var(--laby) * var(--s));
	left: 0;
	margin: 0;
	font-family: 'SG', 'Space Grotesk', system-ui, sans-serif;
	font-weight: 400;
	font-size: calc(var(--flab) * var(--s));
	line-height: 1;
	letter-spacing: calc(-0.62 * var(--s));
	color: var(--lab);
	white-space: nowrap;
}
.vh-screen .rl {
	position: absolute;
	top: calc(6 * var(--s));
	height: calc(84 * var(--s));
	width: calc(1.5 * var(--s));
	background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.21) 50%, rgba(255,255,255,.085));
	transform-origin: center;
}
.vh-screen .r1 { left: calc(var(--r1x) * var(--s)); }
.vh-screen .r2 { left: calc(var(--r2x) * var(--s)); }

/* scroll cue — this page scrolls, the spec's page did not */
.vh-screen .cue {
	position: absolute;
	right: calc(var(--bx) * var(--s));
	top: calc(var(--laby) * var(--s));
	display: inline-flex;
	align-items: center;
	gap: calc(10 * var(--s));
	font-family: 'JB', ui-monospace, monospace;
	font-weight: 400;
	font-size: calc(13.5 * var(--s));
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--lab);
	text-decoration: none;
	transition: color .22s ease;
}
.vh-screen .cue svg { width: calc(9 * var(--s)); height: calc(16 * var(--s)); overflow: visible; }
.vh-screen .cue svg path { fill: none; stroke: currentColor; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
@media (hover: hover) { .vh-screen .cue:hover { color: var(--accent); text-shadow: var(--glow); } }

/*--------------------------------------------------------------
  9. Mobile menu
--------------------------------------------------------------*/
.vh-screen .menu {
	position: fixed;
	inset: 0;
	z-index: 1200;
	background: #000;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .34s cubic-bezier(.2,.7,.2,1), visibility .34s;
}
body.nav-open .vh-screen .menu { opacity: 1; visibility: visible; pointer-events: auto; }

.vh-screen .menu-tex {
	position: absolute; inset: 0;
	overflow: hidden;
	pointer-events: none;
	background:
		radial-gradient(60% 40% at 70% 100%, rgba(255,255,255,.10), transparent 70%),
		radial-gradient(circle, rgba(255,255,255,.22) 1px, transparent 1.4px) 0 0 / 14px 14px;
	-webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
	        mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
}
.vh-screen .menu-rule {
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: calc(1.5 * var(--s));
	background: var(--accent);
	box-shadow: var(--glow);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .55s cubic-bezier(.2,.7,.2,1) .04s;
}
body.nav-open .vh-screen .menu-rule { transform: scaleX(1); }

.vh-screen .menu-in {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: calc((var(--by) + var(--bs) + 26) * var(--s)) calc(var(--bx) * var(--s)) calc(26 * var(--s));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.vh-screen .meyebrow {
	font-family: 'JB', ui-monospace, monospace;
	font-weight: 400;
	font-size: calc(11.5 * var(--s));
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--lab);
	margin: 0 0 calc(18 * var(--s));
}
.vh-screen .mlist { list-style: none; margin: 0; padding: 0; }
.vh-screen .mlist > li {
	border-top: 1px solid rgba(255,255,255,.14);
	opacity: 0;
	transform: translateY(calc(14 * var(--s)));
	transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1);
}
.vh-screen .mlist > li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
body.nav-open .vh-screen .mlist > li { opacity: 1; transform: translateY(0); }
body.nav-open .vh-screen .mlist > li:nth-child(1) { transition-delay: .08s; }
body.nav-open .vh-screen .mlist > li:nth-child(2) { transition-delay: .14s; }
body.nav-open .vh-screen .mlist > li:nth-child(3) { transition-delay: .20s; }
body.nav-open .vh-screen .mlist > li:nth-child(4) { transition-delay: .26s; }
body.nav-open .vh-screen .mlist > li:nth-child(5) { transition-delay: .32s; }

.vh-screen .mrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: calc(14 * var(--s));
	padding: calc(17 * var(--s)) 0;
	background: none;
	border: 0;
	border-radius: 0;
	text-align: left;
	cursor: pointer;
	font-family: 'SG', 'Space Grotesk', system-ui, sans-serif;
	font-weight: 700;
	font-size: calc(28 * var(--s));
	line-height: 1.1;
	letter-spacing: calc(-0.8 * var(--s));
	color: #fff;
	text-decoration: none;
	transition: color .2s ease;
}
.vh-screen .mrow .chev {
	width: calc(14 * var(--s));
	height: calc(9 * var(--s));
	flex: 0 0 auto;
	overflow: visible;
	transition: transform .34s cubic-bezier(.2,.7,.2,1);
}
.vh-screen .mrow .chev path { fill: none; stroke: currentColor; stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.vh-screen .mrow[aria-expanded="true"] { color: var(--accent); text-shadow: var(--glow); }
.vh-screen .mrow[aria-expanded="true"] .chev { transform: rotate(180deg); }
@media (hover: hover) { .vh-screen .mrow:hover { color: var(--accent); text-shadow: var(--glow); } }

.vh-screen .msub {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .4s cubic-bezier(.2,.7,.2,1);
}
.vh-screen .msub.open { grid-template-rows: 1fr; }
.vh-screen .msub > div { overflow: hidden; }
.vh-screen .msub a {
	display: block;
	padding: calc(9 * var(--s)) 0;
	font-family: 'JB', ui-monospace, monospace;
	font-weight: 400;
	font-size: calc(15 * var(--s));
	letter-spacing: calc(-0.3 * var(--s));
	color: var(--lab);
	text-decoration: none;
	transition: color .2s ease;
}
.vh-screen .msub > div > *:last-child { margin-bottom: calc(12 * var(--s)); }
@media (hover: hover) { .vh-screen .msub a:hover { color: #fff; } }

.vh-screen .mfoot { margin-top: auto; padding-top: calc(28 * var(--s)); }
.vh-screen .btn-menu { width: 100%; justify-content: space-between; }
.vh-screen .mnote {
	margin: calc(16 * var(--s)) 0 0;
	font-family: 'JB', ui-monospace, monospace;
	font-weight: 400;
	font-size: calc(12.5 * var(--s));
	letter-spacing: .06em;
	color: var(--lab);
}

/*--------------------------------------------------------------
  10. Tablet portrait — canvas 900 x 1200
--------------------------------------------------------------*/
@media (max-width: 1023px) and (max-aspect-ratio: 1/1) {
	.vh-screen {
		--s: clamp(0.82px, min(100vw / 900, 100vh / 1200), 1.25px);
		--bx: 56; --by: 33; --bs: 40; --logoh: 22;
		--h1y: -10.25; --suby: 137.4; --ctay: 203.4; --numy: 15.6; --laby: 60.7;
		--cx: 68.2;
		--headh: 73; --heroh: 251; --statsh: 81;
		--fh1: 56.3; --lh1: 62.3; --tr1: -1.97;
		--fsub: 15.3; --lsub: 21.3; --tsub: -0.71;
		--fnum: 27.4; --flab: 17.96; --fbtn: 17.1;
		--btnw: 174; --btnh: 47.6; --btnpl: 14.8; --btnpr: 18; --btng: 9;
		--s1x: 65.7; --s2x: 199; --s3x: 366.7;
		--r1x: 169;  --r2x: 332.5;
	}
	.vh-screen .sp-a { flex-grow: 340; }
	.vh-screen .sp-b { flex-grow: 276; }
	.vh-screen .sp-c { flex-grow: 163; }

	.vh-screen .stage { --rock-x: .68; --rock-y: .31; --rock-h: .44; }
	.vh-screen .stage-video { --clip-pos: 50% 50%; --clip-scale: 1; }
	.vh-screen .scrim {
		background: linear-gradient(180deg, transparent 0%, transparent 42%, rgba(15,15,15,.6) 62%, rgba(15,15,15,.85) 100%),
		            linear-gradient(100deg, rgba(15,15,15,.7) 0%, rgba(15,15,15,.25) 45%, transparent 70%);
	}
	.vh-screen .rl { top: calc(5 * var(--s)); height: calc(70 * var(--s)); }
}

/*--------------------------------------------------------------
  11. Phone — canvas 430 x 620
--------------------------------------------------------------*/
@media (max-width: 599px) {
	.vh-screen {
		--s: min(100vw / 430, 100vh / 620, 1.02px);
		--bx: 26; --by: 21; --bs: 34; --logoh: 17;
		--h1y: -7.1; --suby: 108; --ctay: 160; --numy: 13; --laby: 50;
		--cx: 31.6;
		--headh: 55; --heroh: 210; --statsh: 70;
		--fh1: 34; --lh1: 38; --tr1: -1.2;
		--fsub: 13.5; --lsub: 18.5; --tsub: -0.5;
		--fnum: 22; --flab: 14;  --fbtn: 17.5;
		--btnw: 185; --btnh: 50; --btnpl: 15.7; --btnpr: 19.1; --btng: 9.6;
		--s1x: 30.5; --s2x: 125; --s3x: 220;
		--r1x: 110;  --r2x: 205;
	}
	.vh-screen .sp-a { flex-grow: 106; }
	.vh-screen .sp-b { flex-grow: 92; }
	.vh-screen .sp-c { flex-grow: 56; }

	.vh-screen .stage { --rock-x: .64; --rock-y: .25; --rock-h: .34; }
	.vh-screen .stage-video { --clip-pos: 50% 30%; --clip-scale: 1; }
	.vh-screen .scrim {
		background: linear-gradient(180deg, transparent 0%, transparent 32%, rgba(15,15,15,.55) 46%, rgba(15,15,15,.82) 62%, rgba(15,15,15,.9) 100%);
	}
	.vh-screen .grain { opacity: .08; }
	.vh-screen .rl { top: calc(4 * var(--s)); height: calc(60 * var(--s)); }
	.vh-screen .cue { display: none; }
	.vh-screen .mrow { font-size: calc(26 * var(--s)); }
}

/*--------------------------------------------------------------
  12. Breakpoint switch: nav out, burger in
--------------------------------------------------------------*/
@media (max-width: 1023px) {
	.vh-screen .vhnav { display: none !important; }
	.vh-screen .mburger { display: block; }
}
@media (min-width: 1024px) {
	.vh-screen .menu { display: none; }
}

/*--------------------------------------------------------------
  13. The site header only appears once the hero is behind us
--------------------------------------------------------------*/
body:not(.vh-past-hero) .fixed-header { opacity: 0; pointer-events: none; }
.fixed-header { transition: opacity .3s ease; }
body.nav-open { overflow: hidden; }

/*--------------------------------------------------------------
  14. Entrance — initial state
--------------------------------------------------------------*/
html.intro .vh-screen .vhlogo { opacity: 0; transform: scale(.9); }
html.intro .vh-screen .vhnav a.nl { opacity: 0; transform: translateY(calc(7 * var(--s))); }
html.intro .vh-screen .mburger { opacity: 0; }
html.intro .vh-screen .btn-cta { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); }
html.intro .vh-screen h1.vhh1 .ln {
	overflow: hidden;
	padding-bottom: calc(6 * var(--s));
	margin-bottom: calc(-6 * var(--s));
}
html.intro .vh-screen h1.vhh1 .ln > span { transform: translateY(120%); }
html.intro .vh-screen p.vhsub { opacity: 0; transform: translateY(calc(14 * var(--s))); }
html.intro .vh-screen .rl { transform: scaleY(0); }
html.intro .vh-screen .num { opacity: 0; transform: translateY(calc(12 * var(--s))); }
html.intro .vh-screen .lb { opacity: 0; transform: translateY(calc(10 * var(--s))); }
html.intro .vh-screen .cue { opacity: 0; }

/*--------------------------------------------------------------
  15. Focus and reduced motion
--------------------------------------------------------------*/
.vh-screen a:focus-visible,
.vh-screen button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	.vh-screen *,
	.vh-screen *:before,
	.vh-screen *:after { transition: none !important; animation: none !important; }
	/* vh-monolith.js draws one still frame instead of the loop */
	.vh-screen .stage-video { display: none; }
	.vh-screen .stage-canvas { opacity: 1; }
}


/*--------------------------------------------------------------
  17. Reduced hero — only wordmark, headline and subline over the
      clip. CTA and stats stay in the markup; delete this block
      to bring them back. The site has no navigation by design.
--------------------------------------------------------------*/
.vh-screen .btn-cta,
.vh-screen section.stats { visibility: hidden; }

/* with CTA and stats hidden, the copy sits lower: the space above
   grows by what the space below gives up (sums stay as in 7./10./11.) */
.vh-screen .sp-a { flex-grow: 370; }
.vh-screen .sp-b { flex-grow: 63; }
@media (max-width: 1023px) and (max-aspect-ratio: 1/1) {
	.vh-screen .sp-a { flex-grow: 410; }
	.vh-screen .sp-b { flex-grow: 206; }
}
@media (max-width: 599px) {
	.vh-screen .sp-a { flex-grow: 142; }
	.vh-screen .sp-b { flex-grow: 56; }
}
