:root {
	--bg: oklch(0.14 0.012 260);
	--bg-2: oklch(0.18 0.014 260);
	--surface: oklch(0.21 0.015 260);
	--line: oklch(0.32 0.018 260);
	--line-soft: oklch(0.26 0.016 260);
	--fg: oklch(0.98 0.005 260);
	--fg-dim: oklch(0.72 0.012 260);
	--fg-muted: oklch(0.52 0.014 260);
	--accent: oklch(0.78 0.17 230); /* electric cyan-blue */
	--accent-2: oklch(0.62 0.18 260); /* deep violet-blue */
	--chrome-1: oklch(0.96 0.005 260);
	--chrome-2: oklch(0.55 0.01 260);
	--radius: 2px;
	--font-display: "Space Grotesk", sans-serif;
	--font-body: "Inter", sans-serif;
	--font-mono: "JetBrains Mono", monospace;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html,
body {
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
body {
	overflow-x: hidden;
}
.brand-logo {
	width: 160px;
	/* height: 22px; */
	object-fit: contain;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}
::selection {
	background: var(--accent);
	color: var(--bg);
}

/* Grain overlay */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
	opacity: 0.05;
	mix-blend-mode: overlay;
}

/* Page-wide vertical rule grid */
.rules {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0; /* CHANGED: was 1 - now sits behind content */
	display: grid;
	grid-template-columns: 1fr repeat(12, minmax(0, calc(96rem / 12))) 1fr;
	max-width: 100%;
}
.rules > span {
	border-left: 1px solid var(--line-soft);
	opacity: 0.18;
}
.rules > span:last-child {
	border-right: 1px solid var(--line-soft);
}

.wrap {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 48px;
	position: relative;
	z-index: 2;
}

/* ---------- NAV ---------- */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: color-mix(in oklch, var(--bg) 70%, transparent);
	border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
	max-width: 1480px;
	margin: 0 auto;
	padding: 16px 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: 0.06em;
	font-size: 16px;
}
.brand svg {
	width: 22px;
	height: 22px;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 36px;
	font-size: 16px;
	color: var(--fg-dim);
}
.nav-links a {
	position: relative;
	padding: 4px 0;
	transition: color 0.2s;
}
.nav-links a:hover {
	color: var(--fg);
}
.nav-links a .num {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--fg-muted);
	margin-right: 6px;
}
.nav-cta {
	display: flex;
	align-items: center;
	gap: 16px;
}
.status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-dim);
}
.status .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: oklch(0.78 0.18 150);
	box-shadow: 0 0 10px oklch(0.78 0.18 150);
	animation: pulse 2s infinite;
}
@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.4;
	}
}
.btn {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	padding: 10px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}
.btn-primary {
	background: linear-gradient(180deg, oklch(0.85 0.15 230), oklch(0.65 0.17 235));
	color: oklch(0.15 0.015 260);
	border: 1px solid oklch(0.85 0.15 230);
	font-weight: 600;
	box-shadow: 0 0 0 1px oklch(0.85 0.15 230 / 0.2), 0 8px 24px oklch(0.55 0.18 235 / 0.3),
		inset 0 1px 0 oklch(1 0 0 / 0.3);
}
.btn-primary:hover {
	color: oklch(0.15 0.015 260);
	border-color: oklch(0.9 0.15 230);
	filter: brightness(1.05);
}

/* ---------- HERO ---------- */
.hero {
	padding: 180px 0 120px;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
	width: 1200px;
	height: 800px;
	background: radial-gradient(ellipse at center, oklch(0.55 0.2 235 / 0.18) 0%, transparent 60%);
	pointer-events: none;
}
.hero-meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 56px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-muted);
	letter-spacing: 0.06em;
}
.hero-meta .tag {
	display: flex;
	align-items: center;
	gap: 10px;
}
.hero-meta .tag .bar {
	width: 24px;
	height: 1px;
	background: var(--accent);
}
.hero h1 {
	font-family: var(--font-display);
	font-size: clamp(56px, 10vw, 100px);
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: -0.04em;
	margin-bottom: 48px;
}
.xresults {
	font-size: clamp(56px, 10vw, 80px);
}
.hero h1 .italic {
	font-style: italic;
	font-weight: 300;
	color: var(--fg-dim);
}
.hero h1 .chrome {
	background: linear-gradient(
		180deg,
		oklch(1 0 0) 0%,
		oklch(0.95 0.005 260) 40%,
		oklch(0.55 0.01 260) 55%,
		oklch(0.85 0.01 260) 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero h1 .accent {
	background: linear-gradient(180deg, oklch(0.9 0.13 230) 0%, oklch(0.6 0.18 235) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero-sub {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 48px;
	align-items: end;
	padding-top: 40px;
	border-top: 1px solid var(--line-soft);
}
.hero-sub p {
	font-size: 17px;
	color: var(--fg-dim);
	line-height: 1.5;
	max-width: 540px;
}
.hero-sub p strong {
	color: var(--fg);
	font-weight: 500;
}
.hero-stat .n {
	font-family: var(--font-display);
	font-size: 40px;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--fg);
}
.hero-stat .l {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--fg-muted);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 6px;
}
.hero-cta {
	display: flex;
	gap: 12px;
	margin-top: 28px;
}

/* Floating ticker */
.ticker {
	margin-top: 96px;
	padding: 20px 0;
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
	overflow: hidden;
	white-space: nowrap;
	position: relative;
}
.ticker-track {
	display: inline-flex;
	gap: 80px;
	animation: scroll 40s linear infinite;
	font-family: var(--font-display);
	font-size: 13px;
	letter-spacing: 0.1em;
	color: var(--fg-muted);
	text-transform: uppercase;
}
.ticker-track span::before {
	content: "◆";
	color: var(--accent);
	margin-right: 80px;
	font-size: 8px;
	vertical-align: middle;
}
@keyframes scroll {
	to {
		transform: translateX(-50%);
	}
}

/* ---------- SECTION HEADERS ---------- */
.sec {
	padding: 140px 0;
	position: relative;
}
.sec-head {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 80px;
	margin-bottom: 80px;
	align-items: end;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--line-soft);
}
.sec-label {
	font-family: var(--font-mono);
	font-size: 15px;
	color: var(--accent);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 12px;
}
.sec-label::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	background: var(--accent);
}
.sec-title {
	font-family: var(--font-display);
	font-size: clamp(40px, 5vw, 72px);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1;
}
.sec-title .italic {
	font-style: italic;
	font-weight: 300;
	color: var(--fg-dim);
}

/* ---------- SERVICES ---------- */
.services {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 1px solid var(--line-soft);
}
.service {
	border-right: 1px solid var(--line-soft);
	padding: 36px 28px;
	position: relative;
	transition: background 0.3s;
	cursor: pointer;
}
.service:last-child {
	border-right: none;
}
.service:hover {
	background: var(--bg-2);
}
.service-n {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-muted);
	margin-bottom: 40px;
	display: flex;
	justify-content: space-between;
}
.service-icon {
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 40px;
	transition: all 0.3s;
}
.service:hover .service-icon {
	border-color: var(--accent);
	box-shadow: 0 0 24px oklch(0.7 0.17 230 / 0.2);
}
.service h3 {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin-bottom: 14px;
}
.service p {
	color: var(--fg-dim);
	font-size: 14px;
	line-height: 1.55;
	margin-bottom: 28px;
}
.service-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line-soft);
}
.service-list li {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-muted);
	padding: 10px 0;
	border-bottom: 1px solid var(--line-soft);
	display: flex;
	justify-content: space-between;
}
.service-list li::before {
	content: "→";
	color: var(--accent);
	margin-right: 8px;
}
.service-list li span {
	color: var(--fg);
	font-family: var(--font-body);
	text-transform: none;
	letter-spacing: 0;
	flex: 1;
	font-size: 12px;
}

/* ---------- CASE STUDY REEL ---------- */
.reel {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 24px;
}
.case {
	grid-column: span 6;
	position: relative;
	cursor: pointer;
}
.case-media {
	aspect-ratio: 4/5;
	background: var(--bg-2);
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line-soft);
}
.case-media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(135deg, transparent 0 18px, oklch(0.32 0.02 260 / 0.3) 18px 19px),
		linear-gradient(180deg, var(--bg-2), oklch(0.16 0.02 260));
}
.case-media::after {
	content: attr(data-label);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--fg-muted);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 1px solid var(--line);
	padding: 8px 14px;
	background: var(--bg);
}
.case-meta {
	display: flex;
	justify-content: space-between;
	padding: 20px 0;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-muted);
	letter-spacing: 0.08em;
}
.case h4 {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}
.case-stats {
	display: flex;
	gap: 36px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--line-soft);
}
.case-stat .n {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 400;
	letter-spacing: -0.02em;
}
.case-stat .n .up {
	color: var(--accent);
	font-size: 20px;
	margin-left: 4px;
}
.case-stat .l {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--fg-muted);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 4px;
}

/* Alt case layout */
.case.wide {
	grid-column: span 12;
}
.case.wide .case-media {
	aspect-ratio: 21/9;
}
.case.third {
	grid-column: span 4;
}
.case.third .case-media {
	aspect-ratio: 1/1;
}
.case.third h4 {
	font-size: 22px;
}

/* ---------- PROCESS ---------- */
.process {
	border-top: 1px solid var(--line-soft);
}
.process-row {
	display: grid;
	grid-template-columns: 120px minmax(200px, 0.6fr) 2fr 1fr;
	gap: 48px;
	padding: 48px 0;
	border-bottom: 1px solid var(--line-soft);
	align-items: start;
	transition: background 0.2s;
}
.process-row:hover {
	background: var(--bg-2);
}
.process-n {
	font-family: var(--font-display);
	font-size: 56px;
	font-weight: 300;
	color: var(--accent);
	letter-spacing: -0.03em;
	line-height: 1;
}
.process-title {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.process-desc {
	color: var(--fg-dim);
	font-size: 17px;
	line-height: 1.55;
}
.process-deliverables {
	font-family: var(--font-mono);
	font-size: 14px;
	color: #e1e1e1;
}
.process-deliverables div {
	padding: 4px 0;
}
.process-deliverables div::before {
	content: "—";
	margin-right: 8px;
	color: var(--accent);
}
.process-time {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-muted);
	letter-spacing: 0.08em;
	margin-top: 12px;
}

/* ---------- DASHBOARD ---------- */
.dash-wrap {
	background: var(--bg-2);
	border: 1px solid var(--line-soft);
	position: relative;
	overflow: hidden;
}
.dash-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid var(--line-soft);
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-muted);
	letter-spacing: 0.06em;
}
.dash-top .dots {
	display: flex;
	gap: 6px;
}
.dash-top .dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--line);
}
.dash-top .live {
	display: flex;
	align-items: center;
	gap: 8px;
	color: oklch(0.78 0.18 150);
}
.dash-top .live::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: oklch(0.78 0.18 150);
	box-shadow: 0 0 8px oklch(0.78 0.18 150);
	animation: pulse 1.5s infinite;
}

.dash-body {
	display: grid;
	grid-template-columns: 280px 1fr 320px;
	min-height: 540px;
}
.dash-side {
	border-right: 1px solid var(--line-soft);
	padding: 24px;
}
.dash-side h5 {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--fg-muted);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 16px;
}
.channel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--line-soft);
	font-size: 13px;
}
.channel-name {
	display: flex;
	align-items: center;
	gap: 10px;
}
.channel-name::before {
	content: "";
	width: 3px;
	height: 16px;
	background: var(--accent);
}
.channel-v {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-dim);
}

.dash-main {
	padding: 28px;
	position: relative;
}
.dash-main-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 20px;
}
.dash-big {
	font-family: var(--font-display);
	font-size: 72px;
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1;
}
.dash-big span {
	color: var(--accent);
	font-size: 28px;
	margin-left: 8px;
}
.dash-sub {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-muted);
	letter-spacing: 0.08em;
}
.chart {
	height: 280px;
	width: 100%;
	margin-top: 24px;
	position: relative;
}
.chart svg {
	width: 100%;
	height: 100%;
	display: block;
}
.dash-grid-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--line-soft);
	margin-top: 20px;
}
.dash-grid-stats > div {
	padding: 18px 0;
	border-right: 1px solid var(--line-soft);
}
.dash-grid-stats > div:last-child {
	border-right: none;
}
.dash-grid-stats .n {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.dash-grid-stats .l {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--fg-muted);
	letter-spacing: 0.08em;
	margin-top: 4px;
	text-transform: uppercase;
}

.dash-feed {
	border-left: 1px solid var(--line-soft);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.feed-item {
	padding: 12px;
	background: var(--bg);
	border: 1px solid var(--line-soft);
	font-size: 12px;
}
.feed-item .t {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--fg-muted);
	margin-bottom: 6px;
	letter-spacing: 0.08em;
}
.feed-item .m {
	color: var(--fg-dim);
	line-height: 1.4;
}
.feed-item .m b {
	color: var(--fg);
	font-weight: 500;
}

/* ---------- PRICING ---------- */
.pricing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}
.plan {
	padding: 40px 32px;
	border-right: 1px solid var(--line-soft);
	position: relative;
}
.plan:last-child {
	border-right: none;
}
.plan.featured {
	background: var(--bg-2);
}
.plan.featured::before {
	content: "MOST POPULAR";
	position: absolute;
	top: 0;
	right: 0;
	background: var(--accent);
	color: var(--bg);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	padding: 4px 10px;
}
.plan-name {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-muted);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 28px;
}
.plan-price {
	font-family: var(--font-display);
	font-size: 56px;
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1;
}
.plan-price .unit {
	font-size: 14px;
	color: var(--fg-muted);
	margin-left: 4px;
	font-family: var(--font-mono);
	letter-spacing: 0.06em;
}
.plan-desc {
	color: var(--fg-dim);
	font-size: 14px;
	margin: 16px 0 28px;
	line-height: 1.5;
}
.plan-features {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	border-top: 1px solid var(--line-soft);
}
.plan-features li {
	padding: 12px 0;
	border-bottom: 1px solid var(--line-soft);
	font-size: 13px;
	color: var(--fg-dim);
	display: flex;
	gap: 10px;
}
.plan-features li::before {
	content: "+";
	color: var(--accent);
	font-family: var(--font-mono);
}

/* ---------- CTA ---------- */
.cta {
	padding: 180px 0 120px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, oklch(0.55 0.2 235 / 0.15) 0%, transparent 55%);
	pointer-events: none;
}
.cta h2 {
	font-family: var(--font-display);
	font-size: clamp(48px, 7vw, 120px);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 0.95;
	margin-bottom: 32px;
}
.cta h2 .italic {
	font-style: italic;
	font-weight: 300;
	color: var(--fg-dim);
}
.cta h2 .chrome {
	background: linear-gradient(
		180deg,
		oklch(1 0 0) 0%,
		oklch(0.95 0.005 260) 40%,
		oklch(0.55 0.01 260) 55%,
		oklch(0.85 0.01 260) 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.cta p {
	font-size: 18px;
	color: var(--fg-dim);
	max-width: 560px;
	margin: 0 auto 40px;
}
.cta-row {
	display: flex;
	justify-content: center;
	gap: 12px;
}

/* ---------- FOOTER ---------- */
footer {
	border-top: 1px solid var(--line-soft);
	padding: 80px 0 32px;
}
.foot-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 80px;
}
.foot-brand {
	font-family: var(--font-display);
	font-size: 14px;
	letter-spacing: 0.1em;
	margin-bottom: 16px;
}
.foot-grid h6 {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--fg-muted);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.foot-grid ul {
	list-style: none;
	padding: 0;
}
.foot-grid ul li {
	padding: 6px 0;
	font-size: 15px;
	color: var(--fg-dim);
}
.foot-grid ul li:hover {
	color: var(--fg);
	cursor: pointer;
}
.foot-big {
	font-family: var(--font-display);
	font-size: clamp(60px, 12vw, 220px);
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 0.85;
	color: var(--fg);

	/* Add this line to shave off the font's built-in left spacing */
	margin-left: -0.09em;
}
.foot-big .chrome {
	background: linear-gradient(
		180deg,
		oklch(1 0 0) 0%,
		oklch(0.95 0.005 260) 30%,
		oklch(0.45 0.01 260) 60%,
		oklch(0.85 0.01 260) 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.foot-bottom {
	display: flex;
	justify-content: space-between;
	padding-top: 24px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-muted);
	letter-spacing: 0.06em;
}

/* ---------- LOGOS MARQUEE ---------- */
.logos {
	padding: 48px 0;
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
	overflow: hidden;
}
.logos-inner {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 80px;
	font-family: var(--font-display);
	font-size: 20px;
	letter-spacing: 0.1em;
	color: var(--fg-muted);
	text-transform: uppercase;
	font-weight: 400;
}
.logos-inner span {
	transition: opacity 0.3s;
}
.logos-inner span:hover {
	color: var(--fg);
}

/* TWEAKS PANEL */
#tweaks {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 1000;
	background: var(--bg-2);
	border: 1px solid var(--line);
	padding: 20px;
	font-family: var(--font-mono);
	font-size: 11px;
	width: 280px;
	display: none;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}
#tweaks.open {
	display: block;
}
#tweaks h6 {
	color: var(--accent);
	letter-spacing: 0.12em;
	margin-bottom: 16px;
	text-transform: uppercase;
	display: flex;
	justify-content: space-between;
}
#tweaks label {
	display: block;
	margin-bottom: 14px;
	color: var(--fg-dim);
}
#tweaks label span {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	letter-spacing: 0.08em;
}
#tweaks input,
#tweaks select {
	width: 100%;
	background: var(--bg);
	border: 1px solid var(--line);
	color: var(--fg);
	padding: 8px;
	font-family: var(--font-mono);
	font-size: 11px;
}
#tweaks input[type="range"] {
	padding: 0;
}
#tweaks .swatches {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 4px;
	margin-top: 6px;
}
#tweaks .swatches button {
	aspect-ratio: 1;
	border: 1px solid var(--line);
	cursor: pointer;
	padding: 0;
}
#tweaks .swatches button.active {
	outline: 1px solid var(--fg);
}

@media (max-width: 900px) {
	.wrap {
		padding: 0 24px;
	}
	.nav-inner {
		padding: 14px 24px;
	}
	.nav-links {
		display: none;
	}
	.hero {
		padding: 140px 0 80px;
	}
	.hero-sub {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.services,
	.pricing {
		grid-template-columns: 1fr;
	}
	.service,
	.plan {
		border-right: none;
		border-bottom: 1px solid var(--line-soft);
	}
	.sec-head {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.reel {
		gap: 16px;
	}
	.case,
	.case.wide,
	.case.third {
		grid-column: span 12;
	}
	.process-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.dash-body {
		grid-template-columns: 1fr;
	}
	.dash-side,
	.dash-feed {
		border: none;
		border-bottom: 1px solid var(--line-soft);
	}
	.foot-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* --- PORTFOLIO GRID --- */
.premium-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
	padding: 2rem 0;
	width: 100%;
}

.portfolio-item {
	cursor: pointer;
	group: portfolio; /* For modern CSS nesting */
}

.item-image-wrapper {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #1a1a1a;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.portfolio-item:hover .item-image-wrapper {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.item-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.portfolio-item:hover .item-image-wrapper img {
	transform: scale(1.05);
}

.item-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.portfolio-item:hover .item-overlay {
	opacity: 1;
}

.play-icon {
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.8);
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover .play-icon {
	transform: scale(1);
}

.play-icon svg {
	width: 24px;
	height: 24px;
	color: #000;
	margin-left: 4px; /* visually centers the play triangle */
}

.item-meta {
	margin-top: 1rem;
}

.item-meta h3 {
	margin: 0 0 0.25rem 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #333; /* Change to #fff if on dark mode */
}

.item-meta span {
	font-size: 0.85rem;
	color: #777;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* --- VIDEO MODAL --- */
.video-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.active {
	opacity: 1;
	visibility: visible;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(10px); /* Premium glass effect */
	-webkit-backdrop-filter: blur(10px);
}

.close-modal {
	position: absolute;
	top: 2rem;
	right: 2rem;
	z-index: 2;
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	padding: 10px;
	opacity: 0.7;
	transition: opacity 0.2s, transform 0.2s;
}

.close-modal:hover {
	opacity: 1;
	transform: scale(1.1);
}

.close-modal svg {
	width: 32px;
	height: 32px;
}

.video-modal.active .modal-content {
	transform: scale(1);
}

/* Aspect Ratios to create an editorial feel */
.ratio-social .case-media {
	width: 340px;
	aspect-ratio: 4/5;
}
.ratio-cinema .case-media {
	width: 680px;
	aspect-ratio: 16/9;
}
.ratio-square .case-media {
	width: 400px;
	aspect-ratio: 1/1;
}
.ratio-tiktok .case-media {
	width: 300px;
	aspect-ratio: 9/16;
}

/* Interactive Media Container */
.carousel-item .case-media {
	background: var(--bg-2);
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	transition: border-color 0.4s ease, transform 0.4s ease;
}

.carousel-item:hover .case-media {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: 0 12px 32px oklch(0.78 0.17 230 / 0.15);
}

/* Play Button Overlay */
.play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(8px);
	border: 1px solid var(--line);
	color: var(--fg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	opacity: 0;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	z-index: 2;
}
.carousel-item:hover .play-btn {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	border-color: var(--accent);
	color: var(--accent);
}

/* Typography Adjustments for Carousel */
.carousel-item h4 {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 12px;
}
.carousel-item .case-stats {
	margin-top: auto; /* Pushes stats to bottom */
	padding-top: 16px;
	border-top: 1px solid var(--line-soft);
}

.case-industry {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-top: 20px;
	margin-bottom: 8px;
}

/* CHANGED: tighten title spacing since stats are gone */
.carousel-item h4 {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 0;
}

/* Progress Bar */
.carousel-progress-wrap {
	padding: 0 48px;
	margin-top: 16px;
}
.carousel-progress-bar {
	width: 100%;
	height: 2px;
	background: var(--line-soft);
	position: relative;
	border-radius: 2px;
	overflow: hidden;
}
.carousel-progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: var(--accent);
	width: 0%;
	transition: width 0.1s ease-out;
}

/* Drag Hint */
.drag-hint {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: oklch(0.18 0.014 260 / 0.5);
	backdrop-filter: blur(8px);
}
.drag-hint svg {
	width: 14px;
	height: 14px;
}

@media (max-width: 900px) {
	.hidden-mobile {
		display: none;
	}
	.ratio-cinema .case-media {
		width: 85vw;
	}
	.carousel-track {
		padding: 0 24px 24px;
	}
	.carousel-progress-wrap {
		padding: 0 24px;
	}
}

.hero-pill-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 56px;
}

.hero-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px 8px 14px;
	border-radius: 999px;
	background: linear-gradient(180deg, oklch(0.22 0.02 260 / 0.6), oklch(0.18 0.014 260 / 0.6));
	border: 1px solid oklch(1 0 0 / 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.06), 0 8px 32px oklch(0.55 0.18 235 / 0.12);
	font-family: var(--font-mono);
	font-size: 16px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fg);
	position: relative;
}

.hero-pill::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 999px;
	padding: 1px;
	background: linear-gradient(
		135deg,
		oklch(0.85 0.15 230 / 0.5),
		transparent 40%,
		transparent 60%,
		oklch(0.62 0.18 260 / 0.4)
	);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.hero-pill-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 12px var(--accent);
	animation: pulse 2s infinite;
}

.hero-pill-text {
	background: linear-gradient(180deg, oklch(0.98 0.005 260), oklch(0.78 0.012 260));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 500;
}

.logos {
	padding: 56px 0;
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
	overflow: hidden;
}

.logos-label {
	font-family: var(--font-mono);
	font-size: 15px;
	color: var(--fg-muted);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 28px;
}

.logos-inner {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 56px;
	flex-wrap: wrap;
}

.platform-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--fg);
	opacity: 1; /* CHANGED: was 0.7 */
	transition: transform 0.3s ease;
	cursor: default;
}
.platform-logo:hover {
	/* CHANGED: removed opacity/color change, now just a subtle lift on hover */
	transform: translateY(-2px);
}

.platform-logo svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	/* color comes from inline style on each SVG */
}

@media (max-width: 900px) {
	.logos-inner {
		gap: 28px;
	}
	.platform-logo {
		font-size: 13px;
	}
	.platform-logo svg {
		width: 18px;
		height: 18px;
	}
}

.hero {
	padding: 180px 0 120px;
	position: relative;
	overflow: hidden;
	isolation: isolate; /* NEW: keeps the video pinned behind hero content only */
}

/* CHANGED: keep your existing radial glow but bump z-index above video */
.hero::before {
	content: "";
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
	width: 1200px;
	height: 800px;
	background: radial-gradient(ellipse at center, oklch(0.55 0.2 235 / 0.18) 0%, transparent 60%);
	pointer-events: none;
	z-index: 1; /* NEW */
}

/* NEW: background video layer */
.hero-bg-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.hero-bg-video video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	/* Subtle desaturation so it doesn't fight your accent color */
	filter: saturate(0.7) contrast(1.05) brightness(0.6);
}

/* NEW: gradient overlay for text legibility */
.hero-bg-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
			180deg,
			oklch(0.14 0.012 260 / 0.5) 0%,
			oklch(0.14 0.012 260 / 0.4) 40%,
			oklch(0.14 0.012 260 / 0.85) 100%
		),
		radial-gradient(ellipse at center, transparent 30%, oklch(0.14 0.012 260 / 0.4) 100%);
	pointer-events: none;
}

/* CHANGED: hero content needs to sit above video */
.hero .wrap {
	position: relative;
	z-index: 2;
}

/* --- PREMIUM PORTFOLIO GRID --- */
.premium-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2.5rem;
	padding: 2rem 0;
	width: 100%;
	align-items: start; /* Keeps portrait and landscape looking good in a grid */
}

/* .premium-portfolio-grid:hover .portfolio-item:not(:hover) {
	opacity: 0.4;
	filter: grayscale(40%);
} */

.portfolio-item {
	cursor: pointer;
	position: relative;
	transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

/* Handle Thumbnail Orientations automatically */
.orient-landscape .item-image-wrapper {
	aspect-ratio: 16 / 9;
}
.orient-portrait .item-image-wrapper {
	aspect-ratio: 9 / 16;
}

.item-image-wrapper {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: var(--bg-2, #111);
	border: 1px solid var(--line-soft, rgba(255, 255, 255, 0.08));
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.portfolio-item:hover .item-image-wrapper {
	transform: translateY(-8px);
	border-color: var(--accent, #4285f4);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.item-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}

.portfolio-item:hover .item-image-wrapper img {
	transform: scale(1.08);
}

.empty-thumbnail {
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.item-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.portfolio-item:hover .item-overlay {
	opacity: 1;
}

.play-icon {
	width: 64px;
	height: 64px;
	background: rgba(20, 20, 20, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.8) translateY(10px);
	transition: transform 0.4s ease, background 0.4s ease;
}

.portfolio-item:hover .play-icon {
	transform: scale(1) translateY(0);
	background: var(--accent, #fff);
	border-color: var(--accent, #fff);
}

.play-icon svg {
	width: 24px;
	height: 24px;
	color: #fff;
	margin-left: 4px;
	transition: color 0.4s ease;
}

.portfolio-item:hover .play-icon svg {
	color: #000;
}

.item-meta {
	margin-top: 1.25rem;
}
.item-meta h3 {
	margin: 0 0 0.4rem 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--fg, #fff);
}
.item-meta span {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--accent, #4285f4);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* --- ADAPTIVE VIDEO MODAL (NO MORE 16:9 HACK) --- */
.video-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.active {
	opacity: 1;
	visibility: visible;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.close-modal {
	position: absolute;
	top: 2rem;
	right: 3rem;
	z-index: 2;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: white;
	cursor: pointer;
	padding: 12px;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close-modal:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: rotate(90deg) scale(1.1);
}

.close-modal svg {
	width: 24px;
	height: 24px;
}

/* The container scales down but allows inner content to dictate shape */
.modal-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	width: auto; /* CHANGED: was 90vw */
	height: auto; /* CHANGED: was 90vh */
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	transform: scale(0.95) translateY(20px);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .modal-content {
	transform: scale(1) translateY(0);
}

.video-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	/* removed: width: 100%; height: 100%; */
}

/* The video naturally sizes itself based on its intrinsic ratio */
.video-wrapper video {
	max-width: 90vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	display: block;
	border-radius: 12px;
	background: #000;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
	outline: none;
}

/* ===== CONTACT PAGE ===== */

/* CONTACT HERO */
.contact-hero {
	padding: 140px 0 40px;
	position: relative;
	overflow: hidden;
	text-align: center;
	isolation: isolate;
}
.contact-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1200px;
	height: 700px;
	background: radial-gradient(ellipse at center, oklch(0.55 0.2 235 / 0.18) 0%, transparent 60%);
	pointer-events: none;
	z-index: -1;
}
.contact-hero h1 {
	font-family: var(--font-display);
	font-size: clamp(48px, 7vw, 84px);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: -0.04em;
	margin-bottom: 32px;
}
.contact-hero h1 .italic {
	font-style: italic;
	font-weight: 300;
	color: var(--fg-dim);
}
.contact-hero h1 .chrome {
	background: linear-gradient(
		180deg,
		oklch(1 0 0) 0%,
		oklch(0.95 0.005 260) 40%,
		oklch(0.55 0.01 260) 55%,
		oklch(0.85 0.01 260) 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.contact-hero-sub {
	font-size: 18px;
	color: var(--fg-dim);
	max-width: 620px;
	margin: 0 auto;
	line-height: 1.5;
}

/* CONTACT GRID */
.contact-section {
	padding: 40px 0 140px;
}
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 80px;
	align-items: start;
	border-top: 1px solid var(--line-soft);
	padding-top: 50px;
}

/* LEFT ASIDE — WHAT TO EXPECT */
.contact-aside .sec-label {
	margin-bottom: 32px;
}
.expect-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.expect-item {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 20px;
	align-items: start;
}
.expect-n {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 300;
	color: var(--accent);
	letter-spacing: -0.02em;
	line-height: 1;
}
.expect-item h4 {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 6px;
	letter-spacing: -0.01em;
}
.expect-item p {
	color: var(--fg-dim);
	font-size: 14px;
	line-height: 1.55;
}

/* FORM WRAPPER */
.contact-form-wrap {
	background: var(--bg-2);
	border: 1px solid var(--line-soft);
	padding: 40px;
	border-radius: var(--radius);
	position: relative;
}
.contact-form-head {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line-soft);
}
.contact-form-head .sec-label {
	margin-bottom: 12px;
}
.contact-form-sub {
	color: var(--fg);
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.85;
}

/* FORM LAYOUT */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* LABELS */
.form-label {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-dim);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.form-label em {
	color: var(--accent);
	font-style: normal;
	margin-left: 2px;
}

/* INPUTS */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
	background: var(--bg);
	border: 1px solid var(--line);
	color: var(--fg);
	font-family: var(--font-body);
	font-size: 15px;
	padding: 12px 14px;
	border-radius: var(--radius);
	transition: border-color 0.2s, box-shadow 0.2s;
	width: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: var(--fg-dim);
	opacity: 0.7;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px oklch(0.78 0.17 230 / 0.15);
}

/* SELECT */
.contact-form select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23888' stroke-width='1.5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}

/* TEXTAREA */
.contact-form textarea {
	resize: vertical;
	min-height: 100px;
	font-family: var(--font-body);
}

/* CHECKBOX PILLS */
.checkbox-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.checkbox-pill {
	position: relative;
	cursor: pointer;
}
.checkbox-pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.checkbox-pill span {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13px;
	color: var(--fg);
	transition: all 0.2s;
	background: var(--bg);
}
.checkbox-pill:hover span {
	border-color: var(--fg);
	color: var(--fg);
}
.checkbox-pill input:checked + span {
	border-color: var(--accent);
	background: oklch(0.78 0.17 230 / 0.12);
	color: var(--accent);
}

/* SUBMIT */
.form-submit {
	margin-top: 8px;
	width: 100%;
	justify-content: center;
	padding: 16px 24px;
	font-size: 14px;
}
.form-fineprint {
	font-family: var(--font-mono);
	font-size: 12px;

	/* letter-spacing: 0.04em; */
	text-align: center;
	margin-top: 8px;
}

/* SUCCESS STATE */
.contact-success {
	text-align: center;
	padding: 60px 20px;
}
.success-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	color: var(--accent);
	border: 1px solid var(--accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.success-icon svg {
	width: 32px;
	height: 32px;
}
.contact-success h3 {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 500;
	margin-bottom: 12px;
	letter-spacing: -0.02em;
}
.contact-success p {
	color: var(--fg);
	font-size: 15px;
	max-width: 340px;
	margin: 0 auto;
	opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 900px) {
	.contact-hero {
		padding: 120px 0 30px;
	}
	.contact-section {
		padding: 30px 0 80px;
	}
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 50px;
		padding-top: 40px;
	}
	.contact-form-wrap {
		padding: 28px 20px;
	}
	.form-row {
		grid-template-columns: 1fr;
	}
}

.cf-turnstile {
	min-height: 65px;
	display: block;
}

.nav-links a .dot {
	color: var(--accent);
	font-size: 6px;
	margin-right: 8px;
	vertical-align: middle;
	opacity: 0.6;
	transition: opacity 0.2s;
}
.nav-links a:hover .dot {
	opacity: 1;
}
.nav-links a.active .dot {
	opacity: 1;
}

.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
	border-color: oklch(0.65 0.22 25); /* red */
	box-shadow: 0 0 0 3px oklch(0.65 0.22 25 / 0.15);
}
.form-field.has-error .form-label {
	color: oklch(0.7 0.22 25);
}
.form-field.has-error .checkbox-pill span {
	border-color: oklch(0.65 0.22 25);
}

/* ===== HERO 2-COL LAYOUT WITH FOUNDER VIDEO ===== */
.hero-grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 64px;
	align-items: center;
}

.hero-text h1 {
	/* shrinks slightly to make room for video on the right */
	font-size: clamp(48px, 7vw, 84px);
}

/* override hero-sub since it's now inside the text column */
.hero-grid .hero-sub {
	display: block;
	grid-template-columns: none;
	border-top: 1px solid var(--line-soft);
	padding-top: 32px;
	margin-top: 32px;
}
.hero-grid .hero-sub p {
	margin-bottom: 24px;
	max-width: 100%;
}

/* FOUNDER VIDEO CARD */
.hero-video-card {
	position: relative;
	aspect-ratio: 9 / 16;
	border-radius: 16px;
	overflow: hidden;
	background: var(--bg-2);
	border: 1px solid oklch(1 0 0 / 0.08);
	box-shadow: 0 24px 64px oklch(0 0 0 / 0.4), 0 0 0 1px oklch(0.78 0.17 230 / 0.1), inset 0 1px 0 oklch(1 0 0 / 0.08);
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-video-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 32px 80px oklch(0 0 0 / 0.5), 0 0 0 1px oklch(0.78 0.17 230 / 0.25), inset 0 1px 0 oklch(1 0 0 / 0.08);
}

.hero-video-card video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Hide native controls until playing */
.hero-video-card video::-webkit-media-controls {
	display: none !important;
}
.hero-video-card.is-playing video::-webkit-media-controls {
	display: flex !important;
}

/* PLAY BUTTON OVERLAY */
.founder-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: oklch(1 0 0 / 0.95);
	backdrop-filter: blur(8px);
	border: none;
	color: oklch(0.15 0.015 260);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 12px 40px oklch(0 0 0 / 0.4);
	z-index: 2;
}
.founder-play-btn::before {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: 2px solid oklch(1 0 0 / 0.3);
	animation: founderPulse 2s infinite;
}
.founder-play-btn:hover {
	background: var(--accent);
	transform: translate(-50%, -50%) scale(1.1);
}
.founder-play-btn svg {
	width: 32px;
	height: 32px;
	margin-left: 4px; /* visually centers the play triangle */
}

@keyframes founderPulse {
	0% {
		transform: scale(1);
		opacity: 0.6;
	}
	100% {
		transform: scale(1.3);
		opacity: 0;
	}
}

/* Hide play button when video is playing */
.hero-video-card.is-playing .founder-play-btn,
.hero-video-card.is-playing .founder-caption {
	opacity: 0;
	pointer-events: none;
}

/* CAPTION */
.founder-caption {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	z-index: 2;
	transition: opacity 0.3s;
}
.founder-name {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 500;
	color: var(--fg);
	text-shadow: 0 2px 8px oklch(0 0 0 / 0.6);
}
.founder-role {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--fg-dim);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 4px;
	text-shadow: 0 2px 8px oklch(0 0 0 / 0.8);
}

/* Gradient overlay so the caption stays readable over the video poster */
.hero-video-card::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40%;
	background: linear-gradient(to top, oklch(0 0 0 / 0.7), transparent);
	pointer-events: none;
	z-index: 1;
	transition: opacity 0.3s;
}
.hero-video-card.is-playing::after {
	opacity: 0;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
	.hero-grid {
		grid-template-columns: 1fr 300px;
		gap: 40px;
	}
}

@media (max-width: 900px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.hero-video-card {
		max-width: 320px;
		margin: 0 auto;
	}
}

/* ===== MOBILE MENU ===== */

/* Hamburger button — hidden on desktop */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	gap: 5px;
	cursor: pointer;
	padding: 0;
	background: transparent;
	border: none;
	z-index: 110;
	position: relative;
}
.nav-toggle span {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--fg);
	transition: transform 0.3s ease, opacity 0.2s ease;
	transform-origin: center;
}

/* Hamburger animates into an X when open */
.nav-toggle.is-open span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
	opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* Drawer */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh; /* dynamic viewport for mobile browsers */
	background: var(--bg); /* CHANGED: solid bg instead of color-mix */
	z-index: 99;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.mobile-menu::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(ellipse at center, oklch(0.55 0.2 235 / 0.15) 0%, transparent 60%);
	pointer-events: none;
	z-index: 0;
}

.mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-menu-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding: 40px;
	width: 100%;
	max-width: 320px;
	position: relative; /* ADDED: stack above radial glow */
	z-index: 1;
}

.mobile-menu-inner a {
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 400;
	color: var(--fg);
	letter-spacing: -0.02em;
	text-align: center;
	transform: translateY(20px);
	opacity: 0;
	transition: transform 0.4s ease, opacity 0.4s ease, color 0.2s;
	-webkit-tap-highlight-color: transparent; /* ADDED */
	touch-action: manipulation; /* ADDED */
	padding: 8px 16px; /* ADDED: bigger tap target */
}

/* ADDED: when menu is closed, links shouldn't trap touches */
.mobile-menu:not(.is-open) {
	pointer-events: none;
}
.mobile-menu.is-open {
	pointer-events: auto;
}

/* Make sure the toggle button sits above the menu so X stays clickable */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 44px; /* CHANGED: was 40px - 44px is iOS minimum tap target */
	height: 44px;
	gap: 5px;
	cursor: pointer;
	padding: 0;
	background: transparent;
	border: none;
	z-index: 110;
	position: relative;
	-webkit-tap-highlight-color: transparent; /* ADDED: prevents flash on tap */
	touch-action: manipulation; /* ADDED: removes 300ms tap delay on iOS */
	pointer-events: auto; /* ADDED: explicit safety */
}

.nav-toggle span {
	pointer-events: none; /* ADDED: don't let inner spans block the button */
}

/* CHANGED: nav backdrop is also visible — ensure it doesn't show menu through it */
.nav {
	z-index: 100;
}
.mobile-menu {
	z-index: 99; /* lower than nav so X button stays accessible */
}

.mobile-menu.is-open .mobile-menu-inner a {
	transform: translateY(0);
	opacity: 1;
}
/* Stagger the entry animation */
.mobile-menu.is-open .mobile-menu-inner a:nth-child(1) {
	transition-delay: 0.1s;
}
.mobile-menu.is-open .mobile-menu-inner a:nth-child(2) {
	transition-delay: 0.15s;
}
.mobile-menu.is-open .mobile-menu-inner a:nth-child(3) {
	transition-delay: 0.2s;
}
.mobile-menu.is-open .mobile-menu-inner a:nth-child(4) {
	transition-delay: 0.25s;
}
.mobile-menu.is-open .mobile-menu-inner a:nth-child(5) {
	transition-delay: 0.3s;
}
.mobile-menu.is-open .mobile-menu-inner a:nth-child(6) {
	transition-delay: 0.35s;
}

.mobile-menu-inner a:hover {
	color: var(--accent);
}
.mobile-menu-cta {
	margin-top: 20px;
	font-size: 14px !important;
	padding: 14px 28px;
}

/* Show hamburger and hide CTA on mobile */
@media (max-width: 900px) {
	.nav-toggle {
		display: flex;
	}
	.nav-cta {
		display: none;
	}
	.nav-links {
		display: none;
	}
}
