/* ==========================================================================
   APFZ — امن پردازان فناوری زنجان
   Direction B: «پوستر» — one committed green field, hairline grid, display
   type in two weights, and data instead of decoration.
   RTL first, no framework.
   ========================================================================== */

/* ---------- Fonts ------------------------------------------------------- */
@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2-variations');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Estedad';
	src: url('../fonts/Estedad-Variable.woff2') format('woff2-variations');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ----------------------------------------------------- */
:root {
	--green: #0c3a2c;
	--green-mid: #14533c;
	--green-deep: #07241c;
	--green-ink: #05201a;

	--paper: #f2efe5;
	--paper-2: #eae6d9;
	--paper-3: #e2ddcd;

	--ink: #f1eee4;
	--ink-2: #b6c7be;
	--ink-3: #8fa79a;

	--dark: #15130f;
	--dark-2: #4a463c;
	--dark-3: #6c6758;

	--accent: #d8e8b0;

	--line: rgba(241, 238, 228, 0.14);
	--line-2: rgba(241, 238, 228, 0.08);
	--line-dark: rgba(21, 19, 15, 0.15);
	--line-dark-2: rgba(21, 19, 15, 0.07);

	--font-display: 'Estedad', 'Vazirmatn', system-ui, sans-serif;
	--font-body: 'Vazirmatn', 'Estedad', system-ui, sans-serif;

	--f-label: 9.5px;
	--f-small: 12.5px;
	--f-body: 16.5px;
	--f-lead: 17px;
	--f-h3: clamp(18px, 1.5vw, 22px);
	--f-h2: clamp(34px, 4.6vw, 68px);
	--f-display: clamp(54px, 8.8vw, 126px);

	--gap: 56px;
	--max: 1440px;
	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 24px;
	--sp-6: 32px;
	--sp-7: 48px;
	--sp-8: 64px;
	--sp-9: 96px;
	--sp-10: 140px;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--dark);
	font-family: var(--font-body);
	font-size: var(--f-body);
	line-height: 1.9;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.035em;
	margin: 0;
}

em {
	font-style: normal;
	font-weight: 200;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

::selection {
	background: var(--accent);
	color: var(--green-deep);
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	inset-inline-start: 16px;
	top: -80px;
	background: var(--accent);
	color: var(--green-deep);
	padding: 12px 20px;
	z-index: 999;
	transition: top 160ms var(--ease);
}

.skip-link:focus {
	top: 16px;
}

/* ---------- Layout ----------------------------------------------------- */
.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gap);
}

.wrap--narrow {
	max-width: 900px;
}

.section {
	padding-block: clamp(64px, 7.5vw, 128px);
	position: relative;
}

.section--paper {
	background: var(--paper);
}

.section--paper2 {
	background: var(--paper-2);
}

.section--green {
	background:
		radial-gradient(120% 90% at 85% -10%, var(--green-mid) 0%, var(--green) 46%, var(--green-deep) 100%);
	color: var(--ink);
}

.section--green h2,
.section--green h3 {
	color: var(--ink);
}

/* ---------- Section headings ------------------------------------------- */
.sec-head {
	display: block;
	margin-bottom: clamp(36px, 4.4vw, 72px);
}

.sec-head__index {
	font-family: var(--font-display);
	font-size: var(--f-label);
	letter-spacing: 0.3em;
	color: var(--dark-3);
	margin: 0 0 22px;
}

.section--green .sec-head__index {
	color: var(--ink-3);
}

.sec-head__title {
	font-size: var(--f-h2);
	line-height: 1.02;
	margin: 0;
}

.section--green .sec-head__title em {
	color: var(--accent);
}

.sec-head__lead {
	margin-top: var(--sp-5);
	font-size: var(--f-lead);
	line-height: 2;
	color: var(--dark-2);
	max-width: 560px;
}

.section--green .sec-head__lead {
	color: var(--ink-2);
}

/* ---------- Buttons ---------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 58px;
	padding: 0 30px;
	background: var(--dark);
	color: var(--paper);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}

.btn svg {
	width: 18px;
	height: 18px;
	flex: none;
	transition: transform 220ms var(--ease);
}

.btn:hover svg {
	transform: translateX(-4px);
}

.btn--light {
	background: var(--ink);
	color: var(--green-deep);
}

.btn--light:hover {
	background: var(--accent);
}

.btn--ghost {
	background: transparent;
	border-color: rgba(241, 238, 228, 0.32);
	color: var(--ink);
	font-weight: 500;
}

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

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

.btn--ink:hover {
	background: var(--green);
}

.btn--outline {
	background: transparent;
	border-color: var(--line-dark);
	color: var(--dark);
	font-weight: 500;
}

.btn--outline:hover {
	border-color: var(--dark);
}

.link-line {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--f-small);
	border-bottom: 1px solid currentColor;
	padding-bottom: 3px;
	transition: color 200ms var(--ease), gap 200ms var(--ease);
}

.link-line:hover {
	gap: 14px;
	color: var(--green);
}

.section--green .link-line:hover {
	color: var(--accent);
}

/* ---------- Header ----------------------------------------------------- */
.topbar {
	background: var(--green-ink);
	color: var(--ink-3);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	border-bottom: 1px solid rgba(241, 238, 228, 0.08);
}

.topbar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.topbar__meta {
	display: flex;
	align-items: center;
	gap: 22px;
}

.topbar__meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--green);
	border-bottom: 1px solid var(--line);
	transition: background 240ms var(--ease);
}

.site-header.is-stuck {
	background: var(--green-deep);
}

.site-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 92px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--ink);
	flex: none;
}

.brand__mark {
	width: 27px;
	height: 32px;
	display: block;
}

.brand__mark svg {
	width: 100%;
	height: 100%;
}

.brand__img {
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.brand__name {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.brand__latin {
	display: block;
	font-family: var(--font-display);
	font-size: 7.5px;
	letter-spacing: 0.32em;
	color: var(--accent);
	opacity: 0.8;
	margin-top: 4px;
}

.nav ul {
	display: flex;
	align-items: center;
	gap: 30px;
}

.nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 12.5px;
	color: var(--ink-3);
	border-bottom: 1px solid transparent;
	transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

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

.nav .current-menu-item > a,
.nav .current_page_item > a {
	color: var(--ink);
	border-color: var(--accent);
}

.header-phone {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.02em;
}

.header-phone small {
	display: block;
	font-family: var(--font-body);
	font-size: 9px;
	font-weight: 400;
	letter-spacing: 0.12em;
	color: var(--ink-3);
}

.header-phone:hover {
	color: var(--accent);
}

.nav-toggle__close {
	display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__close {
	display: block;
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	background: transparent;
	border: 1px solid var(--line);
	color: var(--ink);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.nav-toggle svg {
	width: 20px;
	height: 20px;
}

/* ---------- Hero ------------------------------------------------------- */
.hero {
	position: relative;
	background:
		radial-gradient(115% 90% at 85% -10%, var(--green-mid) 0%, var(--green) 48%, var(--green-deep) 100%);
	color: var(--ink);
	overflow: hidden;
}

.hero__cols {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 0;
	padding-inline: var(--gap);
	pointer-events: none;
	z-index: 1;
}

.hero__cols i {
	border-inline-start: 1px solid rgba(241, 238, 228, 0.05);
}

.hero__cols i:first-child {
	border-inline-start: 0;
}

.hero__side {
	position: absolute;
	inset-inline-start: 16px;
	top: 50%;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	font-family: var(--font-display);
	font-size: 8.5px;
	letter-spacing: 0.36em;
	color: rgba(241, 238, 228, 0.34);
	z-index: 2;
	pointer-events: none;
}

.hero__in {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 440px;
	gap: 56px;
	align-items: center;
	padding-block: clamp(52px, 7vw, 104px) clamp(40px, 5vw, 72px);
}

.hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--font-display);
	font-size: var(--f-label);
	letter-spacing: 0.3em;
	color: var(--accent);
	margin: 0 0 var(--sp-5);
	opacity: 0.9;
}

.hero__eyebrow s {
	display: block;
	width: 46px;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.hero__title {
	font-size: var(--f-display);
	line-height: 0.98;
	letter-spacing: -0.055em;
	margin: 0;
	color: var(--ink);
}

.hero__title em {
	display: block;
	font-weight: 200;
	color: #dde7df;
}

.hero__lead {
	font-size: var(--f-lead);
	line-height: 2.05;
	color: var(--ink-2);
	max-width: 470px;
	margin: var(--sp-5) 0 0;
}

.hero__actions {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-top: var(--sp-6);
	flex-wrap: wrap;
}

/* service index rail */
.hero__index {
	border-inline-end: 1px solid var(--line);
	padding-inline-end: 28px;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero__index-title {
	font-family: var(--font-display);
	font-size: var(--f-label);
	letter-spacing: 0.28em;
	color: var(--ink-3);
	margin: 0 0 14px;
}

.hero__index ul li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line-2);
	font-size: var(--f-small);
	color: var(--ink-2);
	transition: color 180ms var(--ease), padding 180ms var(--ease);
}

.hero__index ul li:last-child a {
	border-bottom: 0;
}

.hero__index b {
	font-family: var(--font-display);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--accent);
	opacity: 0.8;
	flex: none;
}

.hero__index a:hover {
	color: var(--ink);
	padding-inline-start: 6px;
}

/* fact ribbon */
.ribbon {
	border-top: 1px solid var(--line);
	background: var(--green-deep);
	color: var(--ink);
	position: relative;
	z-index: 3;
}

.ribbon__in {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.ribbon__cell {
	border-inline-start: 1px solid var(--line-2);
	padding: 32px 32px 34px 0;
}

.ribbon__cell:first-child {
	border-inline-start: 0;
	padding-inline-start: 0;
}

.ribbon__cell b {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(40px, 4.4vw, 62px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--ink);
}

.ribbon__cell span {
	display: block;
	margin-top: 14px;
	font-size: 11px;
	letter-spacing: 0.16em;
	color: var(--ink-3);
}

.ribbon__cell p {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.85;
	color: var(--ink-2);
	max-width: 240px;
}

/* ---------- Service index (home + archive) ----------------------------- */
.svc-list {
	border-top: 1px solid var(--line-dark);
}

.svc-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.15fr) 34px;
	align-items: center;
	gap: clamp(14px, 2.2vw, 32px);
	padding: clamp(18px, 2vw, 26px) 0;
	border-bottom: 1px solid var(--line-dark);
	position: relative;
	color: var(--dark);
	transition: padding-inline-start 240ms var(--ease);
}

.svc-row::after {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	bottom: -1px;
	height: 1px;
	width: 0;
	background: var(--green);
	transition: width 420ms var(--ease);
}

.svc-row:hover::after,
.svc-row:focus-visible::after {
	width: 100%;
}

.svc-row:hover {
	padding-inline-start: 10px;
}

.svc-row__num {
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.18em;
	color: var(--dark-3);
}

.svc-row__title {
	font-family: var(--font-display);
	font-size: clamp(17px, 1.7vw, 24px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.svc-row__desc {
	font-size: var(--f-small);
	line-height: 1.85;
	color: var(--dark-2);
	margin: 0;
}

.svc-row__go {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	color: var(--dark);
	opacity: 0.45;
	transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.svc-row:hover .svc-row__go {
	opacity: 1;
	transform: translateX(-4px);
}

/* ---------- Credentials ------------------------------------------------ */
.cred-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(24px, 4vw, 64px);
	border-top: 1px solid var(--line);
	align-items: stretch;
	grid-auto-rows: 1fr;
}

.cred {
	height: 100%;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 18px;
	padding: clamp(20px, 2.4vw, 30px) 0;
	border-bottom: 1px solid var(--line);
	align-items: start;
}

.cred__num {
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--accent);
	padding-top: 7px;
}

.cred__title {
	font-family: var(--font-display);
	font-size: var(--f-h3);
	font-weight: 700;
	line-height: 1.5;
	color: var(--ink);
	margin: 0 0 6px;
}

.cred__note {
	font-size: var(--f-small);
	line-height: 1.9;
	color: var(--ink-2);
	margin: 0;
}

/* ---------- Process ---------------------------------------------------- */
.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line-dark);
	border-inline-start: 1px solid var(--line-dark);
}

.steps li {
	border-inline-end: 1px solid var(--line-dark);
	border-bottom: 1px solid var(--line-dark);
	padding: clamp(24px, 2.6vw, 38px);
	min-height: 210px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
	transition: background 240ms var(--ease);
}

.steps li:hover {
	background: var(--paper-2);
}

.steps__num {
	font-family: var(--font-display);
	font-size: clamp(28px, 2.6vw, 38px);
	font-weight: 200;
	line-height: 1;
	color: var(--green);
	margin-bottom: auto;
}

.steps h3 {
	font-size: var(--f-h3);
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
}

.steps p {
	font-size: var(--f-small);
	line-height: 1.85;
	color: var(--dark-2);
	margin: 0;
}

/* ---------- Support band ----------------------------------------------- */
.support {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 96px);
	align-items: start;
}

.support__phone {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(38px, 5vw, 64px);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin: var(--sp-4) 0 var(--sp-5);
	transition: color 200ms var(--ease);
}

.support__phone:hover {
	color: var(--accent);
}

.support__list {
	display: grid;
	gap: 0;
}

.support__list li {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 10px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line-dark);
	font-size: var(--f-small);
	line-height: 1.85;
	color: var(--dark-2);
}

.support__list svg {
	width: 16px;
	height: 16px;
	color: var(--green);
	margin-top: 5px;
}

.section--green .support__list li {
	border-color: var(--line-2);
	color: var(--ink-2);
}

.section--green .support__list svg {
	color: var(--accent);
}

/* ---------- Contact / form --------------------------------------------- */
.contact {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 5vw, 96px);
	align-items: start;
}

.form {
	margin: 0;
}

.form__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 24px;
	border-top: 1px solid var(--line-dark);
	padding-top: 26px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.field--wide {
	grid-column: 1 / -1;
}

.field__label {
	font-family: var(--font-display);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.14em;
	color: var(--dark-2);
}

.field__label b {
	color: var(--green);
	font-weight: 700;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line-dark);
	border-radius: 0;
	font-family: var(--font-body);
	font-size: var(--f-body);
	color: var(--dark);
	transition: border-color 200ms var(--ease);
	appearance: none;
}

.field textarea {
	min-height: 110px;
	resize: vertical;
	line-height: 1.7;
}

.field select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%234a463c' stroke-width='1.4'/></svg>");
	background-position: left 4px center;
	background-size: 12px 8px;
	background-repeat: no-repeat;
	padding-inline-start: 24px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--green);
	box-shadow: none;
}

.form__foot {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: var(--sp-6);
	flex-wrap: wrap;
}

.form__legal {
	font-size: 11px;
	color: var(--dark-3);
	margin: 0;
}

.form-note {
	padding: 14px 0;
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	font-size: var(--f-small);
	margin-bottom: var(--sp-5);
}

.form-note--ok {
	color: #1f5c3a;
}

.form-note--err {
	color: #8d2b20;
}

/* ---------- Blog ------------------------------------------------------- */
.post-list {
	border-top: 1px solid var(--line-dark);
}

.post-row {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) 40px;
	gap: clamp(16px, 3vw, 48px);
	align-items: center;
	padding: clamp(20px, 2.4vw, 32px) 0;
	border-bottom: 1px solid var(--line-dark);
	transition: padding-inline-start 240ms var(--ease);
}

.post-row:hover {
	padding-inline-start: 10px;
}

.post-row time {
	font-family: var(--font-display);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	color: var(--dark-3);
}

.post-row h2 {
	font-size: clamp(18px, 1.8vw, 24px);
	line-height: 1.45;
	font-weight: 700;
	margin: 0;
}

.post-row p {
	font-size: var(--f-small);
	color: var(--dark-2);
	margin: 6px 0 0;
}

.post-row__go {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	color: var(--dark);
	opacity: 0.4;
	transition: opacity 200ms var(--ease);
}

.post-row:hover .post-row__go {
	opacity: 1;
}

/* ---------- Footer ----------------------------------------------------- */
.site-footer {
	background: var(--green-ink);
	color: var(--ink-2);
	padding-top: clamp(48px, 5vw, 84px);
	border-top: 1px solid rgba(216, 232, 176, 0.22);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: clamp(24px, 4vw, 64px);
	padding-bottom: clamp(32px, 4vw, 56px);
}

.site-footer h3 {
	font-family: var(--font-display);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.28em;
	color: var(--accent);
	margin: 0 0 var(--sp-4);
}

.site-footer ul {
	display: grid;
	gap: 9px;
}

.site-footer a {
	color: var(--ink-2);
	font-size: var(--f-small);
	transition: color 180ms var(--ease);
}

.site-footer a:hover {
	color: var(--ink);
}

.site-footer .brand__name,
.site-footer .brand__latin {
	color: var(--ink);
}

.footer-note {
	margin: 18px 0 10px;
	font-size: var(--f-small);
	line-height: 1.9;
	color: var(--ink-3);
	max-width: 300px;
}

.footer-since {
	font-family: var(--font-display);
	font-size: 9.5px;
	letter-spacing: 0.22em;
	color: var(--ink-3);
	margin: 0;
}

.footer-contact li {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	font-size: var(--f-small);
	line-height: 1.85;
}

.footer-contact svg {
	width: 15px;
	height: 15px;
	color: var(--accent);
	margin-top: 5px;
}

.site-footer__bottom {
	border-top: 1px solid rgba(241, 238, 228, 0.1);
	padding: 18px 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 10.5px;
	letter-spacing: 0.06em;
	color: var(--ink-3);
	flex-wrap: wrap;
}

/* ---------- Inner pages ------------------------------------------------ */
.page-hero {
	background:
		radial-gradient(115% 100% at 85% -20%, var(--green-mid) 0%, var(--green) 48%, var(--green-deep) 100%);
	color: var(--ink);
	padding-block: clamp(40px, 5vw, 80px) clamp(40px, 5vw, 76px);
	border-bottom: 1px solid var(--line);
	position: relative;
	overflow: hidden;
}

.page-hero__in {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: end;
}

.page-hero h1 {
	font-size: clamp(40px, 5.2vw, 76px);
	line-height: 1.03;
	letter-spacing: -0.045em;
	color: var(--ink);
	margin: 0;
}

.page-hero p {
	margin: var(--sp-4) 0 0;
	font-size: var(--f-lead);
	line-height: 2;
	color: var(--ink-2);
	max-width: 620px;
}

.page-hero__aside {
	font-size: var(--f-small);
	line-height: 1.9;
	color: var(--ink-3);
	border-inline-start: 1px solid var(--line);
	padding-inline-start: 20px;
}

.page-hero__aside b {
	display: block;
	font-family: var(--font-display);
	font-size: 10px;
	letter-spacing: 0.24em;
	color: var(--accent);
	margin-bottom: 8px;
	font-weight: 500;
}

.crumbs {
	font-size: 10.5px;
	letter-spacing: 0.08em;
	color: var(--ink-3);
	margin-bottom: var(--sp-5);
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.crumbs li + li::before {
	content: '‹';
	margin-inline-end: 8px;
	opacity: 0.6;
}

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

/* prose */
.prose {
	max-width: 720px;
	font-size: var(--f-body);
	line-height: 2.05;
	color: var(--dark-2);
}

.prose h2 {
	font-size: clamp(24px, 2.4vw, 32px);
	color: var(--dark);
	margin: 1.8em 0 0.6em;
}

.prose h3 {
	font-size: var(--f-h3);
	color: var(--dark);
	margin: 1.6em 0 0.5em;
}

.prose ul,
.prose ol {
	margin: 0 0 1.3em;
	padding-inline-start: 1.1em;
	list-style: none;
}

.prose li {
	margin-bottom: 0.55em;
	position: relative;
}

.prose ul li::before {
	content: '';
	position: absolute;
	inset-inline-start: -1em;
	top: 0.9em;
	width: 6px;
	height: 1px;
	background: var(--green);
}

.prose a {
	color: var(--green);
	border-bottom: 1px solid rgba(12, 58, 44, 0.35);
}

.prose strong {
	color: var(--dark);
	font-weight: 700;
}

.prose img {
	margin: 1.8em 0;
}

.prose blockquote {
	margin: 1.8em 0;
	padding: 4px 24px 4px 0;
	border-inline-start: 2px solid var(--green);
	font-size: var(--f-lead);
	color: var(--dark);
}

/* service detail layout */
.svc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(32px, 5vw, 88px);
	align-items: start;
}

.svc-aside {
	position: sticky;
	top: 118px;
	display: grid;
	gap: 28px;
}

.aside-block {
	border-top: 1px solid var(--line-dark);
	padding-top: 18px;
}

.aside-block h3 {
	font-family: var(--font-display);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.26em;
	color: var(--dark-3);
	margin: 0 0 14px;
}

.aside-block p {
	font-size: var(--f-small);
	line-height: 1.9;
	color: var(--dark-2);
	margin: 0 0 16px;
}

.aside-list li a {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line-dark-2);
	font-size: var(--f-small);
	color: var(--dark-2);
	transition: color 180ms var(--ease), padding 180ms var(--ease);
}

.aside-list li a:hover,
.aside-list li a.is-current {
	color: var(--green);
	padding-inline-start: 5px;
}

.aside-list b {
	font-family: var(--font-display);
	font-size: 9.5px;
	font-weight: 500;
	color: var(--dark-3);
}

/* archive grid for products */
.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--line-dark);
	border: 1px solid var(--line-dark);
}

.card {
	background: var(--paper);
	padding: clamp(22px, 2.4vw, 32px);
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 200px;
	transition: background 220ms var(--ease);
}

.card:hover {
	background: #fff;
}

.card h3 {
	font-size: var(--f-h3);
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
}

.card p {
	font-size: var(--f-small);
	line-height: 1.85;
	color: var(--dark-2);
	margin: 0;
}

.card__more {
	margin-top: auto;
	font-family: var(--font-display);
	font-size: 10px;
	letter-spacing: 0.18em;
	color: var(--dark-3);
}

/* empty state */
.empty {
	border-top: 1px solid var(--line-dark);
	padding: 48px 0;
	font-size: var(--f-small);
	color: var(--dark-3);
}

/* pagination */
.pagination {
	display: flex;
	gap: 8px;
	margin-top: 40px;
	font-family: var(--font-display);
	font-size: 12px;
}

.pagination a,
.pagination span {
	min-width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 1px solid var(--line-dark);
}

.pagination .current {
	background: var(--dark);
	color: var(--paper);
	border-color: var(--dark);
}

/* ---------- Motion ----------------------------------------------------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 620ms var(--ease), transform 620ms var(--ease);
	transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

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

	.svc-row:hover,
	.post-row:hover,
	.aside-list li a:hover {
		padding-inline-start: 0;
	}
}

/* ---------- Responsive ------------------------------------------------ */
@media (max-width: 1100px) {
	:root {
		--gap: 32px;
	}

	.hero__in {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.hero__index {
		border-inline-end: 0;
		border-top: 1px solid var(--line);
		padding-inline-end: 0;
		padding-top: 24px;
	}

	.hero__index ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 24px;
	}

	.hero__side {
		display: none;
	}

	.page-hero__in {
		grid-template-columns: minmax(0, 1fr);
	}

	.ribbon__in {
		grid-template-columns: repeat(2, 1fr);
	}

	.ribbon__cell:nth-child(3) {
		border-inline-start: 0;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 900px) {
	.nav {
		position: fixed;
		inset-block: 0;
		inset-inline-start: 0;
		width: min(340px, 86vw);
		background: var(--green-ink);
		border-inline-end: 1px solid rgba(216, 232, 176, 0.3);
		box-shadow: -30px 0 60px -40px rgba(0, 0, 0, 0.9);
		padding: 100px 24px 32px;
		transform: translateX(-102%);
		visibility: hidden;
		transition: transform 320ms var(--ease), visibility 0s linear 320ms;
		overflow-y: auto;
		z-index: 95;
		display: block;
	}

	html[dir='rtl'] .nav {
		transform: translateX(102%);
	}

	.nav.is-open,
	html[dir='rtl'] .nav.is-open {
		transform: translateX(0);
		visibility: visible;
		transition: transform 320ms var(--ease), visibility 0s;
	}

	.nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav a {
		font-size: 15px;
		padding: 15px 0;
		border-bottom: 1px solid var(--line-2);
		min-height: 0;
	}

	.header-phone {
		display: inline-flex;
		flex-direction: row;
		align-items: center;
		margin-inline-start: auto;
		font-size: 13px;
	}

	.header-phone small {
		display: none;
	}

	.brand__latin {
		display: none;
	}

	.brand__name {
		font-size: 13.5px;
		max-width: 170px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.nav-open {
		overflow: hidden;
	}

	.nav-open::after {
		content: '';
		position: fixed;
		inset: 0;
		background: rgba(3, 12, 10, 0.55);
		backdrop-filter: blur(2px);
		z-index: 90;
	}

	.sec-head {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.sec-head__lead {
		grid-column: 1;
	}

	.svc-layout,
	.contact,
	.support {
		grid-template-columns: minmax(0, 1fr);
	}

	.svc-aside {
		position: static;
	}

	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.svc-row {
		grid-template-columns: 40px minmax(0, 1fr) 30px;
	}

	.svc-row__desc {
		display: none;
	}

	.cred-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	:root {
		--gap: 20px;
		--f-display: 44px;
		--f-body: 15.5px;
	}

	.topbar {
		display: none;
	}

	.site-header__in {
		min-height: 74px;
	}

	.header-phone {
		font-size: 12.5px;
		margin-inline-start: auto;
	}

	.ribbon__in {
		grid-template-columns: minmax(0, 1fr);
	}

	.ribbon__cell {
		border-inline-start: 0;
		border-top: 1px solid var(--line-2);
		padding-inline: 0;
		padding-block: 22px;
	}

	.ribbon__cell:first-child {
		border-top: 0;
	}

	.steps,
	.cards,
	.form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-row {
		grid-template-columns: minmax(0, 1fr) 32px;
	}

	.post-row time {
		display: none;
	}

	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__index ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.section {
		padding-block: 56px;
	}
}

/* ---------- Print ----------------------------------------------------- */
@media print {
	.topbar,
	.site-header,
	.site-footer,
	.hero__index,
	.hero__actions,
	.ribbon,
	.form {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.section {
		padding-block: 24px;
	}
}

/* ---------- Paper variants (no inline colours: core adds 3px borders) --- */
.support__list--contact {
	border-top: 1px solid var(--line-dark);
}

.support__list--contact li {
	grid-template-columns: 22px minmax(0, 1fr);
	border-color: var(--line-dark);
}

.cred-grid--paper {
	border-top-color: var(--line-dark);
}

.cred-grid--paper .cred {
	border-bottom-color: var(--line-dark);
}

.cred--paper .cred__title {
	color: var(--dark);
}

.cred--paper .cred__note {
	color: var(--dark-2);
}

.cred__num--paper {
	color: var(--green);
}

/* ---------- The rack (3D) ---------------------------------------------- */
.rack-stage {
	position: relative;
	background:
		radial-gradient(90% 80% at 50% 0%, #10432f 0%, var(--green-deep) 58%, var(--green-ink) 100%);
	color: var(--ink);
	padding-block: clamp(56px, 7vw, 112px);
	overflow: hidden;
	border-top: 1px solid var(--line);
}

.rack-stage::after {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: 1px;
	background: rgba(216, 232, 176, 0.18);
}

.rack-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: center;
}

.rack-copy__title {
	font-family: var(--font-display);
	font-size: clamp(34px, 4.4vw, 64px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.045em;
	margin: 0;
}

.rack-copy__title em {
	font-weight: 200;
	font-style: normal;
	color: var(--accent);
}

.rack-copy__lead {
	margin: 22px 0 0;
	max-width: 460px;
	font-size: 15.5px;
	line-height: 2;
	color: var(--ink-2);
}

.rack-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 28px;
	margin-top: 34px;
	border-top: 1px solid var(--line);
	list-style: none;
}

.rack-list li {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line-2);
	font-size: 12px;
	line-height: 1.6;
	color: var(--ink-2);
}

.rack-list span {
	font-family: var(--font-display);
	font-size: 9.5px;
	letter-spacing: 0.16em;
	color: var(--accent);
	flex: none;
}

.rack-visual {
	position: relative;
	width: 100%;
	max-width: 620px;
	margin-inline: auto;
	aspect-ratio: 1 / 1;
}

.rack-canvas {
	display: block;
	width: 100%;
	height: 100%;
}

/* labels projected onto the object */
.rack-label {
	position: absolute;
	top: var(--y, 50%);
	display: grid;
	gap: 2px;
	padding: 0;
	transition: opacity 240ms var(--ease);
	color: var(--ink);
	pointer-events: auto;
}

.rack-label b {
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.2;
}

.rack-label small {
	font-size: 10.5px;
	line-height: 1.4;
	color: var(--ink-3);
}

.rack-label::after {
	content: '';
	position: absolute;
	top: 8px;
	height: 1px;
	background: rgba(216, 232, 176, 0.45);
}

.rack-label.is-right {
	right: 0;
	text-align: right;
	padding-inline-end: 0;
}

.rack-label.is-right::after {
	right: calc(100% + 10px);
	width: var(--lead, 48px);
}

.rack-label.is-left {
	left: 0;
	text-align: left;
}

.rack-label.is-left::after {
	left: calc(100% + 10px);
	width: var(--lead, 48px);
}

.rack-label:hover b {
	color: var(--accent);
}

.rack-caption {
	position: absolute;
	inset-inline: 0;
	bottom: -6px;
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid var(--line-2);
	font-size: 10px;
	letter-spacing: 0.04em;
	color: var(--ink-3);
	text-align: center;
}

/* CSS fallback when WebGL is unavailable */
.rack-fallback {
	display: none;
	position: absolute;
	inset: 6% 22%;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 18px;
	border: 1px solid rgba(216, 232, 176, 0.35);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18));
}

.rack-fallback__unit {
	display: block;
	height: 7.5%;
	border: 1px solid rgba(216, 232, 176, 0.22);
	background: rgba(255, 255, 255, 0.03);
	position: relative;
}

.rack-fallback__unit::after {
	content: '';
	position: absolute;
	inset-inline-start: 12px;
	top: 50%;
	width: 5px;
	height: 5px;
	margin-top: -2.5px;
	border-radius: 50%;
	background: var(--accent);
}

.rack-stage.is-fallback .rack-canvas {
	display: none;
}

.rack-stage.is-fallback .rack-fallback {
	display: flex;
}

@media (max-width: 960px) {
	.rack-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rack-visual {
		max-width: 440px;
	}

	.rack-label.is-left,
	.rack-label.is-right {
		display: none;
	}

	.rack-caption {
		position: static;
		margin-top: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rack-label {
		transition: none;
	}
}

/* ---------- Spec strip (replaces the old stat ribbon) ------------------- */
.spec-strip {
	position: relative;
	z-index: 3;
	border-top: 1px solid var(--line);
	background: var(--green-deep);
	color: var(--ink);
}

.spec-strip__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 84px;
	flex-wrap: wrap;
	padding-block: 18px;
}

.spec-strip__note {
	margin: 0;
	font-family: var(--font-display);
	font-size: 10px;
	letter-spacing: 0.22em;
	color: var(--ink-3);
}

.spec-strip__facts {
	display: flex;
	align-items: baseline;
	gap: 34px;
	list-style: none;
	margin: 0;
	flex-wrap: wrap;
}

.spec-strip__facts li {
	display: flex;
	align-items: baseline;
	gap: 9px;
	font-size: 11.5px;
	color: var(--ink-3);
	letter-spacing: 0.04em;
}

.spec-strip__facts span::after {
	content: '';
	display: inline-block;
	width: 1px;
	height: 11px;
	margin-inline-start: 12px;
	background: rgba(216, 232, 176, 0.3);
	transform: translateY(1px);
}

.spec-strip__facts li:last-child span::after {
	display: none;
}

.spec-strip__facts b {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	color: var(--bone);
	letter-spacing: 0.02em;
}

@media (max-width: 760px) {
	.spec-strip__in {
		gap: 12px;
	}

	.spec-strip__facts {
		gap: 18px;
	}

	.spec-strip__facts span::after {
		margin-inline-start: 8px;
	}
}

/* ---------- Licence register -------------------------------------------- */
.lic-table {
	border-top: 1px solid var(--line);
}

.lic-table__head,
.lic-row {
	display: grid;
	grid-template-columns: 64px minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(14px, 2.4vw, 40px);
	align-items: baseline;
}

.lic-table__head {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--font-display);
	font-size: 9px;
	letter-spacing: 0.24em;
	color: var(--ink-3);
}

.lic-row {
	padding: clamp(16px, 2vw, 24px) 0;
	border-bottom: 1px solid var(--line-2);
	transition: background 240ms var(--ease);
}

.lic-row:hover {
	background: rgba(216, 232, 176, 0.03);
}

.lic-row__num {
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.16em;
	color: var(--accent);
}

.lic-row__title {
	font-family: var(--font-display);
	font-size: clamp(16px, 1.5vw, 20px);
	font-weight: 700;
	line-height: 1.5;
	color: var(--ink);
	margin: 0;
}

.lic-row__note {
	margin: 0;
	font-size: 12px;
	line-height: 1.85;
	color: var(--ink-2);
}

/* ---------- Process spine ---------------------------------------------- */
.spine {
	border-top: 1px solid var(--line-dark);
	list-style: none;
	margin: 0;
}

.spine li {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: clamp(16px, 3vw, 48px);
	padding: clamp(18px, 2.2vw, 28px) 0;
	border-bottom: 1px solid var(--line-dark);
	position: relative;
	transition: padding-inline-start 260ms var(--ease);
}

.spine li:hover {
	padding-inline-start: 8px;
}

.spine__num {
	font-family: var(--font-display);
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 200;
	line-height: 1;
	color: var(--green);
	padding-top: 4px;
}

.spine__body {
	display: grid;
	grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
	gap: clamp(14px, 2.4vw, 40px);
	align-items: baseline;
}

.spine__body h3 {
	font-size: clamp(17px, 1.6vw, 21px);
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
}

.spine__body p {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.9;
	color: var(--dark-2);
}

@media (max-width: 760px) {
	.lic-table__head {
		display: none;
	}

	.lic-row {
		grid-template-columns: 34px minmax(0, 1fr);
	}

	.lic-row__note {
		grid-column: 2;
	}

	.spine li {
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.spine__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}
}

/* ---------- Instruments (hero switch + fibre band) ---------------------- */
.hero__object {
	position: relative;
	align-self: center;
	width: 100%;
	max-width: 420px;
	margin-inline: auto;
}

.hero__canvas {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 2.7;
}

.hero__object-caption {
	margin: 6px 0 0;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	font-size: 10px;
	letter-spacing: 0.06em;
	color: var(--ink-3);
	text-align: center;
}

.hero__object.is-fallback .hero__canvas {
	display: none;
}

.hero__object.is-fallback::before {
	content: '';
	display: block;
	aspect-ratio: 4 / 3.2;
	border: 1px solid rgba(216, 232, 176, 0.3);
	background:
		repeating-linear-gradient(90deg, rgba(216, 232, 176, 0.16) 0 6px, transparent 6px 12px) 50% 58% / 62% 3px no-repeat,
		repeating-linear-gradient(90deg, rgba(216, 232, 176, 0.1) 0 6px, transparent 6px 12px) 50% 70% / 78% 2px no-repeat;
}

.fibre-band {
	position: relative;
	width: 100%;
	height: clamp(120px, 16vw, 210px);
	margin-bottom: clamp(28px, 4vw, 56px);
	overflow: hidden;
}

.fibre-band canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.fibre-band.is-fallback {
	background:
		repeating-linear-gradient(
			168deg,
			rgba(69, 176, 133, 0.18) 0 1px,
			transparent 1px 14px
		);
}

.fibre-band.is-fallback canvas {
	display: none;
}

@media (max-width: 1100px) {
	.hero__object {
		max-width: 360px;
		margin-top: 8px;
	}
}

/* ==========================================================================
   V2 — «اتاق کنترل»
   Near-black stage, lime signal, hardware lit like it matters, photography
   in the rhythm. Overrides the earlier green-monochrome system.
   ========================================================================== */

:root {
	--green-deep: #060a08;
	--green-ink: #040706;
	--green: #0b2a21;
	--green-mid: #11463a;

	--paper: #f3f0e6;
	--paper-2: #e9e5d7;

	--bone: #f4f1e8;
	--ink: #f4f1e8;
	--ink-2: #b9c6be;
	--ink-3: #7e9187;

	--accent: #b8f24a;
	--accent-deep: #86b62f;

	--line: rgba(244, 241, 232, 0.13);
	--line-2: rgba(244, 241, 232, 0.07);

	--f-display: clamp(46px, 6.3vw, 92px);
}

body {
	background: var(--paper);
}

/* ---------- header on black -------------------------------------------- */
.topbar {
	background: #040706;
	border-bottom: 1px solid rgba(184, 242, 74, 0.14);
}

.topbar__meta span,
.topbar__in > span {
	color: #7e9187;
}

.site-header {
	background: #050908;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border-bottom: 1px solid rgba(244, 241, 232, 0.09);
}

.site-header.is-stuck {
	background: #040706;
	box-shadow: 0 1px 0 rgba(184, 242, 74, 0.12);
}

.brand__latin {
	color: var(--accent);
}

.nav a {
	color: #93a79b;
}

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

.nav .current-menu-item > a,
.nav .current_page_item > a {
	color: var(--bone);
	border-bottom-color: var(--accent);
}

.header-phone {
	color: var(--bone);
}

.header-phone small {
	color: #7e9187;
}

.header-phone:hover {
	color: var(--accent);
}

.btn--light {
	background: var(--accent);
	color: #0a120e;
}

.btn--light:hover {
	background: #d2ff7a;
	color: #050908;
}

.btn--ghost {
	border-color: rgba(244, 241, 232, 0.28);
}

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

/* ---------- hero -------------------------------------------------------- */
.hero {
	background:
		radial-gradient(58% 62% at 24% 42%, rgba(20, 92, 72, 0.55) 0%, rgba(8, 26, 20, 0.4) 42%, transparent 72%),
		radial-gradient(80% 70% at 88% 8%, rgba(184, 242, 74, 0.08) 0%, transparent 60%),
		linear-gradient(180deg, #071009 0%, #050b08 55%, #040706 100%);
}

.hero__in {
	grid-template-columns: minmax(0, 1fr) 556px;
	gap: 48px;
	align-items: center;
	padding-block: clamp(40px, 5.5vw, 88px) clamp(28px, 3.5vw, 52px);
	min-height: min(78vh, 720px);
}

.hero__eyebrow {
	color: var(--accent);
	font-size: 10px;
}

.hero__eyebrow s {
	background: var(--accent);
	width: 56px;
}

.hero__title {
	letter-spacing: -0.05em;
	line-height: 1;
	text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.hero__title em {
	color: var(--accent);
	font-weight: 200;
}

.hero__lead {
	color: #a9bab0;
	max-width: 440px;
	margin-top: 26px;
}

.hero__actions {
	margin-top: 34px;
}

/* the object is the hero: bigger canvas, glow, HUD */
.hero__object {
	position: relative;
	max-width: 620px;
	width: 100%;
	margin-inline: auto;
	padding: 22px;
	border: 1px solid rgba(184, 242, 74, 0.16);
	background:
		radial-gradient(70% 70% at 50% 45%, rgba(20, 92, 72, 0.35) 0%, rgba(5, 10, 8, 0) 70%);
}

.hero__object::before,
.hero__object::after {
	content: '';
	position: absolute;
	width: 14px;
	height: 14px;
	border: 1px solid var(--accent);
	opacity: 0.6;
}

.hero__object::before {
	top: -1px;
	inset-inline-start: -1px;
	border-inline-end: 0;
	border-bottom: 0;
}

.hero__object::after {
	bottom: -1px;
	inset-inline-end: -1px;
	border-inline-start: 0;
	border-top: 0;
}

.hero__canvas {
	aspect-ratio: 4 / 3.1;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.65));
}

.hero__object-caption {
	border-top: 1px solid rgba(184, 242, 74, 0.16);
	color: #7e9187;
	letter-spacing: 0.08em;
}

.hud {
	position: absolute;
	font-family: var(--font-display);
	font-size: 9px;
	letter-spacing: 0.22em;
	color: var(--accent);
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 3;
	pointer-events: none;
}

.hud::before {
	content: '';
	width: 26px;
	height: 1px;
	background: currentColor;
	opacity: 0.55;
}

.hud--tl {
	top: 10px;
	inset-inline-start: 26px;
}

.hud--br {
	bottom: 58px;
	inset-inline-end: 26px;
	flex-direction: row-reverse;
}

/* ---------- spec strip on black ---------------------------------------- */
.spec-strip {
	background: #040706;
	border-top: 1px solid rgba(184, 242, 74, 0.14);
}

.spec-strip__facts b {
	color: var(--bone);
}

.spec-strip__facts span::after {
	background: rgba(184, 242, 74, 0.35);
}

/* ---------- marquee ----------------------------------------------------- */
.marquee {
	position: relative;
	overflow: hidden;
	background: #040706;
	border-top: 1px solid rgba(244, 241, 232, 0.08);
	border-bottom: 1px solid rgba(244, 241, 232, 0.08);
	padding-block: 18px;
	direction: ltr;
}

.marquee__track {
	display: flex;
	align-items: center;
	gap: 0;
	width: max-content;
	animation: apfz-marquee 46s linear infinite;
	will-change: transform;
}

.marquee span {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	padding-inline: 22px;
	font-family: var(--font-display);
	font-size: clamp(26px, 3.4vw, 54px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(244, 241, 232, 0.32);
	white-space: nowrap;
	direction: rtl;
}

.marquee span:nth-child(4n + 2) {
	color: var(--accent);
	-webkit-text-stroke: 0;
}

.marquee span::after {
	content: '·';
	color: rgba(184, 242, 74, 0.55);
	-webkit-text-stroke: 0;
	font-size: 0.6em;
	transform: translateY(-0.1em);
}

@keyframes apfz-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

/* ---------- photo band --------------------------------------------------- */
.photo-band {
	position: relative;
	min-height: clamp(360px, 46vw, 560px);
	display: grid;
	align-items: center;
	overflow: hidden;
	background: #040706;
	isolation: isolate;
}

.photo-band__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 30% 45%;
	opacity: 0.9;
	z-index: -2;
	filter: saturate(115%) contrast(108%);
}

.photo-band::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to left, rgba(4, 7, 6, 0.96) 0%, rgba(4, 7, 6, 0.62) 38%, rgba(4, 7, 6, 0.15) 72%, rgba(4, 7, 6, 0.05) 100%),
		linear-gradient(180deg, rgba(4, 7, 6, 0.8) 0%, transparent 32%, transparent 62%, rgba(4, 7, 6, 0.94) 100%);
}

.photo-band__in {
	position: relative;
	padding-block: clamp(48px, 6vw, 88px);
	max-width: 760px;
	margin-inline: 0;
}

.photo-band h2 {
	font-size: clamp(30px, 3.6vw, 54px);
	line-height: 1.12;
	letter-spacing: -0.04em;
	color: var(--bone);
	margin: 18px 0 0;
}

.photo-band h2 em {
	font-style: normal;
	font-weight: 200;
	color: var(--accent);
}

.photo-band__credit {
	position: absolute;
	bottom: 12px;
	inset-inline-end: 0;
	margin: 0;
	font-size: 9px;
	letter-spacing: 0.1em;
	color: rgba(244, 241, 232, 0.35);
}

/* ---------- dark sections ------------------------------------------------ */
.section--green {
	background:
		radial-gradient(70% 60% at 80% 0%, rgba(17, 70, 58, 0.55) 0%, transparent 62%),
		linear-gradient(180deg, #060b09 0%, #040706 100%);
}

.section--green .sec-head__index {
	color: #7e9187;
}

.section--green .sec-head__title em {
	color: var(--accent);
}

/* ---------- rack stage on black ----------------------------------------- */
.rack-stage {
	background:
		radial-gradient(60% 70% at 30% 50%, rgba(20, 92, 72, 0.3) 0%, transparent 68%),
		linear-gradient(180deg, #040706 0%, #050a08 100%);
	border-top: 1px solid rgba(244, 241, 232, 0.06);
}

.rack-stage::after {
	background: rgba(184, 242, 74, 0.16);
}

.rack-copy__title em {
	color: var(--accent);
}

.rack-label::after {
	background: rgba(184, 242, 74, 0.5);
}

.rack-label:hover b {
	color: var(--accent);
}

/* ---------- rows / tables on the new palette ---------------------------- */
.svc-row::after {
	background: var(--accent);
}

.svc-row__num {
	color: var(--dark-3);
}

.lic-row__num {
	color: var(--accent);
}

.spine__num {
	color: var(--accent-deep);
}

/* ---------- support ------------------------------------------------------ */
.support__phone {
	color: var(--bone);
}

.support__phone:hover {
	color: var(--accent);
}

.support__list svg {
	color: var(--accent);
}

/* ---------- footer ------------------------------------------------------- */
.site-footer {
	background: #040706;
	border-top: 1px solid rgba(184, 242, 74, 0.18);
}

.site-footer h3 {
	color: var(--accent);
}

/* ---------- motion / focus ---------------------------------------------- */
:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

::selection {
	background: var(--accent);
	color: #050908;
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track {
		animation: none;
	}
}

@media (max-width: 1180px) {
	.hero__in {
		grid-template-columns: minmax(0, 1fr) 460px;
	}
}

@media (max-width: 960px) {
	.hero__in {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		min-height: 0;
	}

	.hero__object {
		max-width: 420px;
		order: 2;
	}

	.photo-band__credit {
		position: static;
		margin-top: 24px;
	}
}

/* hero secondary call line */
.hero__call {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 0;
	font-size: 12px;
	color: var(--ink-3);
}

.hero__call a {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	color: var(--bone);
	border-bottom: 1px solid rgba(184, 242, 74, 0.5);
	padding-bottom: 2px;
}

.hero__call a:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* ==========================================================================
   V3 — «زنده»
   Client note: the palette read matte and too green, and the top of the page
   did not carry the company name. So: brighter emerald field, a second signal
   (turquoise), amber as a rare third, an animated aurora behind the hero, and
   the name set as the headline with the service line under it.
   ========================================================================== */

:root {
	--accent: #c8ff4a;
	--accent-2: #2be0c8;
	--accent-3: #ffb13b;
	--green-mid: #0f7d55;
	--green: #0a5138;
	--lime-glow: rgba(200, 255, 74, 0.35);
	--teal-glow: rgba(43, 224, 200, 0.28);
}

/* ---------- living field behind the hero -------------------------------- */
.hero {
	background:
		radial-gradient(60% 64% at 26% 40%, rgba(15, 125, 85, 0.75) 0%, rgba(8, 46, 34, 0.55) 44%, transparent 74%),
		radial-gradient(70% 60% at 92% 4%, rgba(200, 255, 74, 0.14) 0%, transparent 62%),
		linear-gradient(175deg, #07231a 0%, #051a13 48%, #040f0b 100%);
}

.hero__aurora {
	position: absolute;
	inset: -12%;
	z-index: 0;
	pointer-events: none;
	opacity: 0.75;
	filter: blur(64px);
	transform: translateZ(0);
}

.hero__aurora i {
	position: absolute;
	display: block;
	border-radius: 50%;
	mix-blend-mode: screen;
	will-change: transform;
}

.hero__aurora i:nth-child(1) {
	width: 46vw;
	height: 46vw;
	inset-inline-start: -8vw;
	top: -12vw;
	background: radial-gradient(circle at 50% 50%, rgba(15, 168, 104, 0.85), transparent 68%);
	animation: apfz-drift-a 23s ease-in-out infinite alternate;
}

.hero__aurora i:nth-child(2) {
	width: 34vw;
	height: 34vw;
	inset-inline-end: 4vw;
	top: 6vh;
	background: radial-gradient(circle at 50% 50%, rgba(200, 255, 74, 0.55), transparent 66%);
	animation: apfz-drift-b 29s ease-in-out infinite alternate;
}

.hero__aurora i:nth-child(3) {
	width: 30vw;
	height: 30vw;
	inset-inline-start: 30vw;
	bottom: -16vw;
	background: radial-gradient(circle at 50% 50%, rgba(43, 224, 200, 0.45), transparent 66%);
	animation: apfz-drift-c 34s ease-in-out infinite alternate;
}

@keyframes apfz-drift-a {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
}

@keyframes apfz-drift-b {
	from { transform: translate3d(0, 0, 0) scale(1.05); }
	to { transform: translate3d(-5vw, 6vh, 0) scale(0.94); }
}

@keyframes apfz-drift-c {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(4vw, -5vh, 0) scale(1.14); }
}

/* ---------- the name, then the work ------------------------------------ */
.hero__title {
	font-size: clamp(44px, 5.6vw, 82px);
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.hero__title em {
	display: block;
	font-weight: 200;
	color: var(--accent);
}

.hero__services {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 22px 0 0;
	font-family: var(--font-display);
	font-size: clamp(13px, 1.15vw, 16px);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--bone);
}

.hero__services span {
	position: relative;
	padding-bottom: 4px;
}

.hero__services span::after {
	content: '';
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	opacity: 0.75;
	border-radius: 2px;
}

.hero__services i {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--accent-2);
	opacity: 0.8;
}

.hero__lead {
	margin-top: 20px;
	font-size: 15.5px;
	color: #b6c9be;
	max-width: 430px;
}

/* ---------- livelier accents ------------------------------------------- */
.hero__eyebrow {
	color: var(--accent-2);
}

.hero__eyebrow s {
	background: linear-gradient(90deg, var(--accent-2), var(--accent));
	opacity: 1;
}

.btn--light {
	background: linear-gradient(120deg, #d8ff62 0%, var(--accent) 45%, #a9f52e 100%);
	color: #08150f;
	box-shadow: 0 14px 34px -18px var(--lime-glow);
}

.btn--light:hover {
	background: linear-gradient(120deg, #e6ff8e 0%, #d6ff62 45%, #b9ff47 100%);
}

.btn--ghost {
	border-color: rgba(43, 224, 200, 0.45);
	color: var(--bone);
}

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

.hero__call a {
	color: var(--accent);
	border-bottom-color: rgba(200, 255, 74, 0.55);
}

.header-phone:hover,
.nav a:hover {
	color: var(--accent);
}

.site-header.is-stuck {
	box-shadow: 0 1px 0 rgba(43, 224, 200, 0.22);
}

/* brand line in the header gets the second signal */
.brand__latin {
	color: var(--accent-2);
	opacity: 0.9;
}

/* ---------- more colour through the dark bands ------------------------- */
.section--green {
	background:
		radial-gradient(55% 55% at 82% 0%, rgba(15, 125, 85, 0.55) 0%, transparent 60%),
		radial-gradient(45% 45% at 12% 100%, rgba(43, 224, 200, 0.16) 0%, transparent 70%),
		linear-gradient(180deg, #051a13 0%, #040f0b 100%);
}

.section--green .sec-head__title em,
.rack-copy__title em {
	color: var(--accent);
}

.lic-row__num {
	color: var(--accent-2);
}

.lic-row:hover {
	background: rgba(200, 255, 74, 0.04);
}

.spec-strip {
	background: #040f0b;
	border-top: 1px solid rgba(43, 224, 200, 0.2);
}

.spec-strip__facts b {
	color: var(--bone);
}

.spec-strip__facts li:first-child b {
	color: var(--accent);
}

/* marquee: alternate lime and turquoise so the strip reads as colour */
.marquee {
	background: #040f0b;
	border-color: rgba(43, 224, 200, 0.16);
}

.marquee span:nth-child(4n + 1) {
	color: var(--accent-2);
	-webkit-text-stroke: 0;
}

.marquee span:nth-child(4n + 2) {
	color: var(--accent);
	-webkit-text-stroke: 0;
}

.marquee span::after {
	color: rgba(43, 224, 200, 0.6);
}

.marquee__track {
	animation-duration: 38s;
}

/* the rack and fibre bands pick up the turquoise rim */
.rack-stage {
	background:
		radial-gradient(55% 65% at 28% 50%, rgba(15, 125, 85, 0.42) 0%, transparent 66%),
		radial-gradient(40% 50% at 88% 82%, rgba(43, 224, 200, 0.12) 0%, transparent 70%),
		linear-gradient(180deg, #04120d 0%, #040f0b 100%);
}

/* ---------- paper sections get a warm highlight ------------------------ */
.section--paper {
	background: #f5f2e8;
}

.svc-row:hover {
	background: linear-gradient(90deg, transparent, rgba(15, 125, 85, 0.06));
}

.svc-row::after {
	background: linear-gradient(90deg, var(--green-mid), var(--accent-2));
}

.spine__num {
	color: var(--green-mid);
}

.cred__num,
.hero__index b {
	color: var(--accent-2);
}

@media (prefers-reduced-motion: reduce) {
	.hero__aurora i {
		animation: none;
	}
}

@media (max-width: 960px) {
	.hero__title {
		font-size: clamp(38px, 9.5vw, 56px);
	}

	.hero__services {
		font-size: 12.5px;
	}
}

/* ---------- V3b: a third signal (amber) + warmer paper ------------------ */
:root {
	--accent-3: #ffb02e;
}

/* the founding year carries the warm signal, so the strip is not one hue */
.spec-strip__facts li:first-child b {
	color: var(--accent-3);
}

/* secondary CTA is warm — one clear non-green object in the first viewport */
.btn--ghost {
	border-color: rgba(255, 176, 46, 0.5);
	color: #ffe6bd;
}

.btn--ghost:hover {
	border-color: var(--accent-3);
	color: var(--accent-3);
	background: rgba(255, 176, 46, 0.06);
}

.hero__call a {
	color: var(--accent-3);
	border-bottom-color: rgba(255, 176, 46, 0.5);
}

/* marquee gets the third colour too */
.marquee span:nth-child(6n + 5) {
	color: var(--accent-3);
	-webkit-text-stroke: 0;
}

/* process numbers warm, licence numbers cool — the two bands differ */
.spine__num {
	color: var(--accent-3);
}

/* warmer, less flat paper */
.section--paper {
	background:
		radial-gradient(90% 60% at 12% 0%, rgba(255, 255, 255, 0.9) 0%, transparent 62%),
		#f7f3e9;
}

.section--paper2 {
	background: #efe9da;
}

/* a touch of colour on the paper rows */
.svc-row__num {
	color: var(--green-mid);
}

.svc-row:hover .svc-row__go {
	background: var(--green-mid);
	color: #fff;
	border-color: var(--green-mid);
}

.link-line:hover {
	color: var(--green-mid);
}

.link-line {
	border-bottom-color: rgba(15, 125, 85, 0.45);
}

/* ==========================================================================
   V4 — «روشن» (green & white)
   Client: no dark site; green + white, and the hero object should be more
   relevant than a single switch. Everything dark is inverted here; the one
   brand-green band left is the fibre photograph, used as a moment, not a mood.
   ========================================================================== */

:root {
	--paper: #ffffff;
	--paper-2: #f2f7f4;
	--paper-3: #e8f1ec;

	--ink: #0b2a20;
	--ink-2: #446b5c;
	--ink-3: #7e958a;

	--green: #0b5c3d;
	--green-mid: #0f7d55;
	--green-soft: #eaf4ee;

	--line: rgba(11, 42, 32, 0.14);
	--line-2: rgba(11, 42, 32, 0.08);

	--accent: #b9f227;
	--accent-2: #12b39a;
	--accent-3: #c07a00;

	--dark: #0b2a20;
	--dark-2: #446b5c;
	--dark-3: #7e958a;
}

html,
body {
	background: var(--paper);
	color: var(--ink);
}

/* ---------- chrome ------------------------------------------------------ */
.topbar {
	background: var(--green);
	border-bottom: 0;
	color: rgba(255, 255, 255, 0.72);
}

.topbar__meta span,
.topbar__in > span {
	color: rgba(255, 255, 255, 0.72);
}

.topbar svg {
	color: var(--accent);
}

.site-header {
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	border-bottom: 1px solid var(--line-2);
}

.site-header.is-stuck {
	background: #ffffff;
	box-shadow: 0 10px 30px -26px rgba(11, 42, 32, 0.6);
}

.brand,
.site-header .brand__name {
	color: var(--ink);
}

.site-header .brand__mark,
.site-header .brand__name {
	color: var(--ink);
}

.brand__latin {
	color: var(--green-mid);
	opacity: 1;
}

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

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

.nav .current-menu-item > a,
.nav .current_page_item > a {
	color: var(--green);
	border-bottom-color: var(--accent);
}

.header-phone {
	color: var(--green);
}

.header-phone small {
	color: var(--ink-3);
}

.header-phone:hover {
	color: var(--green-mid);
}

.nav-toggle {
	border-color: var(--line);
	color: var(--ink);
}

/* ---------- hero on white ---------------------------------------------- */
.hero {
	background:
		radial-gradient(60% 60% at 18% 30%, rgba(15, 125, 85, 0.12) 0%, rgba(255, 255, 255, 0) 68%),
		radial-gradient(55% 50% at 92% 0%, rgba(185, 242, 39, 0.18) 0%, rgba(255, 255, 255, 0) 62%),
		linear-gradient(180deg, #ffffff 0%, #f6fbf7 62%, #ffffff 100%);
}

.hero__aurora {
	opacity: 0.5;
	mix-blend-mode: multiply;
}

.hero__aurora i:nth-child(1) {
	background: radial-gradient(circle at 50% 50%, rgba(18, 179, 154, 0.22), transparent 70%);
}

.hero__aurora i:nth-child(2) {
	background: radial-gradient(circle at 50% 50%, rgba(185, 242, 39, 0.3), transparent 68%);
}

.hero__aurora i:nth-child(3) {
	background: radial-gradient(circle at 50% 50%, rgba(15, 125, 85, 0.16), transparent 70%);
}

.hero__eyebrow {
	color: var(--green-mid);
}

.hero__eyebrow s {
	background: var(--green-mid);
}

.hero__title {
	color: var(--ink);
	text-shadow: none;
}

.hero__title em {
	color: var(--green-mid);
}

.hero__services {
	color: var(--ink);
}

.hero__services span::after {
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	opacity: 1;
}

.hero__services i {
	background: var(--ink-3);
}

.hero__lead {
	color: var(--ink-2);
}

.btn--light {
	background: var(--green);
	color: #ffffff;
	box-shadow: 0 16px 30px -22px rgba(11, 92, 61, 0.8);
}

.btn--light:hover {
	background: var(--green-mid);
}

.btn--ghost {
	border-color: rgba(11, 92, 61, 0.35);
	color: var(--green);
}

.btn--ghost:hover {
	border-color: var(--green);
	color: var(--green);
	background: var(--green-soft);
}

.hero__call {
	color: var(--ink-3);
}

.hero__call a {
	color: var(--green);
	border-bottom-color: rgba(11, 92, 61, 0.4);
}

/* the hero object sits on a light plate, not a dark frame */
.hero__object {
	border-color: rgba(11, 92, 61, 0.18);
	background:
		radial-gradient(70% 70% at 50% 42%, rgba(18, 179, 154, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
	box-shadow: 0 40px 80px -60px rgba(11, 42, 32, 0.45);
}

.hero__object::before,
.hero__object::after {
	border-color: var(--green-mid);
	opacity: 0.8;
}

.hero__canvas {
	filter: none;
}

.hud {
	color: var(--green-mid);
}

.hero__object-caption {
	border-top-color: rgba(11, 92, 61, 0.15);
	color: var(--ink-3);
}

/* ---------- spec strip / marquee on white ------------------------------ */
.spec-strip {
	background: var(--green-soft);
	border-top: 1px solid rgba(11, 92, 61, 0.14);
	color: var(--ink);
}

.spec-strip__note {
	color: var(--ink-3);
}

.spec-strip__facts li {
	color: var(--ink-2);
}

.spec-strip__facts b {
	color: var(--ink);
}

.spec-strip__facts li:first-child b {
	color: var(--accent-3);
}

.spec-strip__facts span::after {
	background: rgba(11, 92, 61, 0.22);
}

.marquee {
	background: #ffffff;
	border-top: 1px solid var(--line-2);
	border-bottom: 1px solid var(--line-2);
}

.marquee span {
	color: transparent;
	-webkit-text-stroke: 1px rgba(11, 92, 61, 0.36);
}

.marquee span:nth-child(4n + 1) {
	color: var(--accent-2);
	-webkit-text-stroke: 0;
}

.marquee span:nth-child(4n + 2) {
	color: var(--green);
	-webkit-text-stroke: 0;
}

.marquee span:nth-child(6n + 5) {
	color: var(--accent-3);
	-webkit-text-stroke: 0;
}

.marquee span::after {
	color: rgba(11, 92, 61, 0.35);
}

/* ---------- rack stage on mint ----------------------------------------- */
.rack-stage {
	background:
		radial-gradient(60% 70% at 30% 45%, rgba(15, 125, 85, 0.1) 0%, rgba(255, 255, 255, 0) 68%),
		linear-gradient(180deg, #ffffff 0%, #f1f8f4 100%);
	border-top: 1px solid var(--line-2);
}

.rack-stage::after {
	background: rgba(11, 92, 61, 0.16);
}

.rack-copy__title {
	color: var(--ink);
}

.rack-copy__title em {
	color: var(--green-mid);
}

.rack-copy__lead {
	color: var(--ink-2);
}

.rack-label b {
	color: var(--ink);
}

.rack-label small {
	color: var(--ink-3);
}

.rack-label::after {
	background: rgba(11, 92, 61, 0.35);
}

.rack-label:hover b {
	color: var(--green-mid);
}

.rack-caption {
	color: var(--ink-3);
	border-top-color: var(--line-2);
}

.rack-fallback {
	border-color: rgba(11, 92, 61, 0.3);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 244, 0.9));
}

.rack-fallback__unit {
	border-color: rgba(11, 92, 61, 0.2);
	background: rgba(11, 92, 61, 0.03);
}

.rack-fallback__unit::after {
	background: var(--green-mid);
}

/* ---------- the one green band: the fibre photograph ------------------- */
.photo-band {
	background: var(--green);
}

.photo-band::after {
	background:
		linear-gradient(to left, rgba(6, 38, 26, 0.94) 0%, rgba(6, 38, 26, 0.6) 42%, rgba(6, 38, 26, 0.18) 74%, rgba(6, 38, 26, 0.06) 100%),
		linear-gradient(180deg, rgba(6, 38, 26, 0.55) 0%, transparent 40%, rgba(6, 38, 26, 0.55) 100%);
}

.photo-band h2 {
	color: #ffffff;
}

.photo-band h2 em {
	color: var(--accent);
}

.photo-band__credit {
	color: rgba(255, 255, 255, 0.5);
}

/* ---------- light bands ------------------------------------------------- */
.section--green {
	background:
		radial-gradient(50% 50% at 85% 0%, rgba(185, 242, 39, 0.16) 0%, rgba(255, 255, 255, 0) 62%),
		var(--green-soft);
	color: var(--ink);
}

.section--green h2,
.section--green h3 {
	color: var(--ink);
}

.section--green .sec-head__index,
.section--green .sec-head__lead {
	color: var(--ink-2);
}

.section--green .sec-head__title em {
	color: var(--green-mid);
}

.section--green .link-line {
	color: var(--green);
}

.section--green .link-line:hover {
	color: var(--green-mid);
}

.lic-table {
	border-top-color: var(--line);
}

.lic-table__head {
	color: var(--ink-3);
	border-bottom-color: var(--line);
}

.lic-row {
	border-bottom-color: var(--line-2);
}

.lic-row:hover {
	background: rgba(15, 125, 85, 0.04);
}

.lic-row__num {
	color: var(--green-mid);
}

.lic-row__title {
	color: var(--ink);
}

.lic-row__note {
	color: var(--ink-2);
}

/* process + support + contact on light */
.spine {
	border-top-color: var(--line);
}

.spine li {
	border-bottom-color: var(--line-2);
}

.spine__num {
	color: var(--green-mid);
}

.spine__body h3 {
	color: var(--ink);
}

.spine__body p {
	color: var(--ink-2);
}

.support__phone {
	color: var(--ink);
}

.support__phone:hover {
	color: var(--green-mid);
}

.support__list li {
	color: var(--ink-2);
	border-color: var(--line-2);
}

.support__list svg {
	color: var(--green-mid);
}

.section--green .support__list li {
	color: var(--ink-2);
	border-color: var(--line-2);
}

.section--green .support__list svg {
	color: var(--green-mid);
}

.section--green .sec-head__title,
.section--green .sec-head__title em {
	color: var(--ink);
}

.form-note--ok {
	background: var(--green-soft);
}

/* ---------- footer: brand green, not black ----------------------------- */
.site-footer {
	background: var(--green);
	border-top: 0;
	color: rgba(255, 255, 255, 0.78);
}

.site-footer h3 {
	color: var(--accent);
}

.site-footer a,
.site-footer .brand__name,
.site-footer .brand__latin {
	color: #ffffff;
}

.site-footer a:hover {
	color: var(--accent);
}

.site-footer .brand__mark {
	color: #ffffff;
}

.footer-note,
.footer-since,
.site-footer__bottom {
	color: rgba(255, 255, 255, 0.6);
}

.site-footer__bottom {
	border-top-color: rgba(255, 255, 255, 0.16);
}

.footer-contact svg {
	color: var(--accent);
}

/* ---------- misc ------------------------------------------------------- */
::selection {
	background: var(--accent);
	color: var(--ink);
}

:focus-visible {
	outline: 2px solid var(--green-mid);
}

.hero__side {
	color: rgba(11, 42, 32, 0.35);
}

.svc-row__num,
.post-row time,
.sec-head__index {
	color: var(--ink-3);
}

.svc-row__title,
.post-row h2,
.card h3,
.steps h3 {
	color: var(--ink);
}

.svc-row__desc,
.post-row p {
	color: var(--ink-2);
}

/* primary action carries the lime: the one high-energy colour on white */
.btn--light {
	background: var(--accent);
	color: #08200f;
	box-shadow: 0 16px 30px -20px rgba(120, 190, 20, 0.75);
}

.btn--light:hover {
	background: #cdf95a;
	color: #08200f;
}

/* keep the light field truly white; mint is the only tint */
.section--paper {
	background: #ffffff;
}

.section--paper2 {
	background: var(--paper-2);
}

.contact .support__list a,
.contact .link-line {
	color: var(--green);
}

/* ---------- clients wall ------------------------------------------------ */
.logo-wall {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-inline-start: 1px solid var(--line);
	list-style: none;
	margin: 0;
}

.logo-wall__item {
	display: grid;
	place-items: center;
	min-height: 108px;
	padding: 18px 14px;
	border-inline-end: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: #fff;
	transition: background 220ms var(--ease), transform 220ms var(--ease);
}

.logo-wall__item img {
	max-width: 100%;
	max-height: 56px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.62;
	transition: filter 220ms var(--ease), opacity 220ms var(--ease);
}

.logo-wall__item:hover {
	background: var(--green-soft);
}

.logo-wall__item:hover img {
	filter: none;
	opacity: 1;
}

.partners {
	display: flex;
	align-items: baseline;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--line-2);
}

.partners__label {
	margin: 0;
	font-family: var(--font-display);
	font-size: 9.5px;
	letter-spacing: 0.26em;
	color: var(--ink-3);
}

.partners__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 26px;
	list-style: none;
	margin: 0;
}

.partners__list li {
	font-size: 12.5px;
	color: var(--ink-2);
	position: relative;
}

.partners__list li + li::before {
	content: '·';
	position: absolute;
	inset-inline-start: -15px;
	color: var(--green-mid);
}

@media (max-width: 1100px) {
	.logo-wall {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.logo-wall {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.logo-wall__item {
		min-height: 86px;
		padding: 12px 8px;
	}

	.logo-wall__item img {
		max-height: 40px;
	}
}

/* licence scans */
.lic-scans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 34px;
}

.lic-scans a {
	display: block;
	border: 1px solid var(--line);
	background: #fff;
	padding: 8px;
	transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}

.lic-scans a:hover {
	border-color: var(--green-mid);
	transform: translateY(-2px);
}

.lic-scans img {
	display: block;
	width: 100%;
	height: auto;
}

.lic-scans figcaption,
.lic-scans span {
	display: block;
	margin-top: 8px;
	font-size: 10.5px;
	color: var(--ink-3);
	text-align: center;
}

@media (max-width: 760px) {
	.lic-scans {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* clients wall: a little more presence */
.logo-wall__item {
	min-height: 118px;
}

.logo-wall__item img {
	max-height: 64px;
	opacity: 0.72;
}

.logo-wall__item:hover img {
	opacity: 1;
}

/* ---------- V4: inner page heroes and body on white --------------------- */
.page-hero {
	background:
		radial-gradient(60% 80% at 82% 0%, rgba(185, 242, 39, 0.18) 0%, rgba(255, 255, 255, 0) 60%),
		radial-gradient(50% 60% at 12% 100%, rgba(18, 179, 154, 0.12) 0%, rgba(255, 255, 255, 0) 70%),
		linear-gradient(180deg, #ffffff 0%, #f2f9f5 100%);
	border-bottom: 1px solid var(--line-2);
}

.page-hero h1 {
	color: var(--ink);
}

.page-hero p {
	color: var(--ink-2);
}

.page-hero__aside {
	color: var(--ink-3);
	border-inline-start-color: var(--line);
}

.page-hero__aside b {
	color: var(--green-mid);
}

.crumbs {
	color: var(--ink-3);
}

.crumbs a:hover {
	color: var(--green);
}

/* prose + article surfaces */
.prose {
	color: var(--ink-2);
}

.prose h2,
.prose h3,
.prose strong {
	color: var(--ink);
}

.prose a {
	color: var(--green-mid);
	border-bottom-color: rgba(15, 125, 85, 0.35);
}

.prose blockquote {
	border-inline-start-color: var(--green-mid);
	color: var(--ink);
	background: var(--green-soft);
}

.prose ul li::before {
	background: var(--green-mid);
}

/* cards, asides, archive bits */
.aside-block {
	border-top-color: var(--line);
}

.aside-block h3 {
	color: var(--ink-3);
}

.aside-block p {
	color: var(--ink-2);
}

.aside-list li a {
	color: var(--ink-2);
	border-bottom-color: var(--line-2);
}

.aside-list li a:hover,
.aside-list li a.is-current {
	color: var(--green-mid);
}

.card {
	background: #fff;
}

.card:hover {
	background: var(--green-soft);
}

.card h3 {
	color: var(--ink);
}

.card p {
	color: var(--ink-2);
}

.card__more {
	color: var(--ink-3);
}

.empty {
	color: var(--ink-3);
	border-top-color: var(--line);
}

/* licence scans: even, contained cards */
.lic-scans img {
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: #fff;
}

/* ---------- hero trust row --------------------------------------------- */
.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
}

.hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px 7px 10px;
	border: 1px solid rgba(11, 92, 61, 0.22);
	border-radius: 999px;
	background: #fff;
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--green);
	box-shadow: 0 1px 0 rgba(11, 92, 61, 0.06);
}

.hero__trust li::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 3px rgba(185, 242, 39, 0.22);
}

/* ---------- FAQ --------------------------------------------------------- */
.faq {
	border-top: 1px solid var(--line);
	max-width: 920px;
}

.faq__item {
	border-bottom: 1px solid var(--line-2);
}

.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: clamp(15px, 1.4vw, 18px);
	font-weight: 700;
	line-height: 1.6;
	color: var(--ink);
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::after {
	content: '+';
	font-size: 22px;
	font-weight: 300;
	color: var(--green-mid);
	transition: transform 220ms var(--ease);
}

.faq__item[open] summary::after {
	transform: rotate(45deg);
}

.faq__item p {
	margin: 0 0 22px;
	max-width: 760px;
	font-size: 13.5px;
	line-height: 2;
	color: var(--ink-2);
}
