@font-face {
	font-family: "Avenir Next";
	src: local("Avenir Next Regular"), url("/v2/fonts/avenir-next-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Avenir Next";
	src: local("Avenir Next Medium"), url("/v2/fonts/avenir-next-medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Avenir Next";
	src: local("Avenir Next Demi Bold"), url("/v2/fonts/avenir-next-demibold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Avenir Next";
	src: local("Avenir Next Bold"), url("/v2/fonts/avenir-next-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--black: #000;
	--ink: #0b0b0b;
	--white: #fff;
	--paper: #f4f4f2;
	--grey-1: rgba(255,255,255,0.62);
	--grey-2: rgba(255,255,255,0.14);
	--ink-1: rgba(0,0,0,0.6);
	--ink-2: rgba(0,0,0,0.12);
	--font: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--pad: clamp(20px, 5vw, 64px);
	--max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--white);
	background: var(--black);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- NAV ---------- */
.nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between;
	padding: 22px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
	transition: background 250ms ease, padding 250ms ease, border-color 250ms ease;
	border-bottom: 1px solid transparent;
}
.nav.solid {
	background: rgba(0,0,0,0.82);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	padding-top: 14px; padding-bottom: 14px;
	border-bottom-color: var(--grey-2);
}
.nav-logo { height: 22px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 3vw, 36px); }
.nav-links a {
	font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--grey-1); transition: color 150ms ease;
}
.nav-links a:hover { color: var(--white); }

/* ---------- HERO ---------- */
.hero {
	position: relative; min-height: 100svh; overflow: hidden;
	display: flex; flex-direction: column; justify-content: center;
	padding: 140px 0 120px;
	isolation: isolate;
}
.hero-video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	filter: grayscale(1) contrast(1.15) brightness(0.9);
	z-index: -3;
}
.hero::before { /* darken + vignette */
	content: ""; position: absolute; inset: 0; z-index: -2;
	background:
		radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.25), rgba(0,0,0,0.85) 75%),
		linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,1));
}
.hero::after { /* grain, carried over from v1 */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 2px 2px;
	mix-blend-mode: overlay;
}
.hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 28px;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--grey-1);
}
.pulse {
	display: inline-block; width: 7px; height: 7px; border-radius: 50%;
	background: var(--white); position: relative;
}
.pulse::after {
	content: ""; position: absolute; inset: -4px; border-radius: 50%;
	border: 1px solid var(--white); opacity: 0;
	animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }

.hero-title {
	margin: 0;
	font-size: clamp(30px, 5.6vw, 76px);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.03em;
}
.hero-title .line { display: block; white-space: nowrap; }
@media (max-width: 600px) { .hero-title .line { white-space: normal; } }
.hero-sub {
	max-width: 520px; margin: 24px 0 0;
	font-size: clamp(15px, 1.3vw, 17px); line-height: 1.55; font-weight: 500;
	color: rgba(255,255,255,0.72);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 42px; padding: 0 20px; border-radius: 999px;
	font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
	transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--black); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }

.hero-foot {
	position: absolute; left: 0; right: 0; bottom: 0;
	display: flex; justify-content: space-between; gap: 16px;
	padding: 22px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
	border-top: 1px solid var(--grey-2);
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
	color: rgba(255,255,255,0.45);
}

/* ---------- SECTIONS ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.light { background: var(--paper); color: var(--ink); }
.section.dark { background: var(--black); color: var(--white); }

.section-head {
	display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; row-gap: 18px;
	margin-bottom: clamp(36px, 5vw, 64px);
}
.index {
	grid-row: span 2;
	font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
	padding-top: 10px; opacity: 0.55;
}
.section-head h2 {
	margin: 0;
	font-size: clamp(30px, 4vw, 52px); font-weight: 600;
	letter-spacing: -0.03em; line-height: 1;
}
.lede { margin: 0; max-width: 580px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; opacity: 0.68; }

/* ---------- PRODUCTS ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product {
	background: var(--white); border: 1px solid var(--ink-2); border-radius: 20px;
	padding: clamp(24px, 2.8vw, 34px);
	display: flex; flex-direction: column;
	transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.product:hover { transform: translateY(-4px); border-color: rgba(0,0,0,0.3); box-shadow: 0 24px 60px rgba(0,0,0,0.08); }
.product-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.product-icon { width: 60px; height: 60px; border-radius: 22%; box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.product-icon-svg {
	display: grid; place-items: center;
	background: linear-gradient(180deg, #2a2a2a, #000);
	color: var(--white);
}
.product-icon-svg svg { width: 58%; height: 58%; }
.tag {
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
	border: 1px solid var(--ink-2); border-radius: 999px; padding: 6px 12px;
}
.product h3 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.product-line { margin: 6px 0 16px; font-size: 16px; font-weight: 600; opacity: 0.5; }
.product p { margin-top: 0; }
.product > p:not(.product-line) { color: var(--ink-1); font-size: 15px; line-height: 1.6; }
.facts { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--ink-2); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 14px; }
.facts li span:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; padding-top: 3px; }

/* ---------- R&D ---------- */
.chart-card {
	border: 1px solid var(--grey-2); border-radius: 24px; overflow: hidden;
	background: radial-gradient(ellipse at 70% 50%, #111, #000 70%);
	margin-bottom: 20px;
}
.chart-meta {
	display: flex; justify-content: space-between; align-items: center;
	padding: 18px 24px; border-bottom: 1px solid var(--grey-2);
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.chart-meta > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.chart-meta .muted { opacity: 0.4; }
#band { display: block; width: 100%; height: clamp(200px, 26vw, 300px); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { border: 1px solid var(--grey-2); border-radius: 20px; padding: 26px; }
.pillar-k { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.pillar p { margin: 0; color: var(--grey-1); font-size: 14px; line-height: 1.65; }

/* ---------- COMPANY ---------- */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--ink-2); padding-top: 36px; }
.label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; margin-bottom: 12px; }
.company-block p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; }

.also { margin-top: clamp(44px, 6vw, 72px); }
.also-icons { display: flex; flex-wrap: wrap; gap: 16px; }
.also-icons img {
	width: 52px; height: 52px; border-radius: 22%;
	box-shadow: 0 6px 18px rgba(0,0,0,0.12);
	opacity: 0.85; transition: opacity 150ms ease, transform 150ms ease;
}
.also-icons img:hover { opacity: 1; transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
.footer { background: var(--black); padding: 56px 0 44px; border-top: 1px solid var(--grey-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-logo { width: min(240px, 60vw); height: auto; }
.footer-small { margin: 0; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.5); text-align: right; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.products .product:nth-child(2), .pillars .pillar:nth-child(2), .company-grid .company-block:nth-child(2) { transition-delay: 90ms; }
.pillars .pillar:nth-child(3), .company-grid .company-block:nth-child(3) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.pulse::after { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
	.products, .pillars, .company-grid { grid-template-columns: 1fr; }
	.section-head { grid-template-columns: 1fr; }
	.index { grid-row: auto; padding-top: 0; }
	.footer-small { text-align: left; }
}
@media (max-width: 560px) {
	.nav-links { gap: 16px; }
	.nav-links a { font-size: 11px; }
	.nav-logo { height: 20px; }
	.hero-foot span:nth-child(n+2) { display: none; }
	.company-block p { font-size: 16px; }
}
