/*==============================================================
  visualhaus — the site below and around the hero

  Loaded AFTER vh-hero.css, which declares the 'SG' and 'JB'
  @font-face rules and owns everything inside .vh-screen.
  This file replaces plugins.css, style.css, vh-2027.css and
  vh-sections.css. Tokens match the visualhaus design system.

    1. Tokens          6. Cards
    2. Base            7. Architecture diagram
    3. Layout          8. Contact
    4. Type            9. Site header
    5. Button         10. Footer   11. Reveal   12. Responsive
==============================================================*/

/*--------------------------------------------------------------
  1. Tokens
--------------------------------------------------------------*/
:root {
	--vh-ground: #0f0f0f;         /* the hero clip's own ground, so the two meet without a seam */
	--vh-surface-1: #050505;
	--vh-ink: #fff;
	--vh-sub: #e6e6e6;
	--vh-body: #b9b9b9;
	--vh-muted: #949494;
	--vh-faint: rgba(255, 255, 255, .5);
	/* monochrome, after the monolith: light only where it matters */
	--vh-accent: #fff;
	--vh-accent-ink: #000;        /* text on an accent surface */
	--vh-accent-dark: #cfcfcf;
	--vh-accent-text: #f2f2f2;
	--vh-glow: 0 0 16px rgba(255, 255, 255, .5);
	--vh-selection: rgba(255, 255, 255, .28);
	--vh-line: rgba(255, 255, 255, .14);
	--vh-line-soft: rgba(255, 255, 255, .085);
	--vh-focus: #fff;

	--vh-sg: 'SG', 'Space Grotesk', system-ui, -apple-system, sans-serif;
	--vh-jb: 'JB', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--space-10: 10px;
	--space-20: 20px;
	--space-30: 30px;
	--space-40: 40px;
	--space-60: 60px;
	--space-90: 90px;
	--space-120: 120px;

	--container-max: 1350px;
	--container-gutter: 40px;

	--vh-ease: cubic-bezier(.16, 1, .3, 1);
}

/*--------------------------------------------------------------
  2. Base
--------------------------------------------------------------*/
*, *:before, *:after { box-sizing: border-box; }

html {
	background: var(--vh-ground);
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--vh-ground);
	color: var(--vh-ink);
	font-family: var(--vh-sg);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--vh-selection); color: var(--vh-ink); }

:focus-visible { outline: 2px solid var(--vh-focus); outline-offset: 3px; }

.vh-skip {
	position: fixed;
	left: var(--space-20);
	top: var(--space-20);
	z-index: 2000;
	padding: 12px 16px;
	background: var(--vh-ink);
	color: var(--vh-ground);
	font-family: var(--vh-jb);
	font-size: 12.5px;
	letter-spacing: .04em;
	transform: translateY(-200%);
}
.vh-skip:focus { transform: none; }

/* the hero's full-screen menu lives inside .vh-screen: lift that
   stacking context above the sections while it is open */
body.nav-open .vh-screen { z-index: 1000; }

/*--------------------------------------------------------------
  3. Layout
--------------------------------------------------------------*/
.vh-container {
	width: calc(100% - 2 * var(--container-gutter));
	max-width: var(--container-max);
	margin: 0 auto;
}
/* vertical padding follows the screen height, so a section fits in one screen */
.vh-section { padding: clamp(48px, 8vh, var(--space-120)) 0; }

.vh-split {
	display: flex;
	align-items: flex-start;
	gap: calc(2 * var(--space-40));
}
.vh-split > * { flex: 1 1 0; min-width: 0; }
.vh-split > .vh-col-7 { flex-grow: 7; }
.vh-split > .vh-col-5 { flex-grow: 5; }
.vh-split-intro { padding-bottom: var(--space-60); }

/* every section fills the screen, content centred vertically, and the
   page snaps from one section to the next (see "Snap" below) */
.vh-section {
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
}
.vh-section > .vh-container { flex: 0 0 auto; }

/* Snap: firm on desktop screens where every section fits; gentle on
   phones and short windows, where a section can be taller than the
   screen and must stay freely scrollable */
html { scroll-snap-type: y proximity; }
@media (min-width: 1024px) and (min-height: 780px) {
	html { scroll-snap-type: y mandatory; }
}
.vh-screen,
.vh-section { scroll-snap-align: start; }
.vh-footer { scroll-snap-align: end; }

.vh-drop-20 { padding-top: var(--space-20); }
.vh-drop-60 { padding-top: var(--space-60); }

.vh-grid { display: flex; gap: var(--space-30); }
.vh-grid > * { flex: 1 1 0; min-width: 0; }

/*--------------------------------------------------------------
  4. Type
--------------------------------------------------------------*/
.vh-index,
.vh-label {
	display: block;
	margin: 0;
	font-family: var(--vh-jb);
	font-weight: 400;
	font-size: 11.5px;
	line-height: 1.4;
	letter-spacing: .22em;
	text-transform: uppercase;
}
.vh-index { color: var(--vh-accent-text); margin-bottom: var(--space-30); }
.vh-index span { color: var(--vh-muted); margin-left: var(--space-10); }
/* section labels (01 / Manifesto …) are hidden; delete this line to show them */
.vh-index { display: none; }
.vh-label { color: var(--vh-muted); margin-bottom: 14px; }

.vh-statement {
	margin: 0;
	max-width: 17ch;
	font-family: var(--vh-sg);
	font-weight: 700;
	font-size: clamp(29px, 3.9vw, 56px);
	line-height: 1.06;
	letter-spacing: -.032em;
	color: var(--vh-ink);
}
.vh-statement em { font-style: normal; color: var(--vh-accent); text-shadow: var(--vh-glow); }

.vh-statement-large {
	margin: 0;
	max-width: 17ch;
	font-family: var(--vh-sg);
	font-weight: 700;
	font-size: clamp(44px, 5.6vw, 81px);
	line-height: 1.06;
	letter-spacing: -.032em;
	color: var(--vh-ink);
}
.vh-statement-large em { font-style: normal; color: var(--vh-accent); text-shadow: var(--vh-glow); }

.vh-p-large,
.vh-p-medium {
	margin: 0 0 1.15em 0;
	font-weight: 400;
	line-height: 1.72;
	letter-spacing: -.004em;
	color: var(--vh-body);
}
.vh-p-large { font-size: 17.5px; }
.vh-p-medium { font-size: 16.5px; }
.vh-p-large:last-child,
.vh-p-medium:last-child { margin-bottom: 0; }
.vh-p-ink { color: var(--vh-ink); }

.vh-role { padding-top: var(--space-30); }

/* centred blocks: the manifesto, and the security intro above its cards */
.vh-manifesto .vh-container { max-width: 860px; text-align: center; }
.vh-manifesto .vh-statement { margin: 0 auto var(--space-40); }
.vh-manifesto .vh-statement-large { margin: 0 auto var(--space-40); }
.vh-manifesto .vh-p-large { max-width: 46ch; margin: 0 auto; }

.vh-intro-center { max-width: 860px; margin: 0 auto; text-align: center; }
.vh-intro-center .vh-statement { margin: 0 auto var(--space-40); }
.vh-intro-center .vh-statement-large { margin: 0 auto var(--space-40); }
.vh-intro-center .vh-p-medium,
.vh-intro-center .vh-p-large { max-width: 52ch; margin-left: auto; margin-right: auto; }
.vh-founder {
	margin: 0;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.35;
	letter-spacing: -.026em;
	color: var(--vh-ink);
}

/*--------------------------------------------------------------
  5. Button — same block as the hero's .btn
--------------------------------------------------------------*/
.vh-btn {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	min-height: 58px;
	padding: 0 22px 0 18px;
	border: 0;
	border-radius: 0;
	background: var(--vh-accent);
	color: var(--vh-accent-ink);
	font-family: var(--vh-sg);
	font-weight: 480;
	font-size: 19px;
	line-height: 1;
	letter-spacing: -.03em;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .24s ease;
}
.vh-btn .vh-arw {
	width: 21.5px;
	height: 18px;
	flex: 0 0 auto;
	overflow: visible;
	transition: transform .28s var(--vh-ease);
}
.vh-btn .vh-arw path { fill: none; stroke: currentColor; stroke-width: 2; }
.vh-btn-small { min-height: 44px; padding: 0 16px 0 14px; font-size: 16px; gap: 9px; }
.vh-btn-small .vh-arw { width: 17px; height: 14px; }
@media (hover: hover) {
	.vh-btn:hover { background: var(--vh-accent-dark); box-shadow: 0 0 28px rgba(255, 255, 255, .2); }
	.vh-btn:hover .vh-arw { transform: translateX(3px); }
}

/*--------------------------------------------------------------
  6. Cards — a hairline on top, nothing else
--------------------------------------------------------------*/
.vh-cap { border-top: 1px solid var(--vh-line); padding-top: 26px; }
.vh-cap-num {
	display: block;
	margin-bottom: 18px;
	font-family: var(--vh-jb);
	font-size: 11.5px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--vh-accent-text);
}
.vh-cap-title {
	margin: 0 0 20px 0;
	font-weight: 700;
	font-size: 25px;
	line-height: 1.16;
	letter-spacing: -.028em;
	color: var(--vh-ink);
}
.vh-cap-text {
	margin: 0 0 22px 0;
	font-size: 15.5px;
	line-height: 1.74;
	letter-spacing: -.004em;
	color: var(--vh-body);
}
.vh-cap-meta {
	margin: 0;
	font-family: var(--vh-jb);
	font-size: 12.5px;
	line-height: 2.05;
	letter-spacing: .03em;
	color: var(--vh-faint);
}

.vh-sec {
	border-top: 1px solid var(--vh-line);
	padding: 30px 0 36px 0;
	transition: border-color .24s ease;
}
.vh-sec-title {
	margin: 0;
	font-family: var(--vh-jb);
	font-weight: 400;
	font-size: 11.5px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--vh-muted);
	transition: color .24s ease;
}
.vh-sec-q {
	margin: 20px 0 0 0;
	font-weight: 700;
	font-size: 21px;
	line-height: 1.26;
	letter-spacing: -.028em;
	color: var(--vh-ink);
}
.vh-sec-text {
	margin: 16px 0 0 0;
	font-size: 14.5px;
	line-height: 1.78;
	letter-spacing: -.004em;
	color: var(--vh-body);
}
@media (hover: hover) and (pointer: fine) {
	.vh-sec:hover { border-top-color: var(--vh-accent); }
	.vh-sec:hover .vh-sec-title { color: var(--vh-ink); }
}

/*--------------------------------------------------------------
  8. Contact
--------------------------------------------------------------*/
.vh-contact-brief { max-width: 520px; margin: var(--space-40) 0; }
.vh-studio {
	margin: 0;
	font-weight: 700;
	font-size: 21px;
	line-height: 1.3;
	letter-spacing: -.022em;
	color: var(--vh-ink);
}
.vh-contact-list li {
	font-family: var(--vh-jb);
	font-size: 13.5px;
	letter-spacing: .04em;
	line-height: 2.5;
	color: var(--vh-ink);
}
.vh-contact-list a { transition: color .22s ease; }
.vh-contact-block + .vh-contact-block { padding-top: var(--space-30); }
.vh-studio + .vh-contact-list { padding-top: var(--space-10); }
@media (hover: hover) { .vh-contact-list a:hover { color: var(--vh-accent-text); } }

/*--------------------------------------------------------------
  10. Footer
--------------------------------------------------------------*/
.vh-footer { padding: var(--space-90) 0; }
.vh-footer-row {
	display: flex;
	justify-content: space-between;
	gap: var(--space-40);
	padding-bottom: var(--space-30);
}
.vh-footer-row .vh-label { margin: 14px 0 0; }
.vh-footer-row > .vh-label { margin: 0; }
.vh-micro {
	margin: 0;
	font-family: var(--vh-jb);
	font-size: 10.5px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--vh-ink);
}
.vh-micro a { transition: color .22s ease; }
@media (hover: hover) { .vh-micro a:hover { color: var(--vh-accent-text); } }
.vh-hr { height: 1px; margin: 0; border: 0; background: var(--vh-line); }
.vh-footer-legal { display: flex; justify-content: space-between; gap: var(--space-20); padding-top: var(--space-30); }
/* footer reduced to the legal line: wordmark, tagline and place are
   hidden. Delete these three rules to bring them back. */
.vh-footer { padding: var(--space-40) 0; }
.vh-footer-row,
.vh-footer .vh-hr { display: none; }
.vh-footer .vh-footer-legal { padding-top: 0; }

/*--------------------------------------------------------------
  11. Reveal — armed only when JS runs (html.js), so the page
      reads in full without it
--------------------------------------------------------------*/
html.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .8s var(--vh-ease), transform .8s var(--vh-ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/*--------------------------------------------------------------
  12. Responsive
--------------------------------------------------------------*/
@media (max-width: 1199px) {
	.vh-cap-title { font-size: 23px; }
}
@media (max-width: 1023px) {
}
@media (max-width: 999px) {
	:root { --space-120: 96px; }
	.vh-split { flex-direction: column; gap: var(--space-40); }
	.vh-split > * { flex: 0 0 auto; width: 100%; }
	.vh-drop-20,
	.vh-drop-60 { padding-top: 0; }
	.vh-grid { flex-wrap: wrap; }
	.vh-grid > * { flex: 1 1 calc(50% - var(--space-30)); }
	.vh-grid-3 > * { flex-basis: 100%; }
	.vh-cap { padding-bottom: var(--space-20); }
	.vh-sec-q { font-size: 20px; }
}
@media (max-width: 767px) {
	:root { --space-120: 80px; --space-90: 64px; --container-gutter: 26px; }
	.vh-p-large { font-size: 16px; }
	.vh-p-medium { font-size: 15.5px; }
	.vh-cap-title { font-size: 21px; }
	.vh-index { margin-bottom: 22px; }
	.vh-btn { min-height: 50px; padding: 0 19px 0 16px; font-size: 17.5px; }
	.vh-grid > * { flex-basis: 100%; }
	.vh-footer-row,
	.vh-footer-legal { flex-direction: column; gap: var(--space-20); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
	.vh-btn, .vh-btn .vh-arw, .vh-sec, .vh-sec-title,
	.vh-contact-list a, .vh-micro a { transition: none; }
}
