:root {
	--yk-ink: #0E0E0E;
	--yk-charcoal: #2A2A28;
	--yk-footer: #141413;
	--yk-gray: #6E6B64;
	--yk-meta: #86837B;
	--yk-muted: #B6B2A8;
	--yk-line: #DBD8D0;
	--yk-line-2: #CFCCC3;
	--yk-line-dark: #1A1814;
	--yk-surface: #F6F4EF;
	--yk-paper: #EFEDE7;
	--yk-paper-2: #ECEAE3;
	--yk-white: #FFFFFF;
	--yk-color-bg: var(--yk-paper);
	--yk-color-bg-alt: var(--yk-paper-2);
	--yk-color-bg-strong: var(--yk-ink);
	--yk-color-surface: var(--yk-surface);
	--yk-color-surface-soft: var(--yk-paper-2);
	--yk-color-text: var(--yk-ink);
	--yk-color-text-strong: var(--yk-ink);
	--yk-color-text-muted: var(--yk-gray);
	--yk-color-border: var(--yk-line);
	--yk-color-border-strong: var(--yk-line-2);
	--yk-color-button-bg: var(--yk-ink);
	--yk-color-button-text: var(--yk-white);
	--yk-color-button-border: var(--yk-ink);
	--yk-color-button-hover-bg: var(--yk-charcoal);
	--yk-color-button-hover-text: var(--yk-white);
	--yk-color-button-secondary-hover-bg: var(--yk-paper-2);
	--yk-color-inverse-button-bg: var(--yk-white);
	--yk-color-inverse-button-text: var(--yk-ink);
	--yk-color-inverse-button-border: var(--yk-white);
	--yk-color-inverse-button-hover-bg: var(--yk-muted);
	--yk-color-inverse-button-hover-text: var(--yk-ink);
	--yk-color-link: currentcolor;
	--yk-color-link-hover: var(--yk-gray);
	--yk-color-input-bg: transparent;
	--yk-color-input-text: var(--yk-ink);
	--yk-color-input-border: var(--yk-line-2);
	--yk-color-input-placeholder: var(--yk-meta);
	--yk-color-footer-bg: var(--yk-footer);
	--yk-color-footer-text: var(--yk-white);
	--yk-color-footer-muted: var(--yk-muted);
	--yk-color-footer-border: color-mix(in srgb, var(--yk-white) 14%, transparent);
	--yk-color-selection-bg: var(--yk-ink);
	--yk-color-selection-text: var(--yk-white);
	--yk-color-focus: var(--yk-ink);
	--yk-color-header-bg: color-mix(in srgb, var(--yk-paper) 78%, transparent);
	--yk-color-header-border: var(--yk-line);
	--yk-color-media-placeholder: #B9B6AE;
	--yk-color-dark-label: #807C73;
	--yk-font-sans: effra, sans-serif;
	--yk-header-height: 4.5rem;
	--yk-container: 72rem;
	--yk-container-wide: 92rem;
	--yk-container-narrow: 52rem;
	--yk-gutter: 1.25rem;
	--yk-section-space: 6rem;
	--yk-radius: 0;
	--yk-transition: 180ms ease;
}

html[data-theme="dark"] {
	color-scheme: dark;
	--yk-ink: #F4F2EC;
	--yk-charcoal: #D8D4CC;
	--yk-footer: #0E0E0E;
	--yk-gray: #9A968C;
	--yk-meta: #807C73;
	--yk-muted: #B4B0A6;
	--yk-line: #2E2D2A;
	--yk-line-2: #3A372F;
	--yk-line-dark: #4A463E;
	--yk-surface: #1E1E1C;
	--yk-paper: #141413;
	--yk-paper-2: #1B1B1A;
	--yk-white: #F4F2EC;
	--yk-color-bg: #141413;
	--yk-color-bg-alt: #1B1B1A;
	--yk-color-bg-strong: #0E0E0E;
	--yk-color-surface: #1E1E1C;
	--yk-color-surface-soft: #252523;
	--yk-color-text: #D8D4CC;
	--yk-color-text-strong: #F4F2EC;
	--yk-color-text-muted: #9A968C;
	--yk-color-border: #2E2D2A;
	--yk-color-border-strong: #3A372F;
	--yk-color-button-bg: #F4F2EC;
	--yk-color-button-text: #0E0E0E;
	--yk-color-button-border: #F4F2EC;
	--yk-color-button-hover-bg: #D8D4CC;
	--yk-color-button-hover-text: #0E0E0E;
	--yk-color-button-secondary-hover-bg: #252523;
	--yk-color-inverse-button-bg: #F4F2EC;
	--yk-color-inverse-button-text: #0E0E0E;
	--yk-color-inverse-button-border: #F4F2EC;
	--yk-color-inverse-button-hover-bg: #D8D4CC;
	--yk-color-inverse-button-hover-text: #0E0E0E;
	--yk-color-link-hover: #B4B0A6;
	--yk-color-input-bg: transparent;
	--yk-color-input-text: #F4F2EC;
	--yk-color-input-border: #3A372F;
	--yk-color-input-placeholder: #6E6A62;
	--yk-color-footer-bg: #0E0E0E;
	--yk-color-footer-text: #F4F2EC;
	--yk-color-footer-muted: #B4B0A6;
	--yk-color-footer-border: color-mix(in srgb, #F4F2EC 14%, transparent);
	--yk-color-selection-bg: #F4F2EC;
	--yk-color-selection-text: #0E0E0E;
	--yk-color-focus: #F4F2EC;
	--yk-color-header-bg: color-mix(in srgb, #141413 82%, transparent);
	--yk-color-header-border: #2E2D2A;
	--yk-color-media-placeholder: #222220;
	--yk-color-dark-label: #807C73;
}

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

html {
	min-height: 100%;
	font-family: var(--yk-font-sans);
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100%;
	margin: 0;
	background: var(--yk-color-bg);
	color: var(--yk-color-text);
	font-family: var(--yk-font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
}

body.admin-bar .yk-site-header {
	top: 32px;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.yk-button,
.wp-block-button__link,
[role="button"] {
	text-transform: uppercase;
}

a {
	color: currentcolor;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--yk-color-link-hover);
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--yk-color-focus);
	outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	color: var(--yk-color-text-strong);
	font-family: var(--yk-font-sans);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
}

h1 {
	font-size: clamp(3rem, 4.5rem, 4.5rem);
}

h2 {
	font-size: clamp(2rem, 3rem, 3rem);
}

h3 {
	font-size: clamp(1.35rem, 1.75rem, 1.75rem);
	line-height: 1.12;
}

p {
	margin: 0 0 1rem;
}

ul,
ol {
	margin-top: 0;
}

::selection {
	background: var(--yk-color-selection-bg);
	color: var(--yk-color-selection-text);
}

.yk-main {
	min-height: 52vh;
}

.yk-container {
	width: min(100% - (var(--yk-gutter) * 2), var(--yk-container));
	margin-inline: auto;
}

.yk-container--wide {
	--yk-container: var(--yk-container-wide);
}

.yk-container--narrow {
	--yk-container: var(--yk-container-narrow);
}

.yk-section {
	padding-block: var(--yk-section-space);
}

.yk-section--light {
	background: var(--yk-surface);
	color: var(--yk-ink);
}

.yk-section--alt {
	background: var(--yk-paper);
	color: var(--yk-ink);
}

.yk-section--dark {
	background: var(--yk-color-bg-strong);
	color: var(--yk-color-footer-text);
}

.yk-section--dark h1,
.yk-section--dark h2,
.yk-section--dark h3,
.yk-section--dark .yk-eyebrow {
	color: var(--yk-color-footer-text);
}

.yk-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.8rem 1.15rem;
	border: 1px solid currentcolor;
	border-radius: var(--yk-radius);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color var(--yk-transition), border-color var(--yk-transition), color var(--yk-transition);
}

.yk-arrow-action {
	display: inline-flex;
	align-items: center;
	gap: 0.65em;
}

.yk-arrow-action::after {
	content: "";
	width: 0.85em;
	height: 0.85em;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: url("../images/arrow-right.svg") center / contain no-repeat;
	mask: url("../images/arrow-right.svg") center / contain no-repeat;
	transition: opacity var(--yk-transition), transform var(--yk-transition);
}

.yk-arrow-action:hover::after,
.yk-arrow-action:focus-visible::after {
	transform: translateX(3px);
}

:dir(rtl) .yk-arrow-action::after {
	transform: scaleX(-1);
}

:dir(rtl) .yk-arrow-action:hover::after,
:dir(rtl) .yk-arrow-action:focus-visible::after {
	transform: translateX(-3px) scaleX(-1);
}

.yk-roll-ready {
	overflow: hidden;
}

.yk-roll-label {
	display: block;
	max-width: 100%;
	block-size: 1.2em;
	overflow: hidden;
	line-height: 1.2;
}

.yk-roll-track {
	display: flex;
	flex-direction: column;
	transform: translate3d(0, 0, 0);
	transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.yk-roll-track > span {
	display: block;
	block-size: 1.2em;
	white-space: nowrap;
}

.yk-roll-ready:hover .yk-roll-track,
.yk-roll-ready:focus-visible .yk-roll-track,
.yk-roll-ready:focus-within .yk-roll-track {
	transform: translate3d(0, -50%, 0);
}

.yk-button .yk-roll-label,
.yk-button .yk-roll-track > span {
	block-size: 1em;
	line-height: 1;
}

/*
 * Arabic-only fix: the tight 1em / line-height:1 label box clips glyphs that
 * rise above the em box (e.g. the hamza on the alef in "ابدأ"), and the stacked
 * duplicate copy bleeds into view. Give the roll window and both copies more
 * vertical room so the hamza renders fully. The roll's -50% transform still
 * lands exactly on the second copy because the window and both spans scale
 * together. Scoped to [dir="rtl"] (only Arabic is RTL); EN/DE are untouched.
 */
[dir="rtl"] .yk-button .yk-roll-label,
[dir="rtl"] .yk-button .yk-roll-track > span {
	block-size: 1.5em;
	line-height: 1.5;
}

.yk-button--primary {
	background: var(--yk-color-button-bg);
	color: var(--yk-color-button-text);
	border-color: var(--yk-color-button-border);
}

.yk-button--primary:hover {
	background: var(--yk-color-button-hover-bg);
	color: var(--yk-color-button-hover-text);
	border-color: var(--yk-color-button-hover-bg);
}

.yk-button--secondary {
	background: transparent;
	color: var(--yk-ink);
}

.yk-button--secondary:hover {
	background: var(--yk-color-button-secondary-hover-bg);
	color: var(--yk-ink);
}

.yk-section--dark .yk-button--secondary {
	color: var(--yk-color-footer-text);
}

.yk-section--dark .yk-button--secondary:hover {
	color: var(--yk-ink);
}

.yk-eyebrow {
	margin: 0 0 1rem;
	color: var(--yk-gray);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 2.24px;
	line-height: 1.2;
	text-transform: uppercase;
}

.yk-lead {
	max-width: 42rem;
	color: var(--yk-charcoal);
	font-size: 1.22rem;
	line-height: 1.5;
}

.yk-muted {
	color: var(--yk-gray);
}

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

.screen-reader-text:focus {
	z-index: 100000;
	top: 1rem;
	left: 1rem;
	display: block;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--yk-color-inverse-button-bg);
	color: var(--yk-color-inverse-button-text);
	box-shadow: 0 0 0 2px var(--yk-color-focus);
	text-decoration: none;
}

.yk-site-header {
	position: sticky;
	z-index: 50;
	top: 0;
	background: var(--yk-color-header-bg);
	border-bottom: 1px solid var(--yk-color-header-border);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.yk-site-footer {
	background: var(--yk-color-footer-bg);
	color: var(--yk-color-footer-muted);
}

.yk-site-footer a {
	color: var(--yk-color-footer-text);
}

.yk-site-footer h2,
.yk-site-footer h3,
.yk-site-footer .yk-eyebrow {
	color: var(--yk-color-footer-text);
}

:dir(rtl) body {
	direction: rtl;
	text-align: right;
}

:dir(rtl) .yk-primary-nav__list,
:dir(rtl) .yk-language-switcher__menu,
:dir(rtl) .yk-site-footer__menu,
:dir(rtl) .yk-site-footer__legal,
:dir(rtl) .yk-site-footer__language {
	padding-inline: 0;
}

@media (min-width: 48rem) {
	:root {
		--yk-gutter: 2rem;
		--yk-section-space: 7.5rem;
	}
}

@media (max-width: 37.5rem) {
	h1 {
		font-size: clamp(2.35rem, 2.35rem, 2.35rem);
	}

	h2 {
		font-size: clamp(1.8rem, 1.8rem, 1.8rem);
	}

	.yk-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.yk-arrow-action:hover::after,
	.yk-arrow-action:focus-visible::after {
		transform: none;
	}

	.yk-roll-track {
		transition: none;
	}

	.yk-roll-ready:hover .yk-roll-track,
	.yk-roll-ready:focus-visible .yk-roll-track,
	.yk-roll-ready:focus-within .yk-roll-track {
		transform: none;
	}
}
