/* ---------- Home page sections ---------- */

/* Hero */
.hero {
	position: relative;
	background: var(--ink-bg);
	color: #fff;
	min-height: min(92vh, 820px);
	display: flex;
	align-items: center;
	overflow: clip;
	padding-block: calc(var(--header-h) + clamp(32px, 6vw, 72px)) clamp(48px, 8vw, 96px);
}
.hero__bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	background-size: cover;
	background-position: center;
	z-index: 0;
}
.hero::after {
	content: "";
	position: absolute; inset: 0;
	background: var(--ink-scrim);
	z-index: 1;
}
.hero > .container { position: relative; z-index: 2; width: 100%; }
.hero__inner { max-width: 540px; }
.hero__title {
	font-size: var(--fs-h1);
	line-height: 1.04;
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: -0.005em;
}
.hero__title span { display: block; }
.hero__title .accent { color: var(--accent); }
.hero__lead {
	color: #e7e7ea;
	font-size: var(--fs-lead);
	line-height: 1.55;
	margin-block: 24px 34px;
	max-width: 40ch;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Vertical "Scroll" cue on the right edge of the hero */
.hero__scroll {
	position: absolute;
	z-index: 2;
	inset-inline-end: clamp(14px, 1.6vw, 34px);
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.hero__scroll-label {
	writing-mode: vertical-rl;
	font-family: var(--font-head);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}
.hero__scroll-dots { display: flex; flex-direction: column; gap: 9px; }
.hero__scroll-dots i {
	width: 6px; height: 6px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero__scroll-dots i.is-on { background: var(--accent); border-color: var(--accent); }
@media (max-width: 1100px) { .hero__scroll { display: none; } }

.hero__values {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	margin-top: clamp(40px, 7vw, 84px);
	padding-top: 30px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 3vw, 48px);
}
.hero-value {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	align-items: start;
}
.hero-value__icon { color: var(--accent); flex-shrink: 0; }
.hero-value__icon .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.hero-value__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.86rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.25;
}
.hero-value__text {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.82rem;
	margin-top: 4px;
}

@media (max-width: 860px) {
	.hero__values { grid-template-columns: repeat(2, 1fr); }
}

/* ---- "About + Categories + Featured" read as one continuous white block ---- */
.about,
.home-cats,
.home-featured { background: var(--bg); }
.about         { padding-block: clamp(48px, 6vw, 92px) clamp(20px, 2.4vw, 36px); }
.home-cats     { padding-block: clamp(20px, 2.4vw, 36px); }
.home-featured { padding-block: clamp(24px, 2.6vw, 40px) clamp(52px, 7vw, 100px); }

/* About — text | stats | image, image bleeds off the right edge (design p.1) */
.about { overflow: clip; }
.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(24px, 3.5vw, 56px);
	align-items: center;
	position: relative;
}
.about__content { max-width: 420px; }
.about__title { margin-block: 6px 0; }
.about__text { color: var(--text-muted); margin-block: 18px 24px; font-size: 0.95rem; }

.about__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(12px, 1.6vw, 24px);
	align-self: center;
}
.about-stat { display: flex; flex-direction: column; gap: 10px; }
.about-stat__icon {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border-radius: 50%;
	border: 1px solid var(--border-strong);
	color: var(--text);
}
.about-stat__icon .icon { width: 19px; height: 19px; stroke-width: 1.5; }
.about-stat__label { font-size: 0.7rem; color: var(--text-faint); line-height: 1.35; }
.about-stat__value {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(1.7rem, 1rem + 1.8vw, 2.3rem);
	line-height: 1;
	color: var(--text);
	font-variant-numeric: tabular-nums;
}
.counter { font-variant-numeric: tabular-nums; }

.about__media { position: relative; align-self: center; }
.about__media img {
	width: 100%;
	height: auto;
	max-height: 460px;
	object-fit: contain;
	border-radius: var(--radius);
	display: block;
}

@media (max-width: 1100px) {
	.about__grid { grid-template-columns: 1fr 1fr; }
	.about__media { grid-column: 1 / -1; order: 3; }
	.about__media img { min-height: 260px; }
}
@media (max-width: 720px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

/* KPI band (legacy class kept for other pages) */
.kpi__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); color: var(--accent); }
.kpi__label { color: var(--text-muted); font-size: var(--fs-sm); margin-block-start: 4px; }
.kpi-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: clamp(20px, 3vw, 44px); }

/* Category tiles — one row of 8 like the design */
.cat-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: clamp(10px, 1vw, 16px);
}
.cat-tile {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-sm);
	padding: 14px 12px 16px;
	text-align: center;
	transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cat-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.cat-tile__media {
	aspect-ratio: 1;
	display: grid; place-items: center;
	margin-block-end: 10px;
	background: var(--product-media-bg, #f4f4f5);
	border-radius: var(--radius-xs);
	overflow: clip;
}
[data-theme="dark"] .cat-tile__media { --product-media-bg: #1b1b1e; }
.cat-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.cat-tile__name { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.76rem; }
.cat-tile__desc { color: var(--text-faint); font-size: 0.68rem; line-height: 1.3; margin-block-start: 4px; }
@media (max-width: 1200px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Services strip (dark) */
.services-strip {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
}
@media (max-width: 1024px) { .services-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services-strip { grid-template-columns: 1fr; } }

/* Our process — [icon] [text]  →  [icon] [text]  →  …  (design p.1) */
.home-process { background: var(--bg); }
.process-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(6px, 0.8vw, 16px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.process-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	align-items: center;
	flex: 1 1 0;
	min-width: 0;
}
.process-step__icon {
	width: 62px; height: 62px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	box-shadow: 0 6px 18px rgba(16, 16, 20, 0.06);
	display: grid; place-items: center;
	color: var(--text);
}
[data-theme="dark"] .process-step__icon { box-shadow: none; background: var(--surface-2); }
.process-step__icon .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.process-step__body { display: flex; flex-direction: column; gap: 5px; }
.process-step__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--text);
	line-height: 1.2;
}
.process-step__text { color: var(--text-faint); font-size: 0.76rem; line-height: 1.35; }

.process-arrow {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	color: var(--text-faint);
	opacity: 0.6;
}
.process-arrow .icon { width: 20px; height: 20px; stroke-width: 1.4; }

@media (max-width: 1180px) {
	.process-row { flex-wrap: wrap; justify-content: flex-start; gap: 22px 28px; }
	.process-step { flex: 1 1 40%; }
	.process-arrow { display: none; }
}
@media (max-width: 620px) {
	.process-step { flex: 1 1 100%; }
}

/* ---- Innovation (dark, photo behind) + attached stat band ---- */
.innovation {
	position: relative;
	overflow: clip;
	padding-block: 0;
}
.innovation__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}
/* darken the left and right thirds so the text + points stay readable */
.innovation::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, var(--ink-bg) 0%, rgba(11,11,12,0.86) 24%, rgba(11,11,12,0.28) 44%, rgba(11,11,12,0.28) 56%, rgba(11,11,12,0.86) 76%, var(--ink-bg) 100%),
		linear-gradient(0deg, var(--ink-bg) 0%, rgba(11,11,12,0.2) 30%);
}
.innovation__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 6vw, 80px);
	align-items: center;
	padding-block: clamp(56px, 8vw, 104px);
}
.innovation__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); line-height: 1.15; color: #fff; }
.innovation__text { color: var(--ink-text-muted); margin-block: 18px 26px; max-width: 40ch; }

.innovation__points {
	display: grid;
	gap: clamp(22px, 3vw, 38px);
	justify-self: end;
	max-width: 380px;
}
.innovation-point {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	align-items: center;
}
.innovation-point__icon {
	width: 50px; height: 50px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	display: grid; place-items: center;
	color: var(--accent);
}
.innovation-point__icon .icon { width: 22px; height: 22px; }
.innovation-point__title { display: block; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 0.98rem; }
.innovation-point__text { display: block; color: var(--ink-text-muted); font-size: 0.85rem; margin-top: 3px; }

@media (max-width: 960px) {
	.innovation__grid { grid-template-columns: 1fr; }
	.innovation__points { justify-self: start; max-width: none; }
	.innovation::before {
		background: linear-gradient(180deg, rgba(11,11,12,0.7), rgba(11,11,12,0.92)), var(--ink-bg);
	}
}

/* Stat band attached to the bottom of the Innovation section */
.stat-band {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(20px, 3vw, 48px);
	padding-block: clamp(28px, 3.5vw, 44px);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	flex-wrap: wrap;
}
.stat-band__grid {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
}
.stat-band__item {
	padding-inline: clamp(14px, 2.4vw, 40px);
	border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-band__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat-band__value {
	display: block;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.4rem);
	color: var(--accent);
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.stat-band__label { display: block; color: var(--ink-text-muted); font-size: 0.82rem; margin-top: 8px; }

@media (max-width: 900px) {
	.stat-band__grid { gap: 20px 0; }
	.stat-band__item { flex: 1 1 33%; }
}
@media (max-width: 560px) {
	.stat-band__item { flex: 1 1 50%; border-inline-start: 0; padding-inline: 0; }
}

/* Final CTA band */
.cta-band {
	position: relative;
	background: var(--ink-bg);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(32px, 5vw, 60px);
	overflow: clip;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}
.cta-band__bg { position: absolute; inset: 0; object-fit: cover; opacity: 0.35; z-index: 0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band__title { font-size: var(--fs-h2); max-width: 18ch; }
