/*
Theme Name: Custom Theme
Theme URI: https://ali-personal-website.local
Description: Premium bilingual personal brand theme — Modern Luxury, Academic, Intelligent Minimalism. Deep Navy · Light · Turquoise · Matte Gold.
Author: Captain Code
Version: 2.0.0
Text Domain: custom-theme
Requires at least: 6.0
Requires PHP: 8.0
*/

/* =========================================================
   DESIGN TOKENS
   70% Deep Navy · 20% White/Light Gray · 10% Turquoise + Matte Gold
   ========================================================= */
:root {
	/* Core palette */
	--navy-950: #050814;
	--navy-900: #0A1128;
	--navy-850: #0E1630;
	--navy-800: #121C3A;
	--navy-700: #1A2748;
	--navy-600: #243356;

	--white: #FFFFFF;
	--cloud: #F4F5F8;
	--mist: #E6E8F0;
	--silver: #B8BECF;
	--muted: #8B93A8;
	--ink-soft: #C9CEDC;

	--turquoise: #2DB8A8;
	--turquoise-soft: #3ECFBE;
	--turquoise-dim: rgba(45, 184, 168, 0.14);
	--turquoise-line: rgba(45, 184, 168, 0.35);

	--gold: #C9A84C;
	--gold-bright: #D9BC63;
	--gold-dim: rgba(201, 168, 76, 0.14);
	--gold-line: rgba(201, 168, 76, 0.38);

	/* Semantic */
	--bg: var(--navy-900);
	--bg-elevated: var(--navy-800);
	--bg-soft: var(--navy-850);
	--surface: rgba(255, 255, 255, 0.03);
	--surface-hover: rgba(255, 255, 255, 0.055);
	--border: rgba(255, 255, 255, 0.07);
	--border-strong: rgba(255, 255, 255, 0.12);
	--text: var(--white);
	--text-body: var(--ink-soft);
	--text-muted: var(--muted);
	--accent: var(--gold);
	--accent-2: var(--turquoise);

	/* Typography */
	--font-fa: "Vazirmatn", system-ui, sans-serif;
	--font-en: "Inter", system-ui, sans-serif;
	--font-display-en: "Cormorant Garamond", "Times New Roman", serif;

	--fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
	--fs-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
	--fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	--fs-md: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	--fs-lg: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
	--fs-xl: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
	--fs-2xl: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
	--fs-3xl: clamp(2.5rem, 1.9rem + 2.4vw, 3.75rem);
	--fs-hero: clamp(2.75rem, 2rem + 3.2vw, 4.75rem);

	--lh-tight: 1.15;
	--lh-snug: 1.35;
	--lh-body: 1.75;
	--lh-relaxed: 1.9;

	/* Layout */
	--container: 1180px;
	--container-narrow: 760px;
	--container-wide: 1320px;
	--gutter: clamp(1.25rem, 4vw, 2rem);
	--section-y: clamp(4.5rem, 8vw, 7.5rem);
	--header-h: 76px;
	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 20px;
	--radius-xl: 28px;

	/* Motion */
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
	--dur-fast: 180ms;
	--dur: 320ms;
	--dur-slow: 700ms;
	--dur-reveal: 900ms;

	/* Shadows */
	--shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
	--shadow-md: 0 18px 50px rgba(0, 0, 0, 0.35);
	--shadow-gold: 0 12px 40px rgba(201, 168, 76, 0.12);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	min-height: 100vh;
	max-width: 100vw;
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(45, 184, 168, 0.07), transparent 55%),
		radial-gradient(900px 500px at 100% 0%, rgba(201, 168, 76, 0.06), transparent 50%),
		var(--bg);
	color: var(--text);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

body[dir="rtl"] {
	font-family: var(--font-fa);
	font-feature-settings: "ss01" on;
}

body[dir="ltr"] {
	font-family: var(--font-en);
	letter-spacing: 0.01em;
}

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

a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--dur) var(--ease-soft);
}

a:hover {
	color: var(--turquoise-soft);
}

button {
	font: inherit;
}

::selection {
	background: rgba(201, 168, 76, 0.28);
	color: var(--white);
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	font-weight: 600;
	line-height: var(--lh-tight);
	color: var(--text);
	letter-spacing: -0.02em;
}

body[dir="ltr"] h1,
body[dir="ltr"] h2,
body[dir="ltr"] .display-font {
	font-family: var(--font-display-en);
	font-weight: 500;
	letter-spacing: -0.01em;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2 {
	font-weight: 700;
}

p {
	margin: 0 0 1.15em;
	color: var(--text-body);
}

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

.lead {
	font-size: var(--fs-md);
	line-height: var(--lh-relaxed);
	color: var(--text-body);
}

.text-muted {
	color: var(--text-muted);
}

.text-gold {
	color: var(--gold);
}

.text-turquoise {
	color: var(--turquoise);
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: var(--container-narrow);
}

.container--wide {
	max-width: var(--container-wide);
}

.section {
	padding-block: var(--section-y);
	position: relative;
}

.section--tight {
	padding-block: clamp(3rem, 5vw, 4.5rem);
}

.section--soft {
	background: linear-gradient(180deg, rgba(18, 28, 58, 0.55), rgba(10, 17, 40, 0));
}

.section--elevated {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%),
		var(--navy-850);
	border-block: 1px solid var(--border);
}

.section-header {
	margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
	max-width: 40rem;
}

.section-header--center {
	text-align: center;
	margin-inline: auto;
}

.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--turquoise);
}

body[dir="rtl"] .section-kicker {
	letter-spacing: 0.06em;
}

.section-kicker::before {
	content: "";
	width: 28px;
	height: 1px;
	background: linear-gradient(90deg, var(--gold), transparent);
}

body[dir="rtl"] .section-kicker::before {
	background: linear-gradient(270deg, var(--gold), transparent);
}

.section-title {
	font-size: var(--fs-2xl);
	margin-bottom: 0.85rem;
}

.section-desc {
	font-size: var(--fs-md);
	color: var(--text-muted);
	line-height: var(--lh-relaxed);
	margin: 0;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--header-h);
	display: flex;
	align-items: center;
	background: rgba(5, 8, 20, 0.72);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: background var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}

.site-header.is-scrolled {
	background: rgba(5, 8, 20, 0.92);
	border-bottom-color: var(--border);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	color: var(--white);
	min-width: 0;
}

.site-brand:hover {
	color: var(--white);
}

.brand-mark {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--navy-900);
	background: linear-gradient(145deg, var(--gold-bright), var(--gold) 55%, #a88935);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), var(--shadow-gold);
	flex-shrink: 0;
}

body[dir="rtl"] .brand-mark {
	font-family: var(--font-fa);
	font-size: 0.72rem;
}

.brand-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.brand-name {
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body[dir="ltr"] .brand-name {
	font-family: var(--font-display-en);
	font-size: 1.15rem;
	font-weight: 600;
}

.brand-tag {
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 500;
}

body[dir="rtl"] .brand-tag {
	letter-spacing: 0.04em;
	text-transform: none;
}

.main-nav {
	display: flex;
	align-items: center;
}

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

.nav-menu a {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.9rem;
	color: var(--ink-soft);
	font-size: var(--fs-sm);
	font-weight: 500;
	border-radius: 999px;
	position: relative;
	transition: color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
	color: var(--white);
	background: rgba(255, 255, 255, 0.04);
}

.nav-menu .current-menu-item > a {
	color: var(--gold-bright);
}

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

.lang-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
	padding: 0.2rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.02);
}

.lang-switcher li {
	list-style: none;
	margin: 0;
}

.lang-switcher ul {
	display: flex;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lang-switcher a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 50%;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--muted);
}

.lang-switcher .current-lang a,
.lang-switcher a.active,
.lang-switcher .lang-item.current-lang > a {
	background: var(--gold-dim);
	color: var(--gold-bright);
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--white);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.menu-toggle .material-icons {
	font-size: 22px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.9rem 1.45rem;
	border-radius: 999px;
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1;
	border: 1px solid transparent;
	cursor: pointer;
	transition:
		transform var(--dur) var(--ease-out),
		background var(--dur) var(--ease-soft),
		border-color var(--dur) var(--ease-soft),
		color var(--dur) var(--ease-soft),
		box-shadow var(--dur) var(--ease-soft);
	text-decoration: none;
	white-space: nowrap;
}

.btn .material-icons {
	font-size: 18px;
	transition: transform var(--dur) var(--ease-out);
}

.btn-primary {
	background: linear-gradient(145deg, var(--gold-bright), var(--gold));
	color: var(--navy-950);
	box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
	color: var(--navy-950);
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(201, 168, 76, 0.22);
}

.btn-secondary {
	background: transparent;
	color: var(--white);
	border-color: var(--gold-line);
}

.btn-secondary:hover {
	color: var(--gold-bright);
	background: var(--gold-dim);
	transform: translateY(-2px);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.03);
	color: var(--ink-soft);
	border-color: var(--border);
}

.btn-ghost:hover {
	color: var(--white);
	border-color: var(--border-strong);
	background: rgba(255, 255, 255, 0.06);
}

body[dir="ltr"] .btn-primary:hover .material-icons.arrow,
body[dir="ltr"] .btn-secondary:hover .material-icons.arrow {
	transform: translateX(3px);
}

body[dir="rtl"] .btn-primary:hover .material-icons.arrow,
body[dir="rtl"] .btn-secondary:hover .material-icons.arrow {
	transform: translateX(-3px);
}

.btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
}

/* =========================================================
   CARDS & SURFACES
   ========================================================= */
.surface-card {
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(1.4rem, 2.5vw, 1.9rem);
	transition:
		transform var(--dur) var(--ease-out),
		border-color var(--dur) var(--ease-soft),
		background var(--dur) var(--ease-soft),
		box-shadow var(--dur) var(--ease-soft);
}

.surface-card:hover {
	transform: translateY(-4px);
	border-color: rgba(201, 168, 76, 0.28);
	box-shadow: var(--shadow-md);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.hairline {
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
	border: 0;
	margin: 0;
}

body[dir="rtl"] .hairline {
	background: linear-gradient(270deg, transparent, var(--gold-line), transparent);
}

.gold-rule {
	width: 48px;
	height: 1px;
	background: linear-gradient(90deg, var(--gold), transparent);
	margin: 1.25rem 0;
}

body[dir="rtl"] .gold-rule {
	background: linear-gradient(270deg, var(--gold), transparent);
}

/* =========================================================
   HERO (HOME)
   ========================================================= */
.hero {
	position: relative;
	min-height: calc(100vh - var(--header-h));
	display: flex;
	align-items: center;
	padding-block: clamp(3rem, 8vh, 6rem);
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
	opacity: 0.55;
}

.hero__orb--1 {
	width: 420px;
	height: 420px;
	top: -80px;
	inset-inline-end: -60px;
	background: radial-gradient(circle, rgba(45, 184, 168, 0.18), transparent 70%);
}

.hero__orb--2 {
	width: 360px;
	height: 360px;
	bottom: 5%;
	inset-inline-start: -80px;
	background: radial-gradient(circle, rgba(201, 168, 76, 0.12), transparent 70%);
}

.hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
	opacity: 0.5;
}

.hero__frame {
	position: absolute;
	inset: 8% 6%;
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 32px;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 1.4rem;
	padding: 0.4rem 0.85rem 0.4rem 0.45rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--ink-soft);
	font-size: var(--fs-xs);
	font-weight: 600;
}

body[dir="rtl"] .hero__eyebrow {
	padding: 0.4rem 0.45rem 0.4rem 0.85rem;
}

.hero__eyebrow-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--turquoise);
	box-shadow: 0 0 0 4px var(--turquoise-dim);
}

.hero__title {
	font-size: var(--fs-hero);
	line-height: var(--lh-tight);
	margin-bottom: 0.75rem;
	max-width: 12ch;
}

body[dir="ltr"] .hero__title {
	max-width: 14ch;
}

.hero__title-accent {
	display: block;
	background: linear-gradient(120deg, var(--gold-bright) 10%, var(--gold) 45%, var(--turquoise-soft) 120%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__role {
	font-size: var(--fs-lg);
	color: var(--turquoise-soft);
	font-weight: 500;
	margin-bottom: 1.35rem;
	letter-spacing: 0.01em;
}

body[dir="ltr"] .hero__role {
	font-family: var(--font-display-en);
	font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
	font-weight: 500;
}

.hero__lead {
	font-size: var(--fs-md);
	max-width: 36rem;
	margin-bottom: 2rem;
	color: var(--text-body);
	line-height: var(--lh-relaxed);
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 2rem;
}

.meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	color: var(--silver);
	font-size: var(--fs-xs);
	font-weight: 500;
}

.meta-chip .material-icons {
	font-size: 15px;
	color: var(--gold);
}

/* Portrait panel */
.hero-portrait {
	position: relative;
	margin-inline: auto;
	width: min(100%, 420px);
}

.hero-portrait__plate {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 28px;
	overflow: hidden;
	background:
		linear-gradient(160deg, rgba(45, 184, 168, 0.08), transparent 40%),
		linear-gradient(340deg, rgba(201, 168, 76, 0.1), transparent 45%),
		linear-gradient(180deg, var(--navy-700), var(--navy-950));
	border: 1px solid var(--border-strong);
	box-shadow: var(--shadow-md);
	display: grid;
	place-items: center;
}

.hero-portrait__plate::before {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(201, 168, 76, 0.22);
	border-radius: 20px;
	pointer-events: none;
}

.hero-portrait__plate::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 40%),
		linear-gradient(180deg, transparent 55%, rgba(5, 8, 20, 0.55));
	pointer-events: none;
}

.hero-portrait__monogram {
	position: relative;
	z-index: 1;
	font-size: clamp(4.5rem, 10vw, 6.5rem);
	font-weight: 500;
	line-height: 1;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

body[dir="ltr"] .hero-portrait__monogram {
	font-family: var(--font-display-en);
}

body[dir="rtl"] .hero-portrait__monogram {
	font-family: var(--font-fa);
	font-weight: 700;
}

.hero-portrait__caption {
	position: absolute;
	inset-inline: 1.5rem;
	bottom: 1.5rem;
	z-index: 2;
	padding: 0.9rem 1rem;
	border-radius: 14px;
	background: rgba(5, 8, 20, 0.72);
	backdrop-filter: blur(12px);
	border: 1px solid var(--border);
}

.hero-portrait__caption strong {
	display: block;
	font-size: var(--fs-sm);
	color: var(--white);
	margin-bottom: 0.15rem;
}

.hero-portrait__caption span {
	font-size: var(--fs-xs);
	color: var(--muted);
}

.hero-portrait__ring {
	position: absolute;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 1px dashed rgba(201, 168, 76, 0.35);
	top: -24px;
	inset-inline-end: -24px;
	animation: spin-slow 28s linear infinite;
}

.hero-portrait__accent {
	position: absolute;
	width: 84px;
	height: 84px;
	border-radius: 22px;
	border: 1px solid var(--turquoise-line);
	bottom: 18%;
	inset-inline-start: -18px;
	background: rgba(45, 184, 168, 0.05);
}

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats-strip {
	padding-block: 0;
	margin-top: -2rem;
	position: relative;
	z-index: 2;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.stat-item {
	background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
	padding: clamp(1.4rem, 3vw, 2rem) 1.25rem;
	text-align: center;
}

.stat-value {
	display: block;
	font-size: var(--fs-xl);
	font-weight: 700;
	color: var(--gold-bright);
	margin-bottom: 0.35rem;
	line-height: 1.1;
}

body[dir="ltr"] .stat-value {
	font-family: var(--font-display-en);
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
	font-weight: 500;
}

.stat-label {
	font-size: var(--fs-xs);
	color: var(--muted);
	line-height: 1.45;
}

/* =========================================================
   FOCUS / EXPERTISE
   ========================================================= */
.focus-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.focus-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	margin-bottom: 1.2rem;
	background: var(--gold-dim);
	border: 1px solid var(--gold-line);
	color: var(--gold-bright);
}

.focus-card__icon .material-icons {
	font-size: 22px;
}

.focus-card h3 {
	font-size: var(--fs-lg);
	margin-bottom: 0.65rem;
}

.focus-card p {
	font-size: var(--fs-sm);
	color: var(--text-muted);
	margin: 0;
	line-height: var(--lh-relaxed);
}

/* =========================================================
   ABOUT PREVIEW (HOME)
   ========================================================= */
.about-preview {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.about-preview__visual {
	position: relative;
}

.about-preview__panel {
	border-radius: var(--radius-xl);
	border: 1px solid var(--border);
	background:
		linear-gradient(145deg, rgba(45, 184, 168, 0.08), transparent 40%),
		linear-gradient(180deg, var(--navy-800), var(--navy-950));
	min-height: 420px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	position: relative;
}

.about-preview__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 80% 15%, rgba(201, 168, 76, 0.12), transparent 35%),
		linear-gradient(180deg, transparent, rgba(5, 8, 20, 0.4));
}

.about-preview__quote {
	position: relative;
	z-index: 1;
	font-size: var(--fs-lg);
	line-height: var(--lh-snug);
	color: var(--white);
	max-width: 22ch;
}

body[dir="ltr"] .about-preview__quote {
	font-family: var(--font-display-en);
	font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
	font-weight: 500;
	max-width: 18ch;
}

.about-preview__quote cite {
	display: block;
	margin-top: 1rem;
	font-size: var(--fs-xs);
	font-style: normal;
	color: var(--gold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-family: var(--font-en);
}

body[dir="rtl"] .about-preview__quote cite {
	letter-spacing: 0.03em;
	text-transform: none;
	font-family: var(--font-fa);
}

.about-preview__body .section-title {
	margin-bottom: 1rem;
}

.about-preview__body p {
	margin-bottom: 1rem;
}

/* =========================================================
   ACHIEVEMENTS STRIP
   ========================================================= */
.achieve-list {
	display: grid;
	gap: 1rem;
}

.achieve-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1.25rem;
	align-items: center;
	padding: 1.25rem 1.4rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	transition: border-color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}

.achieve-item:hover {
	border-color: rgba(45, 184, 168, 0.3);
	background: rgba(45, 184, 168, 0.04);
}

.achieve-year {
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--gold);
	min-width: 4.5rem;
}

.achieve-item h3 {
	font-size: var(--fs-md);
	margin: 0 0 0.25rem;
}

.achieve-item p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}

.achieve-badge {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--turquoise-dim);
	color: var(--turquoise-soft);
	border: 1px solid var(--turquoise-line);
}

.achieve-badge .material-icons {
	font-size: 18px;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-xl);
	border: 1px solid var(--border);
	background:
		radial-gradient(600px 240px at 0% 0%, rgba(201, 168, 76, 0.12), transparent 55%),
		radial-gradient(500px 220px at 100% 100%, rgba(45, 184, 168, 0.1), transparent 50%),
		linear-gradient(145deg, var(--navy-800), var(--navy-950));
	padding: clamp(2.5rem, 5vw, 4rem);
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 2rem;
	align-items: center;
}

.cta-band h2 {
	font-size: var(--fs-xl);
	margin-bottom: 0.75rem;
}

.cta-band p {
	margin: 0;
	max-width: 36rem;
	color: var(--text-muted);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: flex-end;
}

body[dir="rtl"] .cta-band__actions {
	justify-content: flex-start;
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
	position: relative;
	padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
	overflow: hidden;
	border-bottom: 1px solid var(--border);
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(700px 280px at 80% 0%, rgba(45, 184, 168, 0.08), transparent 60%),
		radial-gradient(500px 220px at 0% 100%, rgba(201, 168, 76, 0.07), transparent 55%);
	pointer-events: none;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 46rem;
}

.page-hero__breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--fs-xs);
	color: var(--muted);
	margin-bottom: 1.1rem;
}

.page-hero__breadcrumb a {
	color: var(--silver);
}

.page-hero__breadcrumb a:hover {
	color: var(--gold);
}

.page-hero__title {
	font-size: var(--fs-3xl);
	margin-bottom: 0.85rem;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

.page-hero__subtitle {
	font-size: var(--fs-md);
	color: var(--text-muted);
	line-height: var(--lh-relaxed);
	margin: 0;
	max-width: 38rem;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-layout {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.about-portrait {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
}

.about-portrait__frame {
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid var(--border);
	background:
		linear-gradient(160deg, rgba(201, 168, 76, 0.1), transparent 40%),
		linear-gradient(200deg, var(--navy-700), var(--navy-950));
	aspect-ratio: 4 / 5;
	display: grid;
	place-items: center;
	position: relative;
	box-shadow: var(--shadow-md);
}

.about-portrait__frame::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: calc(var(--radius-xl) - 8px);
}

.about-portrait__mono {
	font-size: clamp(4rem, 8vw, 5.5rem);
	color: rgba(255, 255, 255, 0.88);
	position: relative;
	z-index: 1;
}

body[dir="ltr"] .about-portrait__mono {
	font-family: var(--font-display-en);
	font-weight: 500;
}

body[dir="rtl"] .about-portrait__mono {
	font-family: var(--font-fa);
	font-weight: 700;
}

.about-portrait__meta {
	margin-top: 1.25rem;
	padding: 1.15rem 1.25rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
}

.about-portrait__meta h3 {
	font-size: var(--fs-md);
	margin-bottom: 0.35rem;
}

.about-portrait__meta p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--muted);
}

.about-prose {
	font-size: var(--fs-md);
	line-height: var(--lh-relaxed);
}

.about-prose h2 {
	font-size: var(--fs-xl);
	margin: 2.25rem 0 0.9rem;
	color: var(--white);
}

.about-prose h3 {
	font-size: var(--fs-lg);
	margin: 1.75rem 0 0.7rem;
	color: var(--gold-bright);
}

.about-prose p {
	margin-bottom: 1.15rem;
}

.about-prose strong {
	color: var(--white);
	font-weight: 600;
}

.values-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-top: 2.5rem;
}

.value-card {
	padding: 1.35rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
}

.value-card .material-icons {
	color: var(--turquoise);
	margin-bottom: 0.75rem;
	font-size: 22px;
}

.value-card h3 {
	font-size: var(--fs-md);
	margin-bottom: 0.45rem;
}

.value-card p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}

/* =========================================================
   RESUME / TIMELINE
   ========================================================= */
.resume-intro {
	max-width: 40rem;
	margin-bottom: 1rem;
}

.resume-section + .resume-section {
	border-top: 1px solid var(--border);
}

.timeline {
	position: relative;
	max-width: 860px;
	margin-inline: auto;
	padding-block: 0.5rem;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: linear-gradient(180deg, transparent, var(--gold-line), var(--turquoise-line), transparent);
	transform: translateX(-50%);
}

.timeline-item {
	position: relative;
	width: 50%;
	padding-bottom: 2.25rem;
}

/* LTR: odd left, even right */
body[dir="ltr"] .timeline-item:nth-child(odd) {
	padding-inline-end: 2.5rem;
	text-align: end;
}

body[dir="ltr"] .timeline-item:nth-child(even) {
	margin-inline-start: 50%;
	padding-inline-start: 2.5rem;
	text-align: start;
}

/* RTL: odd right, even left (mirrored reading flow) */
body[dir="rtl"] .timeline-item:nth-child(odd) {
	margin-inline-start: 50%;
	padding-inline-start: 2.5rem;
	text-align: start;
}

body[dir="rtl"] .timeline-item:nth-child(even) {
	padding-inline-end: 2.5rem;
	text-align: end;
}

.timeline-dot {
	position: absolute;
	top: 1.35rem;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--gold);
	border: 3px solid var(--navy-900);
	box-shadow: 0 0 0 1px var(--gold-line), 0 0 16px rgba(201, 168, 76, 0.35);
	z-index: 2;
}

body[dir="ltr"] .timeline-item:nth-child(odd) .timeline-dot {
	inset-inline-end: -6.5px;
}

body[dir="ltr"] .timeline-item:nth-child(even) .timeline-dot {
	inset-inline-start: -6.5px;
}

body[dir="rtl"] .timeline-item:nth-child(odd) .timeline-dot {
	inset-inline-start: -6.5px;
}

body[dir="rtl"] .timeline-item:nth-child(even) .timeline-dot {
	inset-inline-end: -6.5px;
}

.timeline-card {
	padding: 1.35rem 1.4rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
	box-shadow: var(--shadow-sm);
	transition: border-color var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out);
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.timeline-card:hover {
	border-color: rgba(201, 168, 76, 0.3);
	transform: translateY(-2px);
}

.timeline-year {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--turquoise-soft);
	letter-spacing: 0.04em;
	margin-bottom: 0.55rem;
}

.timeline-title {
	font-size: var(--fs-md);
	margin: 0 0 0.35rem;
	color: var(--white);
}

.timeline-org {
	font-size: var(--fs-sm);
	color: var(--gold);
	margin-bottom: 0.65rem;
	font-weight: 500;
}

.timeline-card p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--text-muted);
	line-height: var(--lh-relaxed);
}

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

.honor-card {
	text-align: start;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.honor-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	margin-bottom: 1.15rem;
	background: linear-gradient(145deg, rgba(201, 168, 76, 0.16), rgba(45, 184, 168, 0.08));
	border: 1px solid var(--gold-line);
	color: var(--gold-bright);
}

.honor-card__icon .material-icons {
	font-size: 24px;
}

.honor-card__year {
	font-size: var(--fs-xs);
	color: var(--turquoise);
	font-weight: 700;
	margin-bottom: 0.45rem;
	letter-spacing: 0.04em;
}

.honor-card h3 {
	font-size: var(--fs-md);
	margin-bottom: 0.55rem;
}

.honor-card p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--text-muted);
	line-height: var(--lh-relaxed);
	flex: 1;
}

/* Education / skills */
.edu-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.edu-card h3 {
	font-size: var(--fs-md);
	margin-bottom: 0.35rem;
}

.edu-card .edu-degree {
	color: var(--gold);
	font-size: var(--fs-sm);
	font-weight: 600;
	margin-bottom: 0.55rem;
}

.edu-card .edu-years {
	font-size: var(--fs-xs);
	color: var(--turquoise);
	font-weight: 700;
	margin-bottom: 0.65rem;
}

.edu-card p {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}

.skills-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.skill-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.025);
	color: var(--ink-soft);
	font-size: var(--fs-sm);
	font-weight: 500;
	transition: border-color var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}

.skill-chip:hover {
	border-color: var(--turquoise-line);
	color: var(--white);
	background: var(--turquoise-dim);
}

.pubs-list {
	display: grid;
	gap: 0.9rem;
}

.pub-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	padding: 1.15rem 1.25rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
}

.pub-index {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--navy-950);
	background: linear-gradient(145deg, var(--gold-bright), var(--gold));
}

.pub-item h3 {
	font-size: var(--fs-sm);
	margin: 0 0 0.3rem;
	line-height: var(--lh-snug);
}

.pub-item p {
	margin: 0;
	font-size: var(--fs-xs);
	color: var(--muted);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
	margin-top: clamp(3rem, 6vw, 5rem);
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(5, 8, 20, 0), rgba(5, 8, 20, 0.85));
	padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.75rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.footer-brand .brand-name {
	font-size: 1.15rem;
	margin-bottom: 0.65rem;
	color: var(--white);
}

body[dir="ltr"] .footer-brand .brand-name {
	font-family: var(--font-display-en);
	font-size: 1.35rem;
}

.footer-brand p {
	font-size: var(--fs-sm);
	color: var(--muted);
	max-width: 28rem;
	margin: 0;
}

.footer-col h4 {
	font-size: var(--fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1rem;
	font-weight: 700;
}

body[dir="rtl"] .footer-col h4 {
	letter-spacing: 0.04em;
	text-transform: none;
}

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

.footer-links a {
	color: var(--silver);
	font-size: var(--fs-sm);
}

.footer-links a:hover {
	color: var(--white);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 1.35rem;
	border-top: 1px solid var(--border);
	font-size: var(--fs-xs);
	color: var(--muted);
}

/* =========================================================
   RTL / LTR SCROLL REVEAL ANIMATIONS
   Critical: FA reveals from right → left, EN from left → right
   ========================================================= */
[data-reveal] {
	opacity: 0;
	will-change: opacity, transform;
	transition:
		opacity var(--dur-reveal) var(--ease-out),
		transform var(--dur-reveal) var(--ease-out);
	transition-delay: var(--reveal-delay, 0ms);
}

/* Default: rise */
[data-reveal="up"],
[data-reveal] {
	transform: translate3d(0, 28px, 0);
}

/* Horizontal — direction-aware */
body[dir="ltr"] [data-reveal="x"],
body[dir="ltr"] [data-reveal="start"] {
	transform: translate3d(-40px, 0, 0);
}

body[dir="rtl"] [data-reveal="x"],
body[dir="rtl"] [data-reveal="start"] {
	transform: translate3d(40px, 0, 0);
}

body[dir="ltr"] [data-reveal="end"] {
	transform: translate3d(40px, 0, 0);
}

body[dir="rtl"] [data-reveal="end"] {
	transform: translate3d(-40px, 0, 0);
}

/* Scale soft */
[data-reveal="scale"] {
	transform: translate3d(0, 16px, 0) scale(0.96);
}

/* Visible state */
body[dir] [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

/* Stagger helpers */
[data-reveal-delay="1"] { --reveal-delay: 80ms; }
[data-reveal-delay="2"] { --reveal-delay: 160ms; }
[data-reveal-delay="3"] { --reveal-delay: 240ms; }
[data-reveal-delay="4"] { --reveal-delay: 320ms; }
[data-reveal-delay="5"] { --reveal-delay: 400ms; }
[data-reveal-delay="6"] { --reveal-delay: 480ms; }

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

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

	.hero-portrait__ring {
		animation: none;
	}

	.btn,
	.surface-card,
	.timeline-card {
		transition: none !important;
	}
}

@keyframes spin-slow {
	to {
		transform: rotate(360deg);
	}
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- Prevent global horizontal overflow (all viewports) ---- */
html {
	overflow-x: hidden;
	width: 100%;
}

body {
	max-width: 100vw;
	overflow-x: hidden;
}

img, video, iframe {
	max-width: 100%;
	height: auto;
}

iframe {
	aspect-ratio: 16/9;
	width: 100%;
}

/* ---- 1280px (Small desktop / large tablet) ---- */
@media (max-width: 1280px) {
	.hero__inner {
		gap: clamp(1.5rem, 3vw, 3rem);
	}
}

/* ---- 1024px (Tablet / Mobile nav) ---- */
@media (max-width: 1024px) {
	:root {
		--header-h: auto;
		--section-y: clamp(3.5rem, 6vw, 5rem);
	}

	/* Header → mobile layout */
	.site-header {
		height: auto;
		padding: 0.75rem 0;
	}

	.header-inner {
		flex-wrap: wrap;
		gap: 0.6rem 0.75rem;
	}

	.site-brand {
		order: 1;
		flex: 1 1 auto;
		min-width: 0;
	}

	.menu-toggle {
		display: inline-flex;
		order: 2;
		margin-inline-start: auto;
	}

	.header-actions {
		order: 3;
	}

	.main-nav {
		display: none;
		width: 100%;
		order: 4;
		flex-basis: 100%;
		background: var(--bg-elevated);
		border: 1px solid var(--border);
		border-radius: var(--radius);
		box-shadow: var(--shadow-sm);
		padding: 0.6rem;
		margin-top: 0.4rem;
	}

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

	.nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0.3rem;
		padding: 0;
	}

	.nav-menu li {
		width: 100%;
	}

	.nav-menu a {
		display: flex;
		width: 100%;
		justify-content: flex-start;
		padding: 0.8rem 1rem;
		border-radius: var(--radius-sm);
		font-size: var(--fs-md);
		background: rgba(255, 255, 255, 0.02);
	}

	.nav-menu a:hover,
	.nav-menu .current-menu-item > a {
		background: rgba(255, 255, 255, 0.06);
	}

	/* Brand text may need to shrink on tablets */
	.brand-name {
		font-size: 0.92rem;
	}

	body[dir="ltr"] .brand-name {
		font-size: 1.05rem;
	}

	.brand-tag {
		font-size: 0.62rem;
	}

	/* Grids → 2-col or 1-col */
	.hero__inner,
	.about-preview,
	.about-layout,
	.cta-band {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.hero__title {
		max-width: none;
	}

	.hero__content {
		text-align: start;
	}

	body[dir="ltr"] .hero__content {
		text-align: left;
	}

	.hero-portrait {
		width: min(100%, 320px);
		margin-inline: auto;
	}

	.about-portrait {
		position: static;
		max-width: 280px;
		margin-inline: auto;
	}

	.focus-grid,
	.honors-grid,
	.edu-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

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

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
	}

	.cta-band__actions {
		justify-content: flex-start;
	}

	.blog-grid,
	.video-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}

	/* Page hero */
	.page-hero {
		padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.75rem, 4vw, 2.5rem);
	}

	.page-hero__inner {
		max-width: none;
	}
}

/* ---- 768px (Mobile) ---- */
@media (max-width: 768px) {
	:root {
		--section-y: clamp(2.5rem, 6vw, 3.5rem);
		--gutter: clamp(1rem, 4vw, 1.5rem);
	}

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

	.section-header {
		margin-bottom: 2rem;
	}

	/* Hero */
	.hero {
		min-height: auto;
		padding-block: 2rem 1.25rem;
		text-align: center;
	}

	.hero__eyebrow,
	.hero__title,
	.hero__lead,
	.hero__role {
		margin-inline: auto;
	}

	.hero__eyebrow {
		margin-bottom: 0.85rem;
	}

	.hero__title {
		font-size: var(--fs-2xl);
		margin-bottom: 0.5rem;
	}

	.hero__role {
		margin-bottom: 0.85rem;
	}

	.hero__lead {
		margin-bottom: 1.25rem;
		max-width: 100%;
	}

	.hero__content {
		text-align: center;
	}

	.hero__meta {
		justify-content: center;
		margin-top: 1.25rem;
	}

	.btn-group {
		justify-content: center;
	}

	.hero-portrait {
		width: min(100%, 240px);
		margin-bottom: 2rem;
	}

	.stats-strip {
		margin-top: 0;
	}

	/* Hide decorative hero orbs that cause overflow */
	.hero__orb--1,
	.hero__orb--2,
	.hero__frame {
		display: none;
	}

	.hero-portrait__ring,
	.hero-portrait__accent {
		display: none;
	}

	/* All major grids → single column */
	.hero__inner,
	.focus-grid,
	.honors-grid,
	.edu-grid,
	.values-grid,
	.stats-grid,
	.footer-grid,
	.blog-grid,
	.video-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.values-grid {
		gap: 0.85rem;
	}

	.stats-grid {
		gap: 1px;
	}

	.cta-band {
		grid-template-columns: 1fr;
		text-align: center;
		padding: clamp(1.75rem, 5vw, 2.5rem);
	}

	.cta-band p {
		max-width: 100%;
	}

	.cta-band__actions {
		justify-content: center;
	}

	/* Achieve items */
	.achieve-item {
		grid-template-columns: 1fr;
		gap: 0.6rem;
		padding: 1rem;
		text-align: center;
	}

	.achieve-year {
		min-width: 0;
	}

	.achieve-badge {
		display: none;
	}

	/* About */
	.about-portrait {
		max-width: 240px;
	}

	.about-portrait__meta {
		padding: 0.9rem 1rem;
	}

	/* Timeline: single rail */
	.timeline {
		max-width: 100%;
		padding-block: 0.25rem;
	}

	.timeline::before {
		left: 11px;
		transform: none;
	}

	body[dir="rtl"] .timeline::before {
		left: auto;
		right: 11px;
	}

	.timeline-item,
	body[dir="ltr"] .timeline-item:nth-child(odd),
	body[dir="ltr"] .timeline-item:nth-child(even),
	body[dir="rtl"] .timeline-item:nth-child(odd),
	body[dir="rtl"] .timeline-item:nth-child(even) {
		width: 100%;
		margin-inline-start: 0;
		padding-inline-start: 2.25rem;
		padding-inline-end: 0;
		text-align: start;
	}

	.timeline-dot,
	body[dir="ltr"] .timeline-item:nth-child(odd) .timeline-dot,
	body[dir="ltr"] .timeline-item:nth-child(even) .timeline-dot,
	body[dir="rtl"] .timeline-item:nth-child(odd) .timeline-dot,
	body[dir="rtl"] .timeline-item:nth-child(even) .timeline-dot {
		inset-inline-start: 4px;
		inset-inline-end: auto;
	}

	.timeline-card {
		padding: 1.1rem 1.15rem;
	}

	/* Footer */
	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 0.5rem;
	}

	.site-footer {
		text-align: center;
	}

	.footer-links {
		align-items: center;
		justify-items: center;
	}

	.footer-col {
		text-align: center;
	}

	/* Single content readability */
	.single-content p {
		font-size: 1.05rem;
	}

	body[dir="rtl"] .single-content p {
		line-height: 2;
	}

	/* Page hero */
	.page-hero {
		padding: 2.5rem 0 1.5rem;
	}

	.page-hero__title {
		font-size: var(--fs-2xl);
	}

	/* Section title */
	.section-title {
		font-size: var(--fs-xl);
	}

	/* Cards / surfaces */
	.surface-card {
		padding: 1.25rem;
	}

	/* FAQ */
	.faq-question {
		padding: 1.1rem 1.1rem;
		font-size: var(--fs-sm);
	}

	.faq-answer__inner {
		padding: 0 1.1rem 1.1rem;
	}

	/* About prose headings */
	.about-prose h2 {
		font-size: var(--fs-lg);
		margin: 1.75rem 0 0.7rem;
	}

	.about-prose h3 {
		font-size: var(--fs-md);
		margin: 1.5rem 0 0.55rem;
	}

	/* Article content */
	.article-content h2 {
		font-size: var(--fs-lg);
		margin: 2rem 0 0.75rem;
	}

	.article-content h3 {
		font-size: var(--fs-md);
		margin: 1.5rem 0 0.65rem;
	}

	.article-content pre,
	.article-content code,
	.article-content table {
		max-width: 100%;
		overflow-x: auto;
	}

	.article-content table {
		display: block;
		white-space: nowrap;
	}

	/* Comment children — reduce indent on mobile */
	.comment-item .children {
		padding-inline-start: 1rem;
	}

	/* Article share buttons wrap */
	.article-share {
		padding: 1rem;
		gap: 0.75rem;
	}

	.article-share__buttons {
		gap: 0.4rem;
	}

	.article-share__btn {
		width: 38px;
		height: 38px;
	}

	/* Comment body padding */
	.comment-body {
		padding: 1.1rem;
	}

	.comment-avatar {
		width: 38px;
		height: 38px;
	}

	/* Brand text scaling */
	.brand-name {
		font-size: 0.88rem;
		max-width: 180px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body[dir="ltr"] .brand-name {
		font-size: 1rem;
	}

	.brand-tag {
		display: none;
	}

	/* About preview panel — reduce min-height on mobile */
	.about-preview__panel {
		min-height: 280px;
		padding: 1.5rem;
	}

	.about-preview__quote {
		font-size: var(--fs-md);
	}

	/* Skills wrap */
	.skill-chip {
		font-size: 0.8rem;
		padding: 0.45rem 0.85rem;
	}



	/* Honor card padding */
	.honor-card__icon {
		width: 44px;
		height: 44px;
	}

	.honor-card__icon .material-icons {
		font-size: 20px;
	}
}

/* ---- 640px (Small mobile) ---- */
@media (max-width: 640px) {
	.article-nav {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.comment-form-wrapper {
		grid-template-columns: 1fr;
	}

	.pub-item {
		grid-template-columns: auto 1fr;
		gap: 0.85rem;
		padding: 1rem;
	}

	.stat-value {
		font-size: var(--fs-lg);
	}

	body[dir="ltr"] .stat-value {
		font-size: var(--fs-xl);
	}

	.about-portrait {
		max-width: 220px;
	}

	.hero-portrait {
		width: min(100%, 220px);
	}

	/* Reduce category-filter size */
	.category-filter__btn {
		padding: 0.45rem 0.85rem;
		font-size: 0.78rem;
	}
}

/* ---- 480px (Extra small) ---- */
@media (max-width: 480px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}

	.btn-group {
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
		gap: 0.5rem;
		width: 100%;
	}

	.btn {
		width: auto;
		flex: 1 1 auto;
		min-width: 120px;
		padding: 0.65rem 1rem;
		font-size: 0.825rem;
	}

	/* Hero stacks tighter */
	.hero-portrait {
		width: min(100%, 180px);
	}

	.hero__eyebrow {
		font-size: 0.7rem;
		padding: 0.35rem 0.75rem;
		margin-bottom: 0.65rem;
	}

	.hero__title {
		margin-bottom: 0.35rem;
	}

	.hero__role {
		font-size: var(--fs-md);
		margin-bottom: 0.65rem;
	}

	.hero__lead {
		font-size: var(--fs-base);
		margin-bottom: 1rem;
		max-width: 100%;
	}

	/* Page hero */
	.page-hero {
		padding: 2rem 0 1.25rem;
	}

	/* Section padding tighter */
	.section {
		padding-block: clamp(2rem, 5vw, 2.75rem);
	}

	.section-header {
		margin-bottom: 1.5rem;
	}

	.section-kicker {
		font-size: 0.7rem;
		letter-spacing: 0.12em;
	}

	/* Card padding */
	.surface-card {
		padding: 1.1rem;
		border-radius: var(--radius);
	}

	.about-portrait {
		max-width: 200px;
	}

	.about-portrait__meta {
		padding: 0.85rem 0.9rem;
	}

	/* Timeline */
	.timeline-card {
		padding: 1rem;
	}

	.timeline::before {
		left: 9px;
	}

	body[dir="rtl"] .timeline::before {
		left: auto;
		right: 9px;
	}

	.timeline-item,
	body[dir="ltr"] .timeline-item:nth-child(odd),
	body[dir="ltr"] .timeline-item:nth-child(even),
	body[dir="rtl"] .timeline-item:nth-child(odd),
	body[dir="rtl"] .timeline-item:nth-child(even) {
		padding-inline-start: 2rem;
	}

	.timeline-dot,
	body[dir="ltr"] .timeline-item:nth-child(odd) .timeline-dot,
	body[dir="ltr"] .timeline-item:nth-child(even) .timeline-dot,
	body[dir="rtl"] .timeline-item:nth-child(odd) .timeline-dot,
	body[dir="rtl"] .timeline-item:nth-child(even) .timeline-dot {
		inset-inline-start: 3px;
	}

	/* CTA */
	.cta-band {
		padding: 1.5rem 1.1rem;
		border-radius: var(--radius-lg);
	}

	.cta-band h2 {
		font-size: var(--fs-lg);
	}

	.cta-band p {
		font-size: var(--fs-sm);
	}

	/* Page hero title */
	.page-hero__title {
		font-size: var(--fs-xl);
	}

	.page-hero__subtitle {
		font-size: var(--fs-sm);
	}

	/* Value card */
	.value-card {
		padding: 1.1rem;
	}

	/* Honor card */
	.honor-card__icon {
		width: 40px;
		height: 40px;
		margin-bottom: 0.85rem;
	}

	/* Meta chips */
	.meta-chip {
		font-size: 0.68rem;
		padding: 0.35rem 0.65rem;
	}

	.hero__meta {
		gap: 0.4rem;
	}



	/* Footer */
	.footer-brand p {
		font-size: 0.8rem;
	}

	/* Comment form */
	.comment-form-comment textarea {
		font-size: 0.95rem;
	}

	/* Article content */
	.article-content img,
	.about-prose img {
		height: auto;
		border-radius: var(--radius-sm);
	}

	/* Compact brand on tiny screens */
	.brand-text {
		display: none;
	}

	.header-social {
		display: none;
	}

	.menu-toggle {
		margin-inline-start: 0;
	}

	.hero__title {
		font-size: clamp(1.75rem, 1.4rem + 2vw, 2.25rem);
	}

	.page-hero__title {
		font-size: clamp(1.65rem, 1.3rem + 1.8vw, 2rem);
	}

	/* Reduce big paddings */
	.section {
		padding-block: clamp(2rem, 5vw, 2.75rem);
	}

	.surface-card {
		padding: 1.1rem;
		border-radius: var(--radius);
	}

	.about-portrait {
		max-width: 200px;
	}

	.timeline-card {
		padding: 1rem;
	}

	.cta-band {
		padding: 1.5rem 1.25rem;
		border-radius: var(--radius-lg);
	}

	.cta-band h2 {
		font-size: var(--fs-lg);
	}

	/* Meta chips wrap nicely */
	.hero__meta {
		gap: 0.45rem;
	}

	.meta-chip {
		font-size: 0.7rem;
		padding: 0.4rem 0.7rem;
	}
}

/* ---- 360px (Tiny) ---- */
@media (max-width: 360px) {
	:root {
		--gutter: 0.875rem;
	}

	.menu-toggle {
		width: 38px;
		height: 38px;
	}

	.brand-mark {
		width: 36px;
		height: 36px;
		font-size: 0.7rem;
	}

	body[dir="rtl"] .brand-mark {
		font-size: 0.65rem;
	}

	.hero__title {
		font-size: 1.65rem;
	}

	.about-portrait,
	.hero-portrait {
		max-width: 180px;
		width: 180px;
	}

	.btn {
		padding: 0.75rem 0.9rem;
		font-size: 0.82rem;
	}


	.meta-chip {
		font-size: 0.65rem;
		padding: 0.3rem 0.55rem;
	}

	.hero__meta {
		gap: 0.35rem;
	}

	.section-kicker {
		font-size: 0.65rem;
		letter-spacing: 0.1em;
	}

	.page-hero__title {
		font-size: var(--fs-lg);
	}

	.page-hero {
		padding: 1.75rem 0 1rem;
	}

	.surface-card {
		padding: 0.9rem;
	}

	.timeline-card {
		padding: 0.85rem;
	}
}

/* ---- Touch targets ---- */
@media (hover: none) and (pointer: coarse) {
	a, button, .btn, input, select, textarea {
		min-height: 44px;
	}

	input, textarea {
		font-size: 16px;
		padding: 12px 16px;
	}
}

/* =========================================================
   PAGE LOADER — Cinematic intro
   ========================================================= */
.page-loader {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: var(--navy-950);
	display: grid;
	place-items: center;
	transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}

.page-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.page-loader::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: 72px 72px;
	opacity: 0.4;
}

.page-loader::after {
	content: "";
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent 70%);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.loader__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.loader__monogram {
	font-size: clamp(3.5rem, 8vw, 5.5rem);
	font-weight: 700;
	line-height: 1;
	color: var(--gold);
	text-shadow: 0 0 60px rgba(201, 168, 76, 0.25);
	opacity: 0;
	transform: scale(0.8);
	animation: loaderMonogram 1s 0.2s var(--ease-out) forwards;
}

body[dir="ltr"] .loader__monogram {
	font-family: var(--font-display-en);
	font-weight: 500;
}

body[dir="rtl"] .loader__monogram {
	font-family: var(--font-fa);
}

.loader__line {
	width: 0;
	height: 1px;
	margin-top: 1.8rem;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	animation: loaderLine 0.7s 0.7s var(--ease-out) forwards;
}

@keyframes loaderMonogram {
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes loaderLine {
	to {
		width: 100px;
	}
}

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 2px;
	background: linear-gradient(90deg, var(--gold), var(--turquoise));
	z-index: 10001;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.scroll-progress.is-visible {
	opacity: 1;
}

/* =========================================================
   WORD REVEAL — Hero text stagger animation
   ========================================================= */
.word-reveal__word {
	display: inline-block;
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.65s var(--ease-out),
		transform 0.65s var(--ease-out);
	transition-delay: var(--word-delay, 0ms);
}

.hero__title.is-revealed .word-reveal__word,
.hero__role.is-revealed .word-reveal__word {
	opacity: 1;
	transform: none;
}

/* =========================================================
   STAT COUNTER — Tabular nums for smooth counting
   ========================================================= */
.stat-value[data-counter] {
	font-variant-numeric: tabular-nums;
}

/* =========================================================
   FOCUS CARD — Cursor-following glow
   ========================================================= */
.focus-card {
	position: relative;
	overflow: hidden;
}

.focus-card::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
		rgba(201, 168, 76, 0.06) 0%,
		transparent 50%
	);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
	z-index: 0;
}

.focus-card:hover::before {
	opacity: 1;
}

/* =========================================================
   CARD TILT — Subtle 3D perspective on hover
   ========================================================= */
.surface-card {
	transform-style: preserve-3d;
	will-change: transform;
}

/* =========================================================
   REDUCED MOTION — All new animations
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	.page-loader {
		display: none;
	}

	.scroll-progress {
		display: none;
	}

	.word-reveal__word {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.surface-card {
		transform-style: flat;
	}
}

/* =========================================================
   BLOG / ARTICLES
   ========================================================= */

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

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

@media (max-width: 640px) {
	.blog-grid {
		grid-template-columns: 1fr;
	}
}

/* --- Article Card --- */
.article-card {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
	transition:
		transform var(--dur) var(--ease-out),
		border-color var(--dur) var(--ease-soft),
		box-shadow var(--dur) var(--ease-soft);
}

.article-card:hover {
	transform: translateY(-6px);
	border-color: rgba(201, 168, 76, 0.28);
	box-shadow: var(--shadow-md);
}

.article-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.article-card__link:hover {
	color: inherit;
}

.article-card__image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--navy-800);
	position: relative;
}

.article-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slow) var(--ease-out);
}

.article-card:hover .article-card__img {
	transform: scale(1.05);
}

.article-card__placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}

.article-card__placeholder .material-icons {
	font-size: 40px;
	color: var(--muted);
	opacity: 0.4;
}

.article-card__body {
	padding: clamp(1.1rem, 2vw, 1.5rem);
}

.article-card__meta-top {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
	font-size: var(--fs-xs);
	color: var(--muted);
	flex-wrap: wrap;
}

.article-card__category {
	color: var(--turquoise);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

body[dir="rtl"] .article-card__category {
	text-transform: none;
	letter-spacing: 0;
}

.article-card__dot {
	opacity: 0.4;
}

.article-card__reading {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.article-card__reading .material-icons {
	font-size: 14px;
}

.article-card__title {
	font-size: var(--fs-md);
	margin: 0 0 0.5rem;
	color: var(--white);
	line-height: var(--lh-snug);
	transition: color var(--dur) var(--ease-soft);
}

.article-card:hover .article-card__title {
	color: var(--gold-bright);
}

.article-card__excerpt {
	font-size: var(--fs-sm);
	color: var(--text-muted);
	line-height: var(--lh-relaxed);
	margin: 0 0 0.75rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-card__meta-bottom {
	font-size: var(--fs-xs);
	color: var(--muted);
}

.article-card__date {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

/* --- Category Filter --- */
.category-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
}

.category-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	color: var(--ink-soft);
	font-size: var(--fs-sm);
	font-weight: 500;
	cursor: pointer;
	transition:
		color var(--dur) var(--ease-soft),
		background var(--dur) var(--ease-soft),
		border-color var(--dur) var(--ease-soft);
}

.category-filter__btn:hover {
	color: var(--white);
	border-color: var(--border-strong);
	background: rgba(255, 255, 255, 0.05);
}

.category-filter__btn.is-active {
	color: var(--navy-950);
	background: var(--gold);
	border-color: var(--gold);
	font-weight: 600;
}

.category-filter__count {
	font-size: 0.7em;
	opacity: 0.6;
	min-width: 1.2em;
	text-align: center;
}

/* --- Search Bar --- */
.articles-search {
	max-width: 560px;
	margin-bottom: 1rem;
}

.articles-search__inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.7rem 1.1rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.025);
	transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}

.articles-search__inner:focus-within {
	border-color: var(--turquoise-line);
	box-shadow: 0 0 0 3px var(--turquoise-dim);
}

.articles-search__icon {
	font-size: 20px;
	color: var(--muted);
	flex-shrink: 0;
}

.articles-search__input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	color: var(--white);
	font: inherit;
	font-size: var(--fs-sm);
	min-width: 0;
}

.articles-search__input::placeholder {
	color: var(--muted);
}

.articles-search__spinner {
	width: 18px;
	height: 18px;
	border: 2px solid var(--border);
	border-top-color: var(--turquoise);
	border-radius: 50%;
	animation: spin-slow 0.8s linear infinite;
	flex-shrink: 0;
	opacity: 0;
	transition: opacity var(--dur-fast) ease;
}

.articles-search__spinner.is-active {
	opacity: 1;
}

/* --- Search Results --- */
.articles-search-results__title {
	margin-bottom: 1.5rem;
}

/* --- Empty State --- */
.articles-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: clamp(3rem, 6vw, 5rem) 1rem;
}

.articles-empty__icon {
	font-size: 56px;
	color: var(--muted);
	opacity: 0.3;
	margin-bottom: 1rem;
	display: block;
}

.articles-empty p {
	font-size: var(--fs-md);
	color: var(--muted);
}

/* --- Pagination --- */
.pagination {
	margin-top: clamp(2rem, 4vw, 3.5rem);
	display: flex;
	justify-content: center;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-wrap: wrap;
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	border-radius: 10px;
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--ink-soft);
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid transparent;
	text-decoration: none;
	transition: color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft);
}

.pagination .page-numbers:hover {
	color: var(--white);
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--border);
}

.pagination .page-numbers.current {
	color: var(--navy-950);
	background: var(--gold);
	font-weight: 700;
}

.pagination .prev,
.pagination .next {
	font-size: 0;
}

.pagination .prev .material-icons,
.pagination .next .material-icons {
	font-size: 20px;
}

/* =========================================================
   SINGLE ARTICLE
   ========================================================= */

/* --- Cover Image --- */
.article-cover__frame {
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-md);
}

.article-cover__img {
	width: 100%;
	display: block;
}

/* --- Article Meta --- */
.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	font-size: var(--fs-sm);
	color: var(--muted);
}

.article-meta__date,
.article-meta__reading {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.article-meta__date .material-icons,
.article-meta__reading .material-icons {
	font-size: 16px;
	color: var(--gold);
}

.article-meta__dot {
	opacity: 0.4;
}

.article-meta__category {
	color: var(--turquoise);
	font-weight: 500;
	text-decoration: none;
	transition: color var(--dur) var(--ease-soft);
}

.article-meta__category:hover {
	color: var(--turquoise-soft);
}

/* --- Article Content --- */
.article-content {
	font-size: var(--fs-md);
	line-height: var(--lh-relaxed);
}

.article-content h2 {
	font-size: var(--fs-xl);
	margin: 2.5rem 0 1rem;
	color: var(--white);
}

.article-content h3 {
	font-size: var(--fs-lg);
	margin: 2rem 0 0.85rem;
	color: var(--gold-bright);
}

.article-content p {
	margin-bottom: 1.35rem;
}

.article-content blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-inline-start: 3px solid var(--gold);
	background: rgba(201, 168, 76, 0.05);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
	color: var(--text-body);
}

.article-content img {
	border-radius: var(--radius);
	margin: 1.5rem 0;
}

.article-content ul,
.article-content ol {
	margin: 1rem 0 1.35rem 1.5rem;
	color: var(--text-body);
}

body[dir="rtl"] .article-content ul,
body[dir="rtl"] .article-content ol {
	margin: 1rem 1.5rem 1.35rem 0;
}

.article-content li {
	margin-bottom: 0.4rem;
}

.article-content a {
	color: var(--turquoise);
	text-decoration: underline;
	text-decoration-color: var(--turquoise-line);
	text-underline-offset: 3px;
	transition: color var(--dur) var(--ease-soft), text-decoration-color var(--dur) var(--ease-soft);
}

.article-content a:hover {
	color: var(--turquoise-soft);
	text-decoration-color: var(--turquoise-soft);
}

.article-content code {
	font-size: 0.88em;
	padding: 0.15em 0.4em;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--turquoise-soft);
}

.article-content pre {
	margin: 1.5rem 0;
	padding: 1.25rem;
	border-radius: var(--radius);
	background: var(--navy-950);
	border: 1px solid var(--border);
	overflow-x: auto;
	font-size: var(--fs-sm);
	line-height: 1.6;
}

.article-content pre code {
	padding: 0;
	background: none;
	color: var(--ink-soft);
}

/* --- Share Buttons --- */
.article-share {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	flex-wrap: wrap;
}

.article-share__label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--text-muted);
	flex-shrink: 0;
}

.article-share__label .material-icons {
	font-size: 18px;
	color: var(--gold);
}

.article-share__buttons {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.article-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	color: var(--ink-soft);
	cursor: pointer;
	text-decoration: none;
	transition: color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft), border-color var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out);
}

.article-share__btn:hover {
	transform: translateY(-2px);
	color: var(--white);
	border-color: var(--border-strong);
	background: rgba(255, 255, 255, 0.06);
}

.article-share__btn--telegram:hover { color: #0088cc; border-color: rgba(0, 136, 204, 0.4); background: rgba(0, 136, 204, 0.1); }
.article-share__btn--whatsapp:hover { color: #25d366; border-color: rgba(37, 211, 102, 0.4); background: rgba(37, 211, 102, 0.1); }
.article-share__btn--linkedin:hover { color: #0a66c2; border-color: rgba(10, 102, 194, 0.4); background: rgba(10, 102, 194, 0.1); }
.article-share__btn--twitter:hover { color: #1da1f2; border-color: rgba(29, 161, 242, 0.4); background: rgba(29, 161, 242, 0.1); }

.article-share__btn--copy.is-copied {
	color: var(--turquoise);
	border-color: var(--turquoise-line);
	background: var(--turquoise-dim);
}

/* --- Article Navigation (prev/next) --- */
.article-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.article-nav__link {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	text-decoration: none;
	color: inherit;
	transition: border-color var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}

.article-nav__link:hover {
	border-color: rgba(201, 168, 76, 0.28);
	background: rgba(255, 255, 255, 0.04);
	color: inherit;
}

.article-nav__link--next {
	text-align: end;
	align-items: flex-end;
}

.article-nav__link .material-icons {
	font-size: 20px;
	color: var(--gold);
}

.article-nav__label {
	font-size: var(--fs-xs);
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
}

body[dir="rtl"] .article-nav__label {
	text-transform: none;
	letter-spacing: 0;
}

.article-nav__title {
	font-size: var(--fs-sm);
	color: var(--white);
	font-weight: 500;
	line-height: var(--lh-snug);
}

@media (max-width: 640px) {
	.article-nav {
		grid-template-columns: 1fr;
	}

	.article-nav__link--next {
		text-align: start;
		align-items: flex-start;
	}
}

/* =========================================================
   COMMENTS & DISCUSSIONS SECTION (Issue #6)
   ========================================================= */
.article-comments {
	padding-top: 2rem;
}

.comments-title {
	font-size: var(--fs-lg);
	font-weight: 600;
	color: var(--white);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid var(--border);
	padding-bottom: 1rem;
}

body[dir="rtl"] .comments-title {
	font-family: var(--font-fa);
}

.comments-title span.material-icons {
	color: var(--turquoise);
}

/* Comment List */
.comment-list {
	padding: 0;
	margin: 0 0 3.5rem 0;
	list-style: none;
}

.comment-item {
	margin-bottom: 2rem;
}

.comment-item .children {
	list-style: none;
	margin-top: 1.5rem;
	padding-left: 2.5rem;
	border-left: 1px solid var(--border);
}

body[dir="rtl"] .comment-item .children {
	padding-left: 0;
	padding-right: 2.5rem;
	border-left: none;
	border-right: 1px solid var(--border);
}

.comment-body {
	position: relative;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}

.comment-body:hover {
	border-color: var(--border-strong);
	box-shadow: var(--shadow-sm);
}

/* Author Highlight */
.comment-item.is-post-author > .comment-body {
	border-color: var(--gold-line);
	background: linear-gradient(180deg, var(--navy-850), rgba(201, 168, 76, 0.015));
}

.author-badge {
	font-size: 10px;
	font-weight: 700;
	background: var(--gold-dim);
	color: var(--gold-bright);
	border: 1px solid var(--gold-line);
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	margin-left: 0.5rem;
}

body[dir="rtl"] .author-badge {
	margin-left: 0;
	margin-right: 0.5rem;
}

/* Auto-direction script fallbacks */
.comment-body[dir="rtl"] {
	text-align: right;
}

.comment-body[dir="ltr"] {
	text-align: left;
}

/* Comment Header Meta */
.comment-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.comment-author-avatar {
	flex-shrink: 0;
}

.avatar-wrap {
	position: relative;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--navy-700);
	border: 2px solid var(--border-strong);
}

.avatar-wrap img {
	border-radius: 50%;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.avatar-fallback {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
	color: var(--turquoise);
	font-weight: 800;
	user-select: none;
}

.avatar-wrap.show-fallback {
	border-color: var(--turquoise-line);
}

.comment-item.is-post-author .avatar-fallback {
	color: var(--gold-bright);
	background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
}

.comment-item.is-post-author .avatar-wrap {
	border-color: var(--gold-line);
}

.comment-author-info {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.comment-author-name {
	font-size: var(--fs-base);
	font-weight: 600;
	color: var(--white);
}

.comment-author-name a {
	color: var(--white);
}

.comment-author-name a:hover {
	color: var(--accent);
}

.comment-metadata {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.comment-metadata a {
	color: var(--text-muted);
}

.comment-metadata a:hover {
	color: var(--accent-2);
}

/* Comment Content */
.comment-content {
	font-size: var(--fs-sm);
	line-height: var(--lh-body);
	color: var(--text-body);
	margin-bottom: 1.25rem;
}

.comment-content p {
	margin: 0 0 1rem 0;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-awaiting-moderation {
	font-size: var(--fs-xs);
	font-style: italic;
	color: var(--gold-bright);
	background: var(--gold-dim);
	border: 1px dashed var(--gold-line);
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm);
	margin-bottom: 1rem !important;
	display: inline-block;
}

/* Reply Link */
.comment-reply {
	display: flex;
	justify-content: flex-end;
}

.comment-reply a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--accent-2);
	border: 1px solid var(--turquoise-line);
	background: var(--turquoise-dim);
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	transition: all var(--dur) var(--ease-soft);
	cursor: pointer;
}

.comment-reply a:hover {
	color: var(--white);
	background: var(--turquoise);
	border-color: var(--turquoise);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(45, 184, 168, 0.15);
}

.comment-reply a::before {
	content: 'reply';
	font-family: 'Material Icons';
	font-size: 14px;
}

body[dir="rtl"] .comment-reply a::before {
	transform: scaleX(-1);
}

.no-comments {
	font-size: var(--fs-sm);
	color: var(--text-muted);
	text-align: center;
	margin: 3rem 0;
}

/* Form Styling */
.comment-respond {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	margin-top: 2rem;
}

.comment-reply-title {
	font-size: var(--fs-md);
	font-weight: 600;
	color: var(--white);
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.comment-reply-title a {
	font-size: var(--fs-xs);
	color: var(--accent);
	margin-right: 1rem;
	font-weight: 500;
}

body[dir="rtl"] .comment-reply-title a {
	margin-right: 0;
	margin-left: 1rem;
}

.comment-form-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.comment-form-comment {
	grid-column: 1 / -1;
}

.comment-form-field {
	display: flex;
	flex-direction: column;
}

.input-wrapper {
	position: relative;
	width: 100%;
}

.input-wrapper input {
	width: 100%;
	background: var(--navy-800);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.95rem 1.25rem;
	color: var(--white);
	font-size: var(--fs-sm);
	font-family: inherit;
	transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}

body[dir="rtl"] .input-wrapper input {
	padding-right: 2.75rem;
}

body[dir="ltr"] .input-wrapper input {
	padding-left: 2.75rem;
}

.input-wrapper input:focus {
	outline: none;
	border-color: var(--turquoise-line);
	box-shadow: 0 0 0 3px var(--turquoise-dim);
	background: var(--navy-950);
}

.input-wrapper .field-icon {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-muted);
	font-size: 18px;
	pointer-events: none;
}

body[dir="rtl"] .input-wrapper .field-icon {
	right: 1rem;
}

body[dir="ltr"] .input-wrapper .field-icon {
	left: 1rem;
}

/* Comment text area */
.comment-form-comment textarea {
	width: 100%;
	background: var(--navy-800);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 1.25rem;
	color: var(--white);
	font-size: var(--fs-sm);
	font-family: inherit;
	line-height: var(--lh-body);
	resize: vertical;
	min-height: 120px;
	transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft), background var(--dur) var(--ease-soft);
}

.comment-form-comment textarea:focus {
	outline: none;
	border-color: var(--turquoise-line);
	box-shadow: 0 0 0 3px var(--turquoise-dim);
	background: var(--navy-950);
}

/* Cookies Consent */
.comment-form-cookies-consent {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: 0.25rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
	accent-color: var(--turquoise);
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.comment-form-cookies-consent label {
	font-size: var(--fs-xs);
	color: var(--text-muted);
	cursor: pointer;
	user-select: none;
}

/* Form Submit */
.form-submit {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-end;
	margin-top: 0.5rem;
}

/* Comment Navigation */
.comment-navigation {
	margin: 3rem 0;
	border-top: 1px solid var(--border);
	padding-top: 1.5rem;
}

.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;
}

.comment-navigation a {
	font-size: var(--fs-sm);
	color: var(--accent-2);
	font-weight: 600;
}

.comment-navigation a:hover {
	color: var(--white);
}

/* Responsiveness */
@media (max-width: 768px) {
	.comment-respond {
		padding: 1.75rem;
	}
	
	.comment-item .children {
		padding-left: 1.5rem;
	}

	body[dir="rtl"] .comment-item .children {
		padding-right: 1.5rem;
	}
}

@media (max-width: 640px) {
	.comment-form-wrapper {
		grid-template-columns: 1fr;
	}
	
	.form-submit {
		justify-content: stretch;
	}
	
	.form-submit button {
		width: 100%;
	}
	
	.comment-item .children {
		padding-left: 1rem;
		border-left: none;
	}

	body[dir="rtl"] .comment-item .children {
		padding-right: 1rem;
		border-right: none;
	}
}

/* =========================================================
   VIDEO ARCHIVE
   ========================================================= */

/* Audience Filter Bar */
.audience-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.audience-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-muted, #a0aec0);
	font-family: inherit;
	font-size: var(--fs-sm, 0.875rem);
	font-weight: 500;
	cursor: pointer;
	transition: all 0.25s var(--ease-soft, ease);
	white-space: nowrap;
}

.audience-filter__btn:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--white, #fff);
	border-color: rgba(255, 255, 255, 0.2);
}

.audience-filter__btn.is-active {
	background: var(--accent-1, #2DB8A8);
	color: var(--navy, #0A1128);
	border-color: var(--accent-1, #2DB8A8);
	font-weight: 600;
}

.audience-filter__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 0.375rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.75rem;
	font-weight: 600;
}

.audience-filter__btn.is-active .audience-filter__count {
	background: rgba(10, 17, 40, 0.2);
}

/* Video Grid */
.video-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

/* Video Card */
.video-card {
	border-radius: var(--radius-lg, 1rem);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition: transform 0.3s var(--ease-soft, ease), box-shadow 0.3s var(--ease-soft, ease);
}

.video-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.video-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.video-card__image {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
}

.video-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease-soft, ease);
}

.video-card:hover .video-card__img {
	transform: scale(1.05);
}

.video-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(45, 184, 168, 0.1), rgba(201, 168, 76, 0.1));
}

.video-card__placeholder .material-icons {
	font-size: 3rem;
	color: var(--accent-1, #2DB8A8);
	opacity: 0.5;
}

/* Play Button Overlay */
.video-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: rgba(10, 17, 40, 0.7);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: all 0.3s var(--ease-soft, ease);
	opacity: 0;
	z-index: 2;
}

.video-card__play .material-icons {
	font-size: 2.5rem;
	color: var(--accent-1, #2DB8A8);
}

.video-card:hover .video-card__play {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.1);
}

/* Duration Badge */
.video-card__duration {
	position: absolute;
	bottom: 0.75rem;
	right: 0.75rem;
	padding: 0.25rem 0.625rem;
	border-radius: 0.375rem;
	background: rgba(10, 17, 40, 0.85);
	color: var(--white, #fff);
	font-size: 0.8125rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	z-index: 2;
}

body[dir="rtl"] .video-card__duration {
	right: auto;
	left: 0.75rem;
}

/* Video Card Body */
.video-card__body {
	padding: 1.25rem;
}

.video-card__meta-top {
	margin-bottom: 0.5rem;
}

.video-card__category {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: rgba(45, 184, 168, 0.12);
	color: var(--accent-1, #2DB8A8);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.video-card__title {
	font-family: var(--ff-heading, 'Cormorant Garamond', serif);
	font-size: var(--fs-h4, 1.25rem);
	font-weight: 600;
	color: var(--white, #fff);
	line-height: 1.35;
	margin: 0 0 0.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-card__subtitle {
	font-size: var(--fs-sm, 0.875rem);
	color: var(--text-muted, #a0aec0);
	line-height: 1.5;
	margin: 0 0 0.75rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-card__meta-bottom {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.video-card__audiences {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

/* Audience Badges */
.audience-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.1875rem 0.625rem;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.audience-badge--public {
	background: rgba(45, 184, 168, 0.15);
	color: #2DB8A8;
}

.audience-badge--patient {
	background: rgba(201, 168, 76, 0.15);
	color: #C9A84C;
}

.audience-badge--student {
	background: rgba(74, 144, 217, 0.15);
	color: #4A90D9;
}

.audience-badge--assistant {
	background: rgba(123, 97, 255, 0.15);
	color: #7B61FF;
}

.audience-badge--dentist {
	background: rgba(255, 107, 107, 0.15);
	color: #FF6B6B;
}

/* Videos Empty State */
.videos-empty {
	text-align: center;
	padding: 4rem 2rem;
	grid-column: 1 / -1;
}

.videos-empty__icon {
	font-size: 4rem;
	color: var(--text-muted, #a0aec0);
	opacity: 0.4;
	margin-bottom: 1rem;
	display: block;
}

.videos-empty p {
	color: var(--text-muted, #a0aec0);
	font-size: var(--fs-lg, 1.125rem);
}

/* Video Filter Results Transition */
.video-filter-results {
	transition: opacity 0.3s var(--ease-soft, ease);
}

/* =========================================================
   VIDEO ARCHIVE — Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.video-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (max-width: 640px) {
	.video-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.audience-filter {
		gap: 0.5rem;
	}

	.audience-filter__btn {
		padding: 0.5rem 1rem;
		font-size: 0.8125rem;
	}

	.video-card__play {
		width: 3rem;
		height: 3rem;
		opacity: 0.8;
	}

	.video-card__play .material-icons {
		font-size: 2rem;
	}
}

/* =========================================================
   SINGLE VIDEO PLAYER
   ========================================================= */
.video-player-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--radius-lg, 12px);
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-player-wrapper iframe,
.video-player-wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* =========================================================
   FAQ PAGE ACCORDION STYLES
   ========================================================= */
.faq-layout {
	margin: 0 auto;
}

.faq-group {
	margin-bottom: 4rem;
}

.faq-group__title {
	font-size: var(--fs-xl);
	color: var(--gold);
	margin-bottom: 2rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--border);
}

.faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.faq-item {
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color var(--dur) var(--ease-soft);
}

.faq-item.is-active {
	border-color: var(--gold-line);
}

.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 1.5rem;
	background: transparent;
	border: none;
	color: var(--text);
	font-size: var(--fs-md);
	font-weight: 600;
	text-align: right;
	cursor: pointer;
	transition: background var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft);
}

body[dir="ltr"] .faq-question {
	text-align: left;
}

.faq-question:hover {
	background: var(--surface-hover);
}

.faq-item.is-active .faq-question {
	color: var(--gold);
}

.faq-question__icon {
	transition: transform var(--dur) var(--ease-soft);
	color: var(--muted);
}

.faq-item.is-active .faq-question__icon {
	transform: rotate(180deg);
	color: var(--gold);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--dur) var(--ease-soft);
}

.faq-answer__inner {
	padding: 0 1.5rem 1.5rem 1.5rem;
	color: var(--text-body);
	line-height: var(--lh-relaxed);
}

.faq-cta .btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* =========================================================
   SOCIAL MEDIA LINKS
   ========================================================= */
.social-links {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1rem 0;
}

.social-links--center {
	justify-content: center;
}

.social-links__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bg-elevated);
	color: var(--muted);
	border: 1px solid var(--border);
	transition: all var(--dur-fast) var(--ease-soft);
	text-decoration: none;
}

.social-links__item svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	transition: transform var(--dur-fast) var(--ease-soft);
}

.social-links__item:hover,
.social-links__item:focus {
	color: var(--gold);
	border-color: var(--gold);
	background: var(--navy-800);
}

.social-links__item:hover svg,
.social-links__item:focus svg {
	transform: scale(1.1);
}

/* =========================================================
   SAFE AREAS & LEGACY RTL TWEAKS
   ========================================================= */
:root {
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-right: env(safe-area-inset-right, 0px);
	--safe-left: env(safe-area-inset-left, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
}

body[dir="rtl"] {
	text-align: right;
}

body[dir="ltr"] {
	text-align: left;
}

/* Screen reader text accessibility helper - non-overflowing */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
