/* ==========================================================================
   Iron & steel factory demo — AL-SOLB / الصُلب
   Heavy and industrial: blue-black graphite, cold steel and a hot red-to-
   orange glow; condensed Oswald (English) and Kufam (Arabic) headlines over
   Public Sans and Mada; hazard stripes, riveted plates, a heating-bar intro
   and a rolling-shutter hero slider. Every rule is under .sl-body, every class starts with sl-.
   Layout answers to the demo's width (container "demo").

   1. Fonts   2. Tokens & base   3. Buttons   4. Ticker & header   5. Hero slider
   6. Products   7. Calculator   8. Process   9. Band & projects
   10. Quote   11. Footer & toast   12. Motion   13. Narrower widths
   ========================================================================== */

/* 1. Fonts (SIL Open Font License): Oswald + Public Sans in English, Kufam +
   Mada in Arabic (400–600 only). -------------------------------------------- */
@font-face {
	font-family: "SL Oswald";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/oswald-400-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "SL Public";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/publicsans-400-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "SL Kufam";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/kufam-400-600-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
	font-family: "SL Mada";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/mada-400-600-arabic.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* 2. Tokens & base ----------------------------------------------------------- */
.sl-body {
	--sl-ink: #101318;
	--sl-ink-2: #171b22;
	--sl-ink-3: #222833;
	--sl-steel: #8d99a8;
	--sl-steel-2: #c3ccd6;
	--sl-light: #e9edf1;
	--sl-molten: #e8402f;
	--sl-molten-2: #ff8a3d;
	--sl-text: #e7ebef;
	--sl-muted: #97a1ad;
	--sl-line: rgb(255 255 255 / 0.09);
	--sl-glow: linear-gradient(100deg, var(--sl-molten), var(--sl-molten-2));
	--sl-display: "SL Oswald", "Arial Narrow", sans-serif;
	--sl-font: "SL Public", "Segoe UI", Arial, sans-serif;
	--sl-enter: 1.6s;
	--sl-start: left;
	--sl-ease: cubic-bezier(0.2, 0.85, 0.25, 1);
	--sl-dir: 1;

	margin: 0;
	font-family: var(--sl-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--sl-text);
	background: var(--sl-ink);
	-webkit-font-smoothing: antialiased;
	font-synthesis-weight: none;
}

[dir="rtl"] .sl-body {
	--sl-dir: -1;
	--sl-start: right;
}

[lang="ar"] .sl-body {
	--sl-display: "SL Kufam", "SL Oswald", Tahoma, sans-serif;
	--sl-font: "SL Mada", "SL Public", Tahoma, sans-serif;

	line-height: 1.8;
}

[lang="ar"] .sl-body * {
	letter-spacing: 0 !important;
	text-transform: none !important;
}

:where(.sl-body) *,
:where(.sl-body) *::before,
:where(.sl-body) *::after {
	box-sizing: border-box;
}

:where(.sl-body) h1,
:where(.sl-body) h2,
:where(.sl-body) h3,
:where(.sl-body) p,
:where(.sl-body) ul,
:where(.sl-body) ol,
:where(.sl-body) dl,
:where(.sl-body) dd,
:where(.sl-body) fieldset {
	margin: 0;
	padding: 0;
}

:where(.sl-body) ul,
:where(.sl-body) ol {
	list-style: none;
}

:where(.sl-body) fieldset {
	border: 0;
}

:where(.sl-body) a {
	color: inherit;
	text-decoration: none;
}

:where(.sl-body) button,
:where(.sl-body) input,
:where(.sl-body) select {
	font: inherit;
	color: inherit;
}

:where(.sl-body) button {
	cursor: pointer;
}

.sl-body img {
	display: block;
	max-width: 100%;
	height: auto;
}

.sl-body :focus-visible {
	outline: 2px solid var(--sl-molten-2);
	outline-offset: 3px;
}

.sl-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

[dir="rtl"] .sl-icon--arrow {
	scale: -1 1;
}

.sl-wrap {
	width: min(100%, 1260px);
	margin-inline: auto;
	padding-inline: clamp(18px, 3cqi, 32px);
}

.sl-icon {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

.sl-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--sl-display);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sl-molten-2);
}

.sl-kicker::before {
	content: "";
	width: 34px;
	height: 10px;
	background: repeating-linear-gradient(-45deg, var(--sl-molten-2) 0 5px, transparent 5px 10px);
}

.sl-body h1,
.sl-body h2,
.sl-body h3 {
	font-family: var(--sl-display);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	color: #fff;
}

[lang="ar"] .sl-body :is(h1, h2, h3) {
	font-weight: 600;
	line-height: 1.35;
}

.sl-body h1 em,
.sl-body h2 em {
	font-style: normal;
	background: var(--sl-glow);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.sl-body h2 {
	font-size: clamp(2.4rem, 1.3rem + 3.4cqi, 4.4rem);
}

[lang="ar"] .sl-body h2 {
	font-size: clamp(2rem, 1.1rem + 2.6cqi, 3.4rem);
}

/* 3. Buttons ------------------------------------------------------------------ */
.sl-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 28px;
	font-family: var(--sl-display);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 0;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
	transition: filter 0.25s, transform 0.25s var(--sl-ease);
}

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

.sl-btn .sl-icon {
	transition: translate 0.3s var(--sl-ease);
}

.sl-btn:hover .sl-icon--arrow {
	translate: calc(5px * var(--sl-dir)) 0;
}

.sl-btn--molten {
	color: #1a0d05;
	background: var(--sl-glow);
}

.sl-btn--steel {
	color: var(--sl-text);
	background: var(--sl-ink-3);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.15);
}

.sl-btn--block {
	width: 100%;
}

.sl-btn:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

/* 4. Ticker & header ----------------------------------------------------------- */
.sl-ticker {
	display: flex;
	align-items: stretch;
	font-size: 0.85rem;
	background: #0c0d0f;
	border-bottom: 1px solid var(--sl-line);
}

.sl-ticker__label {
	display: grid;
	place-items: center;
	padding: 0 16px;
	font-family: var(--sl-display);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1a0d05;
	background: var(--sl-glow);
	white-space: nowrap;
}

.sl-ticker__viewport {
	flex: 1;
	overflow: hidden;
}

.sl-ticker__track {
	display: flex;
	width: max-content;
	animation: sl-roll 32s linear infinite;
}

.sl-ticker ul {
	display: flex;
}

.sl-ticker li {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 9px 22px;
	white-space: nowrap;
	border-inline-end: 1px solid var(--sl-line);
}

.sl-ticker li span {
	color: var(--sl-muted);
}

.sl-ticker li b {
	font-weight: 600;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.sl-ticker li small {
	color: var(--sl-muted);
}

.sl-ticker li em {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-style: normal;
	font-weight: 600;
}

.sl-ticker li em .sl-icon {
	width: 13px;
	height: 13px;
	stroke-width: 2.6;
	align-self: center;
}

.sl-ticker .is-up em {
	color: #3ecf8e;
}

.sl-ticker .is-down em {
	color: #ff6b6b;
}

.sl-ticker .is-flat em {
	color: var(--sl-muted);
}

@keyframes sl-roll {
	to {
		transform: translateX(calc(-50% * var(--sl-dir)));
	}
}

.sl-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgb(16 19 24 / 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--sl-line);
}

.sl-header__in {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 74px;
}

.sl-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.sl-logo__mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: var(--sl-ink-3);
	box-shadow: inset 0 0 0 2px var(--sl-steel);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.sl-logo__mark i {
	width: 18px;
	height: 18px;
	background: var(--sl-glow);
	clip-path: polygon(0 0, 100% 0, 100% 30%, 62% 30%, 62% 100%, 38% 100%, 38% 30%, 0 30%);
}

.sl-logo b {
	display: block;
	font-family: var(--sl-display);
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.06em;
	color: #fff;
}

.sl-logo small {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--sl-muted);
}

.sl-nav {
	display: flex;
	gap: 26px;
	margin-inline-start: auto;
	font-family: var(--sl-display);
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sl-nav a {
	color: var(--sl-muted);
	transition: color 0.2s;
}

.sl-nav a:hover {
	color: var(--sl-molten-2);
}

.sl-tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sl-lang {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 12px;
	font-size: 0.88rem;
	font-weight: 600;
	border: 1px solid var(--sl-line);
}

.sl-lang:hover {
	border-color: var(--sl-molten-2);
}

.sl-lang .sl-icon {
	width: 17px;
	height: 17px;
}

.sl-header__cta {
	min-height: 44px;
	padding: 0 18px;
}

.sl-burger {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 1px solid var(--sl-line);
}

.sl-burger .sl-icon:last-child,
.sl-burger[aria-expanded="true"] .sl-icon:first-child {
	display: none;
}

.sl-burger[aria-expanded="true"] .sl-icon:last-child {
	display: block;
}

/* 5. Hero slider -------------------------------------------------------------------- */
/* Three slides: the mill, the melt shop, the structures. Each new photo rises
   like a rolling steel shutter with a molten line on its edge, the words rise
   from masks, and numbered tabs stand on the end side. The figures follow
   below the slides. Without JavaScript only the first slide shows. */
.sl-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--sl-ink);
}

.sl-hero__stage {
	position: relative;
	min-height: clamp(600px, 82vh, 860px);
}

/* Only the first slide waits for the intro. */
.sl-slide:not(:first-child),
.sl-hero.is-started {
	--sl-enter: 0s;
}

.sl-slide {
	position: absolute;
	inset: 0;
	display: grid;
	align-items: center;
	visibility: hidden;
}

.sl-slide.is-active {
	z-index: 1;
	visibility: visible;
}

.sl-slide.is-leaving {
	z-index: 0;
	visibility: visible;
	transition: visibility 0s 1.1s;
}

.sl-slide__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	clip-path: inset(100% 0 0 0);
	transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.25, 1);
}

.sl-slide.is-active .sl-slide__media,
.sl-slide.is-leaving .sl-slide__media {
	clip-path: inset(0 0 0 0);
}

.sl-slide__media .sl-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12) translateY(4%);
	transition: transform 6.5s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.sl-slide.is-active .sl-slide__media .sl-photo {
	transform: scale(1.02);
}

.sl-slide__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(16 19 24 / 0.95) 8%, rgb(16 19 24 / 0.6) 52%, rgb(16 19 24 / 0.2)),
		linear-gradient(0deg, var(--sl-ink) 0%, transparent 32%);
}

[dir="rtl"] .sl-slide__media::after {
	background:
		linear-gradient(270deg, rgb(16 19 24 / 0.95) 8%, rgb(16 19 24 / 0.6) 52%, rgb(16 19 24 / 0.2)),
		linear-gradient(0deg, var(--sl-ink) 0%, transparent 32%);
}

/* The molten line rides the shutter's top edge, then cools away. */
.sl-slide__edge {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	z-index: 1;
	height: 4px;
	background: var(--sl-glow);
	box-shadow: 0 0 24px 6px rgb(232 64 47 / 0.6);
	opacity: 0;
}

.sl-slide.is-active .sl-slide__edge {
	animation: sl-edge 1.1s cubic-bezier(0.65, 0, 0.25, 1) var(--sl-enter) both;
}

@keyframes sl-edge {
	0% {
		top: 100%;
		opacity: 1;
	}

	85% {
		opacity: 1;
	}

	100% {
		top: 0%;
		opacity: 0;
	}
}

.sl-slide.is-leaving .sl-slide__in {
	opacity: 0;
	transition: opacity 0.3s;
}

.sl-slide__in {
	padding-block: 90px 60px;
}

.sl-tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--sl-display);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sl-steel-2);
}

.sl-tag span {
	width: 10px;
	height: 10px;
	background: var(--sl-molten);
	border-radius: 50%;
	box-shadow: 0 0 12px 3px rgb(232 64 47 / 0.7);
	animation: sl-glow 1.8s ease-in-out infinite;
}

@keyframes sl-glow {
	50% {
		opacity: 0.4;
	}
}

.sl-hero .sl-slide__title {
	max-width: 12ch;
	margin-block: 18px 22px;
	font-size: clamp(3.4rem, 1.3rem + 7.4cqi, 7.8rem);
	font-weight: 600;
	line-height: 0.95;
	text-transform: uppercase;
	color: var(--sl-text);
}

.sl-hero .sl-slide__title em {
	font-style: normal;
	background: var(--sl-glow);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

[lang="ar"] .sl-hero .sl-slide__title {
	max-width: 14ch;
	font-size: clamp(2.8rem, 1.2rem + 5.4cqi, 5.8rem);
	line-height: 1.3;
}

.sl-mask {
	display: block;
	overflow: hidden;
	padding-block: 0.04em 0.08em;
}

.sl-mask > * {
	display: inline-block;
}

.sl-lead {
	max-width: 36em;
	font-size: 1.08rem;
	color: rgb(231 235 239 / 0.8);
}

.sl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.sl-slide.is-active .sl-tag,
.sl-slide.is-active .sl-lead,
.sl-slide.is-active .sl-hero__actions {
	animation: sl-rise 0.9s var(--sl-ease) both;
}

.sl-slide.is-active .sl-mask > * {
	animation: sl-line 0.95s var(--sl-ease) both;
}

.sl-slide.is-active .sl-tag {
	animation-delay: calc(var(--sl-enter) + 0.3s);
}

.sl-slide.is-active .sl-mask:nth-child(1) > * {
	animation-delay: calc(var(--sl-enter) + 0.4s);
}

.sl-slide.is-active .sl-mask:nth-child(2) > * {
	animation-delay: calc(var(--sl-enter) + 0.52s);
}

.sl-slide.is-active .sl-lead {
	animation-delay: calc(var(--sl-enter) + 0.66s);
}

.sl-slide.is-active .sl-hero__actions {
	animation-delay: calc(var(--sl-enter) + 0.78s);
}

@keyframes sl-line {
	from {
		transform: translateY(105%);
	}
}

@keyframes sl-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
}

/* The numbered tabs stand on the end side, with the arrows under them. */
.sl-hero__nav {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	pointer-events: none;
}

.sl-slider__ui {
	display: grid;
	gap: 18px;
	width: 220px;
	pointer-events: auto;
	animation: sl-rise 0.9s var(--sl-ease) calc(var(--sl-enter) + 0.9s) both;
}

.sl-slider__tabs {
	display: grid;
}

.sl-slider__tabs button {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	align-items: baseline;
	padding: 14px 0 14px 18px;
	font: inherit;
	text-align: start;
	color: var(--sl-muted);
	background: none;
	border: 0;
	cursor: pointer;
	transition: color 0.3s;
}

[dir="rtl"] .sl-slider__tabs button {
	padding: 14px 18px 14px 0;
}

.sl-slider__tabs b {
	font-family: var(--sl-display);
	font-size: 1.1rem;
	font-weight: 500;
}

.sl-slider__tabs span {
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sl-slider__tabs button[aria-selected="true"],
.sl-slider__tabs button:hover {
	color: var(--sl-text);
}

.sl-slider__tabs button[aria-selected="true"] b {
	color: var(--sl-molten-2);
}

/* A vertical rail on the start side fills while the slide plays. */
.sl-slider__tabs i {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 2px;
	background: rgb(255 255 255 / 0.16);
}

.sl-slider__tabs i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--sl-glow);
	transform: scaleY(0);
	transform-origin: top;
}

.sl-slider__tabs button[aria-selected="true"] i::after {
	transform: scaleY(1);
}

.sl-hero.is-playing .sl-slider__tabs button[aria-selected="true"] i::after {
	animation: sl-rail var(--sl-slide-time, 6.5s) linear both;
}

.sl-hero.is-paused .sl-slider__tabs button[aria-selected="true"] i::after {
	animation-play-state: paused;
}

@keyframes sl-rail {
	from {
		transform: scaleY(0);
	}
}

@keyframes sl-rail-x {
	from {
		transform: scaleX(0);
	}
}

.sl-slider__arrows {
	display: flex;
	gap: 8px;
}

.sl-slider__arrow {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	color: var(--sl-text);
	background: rgb(255 255 255 / 0.06);
	border: 1px solid rgb(255 255 255 / 0.2);
	cursor: pointer;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
	transition: background-color 0.25s, color 0.25s;
}

.sl-slider__arrow:hover {
	color: #fff;
	background: var(--sl-molten);
}

[dir="rtl"] .sl-slider__arrow .sl-icon {
	scale: -1 1;
}

.sl-body:not(.sl-ready) .sl-slider__ui {
	visibility: hidden;
}

.sl-stats {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--sl-line);
}

.sl-stats li {
	display: grid;
	gap: 4px;
	padding: 26px 24px 30px;
	border-inline-start: 1px solid var(--sl-line);
}

.sl-stats li:first-child {
	padding-inline-start: 0;
	border-inline-start: 0;
}

.sl-stats b {
	font-family: var(--sl-display);
	font-size: clamp(2.4rem, 1.5rem + 2.4cqi, 3.6rem);
	font-weight: 600;
	line-height: 1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.sl-stats span {
	font-size: 0.9rem;
	color: var(--sl-muted);
}

/* 6. Products ------------------------------------------------------------------ */
.sl-section {
	padding-block: clamp(70px, 8cqi, 120px);
}

.sl-section--plate {
	background:
		radial-gradient(circle at 12px 12px, rgb(255 255 255 / 0.06) 2px, transparent 2.5px) 0 0 / 48px 48px,
		var(--sl-ink-2);
}

.sl-section--dark {
	background: #0e0f11;
	border-top: 6px solid transparent;
	border-image: repeating-linear-gradient(-45deg, var(--sl-molten-2) 0 14px, #0e0f11 14px 28px) 6;
}

.sl-head {
	display: grid;
	gap: 14px;
	max-width: 760px;
	margin-bottom: clamp(32px, 4cqi, 52px);
}

.sl-products {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 24px;
}

.sl-tabs {
	display: grid;
	align-content: start;
	gap: 6px;
}

.sl-tab {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	font-family: var(--sl-display);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: start;
	text-transform: uppercase;
	color: var(--sl-muted);
	background: var(--sl-ink-2);
	border: 0;
	border-inline-start: 3px solid transparent;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.sl-tab span {
	font-size: 0.9rem;
	color: var(--sl-steel);
}

.sl-tab:hover {
	color: #fff;
}

.sl-tab[aria-selected="true"] {
	color: #fff;
	background: var(--sl-ink-3);
	border-inline-start-color: var(--sl-molten);
}

.sl-tab[aria-selected="true"] span {
	color: var(--sl-molten-2);
}

.sl-panel {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	background: var(--sl-ink-2);
	border: 1px solid var(--sl-line);
	animation: sl-in 0.45s var(--sl-ease);
}

.sl-panel[hidden] {
	display: none;
}

.sl-panel__media {
	position: relative;
	min-height: 380px;
	overflow: hidden;
}

.sl-panel__media .sl-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.05);
}

.sl-panel__body {
	display: grid;
	align-content: center;
	gap: 18px;
	padding: clamp(22px, 3cqi, 40px);
}

.sl-panel__body h3 {
	font-size: 2.4rem;
}

.sl-panel__body > p {
	color: var(--sl-muted);
}

.sl-specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--sl-line);
	border: 1px solid var(--sl-line);
}

.sl-specs div {
	display: grid;
	gap: 2px;
	padding: 12px 14px;
	background: var(--sl-ink-2);
}

.sl-specs dt {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sl-steel);
}

.sl-specs dd {
	font-weight: 600;
	color: #fff;
}

.sl-panel__body .sl-btn {
	justify-self: start;
}

@keyframes sl-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

/* 7. Calculator ------------------------------------------------------------------ */
.sl-calc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5cqi, 70px);
	align-items: start;
}

.sl-calc__intro {
	display: grid;
	gap: 16px;
}

.sl-calc__intro > p:not(.sl-kicker) {
	color: var(--sl-muted);
}

.sl-table {
	width: 100%;
	margin-top: 8px;
	font-variant-numeric: tabular-nums;
	border-collapse: collapse;
}

.sl-table th,
.sl-table td {
	padding: 10px 14px;
	text-align: start;
	border-bottom: 1px solid var(--sl-line);
}

.sl-table th {
	font-family: var(--sl-display);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sl-steel);
}

.sl-table tr {
	transition: background-color 0.25s;
}

.sl-table tr.is-on {
	background: rgb(232 64 47 / 0.12);
}

.sl-table tr.is-on td:first-child {
	color: var(--sl-molten-2);
	font-weight: 600;
}

.sl-calc__form {
	position: sticky;
	top: 100px;
	display: grid;
	gap: 18px;
	padding: clamp(22px, 3cqi, 34px);
	background: var(--sl-ink-3);
	border: 1px solid var(--sl-line);
	box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.8);
}

.sl-dia legend {
	margin-bottom: 10px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--sl-muted);
}

.sl-dia {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.sl-dia input {
	position: absolute;
	opacity: 0;
}

.sl-dia span {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	font-family: var(--sl-display);
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--sl-steel-2);
	background:
		radial-gradient(circle, transparent 40%, rgb(255 255 255 / 0.05) 41%, rgb(255 255 255 / 0.05) 60%, transparent 61%),
		var(--sl-ink-2);
	border: 1px solid var(--sl-line);
	border-radius: 50%;
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.sl-dia input:checked + span {
	color: #1a0d05;
	background: var(--sl-glow);
	border-color: transparent;
	box-shadow: 0 0 24px -4px rgb(232 64 47 / 0.8);
}

.sl-dia input:focus-visible + span {
	outline: 2px solid var(--sl-molten-2);
	outline-offset: 3px;
}

.sl-field {
	display: grid;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--sl-muted);
}

.sl-field input,
.sl-field select {
	min-height: 52px;
	padding: 0 16px;
	font-size: 1rem;
	color: #fff;
	background: var(--sl-ink-2);
	border: 1px solid var(--sl-line);
	transition: border-color 0.2s;
}

.sl-field input:focus,
.sl-field select:focus {
	border-color: var(--sl-molten);
	outline: none;
}

.sl-field input[aria-invalid="true"] {
	border-color: #ff6b6b;
}

.sl-readout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--sl-line);
}

.sl-readout p {
	display: grid;
	padding: 16px 18px;
	background: var(--sl-ink);
}

.sl-readout small {
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sl-steel);
}

.sl-readout b {
	font-family: var(--sl-display);
	font-size: 2.1rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--sl-molten-2);
	font-variant-numeric: tabular-nums;
}

[lang="ar"] .sl-readout b {
	font-size: 1.6rem;
}

.sl-calc__note {
	font-size: 0.8rem;
	color: var(--sl-muted);
}

/* 8. Process ----------------------------------------------------------------------- */
.sl-process {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5cqi, 80px);
	align-items: center;
}

.sl-process > div:last-child {
	display: grid;
	gap: 16px;
}

.sl-process__media {
	position: relative;
	overflow: hidden;
	clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
}

.sl-process__media .sl-photo {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
}

.sl-temp {
	position: absolute;
	inset-inline-start: 24px;
	bottom: 24px;
	display: flex;
	align-items: baseline;
	gap: 4px;
	padding: 12px 18px;
	background: rgb(16 19 24 / 0.82);
	backdrop-filter: blur(6px);
}

.sl-temp .sl-icon {
	align-self: center;
	width: 22px;
	height: 22px;
	color: var(--sl-molten);
	fill: rgb(232 64 47 / 0.25);
}

.sl-temp b {
	font-family: var(--sl-display);
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.sl-temp span {
	font-weight: 600;
	color: var(--sl-molten-2);
}

.sl-steps {
	display: grid;
	gap: 6px;
	margin-top: 8px;
}

.sl-step {
	position: relative;
	overflow: hidden;
	background: var(--sl-ink-2);
	border: 1px solid var(--sl-line);
}

.sl-step button {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 14px 18px;
	font-family: var(--sl-display);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: start;
	text-transform: uppercase;
	color: var(--sl-muted);
	background: none;
	border: 0;
}

.sl-step button span {
	font-size: 0.95rem;
	color: var(--sl-steel);
}

.sl-step p {
	display: none;
	padding: 0 18px 16px 58px;
	color: var(--sl-muted);
}

[dir="rtl"] .sl-step p {
	padding: 0 58px 16px 18px;
}

.sl-step.is-on {
	border-color: rgb(232 64 47 / 0.5);
}

.sl-step.is-on button {
	color: #fff;
}

.sl-step.is-on button span {
	color: var(--sl-molten-2);
}

.sl-step.is-on p {
	display: block;
	animation: sl-in 0.35s var(--sl-ease);
}

.sl-step__bar {
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background: var(--sl-glow);
	transform: scaleX(0);
	transform-origin: left;
}

[dir="rtl"] .sl-step__bar {
	transform-origin: right;
}

.sl-step.is-on .sl-step__bar {
	animation: sl-fill 3.2s linear forwards;
}

.sl-steps.is-paused .sl-step.is-on .sl-step__bar {
	animation: none;
	transform: scaleX(1);
}

@keyframes sl-fill {
	to {
		transform: scaleX(1);
	}
}

/* 9. Band & projects ------------------------------------------------------------- */
.sl-band {
	position: relative;
	display: grid;
	align-items: end;
	min-height: clamp(240px, 28cqi, 380px);
	overflow: hidden;
	background: #000;
}

.sl-band .sl-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.75;
}

.sl-band__certs {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding: 28px 20px;
	background: linear-gradient(0deg, rgb(0 0 0 / 0.85), transparent);
}

.sl-band__certs li {
	padding: 10px 18px;
	font-family: var(--sl-display);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: #fff;
	border: 2px solid rgb(255 255 255 / 0.6);
	backdrop-filter: blur(4px);
}

.sl-projects {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, 2cqi, 24px);
}

.sl-project {
	position: relative;
	overflow: hidden;
	aspect-ratio: 9 / 11;
	background: var(--sl-ink-2);
}

.sl-project .sl-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.4);
	transition: transform 1s var(--sl-ease), filter 0.6s;
}

.sl-project:hover .sl-photo {
	transform: scale(1.06);
	filter: grayscale(0);
}

.sl-project > div {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	display: grid;
	gap: 4px;
	padding: 60px 22px 22px;
	background: linear-gradient(0deg, rgb(10 10 12 / 0.95), transparent);
}

.sl-project h3 {
	font-size: 1.8rem;
}

.sl-project p {
	font-weight: 600;
	color: var(--sl-molten-2);
}

/* 10. Quote ---------------------------------------------------------------------- */
.sl-quote {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(28px, 5cqi, 80px);
	align-items: center;
}

.sl-quote > div {
	display: grid;
	gap: 18px;
}

.sl-perks {
	display: grid;
	gap: 12px;
	margin-top: 6px;
}

.sl-perks li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 600;
}

.sl-perks .sl-icon {
	width: 38px;
	height: 38px;
	padding: 9px;
	color: var(--sl-molten-2);
	background: var(--sl-ink-3);
	border: 1px solid var(--sl-line);
}

.sl-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: clamp(22px, 3cqi, 34px);
	background: var(--sl-ink-2);
	border: 1px solid var(--sl-line);
}

.sl-field--full,
.sl-form .sl-btn,
.sl-form__error,
.sl-form__ok {
	grid-column: 1 / -1;
}

.sl-form__error {
	font-size: 0.9rem;
	font-weight: 600;
	color: #ff8a8a;
}

.sl-form__ok {
	padding: 14px 16px;
	font-size: 0.92rem;
	color: #1a0d05;
	background: var(--sl-glow);
}

/* 11. Footer & toast --------------------------------------------------------------- */
.sl-footer {
	padding-block: 40px 26px;
	background: #0a0b0c;
}

.sl-footer__in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: var(--sl-muted);
}

.sl-footer__bar {
	flex: 1 0 100%;
	padding-top: 18px;
	font-size: 0.82rem;
	border-top: 1px solid var(--sl-line);
}

.sl-toast {
	position: fixed;
	bottom: 20px;
	inset-inline-start: 20px;
	z-index: 110;
	max-width: min(90%, 420px);
	padding: 14px 18px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #fff;
	background: var(--sl-ink-3);
	border-inline-start: 4px solid var(--sl-molten);
	box-shadow: 0 20px 40px -14px rgb(0 0 0 / 0.7);
	animation: sl-in 0.3s var(--sl-ease);
}

.sl-toast[hidden] {
	display: none;
}

/* 12. Motion: intro, progress line, header, reveals ------------------------- */
/* The intro: a steel bar heats from grey to red and white-hot, AL-SOLB is
   stamped in, then the panel rolls up like a shutter. Pure CSS: it ends even
   without the script. */
.sl-intro {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	background: var(--sl-ink);
	pointer-events: none;
	animation: sl-intro-out 0.75s cubic-bezier(0.65, 0, 0.25, 1) 1.4s both;
}

.sl-intro__in {
	display: grid;
	justify-items: center;
	gap: 12px;
}

.sl-intro__bar {
	width: 180px;
	height: 14px;
	background: linear-gradient(90deg, #3b3f46, #5b6069, #3b3f46);
	animation: sl-heat 1.05s ease-in both;
}

.sl-intro b {
	font-family: var(--sl-display);
	font-size: 3.4rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.1em;
	color: var(--sl-text);
	animation: sl-stamp 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.6s both;
}

.sl-intro small {
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sl-muted);
	animation: sl-rise 0.5s var(--sl-ease) 0.8s both;
}

@keyframes sl-heat {
	40% {
		background: linear-gradient(90deg, #6d2a22, #c2321f, #6d2a22);
		box-shadow: 0 0 20px 2px rgb(232 64 47 / 0.5);
	}

	100% {
		background: linear-gradient(90deg, #e8402f, #ffd27a, #e8402f);
		box-shadow: 0 0 40px 8px rgb(255 138 61 / 0.6);
	}
}

@keyframes sl-stamp {
	from {
		opacity: 0;
		scale: 1.6;
		letter-spacing: 0.4em;
	}
}

@keyframes sl-intro-out {
	to {
		clip-path: inset(0 0 100% 0);
		visibility: hidden;
	}
}

/* Reading progress, where the browser can tie an animation to scrolling. */
.sl-progress {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 60;
	height: 3px;
	background: var(--sl-glow);
	transform: scaleX(0);
	transform-origin: var(--sl-start, left);
}

@supports (animation-timeline: scroll()) {
	.sl-progress {
		animation: sl-progress linear both;
		animation-timeline: scroll(root);
	}
}

@keyframes sl-progress {
	to {
		transform: scaleX(1);
	}
}

.sl-ticker,
.sl-header {
	animation: sl-down 0.75s var(--sl-ease) 1.6s both;
}

@keyframes sl-down {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}
}

/* Reveals: lists one after another, photos settle from a slight zoom. */
.sl-ready [data-sl-reveal] {
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 0.85s var(--sl-ease), transform 0.85s var(--sl-ease);
	transition-delay: calc(var(--sl-i, 0) * 90ms);
}

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

.sl-ready [data-sl-reveal] .sl-photo {
	transition: transform 1.6s var(--sl-ease);
}

.sl-ready [data-sl-reveal]:not(.is-in) .sl-photo {
	transform: scale(1.14);
}

.sl-body main {
	overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
	.sl-body *,
	.sl-body *::before,
	.sl-body *::after {
		animation: none !important;
		transition: none !important;
	}

	.sl-intro {
		display: none;
	}

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

	.sl-ready [data-sl-reveal]:not(.is-in) .sl-photo {
		transform: none;
	}
}

/* 13. Narrower widths ------------------------------------------------------------ */
@container demo (max-width: 1080px) {
	.sl-header__cta {
		display: none;
	}

	.sl-products {
		grid-template-columns: 1fr;
	}

	.sl-tabs {
		display: flex;
		overflow-x: auto;
	}

	.sl-tab {
		flex: 0 0 auto;
		border-inline-start: 0;
		border-bottom: 3px solid transparent;
	}

	.sl-tab[aria-selected="true"] {
		border-bottom-color: var(--sl-molten);
	}
}

@container demo (max-width: 900px) {
	.sl-nav {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		flex-direction: column;
		gap: 0;
		padding: 8px 24px 20px;
		background: var(--sl-ink);
		border-bottom: 1px solid var(--sl-line);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
	}

	.sl-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.sl-nav a {
		padding: 14px 0;
		border-bottom: 1px solid var(--sl-line);
	}

	.sl-tools {
		margin-inline-start: auto;
	}

	.sl-burger {
		display: grid;
	}

	/* The tabs move under the words, in a row, with the rail on top. */
	.sl-hero__stage {
		min-height: 700px;
	}

	.sl-slide__in {
		padding-block: 80px 170px;
	}

	.sl-hero__nav {
		align-items: flex-end;
		padding-bottom: 26px;
	}

	.sl-slider__ui {
		grid-template-columns: 1fr auto;
		align-items: end;
		width: 100%;
	}

	.sl-slider__tabs {
		grid-template-columns: repeat(3, 1fr);
	}

	.sl-slider__tabs button,
	[dir="rtl"] .sl-slider__tabs button {
		grid-template-columns: 1fr;
		gap: 2px;
		padding: 14px 8px 0 0;
	}

	[dir="rtl"] .sl-slider__tabs button {
		padding: 14px 0 0 8px;
	}

	.sl-slider__tabs i {
		inset: 0 8px auto 0;
		width: auto;
		height: 2px;
	}

	[dir="rtl"] .sl-slider__tabs i {
		inset: 0 0 auto 8px;
	}

	.sl-slider__tabs i::after {
		transform: scaleX(0);
		transform-origin: var(--sl-start, left);
	}

	.sl-slider__tabs button[aria-selected="true"] i::after {
		transform: scaleX(1);
	}

	.sl-hero.is-playing .sl-slider__tabs button[aria-selected="true"] i::after {
		animation-name: sl-rail-x;
	}

	.sl-stats {
		grid-template-columns: 1fr 1fr;
	}

	.sl-stats li:nth-child(3) {
		padding-inline-start: 0;
		border-inline-start: 0;
	}

	.sl-stats li:nth-child(n + 3) {
		border-top: 1px solid var(--sl-line);
	}

	.sl-panel,
	.sl-calc,
	.sl-process,
	.sl-quote {
		grid-template-columns: 1fr;
	}

	.sl-panel__media {
		min-height: 260px;
	}

	.sl-calc__form {
		position: relative;
		top: 0;
	}

	.sl-projects {
		grid-template-columns: 1fr 1fr;
	}
}

@container demo (max-width: 560px) {
	.sl-lang {
		padding: 9px 10px;
		font-size: 0;
		gap: 0;
	}

	.sl-lang .sl-icon {
		width: 20px;
		height: 20px;
	}

	.sl-logo small {
		display: none;
	}

	.sl-specs,
	.sl-readout,
	.sl-form,
	.sl-projects {
		grid-template-columns: 1fr;
	}

	.sl-stats li {
		padding: 20px 14px 22px;
	}

	.sl-slider__tabs span {
		font-size: 0.72rem;
		letter-spacing: 0.02em;
		white-space: nowrap;
	}

	.sl-slider__arrow {
		width: 42px;
		height: 42px;
	}

	.sl-hero__actions .sl-btn {
		flex: 1 1 auto;
	}

	.sl-step p,
	[dir="rtl"] .sl-step p {
		padding-inline: 18px;
	}
}

/* Arabic weights: 400–600 only: every bold part is 600 here, and the browser never
   fakes a heavier weight. (Generated from the rules above; keep it last.) */
[lang="ar"] .sl-body {
	font-synthesis: none;
}

:where([lang="ar"] .sl-body) :where(b, strong, h1, h2, h3, h4, h5, h6, th, optgroup) {
	font-weight: 600;
}

[lang="ar"] .sl-body :is(h1, h2, h3, .sl-ticker__label, .sl-logo b, .sl-dia span),
[lang="ar"] .sl-body :is(.sl-readout b, .sl-temp b, .sl-band__certs li) {
	font-weight: 600;
}
