/* Sabin Polymer v8.3.34 — Gridform-inspired editorial UI (red accent) */

:root,
html[data-theme="dark"] {
	color-scheme: dark;
	/* Framer template palette */
	--brand: #081858;
	--brand-soft: #0a2888;
	--accent: #c70a0a;
	--accent-soft: #e01212;
	--ink: #fff;
	--ink-soft: #ccc;
	--ink-faint: #ffffff80;
	/* Surfaces */
	--paper: #0c0e12;
	--paper-2: #111317;
	--paper-3: #17191c;
	--paper-dark: #0a1726; /* Impact / dark band navy */
	--mint: rgba(199, 10, 10, 0.18);
	--mint-2: #ffffff0f;
	--line: #ffffff14;
	--line-strong: #ffffff1a;
	--shell: min(1200px, calc(100% - 3rem));
	--radius: 2px;
	--radius-md: 4px;
	--radius-sm: 2px;
	--radius-pill: 2px;
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	--shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.28);
	--font-fa: "IranYekan", Tahoma, sans-serif;
	--font-en: "Manrope", ui-sans-serif, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--header-bg: rgba(12, 14, 18, 0.72);
	--header-fg: var(--ink);
	--footer-bg: var(--paper-dark);
	--footer-ink: #ffffff9e;
	--success: #3dd68c;
	--grid-line: #ffffff0f;
}

html[data-theme="light"] {
	color-scheme: light;
	--accent: #c70a0a;
	--accent-soft: #e01212;
	--ink: #1a1a1a;
	--ink-soft: #3a3f4a;
	--ink-faint: #6b7280;
	--paper: #e7e8f2;
	--paper-2: #ffffff;
	--paper-3: #d4d5d9;
	--mint: rgba(199, 10, 10, 0.1);
	--mint-2: #0000000f;
	--line: #00000014;
	--line-strong: rgba(12, 14, 18, 0.14);
	--shadow: 0 18px 50px rgba(12, 14, 18, 0.1);
	--shadow-soft: 0 10px 30px rgba(12, 14, 18, 0.06);
	--header-bg: rgba(231, 232, 242, 0.82);
	--header-fg: var(--ink);
	--paper-dark: #0a1726; /* dark bands stay navy in light theme */
	--footer-bg: var(--paper-dark);
	--footer-ink: #ffffffe6;
	--success: #0f6b45;
	--grid-line: #0000000f;
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100%;
	color: var(--ink);
	background: var(--paper);
	font-family: var(--font-en);
	font-size: 1.02rem;
	font-weight: 500;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.lang-fa { font-family: var(--font-fa) !important; }

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

/* Logo marks stay sharp — rounding looks wrong on wordmarks/icons */
.gf-logo img {
	border-radius: 0;
}

/* Full-bleed hero backgrounds should not show corner curves */
.hero-bg img,
.gf-hero-bg img {
	border-radius: 0;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.shell {
	width: var(--shell);
	margin-inline: auto;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
	position: fixed;
	inset-block-start: 1rem;
	inset-inline-start: 1rem;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1.1rem;
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
}

/* Type */
h1, h2, h3, h4, h5, h6 {
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--ink);
	max-width: none;
}

h1 { font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
h2 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.92rem; }


.eyebrow {
	margin: 0 0 0.85rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ink-faint);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow::before { content: "["; margin-inline-end: 0.15rem; color: var(--accent); }
.eyebrow::after { content: "]"; margin-inline-start: 0.15rem; color: var(--accent); }

body.lang-fa .eyebrow { letter-spacing: 0.02em; text-transform: none; }

.display-md {
	margin: 0;
	font-size: clamp(1.15rem, 2.2vw, 1.65rem);
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1.25;
	color: var(--ink);
	max-width: none;
}

.display-sm {
	margin: 0;
	font-size: clamp(1.05rem, 1.8vw, 1.35rem);
	font-weight: 650;
	letter-spacing: -0.025em;
	line-height: 1.3;
	color: var(--ink);
}

strong, b { font-weight: 650; }

.lede {
	margin: 1rem 0 0;
	max-width: 58ch;
	color: var(--ink-soft);
	font-size: 1.02rem;
	font-weight: 500;
}

.section {
	padding: clamp(4.5rem, 8vw, 7rem) 0;
	position: relative;
	border-block-start: 1px solid var(--line);
}

.section-head { margin-bottom: 2.75rem; }

.section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.section-head-row .display-md {
	flex: 1 1 auto;
	min-width: 0;
	max-width: none;
}

.section-dark {
	background: var(--paper-2);
	color: var(--ink);
}

/* Buttons — rectangular Gridform CTAs */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 3rem;
	padding: 0.75rem 1.35rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-size: 0.92rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
	cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary,
.btn-accent {
	background: var(--accent);
	color: #fff;
}

.btn-primary:hover,
.btn-accent:hover { background: var(--accent-soft); }

.btn-ghost,
.btn-ghost-dark,
.btn-ghost-light {
	background: transparent;
	border-color: var(--line-strong);
	color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost-dark:hover,
.btn-ghost-light:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.btn-solid {
	background: #fff;
	color: #0c0e12;
}

.btn-solid:hover { background: #e8e8e8; }

html[data-theme="light"] .btn-solid {
	background: var(--ink);
	color: #fff;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.92rem;
	font-weight: 650;
	color: var(--ink);
	border-bottom: 1px solid var(--line-strong);
	padding-bottom: 0.15rem;
}

.text-link:hover {
	color: var(--accent);
	border-color: var(--accent);
}

.text-link::after {
	content: "↗";
	font-size: 0.85em;
	opacity: 0.7;
}

body.dir-rtl .text-link::after { content: "↖"; }

/* Header */
.site-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 50;
	padding: 0;
	color: var(--header-fg);
	border-bottom: 1px solid transparent;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
	background: var(--header-bg);
	backdrop-filter: blur(16px) saturate(1.15);
	border-bottom-color: var(--line);
}

.header-inner {
	width: var(--shell);
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.25rem;
	padding: 0.65rem 0;
}

.brand { display: inline-flex; align-items: center; }

.brand-logo {
	height: 2rem;
	width: auto;
	max-width: min(150px, 38vw);
	object-fit: contain;
}

.site-nav { flex: 1 1 auto; display: flex; justify-content: center; }

.nav-list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	display: inline-flex;
	padding: 0.45rem 0.75rem;
	border-radius: var(--radius);
	font-size: 0.88rem;
	font-weight: 550;
	color: var(--ink-soft);
	transition: color 0.2s ease;
}

.nav-list a:hover { color: var(--ink); }

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.header-cta {
	display: inline-flex;
	min-height: 2.4rem;
	padding: 0.45rem 0.95rem;
	border-radius: var(--radius);
	background: #fff;
	color: #0c0e12;
	font-size: 0.82rem;
	font-weight: 650;
}

.header-cta:hover { background: #e8e8e8; }

/* Same Contact-style white pill as .gf-header-cta (not accent) */
html[data-theme="light"] .header-cta {
	background: #fff;
	color: #0c0e12;
	border: 1px solid rgba(12, 14, 18, 0.12);
	box-shadow: 0 1px 3px rgba(12, 14, 18, 0.06);
}

html[data-theme="light"] .header-cta:hover { background: #f4f5f7; }

.theme-toggle,
.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	line-height: 0;
}

.theme-toggle .theme-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	line-height: 0;
}

.theme-toggle .theme-icon svg {
	display: block;
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

html[data-theme="dark"] .theme-toggle .theme-icon-moon,
html[data-theme="light"] .theme-toggle .theme-icon-sun { display: none; }

.lang-switch {
	display: inline-flex;
	padding: 0.15rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: transparent;
}

.lang-link {
	padding: 0.3rem 0.55rem;
	border-radius: var(--radius);
	font-size: 0.7rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	color: var(--ink-soft);
}

.lang-link.is-active {
	background: var(--accent);
	color: #fff;
}

.nav-toggle { display: none; }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
	display: block;
	width: 0.9rem;
	height: 1.5px;
	margin: 0 auto;
	background: currentColor;
	content: "";
}

.nav-toggle-bars::before { transform: translateY(-4px); }
.nav-toggle-bars::after { transform: translateY(2.5px); }

/* Hero — full-bleed Gridform stage */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	align-items: end;
	padding: 6.5rem 0 3.5rem;
	overflow: clip;
	border: 0;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.38) saturate(0.85);
}

html[data-theme="light"] .hero-bg img {
	filter: brightness(0.72) saturate(0.9);
}

.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(12, 14, 18, 0.55) 0%, rgba(12, 14, 18, 0.2) 40%, rgba(12, 14, 18, 0.92) 100%),
		linear-gradient(90deg, transparent 0%, transparent calc(50% - 0.5px), var(--grid-line) calc(50% - 0.5px), var(--grid-line) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
		linear-gradient(0deg, transparent 0%, transparent calc(50% - 0.5px), var(--grid-line) calc(50% - 0.5px), var(--grid-line) calc(50% + 0.5px), transparent calc(50% + 0.5px));
	pointer-events: none;
}

html[data-theme="light"] .hero-bg::after {
	background:
		linear-gradient(180deg, rgba(244, 245, 247, 0.35) 0%, rgba(244, 245, 247, 0.15) 35%, rgba(244, 245, 247, 0.88) 100%),
		linear-gradient(90deg, transparent 0%, transparent calc(50% - 0.5px), var(--grid-line) calc(50% - 0.5px), var(--grid-line) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
		linear-gradient(0deg, transparent 0%, transparent calc(50% - 0.5px), var(--grid-line) calc(50% - 0.5px), var(--grid-line) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}

.hero-layout {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 2.5rem;
	width: 100%;
}

.hero-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.hero-watch {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	min-height: 7.5rem;
	min-width: min(220px, 100%);
	padding: 1rem 1.25rem;
	border: 1px solid var(--line-strong);
	background: rgba(12, 14, 18, 0.35);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 650;
}

html[data-theme="light"] .hero-watch {
	background: rgba(255, 255, 255, 0.55);
	color: var(--ink);
}

.hero-watch-dot {
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	border: 1px solid currentColor;
	display: grid;
	place-items: center;
	font-size: 0.65rem;
}

.hero-cta-row {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	margin-inline-start: auto;
}

.hero-proof {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	color: #fff;
	font-size: 0.85rem;
}

html[data-theme="light"] .hero-proof { color: var(--ink); }

.hero-proof strong { font-size: 1.05rem; }

.hero-brand-display {
	margin: 0;
	font-size: clamp(3.2rem, 12vw, 9.5rem);
	font-weight: 750;
	letter-spacing: -0.055em;
	line-height: 0.9;
	color: #fff;
	text-wrap: balance;
}

html[data-theme="light"] .hero-brand-display { color: var(--ink); }

.hero-subline {
	margin: 0.75rem 0 0;
	max-width: 42ch;
	color: rgba(255, 255, 255, 0.72);
	font-size: 1rem;
}

html[data-theme="light"] .hero-subline { color: var(--ink-soft); }

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.hero-visual,
.hero-veil,
.hero-trust,
.hero-kicker,
.hero-title { display: none; }

/* Metrics — impact numbers */
.section-metrics {
	padding: clamp(4rem, 7vw, 6rem) 0;
	border-block-start: 1px solid var(--line);
	background: var(--paper);
}

.metrics-row { display: grid; gap: 2rem; }

.metrics-kicker {
	margin: 0;
	color: var(--ink-faint);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.metric-box {
	padding: 1.5rem 0;
	border-block-start: 1px solid var(--line);
	display: grid;
	gap: 0.65rem;
}

.metric-icon { display: none; }

.metric-copy {
	display: grid;
	gap: 0.35rem;
}

.metric-box strong {
	font-size: clamp(2.8rem, 6vw, 4.5rem);
	font-weight: 750;
	letter-spacing: -0.05em;
	line-height: 1;
	color: var(--ink);
}

.metric-box .metric-copy > span {
	color: var(--ink-soft);
	font-size: 0.95rem;
	max-width: 18ch;
}

/* About */
.section-about { background: #e7e8f2; }

.about-layout {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.about-copy { display: grid; gap: 0.35rem; align-content: start; }

.about-copy .lede { max-width: none; }

.about-media {
	margin: 0;
	overflow: clip;
	border: 1px solid var(--line);
	border-radius: 4px;
	aspect-ratio: 4 / 3;
}

.about-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
}

.pill-list li {
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ink-soft);
}

.about-markets { margin-top: 0.35rem; }

.about-actions { margin-top: 1.5rem; }

/* Products — numbered service rows */
.section-products { background: #fff; }

.service-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	border-block: 1px solid var(--line);
}

.service-row {
	display: grid;
	grid-template-columns: 4.5rem 1fr auto;
	gap: 1.25rem;
	align-items: center;
	padding: 1.35rem 0;
	border-block-end: 1px solid var(--line);
	color: var(--ink);
	transition: background 0.25s var(--ease), padding 0.25s var(--ease);
}

.service-row:last-child { border-block-end: 0; }

.service-row:hover {
	background: rgba(199, 10, 10, 0.08);
	padding-inline: 0.75rem;
}

.service-num {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--accent);
	letter-spacing: -0.02em;
}

.service-row h3 {
	margin: 0;
	font-size: clamp(1rem, 1.7vw, 1.25rem);
	font-weight: 650;
	letter-spacing: -0.02em;
}

.service-meta {
	color: var(--ink-faint);
	font-size: 0.88rem;
	font-weight: 550;
}

.featured-stage {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 0;
	border: 1px solid var(--line);
	border-radius: 4px;
	overflow: clip;
	background: var(--paper-3);
}

.featured-media {
	margin: 0;
	min-height: 100%;
}

.featured-media img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.featured-copy {
	padding: clamp(1.5rem, 4vw, 2.75rem);
	display: grid;
	gap: 0.75rem;
	align-content: center;
}

.featured-sku {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--accent);
}

.featured-copy h3 { margin: 0; }

.featured-copy p {
	margin: 0;
	color: var(--ink-soft);
	max-width: 42ch;
}

.spec-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
}

.spec-pills li {
	padding: 0.4rem 0.7rem;
	border: 1px solid var(--line);
	font-size: 0.8rem;
	color: var(--ink-soft);
}

.featured-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 0.5rem;
}

.bento-grid { display: none; }

/* Industries */
.section-industries { background: #eff5f9; }

.market-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.85rem;
}

.market-strip--six { grid-template-columns: repeat(3, 1fr); }

.market-tile {
	margin: 0;
	position: relative;
	overflow: clip;
	border: 1px solid var(--line);
	border-radius: 4px;
	aspect-ratio: 4 / 3;
}

.market-tile-media {
	position: absolute;
	inset: 0;
}

.market-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.55);
	transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.market-tile:hover img {
	transform: scale(1.05);
	filter: brightness(0.7);
}

.market-tile figcaption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 1rem;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 650;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

/* Process */
.section-process { background: var(--paper-dark); }

.process-hero {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.process-hero-media {
	margin: 0;
	overflow: clip;
	border: 1px solid var(--line);
	border-radius: 4px;
	aspect-ratio: 4 / 5;
}

.process-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.process-hero:hover .process-hero-media img { transform: scale(1.04); }

.process-hero-copy .section-head { margin-bottom: 1.75rem; }

.process-hero-copy .display-md { max-width: none; }

.process-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.process-steps li {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 1rem;
	padding: 1.15rem 0;
	border-block-start: 1px solid var(--line);
}

.process-steps span {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--accent);
}

.process-steps strong {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 1.05rem;
}

.process-steps p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.cta-finale {
	margin-top: 3rem;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	background: var(--accent);
	color: #fff;
}

.cta-finale .eyebrow {
	color: rgba(255, 255, 255, 0.7);
}

.cta-finale .eyebrow::before,
.cta-finale .eyebrow::after { color: rgba(255, 255, 255, 0.85); }

.cta-finale h2 { color: #fff; max-width: none; }

.cta-finale .btn-primary {
	background: #fff;
	color: #0c0e12;
}

.cta-finale .btn-primary:hover { background: #ececec; }

/* Quality — always light band (Gridform rhythm after dark process).
   Do not use theme --paper here: dark theme --paper is charcoal and would
   force a dark Quality strip / wash out ISO chip borders. */
.section-quality,
.gf-quality {
	color-scheme: light;
	background: #fff;
	color: #0c0e12;
	border: 0;
}

.gf-quality {
	padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.gf-quality .gf-eyebrow,
.gf-quality .gf-section-head--light .gf-eyebrow {
	color: var(--accent);
}

.gf-quality .gf-title-light {
	max-width: none;
	width: 100%;
	font-size: clamp(1.15rem, 2.2vw, 1.65rem);
	color: #0c0e12;
}

.gf-quality .display-md {
	color: #0c0e12;
	max-width: none;
}

.quality-layout {
	display: grid;
	gap: 2rem;
}

.standard-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.65rem;
}

.standard-list li {
	padding: 1.1rem 0.9rem;
	border: 1px solid var(--line);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ink-soft);
	min-height: 5rem;
	display: flex;
	align-items: flex-end;
}

/* ISO chips: fixed light-surface ink/line (ignore inherited dark --line) */
.gf-quality .standard-list li {
	border: 1px solid rgba(12, 14, 18, 0.14);
	background: #fff;
	color: #4a5568;
}

/* Light theme: never inherit navy/dark band onto Quality */
html[data-theme="light"] .section-quality,
html[data-theme="light"] .gf-quality {
	color-scheme: light;
	background: #fff;
	color: #0c0e12;
}

html[data-theme="light"] .gf-quality .gf-eyebrow,
html[data-theme="light"] .gf-quality .gf-section-head--light .gf-eyebrow {
	color: var(--accent);
}

html[data-theme="light"] .gf-quality .standard-list li {
	border: 1px solid rgba(12, 14, 18, 0.14);
	background: #fff;
	color: #4a5568;
}

/* Certificates grid (About page) — light band, matches Quality rhythm */
.section-certs,
.gf-certs {
	color-scheme: light;
	background: #fff;
	color: #0c0e12;
	border: 0;
	padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.gf-certs .gf-eyebrow,
.gf-certs .gf-section-head--light .gf-eyebrow {
	color: var(--accent);
}

.gf-certs .gf-title-light {
	max-width: none;
	width: 100%;
	font-size: clamp(1.15rem, 2.2vw, 1.65rem);
	color: #0c0e12;
}

.cert-grid {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
}

.cert-card {
	margin: 0;
}

.cert-figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid rgba(12, 14, 18, 0.14);
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cert-figure:hover {
	border-color: rgba(199, 10, 10, 0.45);
	box-shadow: 0 10px 28px rgba(12, 14, 18, 0.08);
}

.cert-figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 635 / 900;
	object-fit: cover;
	object-position: top center;
	background: #f4f5f7;
}

.cert-figure figcaption {
	padding: 0.85rem 0.75rem;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.35;
	color: #4a5568;
	border-top: 1px solid rgba(12, 14, 18, 0.1);
	min-height: 3.25rem;
	display: flex;
	align-items: center;
}

html[data-theme="light"] .section-certs,
html[data-theme="light"] .gf-certs {
	color-scheme: light;
	background: #fff;
	color: #0c0e12;
}

html[data-theme="dark"] .section-certs,
html[data-theme="dark"] .gf-certs {
	color-scheme: light;
	background: #fff;
	color: #0c0e12;
}

html[data-theme="dark"] .gf-certs .gf-eyebrow,
html[data-theme="dark"] .gf-certs .gf-section-head--light .gf-eyebrow {
	color: var(--accent);
}

html[data-theme="dark"] .gf-certs .gf-title-light {
	color: #0c0e12;
}

/* About story */
.story-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.story-block {
	padding: 1.5rem;
	border: 1px solid var(--line);
	background: var(--paper-2);
}

.capability-list {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.capability-list li {
	padding-block: 0.55rem;
	border-block-end: 1px solid var(--line);
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.vision-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.vision-columns > div {
	padding: 1.5rem;
	border: 1px solid var(--line);
	background: var(--paper-2);
}

.vision-columns h2 {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
}

.vision-columns p {
	margin: 0;
	color: var(--ink-soft);
}

/* Contact */
.section-contact { background: var(--paper-2); }

.contact-shell {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}

/* Full-width lead so FA/EN stay one line (half-column ~576px can't fit).
   Overrides .display-md's 22ch max-width that forced ~4 awkward wraps. */
.contact-lead {
	grid-column: 1 / -1;
}

.contact-lead h2 {
	max-width: none;
	white-space: nowrap;
	font-size: clamp(1.05rem, 1.8vw, 1.4rem);
}

@media (max-width: 900px) {
	.contact-lead h2 {
		white-space: normal;
		font-size: clamp(1.1rem, 3.8vw, 1.35rem);
		line-height: 1.35;
	}
}

.contact-panel {
	padding: 1.5rem;
	border: 1px solid var(--line);
	background: var(--paper-3);
}

.contact-facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.95rem;
}

.contact-facts li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.contact-icon {
	width: 2.1rem;
	height: 2.1rem;
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	color: var(--accent);
}

.contact-fact-text { display: grid; gap: 0.15rem; }

.contact-label {
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

body.lang-fa .contact-label { letter-spacing: 0; text-transform: none; }

.contact-facts strong {
	font-weight: 600;
	color: var(--ink);
}

.contact-facts a:hover { color: var(--accent); }

.contact-form { display: grid; gap: 1rem; }

.contact-form label { display: grid; gap: 0.35rem; }

.contact-form label span {
	font-size: 0.8rem;
	font-weight: 650;
	color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--accent);
}

.form-notice { padding: 0.35rem 0; }
.form-notice.is-success { color: var(--success); }
.form-notice.is-error { color: var(--accent); }

.contact-map-wrap { margin-top: 2rem; }

.contact-map-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.85rem;
}

.contact-map-head .eyebrow { margin: 0; }

.contact-map {
	border: 1px solid var(--line);
	overflow: clip;
	aspect-ratio: 21 / 9;
	min-height: 240px;
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.35) contrast(1.05);
}

/* Page hero */
.page-hero {
	padding: 8rem 0 3.5rem;
	border-block-end: 1px solid var(--line);
	background:
		linear-gradient(180deg, rgba(199, 10, 10, 0.12), transparent 55%),
		var(--paper);
}

.page-hero h1 {
	margin: 0;
	font-size: clamp(1.4rem, 2.8vw, 2.1rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.15;
	text-wrap: balance;
	max-width: none;
}

.product-hero h1 {
	font-size: clamp(1.3rem, 2.6vw, 1.95rem);
	font-weight: 600;
	line-height: 1.2;
}

.page-hero-post h1 {
	font-size: clamp(1.25rem, 2.4vw, 1.8rem);
	font-weight: 600;
}

.page-hero-sub {
	margin: 1rem 0 0;
	max-width: 48ch;
	color: var(--ink-soft);
}

/* Product hero with media */
.product-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.product-hero-copy .product-sku {
	margin: 0.35rem 0 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--ink-faint);
}

.product-hero-media {
	margin: 0;
	border-radius: 4px;
	overflow: hidden;
	background: var(--paper-3);
	aspect-ratio: 4 / 3;
	border: 1px solid var(--line);
}

.product-hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Product archive — card grid */
.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.product-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: 0;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--paper-2);
	overflow: clip;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-card:hover {
	border-color: var(--accent);
	box-shadow: var(--shadow-soft);
}

.product-card-link {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	min-width: 0;
	flex: 1 1 auto;
	color: inherit;
}

.product-card-media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 4px 4px 0 0;
	overflow: hidden;
	background: var(--paper-3);
	border-block-end: 1px solid var(--line);
}

.product-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-media img {
	transform: scale(1.04);
}

.product-card-copy {
	display: grid;
	gap: 0.35rem;
	min-width: 0;
	padding: 1.1rem 1.15rem 0.75rem;
}

.product-card-sku {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--accent);
}

.product-card h3 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 650;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.product-card p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.9rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0 1.15rem 1.15rem;
	margin-block-start: auto;
}

.archive-family { margin-bottom: 3rem; }
.archive-family h2 { margin: 0 0 1rem; color: var(--ink); }

.product-detail-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 1.5rem;
}

.download-panel {
	padding: 1.35rem;
	border: 1px solid var(--line);
	background: var(--paper-2);
}

.download-panel h3 { color: var(--ink); margin-top: 0; }

.spec-table {
	width: 100%;
	border-collapse: collapse;
}

.spec-table td,
.spec-table th {
	padding: 0.75rem 0;
	border-block-end: 1px solid var(--line);
	text-align: start;
}

.spec-table th {
	color: var(--ink-faint);
	font-weight: 550;
	font-size: 0.88rem;
}

.spec-table td { font-weight: 650; }

.download-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1rem;
}

.download-empty {
	color: var(--ink-soft);
	font-size: 0.92rem;
}

/* Blog */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.blog-card {
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--paper-2);
	overflow: clip;
	display: grid;
	transition: border-color 0.25s var(--ease);
}

.blog-card:hover { border-color: var(--accent); }

.blog-card-media {
	aspect-ratio: 16 / 10;
	overflow: clip;
	border-radius: 4px;
}

.blog-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card-media img { transform: scale(1.04); }

.blog-card-body {
	padding: 1.15rem;
	display: grid;
	gap: 0.45rem;
}

.blog-meta {
	font-size: 0.78rem;
	color: var(--ink-faint);
	font-weight: 600;
}

.blog-card-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 650;
	line-height: 1.3;
}

.blog-card-title a:hover { color: var(--accent); }

.blog-card-excerpt {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.92rem;
}

.blog-empty { color: var(--ink-soft); }
.narrow { max-width: min(760px, 100%); }

.blog-article-media {
	margin: 0 0 1.5rem;
	border: 1px solid var(--line);
	border-radius: 4px;
	overflow: clip;
}

.blog-article-media img {
	width: 100%;
	height: auto;
}

.blog-article .entry-content {
	color: var(--ink-soft);
	font-size: 1.05rem;
}

.blog-article .entry-content p { margin: 0 0 1rem; }

.blog-article .entry-content h2 {
	margin: 2rem 0 0.75rem;
	color: var(--ink);
	font-size: 1.15rem;
}

.blog-article .entry-content ul {
	padding-inline-start: 1.2rem;
	margin: 0 0 1rem;
}

.blog-article .entry-content li { margin-bottom: 0.35rem; }

.blog-back { margin: 2rem 0 0; }

/* Related blog carousel */
.section-related-blog {
	padding: 4rem 0 5rem;
	border-block-start: 1px solid var(--line);
}

.related-blog-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.related-blog-head .display-md { max-width: none; }

.related-blog-head .lede { margin: 0.5rem 0 0; }

.carousel-nav {
	display: flex;
	gap: 0.45rem;
}

.carousel-btn {
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	border-radius: var(--radius);
}

.carousel-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.related-carousel { overflow: hidden; }

.related-track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 0.25rem;
}

.related-track::-webkit-scrollbar { display: none; }

.related-card {
	flex: 0 0 min(320px, 80vw);
	scroll-snap-align: start;
	border: 1px solid var(--line);
	border-radius: 4px;
	background: var(--paper-2);
	overflow: clip;
}

.related-card-media {
	aspect-ratio: 16 / 10;
	overflow: clip;
}

.related-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.related-card:hover .related-card-media img { transform: scale(1.04); }

.related-card-body {
	padding: 1rem;
	display: grid;
	gap: 0.35rem;
}

.related-card-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 650;
}

.related-card-title a:hover { color: var(--accent); }

.navigation.pagination {
	margin-top: 2.5rem;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.navigation.pagination span,
.navigation.pagination a {
	display: inline-grid;
	place-items: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 0.65rem;
	border: 1px solid var(--line);
	font-size: 0.88rem;
	font-weight: 650;
}

.navigation.pagination .current {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

/* Footer */
.site-footer {
	background: var(--footer-bg);
	color: var(--footer-ink);
	padding: 4rem 0 2rem;
	border-block-start: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a { color: #fff; }
.site-footer a:hover { color: #f0c9ca; }
.site-footer strong { color: #fff; }

.footer-inner {
	display: grid;
	gap: 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1fr;
	gap: 2rem;
}

.footer-logo {
	height: 2rem;
	width: auto;
	margin-bottom: 1rem;
}

/* Transparent official logo — no white plate */

.footer-brand p {
	margin: 0;
	max-width: 36ch;
	line-height: 1.7;
}

.footer-nav-label,
.footer-contact-label {
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

body.lang-fa .footer-nav-label,
body.lang-fa .footer-contact-label {
	letter-spacing: 0;
	text-transform: none;
}

.footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.footer-nav a {
	font-size: 0.95rem;
	font-weight: 550;
	color: rgba(255, 255, 255, 0.78);
}

.footer-nav a:hover { color: #fff; }

.footer-contact .contact-facts { margin: 0; gap: 0.85rem; }

.footer-contact .contact-icon {
	border-color: rgba(255, 255, 255, 0.14);
	color: #f0c9ca;
}

.footer-contact .contact-label { color: rgba(255, 255, 255, 0.4); }

.footer-copy {
	margin: 1.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.4);
}

.error-404 {
	padding: 8rem 0 5rem;
	text-align: center;
}

.error-404 h1 {
	font-size: clamp(3rem, 10vw, 6rem);
	letter-spacing: -0.05em;
	margin: 0 0 1rem;
}

/* Motion */
[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* Fallback if observer misses (hard nav / layout shift) */
@media (scripting: enabled) {
	html.js-ready [data-reveal]:not(.is-visible) {
		animation: sabin-reveal-fallback 0.01s linear 1.2s forwards;
	}
}

@keyframes sabin-reveal-fallback {
	to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
	.site-nav {
		position: fixed;
		inset: 4.25rem 0 auto 0;
		justify-content: stretch;
		padding: 1rem;
		background: var(--paper-2);
		border-bottom: 1px solid var(--line);
		display: none;
	}

	.site-nav.is-open { display: block; }

	.nav-list {
		flex-direction: column;
		align-items: stretch;
	}

	.nav-list a {
		padding: 0.85rem 0.75rem;
		border-bottom: 1px solid var(--line);
	}

	.nav-toggle { display: inline-grid; }
	.header-cta { display: none; }

	.about-layout,
	.process-hero,
	.featured-stage,
	.contact-shell,
	.product-detail-grid,
	.product-hero-grid,
	.story-grid,
	.vision-columns,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.metrics-grid,
	.market-strip--six,
	.blog-grid,
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.standard-list { grid-template-columns: repeat(2, 1fr); }
	.cert-grid { grid-template-columns: repeat(3, 1fr); }

	.service-row {
		grid-template-columns: 3rem 1fr;
	}

	.service-meta { display: none; }

	.hero-brand-display { font-size: clamp(2.8rem, 14vw, 5.5rem); }

	.process-hero-media { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
	:root { --shell: min(100% - 1.5rem, 1200px); }

	.metrics-grid,
	.market-strip--six,
	.blog-grid,
	.product-grid,
	.standard-list {
		grid-template-columns: 1fr;
	}

	.cert-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}

	.hero { min-height: 92svh; padding-top: 5.5rem; }

	.hero-watch { min-height: 4.5rem; min-width: 100%; }

	.cta-finale { align-items: flex-start; flex-direction: column; }


	.contact-map { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* =========================================================
   Gridform home composition (red accent) — matches sample
   https://gridarchitects.framer.website/
   ========================================================= */

.gf-btn {
	display: inline-flex;
	align-items: center;
	gap: 0;
	min-height: 3rem;
	border-radius: 999px;
	overflow: hidden;
	font-size: 0.92rem;
	font-weight: 650;
	color: #fff;
	transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.gf-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }

.gf-btn-icon {
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	background: rgba(0, 0, 0, 0.12);
	border-radius: 50%;
	flex: 0 0 auto;
}

.gf-btn > span:last-child {
	padding: 0 1.2rem 0 0.75rem;
}

body.dir-rtl .gf-btn > span:last-child {
	padding: 0 0.75rem 0 1.2rem;
}

.gf-btn-accent { background: var(--accent); }
.gf-btn-light { background: #fff; color: #0c0e12; }
.gf-btn-light .gf-btn-icon { background: rgba(0, 0, 0, 0.08); }

.gf-eyebrow {
	margin: 0 0 1rem;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gf-eyebrow::before { content: "["; }
.gf-eyebrow::after { content: "]"; }

body.lang-fa .gf-eyebrow { letter-spacing: 0.02em; text-transform: none; }

.gf-eyebrow--on-dark { color: var(--accent); }
.gf-eyebrow--on-accent { color: rgba(255, 255, 255, 0.8); }
.gf-eyebrow--on-accent::before,
.gf-eyebrow--on-accent::after { color: rgba(255, 255, 255, 0.85); }

.gf-section-head--light .gf-eyebrow { color: var(--accent); }

.gf-section-head--light .gf-title-light,
.gf-section-head--light .display-md {
	color: #0c0e12;
}

.gf-section-head { margin-bottom: 2.5rem; }

.gf-section-head-row {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.7fr);
	gap: 2rem;
	align-items: end;
}

.gf-title-on-dark {
	margin: 0;
	font-size: clamp(1.25rem, 2.4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: #fff;
	max-width: none;
}

.gf-title-on-dark .is-soft { color: rgba(255, 255, 255, 0.88); }
.gf-title-on-dark .is-faint { color: rgba(255, 255, 255, 0.35); display: block; }

.gf-title-light {
	margin: 0;
	font-size: clamp(1.25rem, 2.4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: #0c0e12;
	max-width: none;
}

.gf-lede-on-dark,
.gf-lede-light {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 1rem;
	max-width: 34ch;
}

.gf-lede-light { color: #6b7280; }

/* Hero (legacy grid — superseded by gf-hero-bg block below) */
.hero-atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 55% 60% at 18% 88%, rgba(199, 10, 10, 0.18), transparent 60%),
		linear-gradient(180deg, var(--paper-dark) 0%, var(--paper-dark) 35%, #0c1520 100%);
}

.hero-atmosphere img {
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: min(52%, 760px);
	height: 62%;
	object-fit: cover;
	object-position: center bottom;
	opacity: 0.42;
	filter: grayscale(0.45) contrast(1.08) brightness(0.45);
	mask-image: linear-gradient(to top, #000 35%, transparent 95%), linear-gradient(to right, #000 45%, transparent 100%);
	-webkit-mask-image: linear-gradient(to top, #000 35%, transparent 95%), linear-gradient(to right, #000 45%, transparent 100%);
}

body.dir-rtl .hero-atmosphere img {
	mask-image: linear-gradient(to top, #000 35%, transparent 95%), linear-gradient(to left, #000 45%, transparent 100%);
	-webkit-mask-image: linear-gradient(to top, #000 35%, transparent 95%), linear-gradient(to left, #000 45%, transparent 100%);
}

.gf-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(240px, 340px) 1fr;
	grid-template-rows: auto 1fr auto;
	gap: 1.25rem 2.5rem;
	min-height: calc(100svh - 8.5rem);
	align-content: space-between;
}

.gf-watch-card {
	position: relative;
	display: block;
	width: min(340px, 100%);
	aspect-ratio: 16 / 11;
	overflow: clip;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	background: #17191c;
}

.gf-watch-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.75);
}

.gf-watch-btn {
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.85rem;
	background: #fff;
	color: #0c0e12;
	font-size: 0.82rem;
	font-weight: 700;
	border-radius: 4px;
}

.gf-watch-btn--solid { border-radius: 4px; }

.gf-play {
	display: block;
	flex-shrink: 0;
	width: 0.72rem;
	height: 0.72rem;
}

.gf-watch-chip .gf-play,
.gf-watch-btn .gf-play {
	width: 0.72rem;
	height: 0.72rem;
}

body.dir-rtl .gf-watch-chip .gf-play,
body.dir-rtl .gf-watch-btn .gf-play {
	transform: scaleX(-1);
}

.gf-hero-side {
	justify-self: end;
	align-self: start;
	width: min(400px, 100%);
	display: grid;
	gap: 1.25rem;
	padding-top: 0.25rem;
}

body.dir-rtl .gf-hero-side { justify-self: start; }

.gf-watch-card { grid-column: 1; grid-row: 1; }
.gf-hero-side { grid-column: 2; grid-row: 1; }
.gf-hero-brand { grid-column: 1 / -1; grid-row: 3; }

.gf-hero-lead {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.98rem;
	line-height: 1.65;
}

.gf-hero-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.gf-proof {
	display: grid;
	gap: 0.1rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.82rem;
}

.gf-proof strong { font-size: 1rem; color: #fff; }

.gf-proof--dark {
	color: #4a5568;
}

.gf-proof--dark strong { color: #0c0e12; }

.gf-hero-brand {
	grid-column: 1 / -1;
	margin: 0;
	align-self: end;
	font-size: clamp(3.4rem, 12vw, 9rem);
	font-weight: 750;
	letter-spacing: -0.055em;
	line-height: 0.88;
	color: #fff;
}

/* Trust — Gridform "Logo Section" (dark band; stays dark in light theme)
   Sample tokens: bg --paper-dark #0a1726, body #ccc, accent → Sabin --accent, lines #ffffff14 */
.gf-trust {
	color-scheme: dark;
	background: var(--paper-dark);
	color: #ccc;
	border-block: 1px solid rgba(255, 255, 255, 0.08);
	padding: 3.5rem 0;
}

.gf-trust-line {
	margin: 0 0 2rem;
	text-align: center;
	color: #ccc;
	font-size: 1.05rem;
}

.gf-trust-line .is-accent {
	color: var(--accent); /* Sabin red — replaces Gridform orange 225+ */
	font-weight: 700;
}

.gf-trust-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.gf-trust-grid li {
	padding: 1.35rem 1rem;
	text-align: center;
	color: #fff;
	font-weight: 650;
	font-size: 0.92rem;
	border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
	border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}

.gf-trust-grid li:nth-child(4n) { border-inline-end: 0; }
.gf-trust-grid li:nth-last-child(-n+4) { border-block-end: 0; }

/* Light theme: keep Logo Section dark like Gridform (do not inherit --paper/--ink) */
html[data-theme="light"] .gf-trust {
	background: var(--paper-dark);
	color: #ccc;
	border-block-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .gf-trust-line { color: #ccc; }

html[data-theme="light"] .gf-trust-line .is-accent { color: var(--accent); }

html[data-theme="light"] .gf-trust-grid {
	border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .gf-trust-grid li {
	color: #fff;
	border-inline-end-color: rgba(255, 255, 255, 0.08);
	border-block-end-color: rgba(255, 255, 255, 0.08);
}

/* About — light (Gridform About Section: bg #e7e8f2, ink #0c0e12 / #1a1a1a) */
.gf-about,
.gf-services,
.gf-projects {
	color-scheme: light;
}

.gf-about {
	color-scheme: light;
	background: #e7e8f2;
	color: #0c0e12;
	border: 0;
	padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.gf-about .gf-eyebrow {
	color: var(--accent);
}

.gf-headline {
	margin: 0 0 2.5rem;
	font-size: clamp(1.2rem, 2.3vw, 1.75rem);
	letter-spacing: -0.03em;
	line-height: 1.25;
	max-width: none;
	color: #0c0e12;
}

.gf-headline .is-muted {
	display: block;
	color: #9aa1ad;
	font-weight: 500;
}

.gf-headline .is-strong {
	display: block;
	color: #0c0e12;
	font-weight: 750;
}

.gf-about-split {
	display: grid;
	grid-template-columns: 1.35fr 0.9fr;
	gap: 0;
	align-items: stretch;
	border-top: 1px solid rgba(12, 14, 18, 0.1);
}

.gf-about-media {
	margin: 0;
	overflow: clip;
	border-radius: 4px;
	aspect-ratio: 16 / 11;
	padding: 1.5rem 1.5rem 0 0;
	border-inline-end: 1px solid rgba(12, 14, 18, 0.1);
}

body.dir-rtl .gf-about-media {
	padding: 1.5rem 0 0 1.5rem;
}

.gf-about-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gf-about-copy {
	display: grid;
	gap: 1.35rem;
	align-content: start;
	padding: 1.5rem 0 0 1.5rem;
}

body.dir-rtl .gf-about-copy {
	padding: 1.5rem 1.5rem 0 0;
}

.gf-about-copy > p {
	margin: 0;
	color: #4a5568;
	line-height: 1.7;
	font-size: 0.98rem;
	max-width: 36ch;
}

.gf-about .gf-reviews--light .gf-reviews-text {
	color: #4a5568;
}

.gf-about .gf-reviews--light .gf-reviews-text strong {
	color: #0c0e12;
}

.gf-about .gf-reviews--light .gf-avatars span {
	border-color: #e7e8f2;
}

/* Impact — dark */
.gf-impact {
	background: var(--paper-dark);
	color: #fff;
	border: 0;
}

.gf-stat-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 1.5rem;
}

.gf-stat {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: center;
	padding: 1.75rem 1.35rem;
	border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
	border-block-end: 1px solid rgba(255, 255, 255, 0.1);
	min-height: 140px;
}

.gf-stat:nth-child(2n) { border-inline-end: 0; }
.gf-stat:nth-last-child(-n+2) { border-block-end: 0; }

.gf-stat-num {
	margin: 0;
	display: flex;
	align-items: flex-start;
	gap: 0.15rem;
	font-size: clamp(3rem, 6vw, 4.5rem);
	font-weight: 750;
	letter-spacing: -0.05em;
	line-height: 0.9;
	color: #fff;
}

.gf-stat-num em {
	font-style: normal;
	color: var(--accent);
	font-size: 0.55em;
	margin-top: 0.15em;
}

.gf-stat-desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.95rem;
	max-width: 22ch;
}

.gf-media-band {
	position: relative;
	display: block;
	overflow: clip;
	border-radius: 4px;
	aspect-ratio: 21 / 9;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-sizing: border-box;
	padding: 1rem 1.25rem;
}

.gf-media-band img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}

/* Services — light */
.gf-services {
	background: #fff;
	color: #0c0e12;
	border: 0;
}

.gf-service-list {
	border-block: 1px solid rgba(12, 14, 18, 0.1);
}

.gf-service-row {
	display: grid;
	grid-template-columns: 4.5rem 1fr auto;
	gap: 1rem;
	align-items: center;
	padding: 1.45rem 0;
	border-block-end: 1px solid rgba(12, 14, 18, 0.08);
	color: #0c0e12;
	transition: opacity 0.2s ease, padding 0.25s var(--ease);
}

.gf-service-row:last-child { border-block-end: 0; }

.gf-service-row:hover {
	padding-inline: 0.5rem;
	opacity: 1;
}

.gf-service-num {
	color: #b0b6c0;
	font-weight: 600;
	font-size: 1rem;
}

.gf-service-title {
	font-size: clamp(1.05rem, 1.9vw, 1.4rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.gf-service-arrow {
	color: #0c0e12;
	font-size: 1.2rem;
}

body.dir-rtl .gf-service-arrow { transform: scaleX(-1); }

.gf-services-cta { margin-top: 2rem; }

/* Projects / markets — Gridform Work Section */
.gf-projects {
	--gf-projects-bg: #eff5f9;
	--gf-projects-grid: rgba(12, 14, 18, 0.07);
	position: relative;
	background: var(--gf-projects-bg);
	color: #0c0e12;
	border: 0;
	border-block: 1px solid rgba(12, 14, 18, 0.08);
	padding: clamp(4.5rem, 8vw, 6.5rem) 0;
}

.gf-projects::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		linear-gradient(90deg, transparent 0%, transparent calc(50% - 0.5px), var(--gf-projects-grid) calc(50% - 0.5px), var(--gf-projects-grid) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
		linear-gradient(0deg, transparent 0%, transparent calc(50% - 0.5px), var(--gf-projects-grid) calc(50% - 0.5px), var(--gf-projects-grid) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
		linear-gradient(90deg, var(--gf-projects-grid) 1px, transparent 1px),
		linear-gradient(var(--gf-projects-grid) 1px, transparent 1px);
	background-size: 100% 100%, 100% 100%, min(1500px, 100%) 100%, 100% min(100%, 100%);
	background-position: center, center, center, center;
	background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
	opacity: 0.9;
}

.gf-projects-inner {
	position: relative;
	z-index: 1;
	border-inline: 1px solid rgba(12, 14, 18, 0.08);
	padding-block: 0.25rem;
}

.gf-projects .gf-section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.gf-projects .gf-section-head-row {
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
	gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

.gf-projects .gf-title-light {
	max-width: none;
	width: 100%;
	font-size: clamp(1.25rem, 2.4vw, 1.85rem);
}

.gf-projects .gf-lede-light {
	max-width: 36ch;
	color: #5b6573;
	line-height: 1.65;
	align-self: end;
	padding-bottom: 0.2rem;
}

.gf-project-strip {
	overflow: visible;
	margin-inline: calc(50% - 50vw);
	width: 100vw;
	padding-inline: max(1.5rem, calc((100vw - 1200px) / 2));
}

.gf-project-track {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 0.35rem;
	-webkit-overflow-scrolling: touch;
}

.gf-project-track::-webkit-scrollbar { display: none; }

.gf-project-card {
	flex: 0 0 auto;
	margin: 0;
	scroll-snap-align: start;
	display: grid;
	gap: 0.85rem;
	background: transparent;
}

.gf-project-card.is-landscape {
	width: min(820px, 78vw);
}

.gf-project-card.is-portrait {
	width: min(340px, 58vw);
}

.gf-project-media {
	margin: 0;
	overflow: clip;
	border-radius: 4px;
	background: #d7dee6;
	width: 100%;
}

.gf-project-card.is-landscape .gf-project-media {
	aspect-ratio: 1.6047 / 1;
}

.gf-project-card.is-portrait .gf-project-media {
	aspect-ratio: 3 / 4;
}

.gf-project-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--ease);
}

.gf-project-card:hover .gf-project-media img { transform: scale(1.035); }

.gf-project-card figcaption {
	position: static;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #0c0e12;
	font-weight: 650;
	font-size: 0.98rem;
	letter-spacing: -0.01em;
}

.gf-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--accent);
	flex: 0 0 auto;
}

.gf-projects-foot {
	margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
	display: grid;
	justify-items: center;
	gap: 1.35rem;
}

.gf-projects-nav {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.gf-nav-btn {
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 6px;
	background: color-mix(in srgb, var(--accent) 88%, #fff 12%);
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	display: inline-grid;
	place-items: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.gf-nav-btn:hover {
	background: var(--accent);
	transform: translateY(-1px);
}

.gf-nav-btn + .gf-nav-btn { margin-inline-start: 0; }

.gf-projects-cta { margin-top: 0.15rem; }

body.dir-rtl .gf-projects-nav .gf-nav-btn span {
	display: inline-block;
	transform: scaleX(-1);
}

/* Process — dark */
.gf-process {
	background: var(--paper-dark);
	color: #fff;
	border: 0;
}

.gf-process-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	align-items: start;
}

.gf-process-card {
	padding: 1.15rem 1.15rem 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.02);
	min-height: 0;
}

.gf-process-card:nth-child(2) { margin-top: 2.5rem; }
.gf-process-card:nth-child(3) { margin-top: 1.25rem; }

.gf-process-fig {
	margin: 0 0 1.15rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: #fff;
	aspect-ratio: 4 / 3;
}

.gf-process-fig img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	padding: 0.65rem;
	border-radius: 0;
}

.gf-process-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.65rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	background: var(--accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 0.85rem;
}

.gf-process-icon {
	display: inline-flex;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 1rem;
}

.gf-process-card h3 {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 650;
}

.gf-process-card p {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.95rem;
	line-height: 1.65;
}

.gf-cta-band {
	margin-top: 3rem;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	background: var(--accent);
	color: #fff;
}

.gf-cta-band h2 {
	margin: 0;
	font-size: clamp(1.1rem, 1.9vw, 1.45rem);
	max-width: none;
	letter-spacing: -0.03em;
}

/* Dark contact band: global dark theme + home navy strip (light-theme interior contact stays light). */
html[data-theme="dark"] .section-contact,
.home .section-contact,
.page-template-template-home .section-contact {
	color-scheme: dark;
	background: var(--paper-dark, #0a1726);
	border: 0;
	color: #ccc;
	--ink: #fff;
	--ink-soft: #ccc;
	--ink-faint: #ffffff80;
	--paper: #0f1012;
	--paper-2: #111317;
	--paper-3: #17191c;
	--line: #ffffff14;
	--line-strong: #ffffff1a;
}

html[data-theme="dark"] .section-contact .display-md,
html[data-theme="dark"] .section-contact .contact-lead h2,
.home .section-contact .display-md,
.home .section-contact .contact-lead h2,
.page-template-template-home .section-contact .display-md,
.page-template-template-home .section-contact .contact-lead h2 {
	color: #fff;
}

html[data-theme="dark"] .section-contact .eyebrow,
.home .section-contact .eyebrow,
.page-template-template-home .section-contact .eyebrow {
	color: #ffffff80;
}

html[data-theme="dark"] .section-contact .eyebrow::before,
html[data-theme="dark"] .section-contact .eyebrow::after,
.home .section-contact .eyebrow::before,
.home .section-contact .eyebrow::after,
.page-template-template-home .section-contact .eyebrow::before,
.page-template-template-home .section-contact .eyebrow::after {
	color: var(--accent);
}

/* Contact facts on navy: muted labels, light values/links; icons stay accent red */
html[data-theme="dark"] .section-contact .contact-copy,
.home .section-contact .contact-copy,
.page-template-template-home .section-contact .contact-copy {
	color: #ccc;
}

html[data-theme="dark"] .section-contact .contact-label,
.home .section-contact .contact-label,
.page-template-template-home .section-contact .contact-label {
	color: #ffffff80;
}

html[data-theme="dark"] .section-contact .contact-facts strong,
html[data-theme="dark"] .section-contact .contact-facts a,
html[data-theme="dark"] .section-contact .contact-facts a:link,
html[data-theme="dark"] .section-contact .contact-facts a:visited,
.home .section-contact .contact-facts strong,
.home .section-contact .contact-facts a,
.home .section-contact .contact-facts a:link,
.home .section-contact .contact-facts a:visited,
.page-template-template-home .section-contact .contact-facts strong,
.page-template-template-home .section-contact .contact-facts a,
.page-template-template-home .section-contact .contact-facts a:link,
.page-template-template-home .section-contact .contact-facts a:visited {
	color: #fff;
}

html[data-theme="dark"] .section-contact .contact-facts a:hover,
.home .section-contact .contact-facts a:hover,
.page-template-template-home .section-contact .contact-facts a:hover {
	color: var(--accent);
}

html[data-theme="dark"] .section-contact .contact-icon,
.home .section-contact .contact-icon,
.page-template-template-home .section-contact .contact-icon {
	color: var(--accent);
	border-color: #ffffff14;
}

html[data-theme="dark"] .section-contact .contact-panel,
.home .section-contact .contact-panel,
.page-template-template-home .section-contact .contact-panel {
	background: var(--paper-3, #17191c);
	border-color: var(--line, #ffffff14);
}

html[data-theme="dark"] .section-contact .contact-form label span,
.home .section-contact .contact-form label span,
.page-template-template-home .section-contact .contact-form label span {
	color: #ccc;
}

/* Explicit field colors — avoids light color-scheme / UA defaults washing out borders on dark bands */
html[data-theme="dark"] .section-contact .contact-form input,
html[data-theme="dark"] .section-contact .contact-form textarea,
.home .section-contact .contact-form input,
.home .section-contact .contact-form textarea,
.page-template-template-home .section-contact .contact-form input,
.page-template-template-home .section-contact .contact-form textarea {
	background: #111317;
	border: 1px solid #ffffff1a;
	color: #fff;
}

html[data-theme="dark"] .section-contact .contact-form input::placeholder,
html[data-theme="dark"] .section-contact .contact-form textarea::placeholder,
.home .section-contact .contact-form input::placeholder,
.home .section-contact .contact-form textarea::placeholder,
.page-template-template-home .section-contact .contact-form input::placeholder,
.page-template-template-home .section-contact .contact-form textarea::placeholder {
	color: #ffffff66;
	opacity: 1;
}

html[data-theme="dark"] .section-contact .contact-form input:focus,
html[data-theme="dark"] .section-contact .contact-form textarea:focus,
.home .section-contact .contact-form input:focus,
.home .section-contact .contact-form textarea:focus,
.page-template-template-home .section-contact .contact-form input:focus,
.page-template-template-home .section-contact .contact-form textarea:focus {
	border-color: var(--accent);
	outline: none;
}

/* =========================================================
   Dark theme — comprehensive color audit (v8.3.20)
   Palette: --paper-dark navy bands, charcoal surfaces,
   --ink / --ink-soft / --ink-faint on dark, --line borders
   ========================================================= */

/* Interior page heroes — navy band in dark theme */
html[data-theme="dark"] .page-hero {
	background: var(--paper-dark);
	border-block-end-color: var(--line);
	color: var(--ink);
}

html[data-theme="dark"] .page-hero h1 {
	color: #fff;
}

html[data-theme="dark"] .page-hero .eyebrow {
	color: var(--ink-faint);
}

html[data-theme="dark"] .page-hero .eyebrow::before,
html[data-theme="dark"] .page-hero .eyebrow::after {
	color: var(--accent);
}

html[data-theme="dark"] .page-hero-sub {
	color: var(--ink-soft);
}

html[data-theme="dark"] .product-hero {
	background: var(--paper-dark);
	color: var(--ink);
}

html[data-theme="dark"] .product-hero h1 {
	color: #fff;
}

html[data-theme="dark"] .product-hero .eyebrow {
	color: var(--ink-faint);
}

html[data-theme="dark"] .product-hero .eyebrow::before,
html[data-theme="dark"] .product-hero .eyebrow::after {
	color: var(--accent);
}

html[data-theme="dark"] .product-hero .page-hero-sub {
	color: var(--ink-soft);
}

/* Interior page heroes — light surfaces */
html[data-theme="light"] .page-hero,
html[data-theme="light"] .product-hero {
	background: var(--paper);
	border-block-end-color: var(--line);
	color: var(--ink);
}

html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .product-hero h1 {
	color: var(--ink);
}

html[data-theme="light"] .page-hero .eyebrow,
html[data-theme="light"] .product-hero .eyebrow {
	color: var(--ink-faint);
}

html[data-theme="light"] .page-hero .eyebrow::before,
html[data-theme="light"] .page-hero .eyebrow::after,
html[data-theme="light"] .product-hero .eyebrow::before,
html[data-theme="light"] .product-hero .eyebrow::after {
	color: var(--accent);
}

html[data-theme="light"] .page-hero-sub,
html[data-theme="light"] .product-hero .page-hero-sub {
	color: var(--ink-soft);
}

/* Global forms on dark surfaces (interior pages, panels) */
html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea {
	background: var(--paper-2);
	border: 1px solid var(--line-strong);
	color: var(--ink);
}

html[data-theme="dark"] .contact-form input::placeholder,
html[data-theme="dark"] .contact-form textarea::placeholder {
	color: var(--ink-faint);
	opacity: 1;
}

html[data-theme="dark"] .contact-form input:focus,
html[data-theme="dark"] .contact-form textarea:focus {
	border-color: var(--accent);
	outline: none;
}

html[data-theme="dark"] .contact-panel {
	background: var(--paper-3);
	border-color: var(--line);
}

/* Header — interior pages (no home hero) */
html[data-theme="dark"] body:not(.has-hero) .gf-logo,
html[data-theme="dark"] body:not(.has-hero) .gf-logo-word {
	color: #fff;
}

html[data-theme="dark"] body:not(.has-hero) .gf-nav .nav-list a {
	color: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] body:not(.has-hero) .gf-nav .nav-list a:hover {
	color: #fff;
}

html[data-theme="dark"] body:not(.has-hero) .gf-header .theme-toggle,
html[data-theme="dark"] body:not(.has-hero) .gf-header .nav-toggle {
	border-color: var(--line-strong);
	color: #fff;
}

html[data-theme="dark"] body:not(.has-hero) .gf-header .lang-switch {
	border-color: var(--line-strong);
}

html[data-theme="dark"] body:not(.has-hero) .gf-header .lang-link {
	color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] body:not(.has-hero) .gf-header .lang-link.is-active {
	color: #fff;
}

/* About stays light in dark theme — Gridform About: bg #e7e8f2, dark ink */
html[data-theme="dark"] .gf-about {
	color-scheme: light;
	background: #e7e8f2;
	color: #0c0e12;
}

html[data-theme="dark"] .gf-about .gf-eyebrow {
	color: var(--accent);
}

html[data-theme="dark"] .gf-about .gf-headline,
html[data-theme="dark"] .gf-about .gf-headline .is-strong {
	color: #0c0e12;
}

html[data-theme="dark"] .gf-about .gf-headline .is-muted {
	color: #9aa1ad;
}

html[data-theme="dark"] .gf-about-copy > p,
html[data-theme="dark"] .gf-about .gf-reviews--light .gf-reviews-text {
	color: #4a5568;
}

html[data-theme="dark"] .gf-about .gf-reviews--light .gf-reviews-text strong {
	color: #0c0e12;
}

html[data-theme="dark"] .gf-about-split {
	border-top-color: rgba(12, 14, 18, 0.1);
}

html[data-theme="dark"] .gf-about-media {
	border-inline-end-color: rgba(12, 14, 18, 0.1);
}

html[data-theme="dark"] .gf-about .gf-reviews--light .gf-avatars span {
	border-color: #e7e8f2;
}

/* Services stays light in dark theme — Gridform Services: bg #fff */
html[data-theme="dark"] .gf-services {
	color-scheme: light;
	background: #fff;
	color: #0c0e12;
}

html[data-theme="dark"] .gf-service-list {
	border-block-color: rgba(12, 14, 18, 0.1);
}

html[data-theme="dark"] .gf-service-row {
	color: #0c0e12;
	border-block-end-color: rgba(12, 14, 18, 0.08);
}

html[data-theme="dark"] .gf-service-num {
	color: #b0b6c0;
}

html[data-theme="dark"] .gf-service-arrow {
	color: #0c0e12;
}

html[data-theme="dark"] .gf-services .gf-title-light,
html[data-theme="dark"] .gf-projects .gf-title-light,
html[data-theme="dark"] .gf-quality .gf-title-light {
	color: #0c0e12;
}

html[data-theme="dark"] .gf-services .gf-lede-light,
html[data-theme="dark"] .gf-projects .gf-lede-light,
html[data-theme="dark"] .gf-quality .gf-lede-light {
	color: #4a5568;
}

/* Projects stays light in dark theme — Gridform Work: bg #eff5f9 */
html[data-theme="dark"] .gf-projects {
	color-scheme: light;
	--gf-projects-bg: #eff5f9;
	--gf-projects-grid: rgba(12, 14, 18, 0.07);
	background: var(--gf-projects-bg);
	color: #0c0e12;
	border-block-color: rgba(12, 14, 18, 0.08);
}

html[data-theme="dark"] .gf-projects-inner {
	border-inline-color: rgba(12, 14, 18, 0.08);
}

html[data-theme="dark"] .gf-project-card figcaption {
	color: #0c0e12;
}

html[data-theme="dark"] .gf-project-media {
	background: #e4ebf0;
}

/* Quality stays light in dark theme — Gridform alternating rhythm */
html[data-theme="dark"] .section-quality,
html[data-theme="dark"] .gf-quality {
	color-scheme: light;
	background: #fff;
	color: #0c0e12;
}

html[data-theme="dark"] .gf-quality .gf-eyebrow,
html[data-theme="dark"] .gf-quality .gf-section-head--light .gf-eyebrow {
	color: var(--accent);
}

html[data-theme="dark"] .gf-quality .gf-title-light,
html[data-theme="dark"] .gf-quality .display-md {
	color: #0c0e12;
}

html[data-theme="dark"] .gf-quality .standard-list li {
	border: 1px solid rgba(12, 14, 18, 0.14);
	background: #fff;
	color: #4a5568;
}

/* Impact band — token consistency */
html[data-theme="dark"] .gf-impact {
	background: var(--paper-dark);
}

/* Cards, tables, blog — ensure ink tokens on charcoal */
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .related-card,
html[data-theme="dark"] .download-panel,
html[data-theme="dark"] .story-block,
html[data-theme="dark"] .vision-columns > div {
	background: var(--paper-2);
	border-color: var(--line);
}

html[data-theme="dark"] .carousel-btn {
	border-color: var(--line);
	color: var(--ink);
}

html[data-theme="dark"] .navigation.pagination span,
html[data-theme="dark"] .navigation.pagination a {
	border-color: var(--line);
	color: var(--ink-soft);
}

html[data-theme="dark"] .navigation.pagination a:hover {
	color: var(--accent);
	border-color: var(--accent);
}

@media (max-width: 980px) {
	html[data-theme="dark"] .gf-about-media,
	html[data-theme="dark"] body.dir-rtl .gf-about-media {
		border-block-end-color: rgba(12, 14, 18, 0.1);
	}
}

@media (max-width: 980px) {
	.gf-hero-grid {
		grid-template-columns: 1fr;
		min-height: auto;
		gap: 1.75rem;
	}

	.gf-hero-side {
		justify-self: stretch;
		width: 100%;
	}

	.gf-section-head-row,
	.gf-about-split,
	.gf-process-grid {
		grid-template-columns: 1fr;
	}

	.gf-about-media,
	body.dir-rtl .gf-about-media {
		padding: 1.25rem 0 0;
		border-inline-end: 0;
		border-block-end: 1px solid rgba(12, 14, 18, 0.1);
		padding-bottom: 1.25rem;
	}

	.gf-about-copy,
	body.dir-rtl .gf-about-copy {
		padding: 1.25rem 0 0;
	}

	.gf-projects .gf-title-light { max-width: none; }

	.gf-project-card.is-landscape { width: min(720px, 86vw); }
	.gf-project-card.is-portrait { width: min(280px, 62vw); }

	.gf-project-strip {
		padding-inline: 1.5rem;
	}

	.gf-process-card:nth-child(2),
	.gf-process-card:nth-child(3) {
		margin-top: 0;
	}

	.gf-trust-grid { grid-template-columns: repeat(2, 1fr); }
	.gf-trust-grid li:nth-child(2n) { border-inline-end: 0; }
	.gf-trust-grid li:nth-child(4n) { border-inline-end: 1px solid rgba(255, 255, 255, 0.08); }
	.gf-trust-grid li:nth-last-child(-n+2) { border-block-end: 0; }

	.gf-stat {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.gf-media-band { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
	.gf-stat-grid { grid-template-columns: 1fr; }
	.gf-stat { border-inline-end: 0; }
	.gf-stat:nth-last-child(-n+2) { border-block-end: 1px solid rgba(255, 255, 255, 0.1); }
	.gf-stat:last-child { border-block-end: 0; }
	.gf-service-row { grid-template-columns: 3rem 1fr auto; }
	.gf-hero-brand { font-size: clamp(2.8rem, 16vw, 4.5rem); }
}

/* =========================================================
   Gridform-matched HEADER / HERO / FOOTER (v8.2)
   ========================================================= */

/* Gridform Desktop Default: transparent over dark hero, ~70px, no border */
.gf-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 60;
	background: transparent;
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
	border: 0;
}

/* Dark sticky: Gridform-sampled navy --paper-dark + white foreground */
.gf-header.is-scrolled {
	background: var(--paper-dark);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .gf-header.is-scrolled {
	color: #fff;
}

html[data-theme="dark"] .gf-header.is-scrolled .gf-logo,
html[data-theme="dark"] .gf-header.is-scrolled .gf-logo-word {
	color: #fff;
}

html[data-theme="dark"] .gf-header.is-scrolled .gf-nav .nav-list a {
	color: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] .gf-header.is-scrolled .gf-nav .nav-list a:hover {
	color: #fff;
}

html[data-theme="dark"] .gf-header.is-scrolled .theme-toggle,
html[data-theme="dark"] .gf-header.is-scrolled .nav-toggle {
	border-color: rgba(255, 255, 255, 0.14);
	color: #fff;
}

html[data-theme="dark"] .gf-header.is-scrolled .lang-switch {
	border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .gf-header.is-scrolled .lang-link {
	color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .gf-header.is-scrolled .lang-link.is-active {
	color: #fff;
}

/*
 * Light mode: frosted + dark ink on interior pages and when scrolled.
 * Home dark hero at top (.has-hero, not .is-scrolled): transparent + white
 * ink like Gridform Desktop Default — inherit base .gf-header styles.
 */
html[data-theme="dark"] body:not(.has-hero) .gf-header {
	background: var(--paper-dark);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
}

html[data-theme="light"] body:not(.has-hero) .gf-header,
html[data-theme="light"] .gf-header.is-scrolled {
	background: rgba(244, 245, 247, 0.88);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(12, 14, 18, 0.08);
}

html[data-theme="light"] .gf-header.is-scrolled {
	background: rgba(244, 245, 247, 0.96);
	border-bottom-color: rgba(12, 14, 18, 0.1);
}

html[data-theme="light"] body:not(.has-hero) .gf-logo,
html[data-theme="light"] body:not(.has-hero) .gf-logo-word,
html[data-theme="light"] .gf-header.is-scrolled .gf-logo,
html[data-theme="light"] .gf-header.is-scrolled .gf-logo-word {
	color: #0c0e12;
}

html[data-theme="light"] body:not(.has-hero) .gf-logo img,
html[data-theme="light"] .gf-header.is-scrolled .gf-logo img {
	filter: none;
}


html[data-theme="light"] body:not(.has-hero) .gf-nav .nav-list a,
html[data-theme="light"] .gf-header.is-scrolled .gf-nav .nav-list a {
	color: #0c0e12;
	font-weight: 600;
}

html[data-theme="light"] body:not(.has-hero) .gf-nav .nav-list a:hover,
html[data-theme="light"] .gf-header.is-scrolled .gf-nav .nav-list a:hover {
	color: #000;
	opacity: 1;
}

html[data-theme="light"] body:not(.has-hero) .gf-header .theme-toggle,
html[data-theme="light"] body:not(.has-hero) .gf-header .nav-toggle,
html[data-theme="light"] .gf-header.is-scrolled .theme-toggle,
html[data-theme="light"] .gf-header.is-scrolled .nav-toggle {
	border-color: rgba(12, 14, 18, 0.14);
	color: #0c0e12;
}

html[data-theme="light"] body:not(.has-hero) .gf-header .lang-switch,
html[data-theme="light"] .gf-header.is-scrolled .lang-switch {
	border-color: rgba(12, 14, 18, 0.14);
}

html[data-theme="light"] body:not(.has-hero) .gf-header .lang-link,
html[data-theme="light"] .gf-header.is-scrolled .lang-link {
	color: rgba(12, 14, 18, 0.62);
}

html[data-theme="light"] body:not(.has-hero) .gf-header .lang-link.is-active,
html[data-theme="light"] .gf-header.is-scrolled .lang-link.is-active {
	color: #fff;
}

/* Light frosted / scrolled: keep Gridform white Contact pill (not dark fill) */
html[data-theme="light"] body:not(.has-hero) .gf-header-cta,
html[data-theme="light"] .gf-header.is-scrolled .gf-header-cta {
	background: #fff;
	color: #0c0e12;
	border: 1px solid rgba(12, 14, 18, 0.12);
	box-shadow: 0 1px 3px rgba(12, 14, 18, 0.06);
}

html[data-theme="light"] body:not(.has-hero) .gf-header-cta-icon,
html[data-theme="light"] .gf-header.is-scrolled .gf-header-cta-icon {
	background: #0c0e12;
	color: #fff;
}

.gf-header-bar {
	width: min(1240px, calc(100% - 2.5rem));
	margin-inline: auto;
	min-height: 70px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.25rem;
}

.gf-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: #fff;
}

.gf-logo img,
.gf-logo-mark {
	height: 2.15rem;
	width: auto;
	border-radius: 0;
}

/*
 * Logo swap (header): color on light bars; white on dark / over hero.
 * Scope display to mark modifiers so a generic .gf-logo img rule cannot override hide/show.
 * - Transparent over dark hero (body.has-hero, not scrolled) → logo-white.png (any theme)
 * - Light theme frosted / scrolled / interior → logo.svg
 * - Dark theme sticky / interior → logo-white.png
 * - Footer (always --paper-dark) → logo-white.png only in markup
 */
.gf-header .gf-logo-mark--color,
.gf-header .gf-logo-mark--white,
.gf-header .gf-logo-mark--on-dark {
	display: none;
}

/* Dark backgrounds: white mark */
.gf-header .gf-logo-mark--white,
.gf-header .gf-logo-mark--on-dark {
	display: block;
}

/* Light backgrounds: color mark */
html[data-theme="light"] .gf-header .gf-logo-mark--color {
	display: block;
}

html[data-theme="light"] .gf-header .gf-logo-mark--white,
html[data-theme="light"] .gf-header .gf-logo-mark--on-dark {
	display: none;
}

/* Before scroll over hero → white (readable on dark media), regardless of theme */
body.has-hero .gf-header:not(.is-scrolled) .gf-logo-mark--color {
	display: none;
}

body.has-hero .gf-header:not(.is-scrolled) .gf-logo-mark--white,
body.has-hero .gf-header:not(.is-scrolled) .gf-logo-mark--on-dark {
	display: block;
}

.gf-logo-word {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.gf-logo--footer img,
.gf-logo-mark--footer {
	height: 1.7rem;
	width: auto;
	display: block;
}

/* Footer always sits on dark paper — force white logo */
.gf-footer .gf-logo img,
.gf-footer .gf-logo svg {
	filter: none;
}

.gf-footer .gf-logo svg,
.gf-footer .gf-logo svg path {
	fill: #fff;
}

.gf-nav {
	display: flex;
	justify-content: center;
}

.gf-nav .nav-list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gf-nav .nav-list a {
	display: inline-flex;
	padding: 0.45rem 0.85rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
	font-weight: 500;
	border-radius: 0;
	background: transparent;
}

.gf-nav .nav-list a:hover {
	color: #fff;
	background: transparent;
}

.gf-header-end {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.gf-header .theme-toggle,
.gf-header .nav-toggle {
	width: 2.35rem;
	height: 2.35rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: transparent;
	color: #fff;
}

.gf-header .lang-switch {
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: transparent;
	padding: 0.15rem;
}

.gf-header .lang-link {
	color: rgba(255, 255, 255, 0.7);
	border-radius: 999px;
}

.gf-header .lang-link.is-active {
	background: var(--accent);
	color: #fff;
}

/* Gridform Contact us: white pill + dark text; dark icon orb (sampled #fff / #0c0e12) */
.gf-header-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.55rem;
	padding: 0.15rem 0.2rem 0.15rem 0.15rem;
	border-radius: 999px;
	background: #fff;
	color: #0c0e12;
	font-size: 0.86rem;
	font-weight: 650;
	border: 1px solid transparent;
}

body.dir-rtl .gf-header-cta {
	padding: 0.15rem 0.15rem 0.15rem 0.2rem;
}

.gf-header-cta-icon {
	display: inline-grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: #0c0e12;
	color: #fff;
	font-size: 0.85rem;
}

.gf-header-cta > span:last-child {
	padding-inline: 0.55rem 0.9rem;
}

/* Hide old site-header styles if leftover */
.site-header { display: none !important; }

/* ---- HERO ---- */
.gf-hero {
	position: relative;
	min-height: 100svh;
	padding: 5.5rem 0 0;
	background: var(--paper-dark);
	overflow: clip;
	border: 0;
	display: grid;
	align-items: stretch;
}

.gf-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.gf-hero-bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	filter: brightness(0.78) saturate(1.08) contrast(1.06);
}

.gf-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(6,14,32,0.58) 0%, rgba(8,18,40,0.22) 45%, rgba(4,10,26,0.72) 100%),
		linear-gradient(180deg, rgba(6,12,28,0.48) 0%, transparent 30%, rgba(4,10,24,0.78) 100%);
}

.gf-hero-gridlines {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image:
		linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: calc(100% / 6) 100%;
	opacity: 0.9;
	pointer-events: none;
}

.gf-hero-shell {
	position: relative;
	z-index: 2;
	width: min(1240px, calc(100% - 2.5rem));
	margin-inline: auto;
	min-height: calc(100svh - 5.5rem);
	display: grid;
	grid-template-rows: 1fr auto;
	padding-bottom: 2.25rem;
	gap: 1.5rem;
}

.gf-hero-top {
	display: grid;
	grid-template-columns: minmax(260px, 380px) minmax(280px, 420px);
	justify-content: space-between;
	align-items: start;
	width: 100%;
	gap: 2rem;
	padding-top: clamp(2rem, 8vh, 5.5rem);
}

.gf-watch {
	position: relative;
	display: block;
	aspect-ratio: 16 / 11;
	overflow: clip;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 4px;
	background: #17191c;
	box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.gf-watch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.85);
}

.gf-watch-chip {
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.9rem;
	border-radius: 4px;
	background: #fff;
	color: #0c0e12;
	font-size: 0.84rem;
	font-weight: 700;
	white-space: nowrap;
}

.gf-hero-panel {
	width: 100%;
	max-width: 420px;
	justify-self: end;
	display: grid;
	gap: 1.35rem;
	padding-top: 0.35rem;
}

body.dir-rtl .gf-hero-panel {
	justify-self: start;
}

.gf-hero-copy {
	margin: 0;
	color: rgba(255,255,255,0.78);
	font-size: 1.02rem;
	line-height: 1.65;
	max-width: 38ch;
}

.gf-hero-row {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	flex-wrap: wrap;
	padding-top: 0.35rem;
	border-top: 1px solid var(--accent);
	width: fit-content;
	max-width: 100%;
}

.gf-pill {
	display: inline-flex;
	align-items: center;
	gap: 0;
	min-height: 3.1rem;
	border-radius: 999px;
	overflow: hidden;
	background: var(--accent);
	color: #fff;
	font-weight: 650;
	font-size: 0.95rem;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.gf-pill:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.gf-pill-orb {
	display: inline-grid;
	place-items: center;
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 50%;
	background: rgba(0,0,0,0.16);
	flex: 0 0 auto;
}

.gf-pill-label {
	padding: 0 1.25rem 0 0.7rem;
}

body.dir-rtl .gf-pill-label {
	padding: 0 0.7rem 0 1.25rem;
}

.gf-reviews {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.gf-avatars {
	display: flex;
}

.gf-avatars span {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	border: 2px solid #0c0e12;
	margin-inline-end: -0.55rem;
	background:
		linear-gradient(135deg, #4a5568, #1a202c);
}

.gf-avatars span:nth-child(2) { background: linear-gradient(135deg, var(--accent), #6a0416); }
.gf-avatars span:nth-child(3) { background: linear-gradient(135deg, #718096, #2d3748); }
.gf-avatars span:nth-child(4) { background: linear-gradient(135deg, #a0aec0, #4a5568); }

.gf-reviews-text {
	display: grid;
	gap: 0.05rem;
	color: rgba(255,255,255,0.78);
	font-size: 0.8rem;
	line-height: 1.25;
}

.gf-reviews-text strong {
	color: #fff;
	font-size: 0.95rem;
}

.gf-mega {
	margin: 0;
	align-self: end;
	width: 100%;
	padding-top: 0.5rem;
	font-size: clamp(3.2rem, 11.5vw, 8.5rem);
	font-weight: 750;
	letter-spacing: -0.055em;
	line-height: 0.9;
	color: #fff;
	text-wrap: balance;
}

.gf-mega sup {
	font-size: 0.28em;
	font-weight: 600;
	vertical-align: super;
	margin-inline-start: 0.08em;
	opacity: 0.85;
}

/* ---- FOOTER ---- */
.gf-footer {
	background: var(--paper-dark);
	color: rgba(255,255,255,0.62);
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 4.5rem 0 1.75rem;
}

.gf-footer-shell {
	width: min(1240px, calc(100% - 2.5rem));
	margin-inline: auto;
}

.gf-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 0.8fr 0.9fr 1.1fr;
	gap: 2rem 1.5rem;
	padding-bottom: 2.5rem;
}

.gf-footer-brand p {
	margin: 1rem 0 0;
	max-width: 36ch;
	line-height: 1.7;
	color: rgba(255,255,255,0.58);
}

.gf-footer-label {
	margin: 0 0 0.9rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.4);
}

body.lang-fa .gf-footer-label {
	letter-spacing: 0;
	text-transform: none;
}

.gf-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.gf-footer-col a {
	color: rgba(255,255,255,0.82);
	font-size: 0.95rem;
	font-weight: 500;
}

.gf-footer-col a:hover { color: #fff; }

.gf-footer-bottom {
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255,255,255,0.08);
}

.gf-footer-bottom p {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(255,255,255,0.38);
}

/* Hide old footer if present */
.site-footer { display: none !important; }

@media (max-width: 980px) {
	.gf-header-bar {
		grid-template-columns: auto auto;
		justify-content: space-between;
	}

	.gf-nav {
		position: fixed;
		inset: 4.5rem 0 auto 0;
		display: none;
		padding: 1rem;
		background: var(--paper-dark);
		border-bottom: 1px solid rgba(255,255,255,0.08);
		justify-content: stretch;
	}

	.gf-nav.is-open { display: block; }

	.gf-nav .nav-list {
		flex-direction: column;
		align-items: stretch;
	}

	.gf-nav .nav-list a {
		padding: 0.9rem 0.75rem;
		border-bottom: 1px solid rgba(255,255,255,0.08);
	}

	html[data-theme="light"] .gf-nav {
		background: #f4f5f7;
		border-bottom-color: rgba(12, 14, 18, 0.1);
	}

	html[data-theme="light"] .gf-nav .nav-list a {
		border-bottom-color: rgba(12, 14, 18, 0.08);
		color: rgba(12, 14, 18, 0.78);
	}

	.gf-header .nav-toggle { display: inline-grid; }
	.gf-header-cta { display: none; }

	.gf-hero-top {
		grid-template-columns: 1fr;
		padding-top: 1.5rem;
	}

	.gf-watch { width: min(360px, 100%); }

	.gf-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.gf-mega { font-size: clamp(2.8rem, 16vw, 4.2rem); }
	.gf-footer-grid { grid-template-columns: 1fr; }
	.gf-logo-word { display: none; }
}
