/* ═══════════════════════════════════════════════════════
   liquifire-os-6.css — LiquiFire OS 6 launch page
   Page-specific styles only. Hero base comes from hero.css,
   closing CTA from closing-section.css, tokens from global.css.
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   SHARED — canonical buttons + overline (per component-audit)
   ═══════════════════════════════════════════════════════ */
.section-tag {
	font-family: var(--f-mono);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--amber);
	display: block;
	margin-bottom: 12px;
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--f-sans);
	font-size: 13.5px;
	font-weight: 500;
	padding: 11px 28px;
	border-radius: var(--r-sm);
	background: var(--ink-900);
	color: var(--white);
	border: none;
	cursor: pointer;
	transition:
		background 0.2s,
		transform 0.1s;
	text-decoration: none;
	min-height: 44px;
}
.btn-primary:hover {
	background: var(--ink-800);
}
.btn-primary:active {
	transform: scale(0.98);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--f-sans);
	font-size: 13.5px;
	font-weight: 500;
	padding: 10px 20px;
	border-radius: var(--r-md);
	background: transparent;
	color: var(--ink-900);
	border: 1px solid var(--ink-900);
	cursor: pointer;
	transition:
		background 0.2s,
		transform 0.1s;
	text-decoration: none;
	min-height: 44px;
}
.btn-secondary:hover {
	background: var(--warm-50);
}

/* ═══════════════════════════════════════════════════════
   1. HERO
   Base is hero.css (.page-hero.page-hero--text). This page
   adds a two-column grid inside .wrap so the interactive
   Surround viewer sits beside the copy. No hero.css value
   is overridden here.
   ═══════════════════════════════════════════════════════ */
.lf6-hero-grid {
	display: grid;
	grid-template-columns: 1fr minmax(300px, 420px);
	gap: 56px;
	align-items: center;
}

/* Instrument Serif italic carries the emphasis on the closing
   line of the h1. Colour stays ink-900 per the colour rules. */
.lf6-hero h1 em {
	font-style: italic;
	color: var(--navy-accent);
	display: block;
}

.lf6-hero-btns {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 32px;
	position: relative;
	z-index: 1;
}
.lf6-btn-arrow {
	margin-left: 9px;
	font-size: 14px;
	line-height: 1;
	transition: transform 0.18s;
}
.btn-primary:hover .lf6-btn-arrow {
	transform: translateX(3px);
}

/* ── Interactive 3D viewer ── */
.lf6-hero-viewer {
	position: relative;
	z-index: 1;
}
.lf6-viewer-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: var(--r-xl);
	overflow: hidden;
	/* background: var(--warm-50);
  border: 1px solid var(--warm-200); */
	cursor: grab;
}
.lf6-viewer-stage.is-live {
	background: transparent;
	border-color: transparent;
}
.lf6-viewer-stage.is-live .lf6-viewer-fallback {
	display: none;
}
.lf6-viewer-stage:active {
	cursor: grabbing;
}
.lf6-viewer-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Surround injects its own canvas into the stage */
.lf6-viewer-stage canvas {
	width: 100% !important;
	height: 100% !important;
	display: block;
}

.lf6-viewer-hint {
	font-family: var(--f-mono);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-400);
	text-align: center;
	margin-top: 14px;
}

/* Build-time notice while the numeral model is a stand-in */
.lf6-viewer-note {
	font-family: var(--f-mono);
	font-size: 9px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ink-400);
	text-align: center;
	margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════
   2. SIGNAL BAND — navy
   Uncited corporate stats (num + label, no source), styled
   after platform.html's .plat-signal-band. Navy must be
   preceded and followed by white per section-rhythm-policy,
   so 3. WHAT'S NEW INTRO below is white, not warm-50.
   ═══════════════════════════════════════════════════════ */
.lf6-signal-section {
	background: var(--navy);
	--amber: #f59e0b;
}
.lf6-signal-band {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
	align-items: stretch;
}
.lf6-signal-item {
	padding: 48px 40px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lf6-signal-num {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: clamp(26px, 2.8vw, 38px);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--white);
	display: block;
}
.lf6-signal-label {
	font-size: 12px;
	font-weight: 300;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.5);
	display: block;
	min-height: 4em;
}
.lf6-signal-div {
	width: 1px;
	background: rgba(255, 255, 255, 0.1);
	align-self: stretch;
}

body.hc .lf6-signal-section {
	background: #00102a;
	--amber: #f59e0b;
}
body.hc .lf6-signal-num {
	color: #ffffff;
}
body.hc .lf6-signal-label {
	color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
	.lf6-signal-band {
		grid-template-columns: 1fr 1fr;
	}
	.lf6-signal-div {
		display: none;
	}
	.lf6-signal-item {
		padding: 36px 32px;
	}
	.lf6-signal-item:nth-child(odd) {
		border-right: 1px solid rgba(255, 255, 255, 0.1);
	}
	.lf6-signal-item:nth-child(1),
	.lf6-signal-item:nth-child(2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	.lf6-signal-label {
		min-height: auto;
	}
}
@media (max-width: 768px) {
	.lf6-signal-band {
		grid-template-columns: 1fr;
	}
	.lf6-signal-item {
		padding: 28px 20px;
		border-right: none !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
	}
	.lf6-signal-item:last-child {
		border-bottom: none !important;
	}
}

/* ═══════════════════════════════════════════════════════
   3. WHAT'S NEW INTRO — white
   ═══════════════════════════════════════════════════════ */
.lf6-intro {
	background: var(--white);
	padding: 104px 0;
}
.lf6-intro-inner {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}
.lf6-intro-inner h2 {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: clamp(28px, 3.2vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ink-900);
	margin-bottom: 12px;
}
.lf6-intro-inner p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.65;
	color: var(--ink-600);
	max-width: 480px;
	margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   4-7. FEATURE ROWS
   Alternating white / warm-50 per section-rhythm-policy.
   ═══════════════════════════════════════════════════════ */
.lf6-feature {
	background: var(--white);
	padding: 104px 0;
}
.lf6-feature--alt {
	background: var(--warm-50);
	border-top: 1px solid var(--warm-200);
	border-bottom: 1px solid var(--warm-200);
}
/* asset-libraries -> lf6-value is a white -> warm-50 seam; scoped to this
   instance only so ornaments (already hairlined via #parametric-3d's
   border-top) doesn't get doubled. */
#asset-libraries {
	border-bottom: 1px solid var(--warm-200);
}

.lf6-feature-grid {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 64px;
	align-items: center;
}
/* Visual leads on rows 02 and 04 */
.lf6-feature--flip .lf6-feature-grid {
	grid-template-columns: 1fr 400px;
}

.lf6-feature-num {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: 40px;
	line-height: 1;
	color: var(--warm-400);
	display: block;
	margin-bottom: 18px;
}
.lf6-feature-copy h2 {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ink-900);
	margin-bottom: 14px;
}
.lf6-feature-copy .section-tag {
	margin-bottom: 10px;
}
.lf6-feature-copy p {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.65;
	color: var(--ink-600);
	max-width: 420px;
}

/* ── Visual frame ── */
.lf6-feature-visual {
	margin: 0;
	background: var(--white);
	border: 1px solid var(--warm-200);
	border-radius: var(--r-xl);
	padding: 24px;
	overflow: hidden;
}
.lf6-feature-visual img {
	width: 100%;
	height: auto;
	border-radius: var(--r-md);
}

/* Parametric dimension caption */
.lf6-feature-dimension {
	font-family: var(--f-mono);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.08em;
	/* Not uppercased: "mm" is a unit symbol, not a label */
	color: var(--ink-500);
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}
.lf6-dimension-rule {
	flex: 1;
	height: 1px;
	background: var(--warm-300);
	position: relative;
}
.lf6-dimension-rule::before,
.lf6-dimension-rule::after {
	content: "";
	position: absolute;
	top: -3px;
	width: 1px;
	height: 7px;
	background: var(--warm-400);
}
.lf6-dimension-rule::before {
	left: 0;
}
.lf6-dimension-rule::after {
	right: 0;
}

/* ── Asset library visual (rail + grid) ── */
.lf6-feature-visual--library {
	display: grid;
	grid-template-columns: 148px 1fr;
	gap: 20px;
	align-items: start;
}
.lf6-library-rail {
	background: var(--warm-50);
	border: 1px solid var(--warm-200);
	border-radius: var(--r-md);
	padding: 14px 12px;
}
.lf6-library-rail-label {
	font-family: var(--f-mono);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-500);
	display: block;
	margin-bottom: 12px;
}
.lf6-library-cats {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.lf6-library-cats li {
	font-size: 12.5px;
	font-weight: 300;
	color: var(--ink-600);
	padding: 6px 8px;
	border-radius: var(--r-sm);
}
.lf6-library-cats li.is-active {
	background: var(--white);
	border: 1px solid var(--warm-200);
	font-weight: 500;
	color: var(--ink-900);
}
.lf6-library-figure {
	margin: 0;
}
.lf6-library-figure img {
	width: 100%;
	height: auto;
	border-radius: var(--r-md);
}

/* ═══════════════════════════════════════════════════════
   8. PLATFORM VALUE — warm-50
   ═══════════════════════════════════════════════════════ */
.lf6-value {
	background: var(--warm-50);
	padding: 104px 0;
}
.lf6-value-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 64px;
}
.lf6-value-header h2 {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: clamp(28px, 3.2vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ink-900);
	margin-bottom: 12px;
}
.lf6-value-header p {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.65;
	color: var(--ink-600);
	max-width: 520px;
	margin: 0 auto;
}

.lf6-value-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.lf6-value-item {
	background: var(--off-white);
	border: 1px solid var(--warm-200);
	border-radius: var(--r-lg);
	padding: 26px 22px;
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
}
.lf6-value-item:hover {
	border-color: var(--warm-300);
	box-shadow: var(--shadow-sm);
}
.lf6-value-icon {
	width: 40px;
	height: 40px;
	border-radius: var(--r-md);
	background: var(--white);
	border: 1px solid var(--warm-200);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ink-500);
	margin-bottom: 18px;
}
.lf6-value-icon svg {
	width: 20px;
	height: 20px;
}
.lf6-value-item h3 {
	font-family: var(--f-serif);
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
	color: var(--ink-900);
	margin-bottom: 8px;
}
.lf6-value-item p {
	font-size: 13.5px;
	font-weight: 300;
	line-height: 1.6;
	color: var(--ink-600);
}

/* ═══════════════════════════════════════════════════════
   HIGH CONTRAST
   ═══════════════════════════════════════════════════════ */
body.hc .lf6-feature-num {
	color: var(--ink-500);
}
body.hc .lf6-intro-inner p,
body.hc .lf6-feature-copy p,
body.hc .lf6-value-header p,
body.hc .lf6-value-item p {
	color: var(--ink-700);
}
body.hc .lf6-viewer-hint {
	color: var(--ink-600);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
	.lf6-hero-grid {
		gap: 40px;
	}
	.lf6-feature-grid,
	.lf6-feature--flip .lf6-feature-grid {
		grid-template-columns: 340px 1fr;
		gap: 44px;
	}
	.lf6-feature--flip .lf6-feature-grid {
		grid-template-columns: 1fr 340px;
	}
	.lf6-value-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1024px) {
	.lf6-intro,
	.lf6-feature,
	.lf6-value {
		padding: 80px 0;
	}
}

@media (max-width: 900px) {
	/* Stack the hero: copy first, viewer below. The viewer is a
     required capability on mobile, so it is never hidden. */
	.lf6-hero-grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}
	.lf6-hero-viewer {
		max-width: 420px;
	}
	.lf6-viewer-stage {
		aspect-ratio: 4 / 3;
	}

	.lf6-feature-grid,
	.lf6-feature--flip .lf6-feature-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	/* Copy leads on every stacked row, regardless of desktop order */
	.lf6-feature--flip .lf6-feature-copy {
		order: -1;
	}
	/* Stacked rows are full-bleed, so cap the reading line (max 720px rule) */
	.lf6-feature-copy p {
		max-width: 620px;
	}
}

@media (max-width: 768px) {
	.lf6-intro,
	.lf6-feature,
	.lf6-value {
		padding: 64px 0;
	}
	.lf6-value-header {
		margin-bottom: 44px;
	}
	.lf6-hero-btns {
		width: 100%;
	}
	.lf6-hero-btns .btn-primary,
	.lf6-hero-btns .btn-secondary {
		width: 100%;
		max-width: 320px;
	}
	.lf6-feature-visual {
		padding: 16px;
	}
	.lf6-feature-visual--library {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.lf6-library-cats {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 6px;
	}
	.lf6-feature-num {
		font-size: 32px;
		margin-bottom: 14px;
	}
}

@media (max-width: 480px) {
	.lf6-intro,
	.lf6-feature,
	.lf6-value {
		padding: 52px 0;
	}
	.lf6-value-grid {
		grid-template-columns: 1fr;
	}
	.lf6-viewer-stage {
		aspect-ratio: 1 / 1;
	}
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.lf6-btn-arrow,
	.btn-primary,
	.btn-secondary {
		transition: none;
	}
}
