/*
Theme Name: Custom Theme
Theme URI: https://dralimohammadhosseini.ir
Description: Premium bilingual personal brand theme — Academic, Prestigious, Intelligent Minimalism. Deep Navy / Charcoal · Ivory · Teal + Warm Gold · Science — Innovation — Education
Author: Captain Code
Version: 2.4.0
Text Domain: custom-theme
Requires at least: 6.0
Requires PHP: 8.0
*/

/* =========================================================
   DESIGN TOKENS
   Deep Navy / Charcoal · Ivory · Teal + Warm Gold
   Science — Innovation — Education · Premium / Minimal
   ========================================================= */
:root {
	/* Core Deep Navy / Charcoal */
	--navy-950: #07111E;
	--navy-900: #0B182B;
	--navy-850: #132644;
	--navy-800: #1B355B;
	--navy-700: #254471;
	--navy-600: #33598F;
	--charcoal: #121821;
	--charcoal-soft: #1A2332;

	/* Canvas & Neutral surfaces */
	--ivory: #FAFAF8;
	--ivory-soft: #F5F6F8;
	--white: #FFFFFF;
	--cloud: #F4F5F8;
	--mist: #E8EBF2;
	--silver: #8A9AB2;
	--muted: #3F4E64;
	--ink-soft: #2D3748;
	--ink: #1A2533;

	/* Subtle Teal / Turquoise Accents */
	--teal: #0D9488;
	--teal-dark: #0F766E;
	--teal-dim: rgba(13, 148, 136, 0.10);
	--teal-line: rgba(13, 148, 136, 0.25);
	--turquoise: #0D9488;
	--turquoise-soft: #0F766E;
	--turquoise-dim: rgba(13, 148, 136, 0.10);
	--turquoise-line: rgba(13, 148, 136, 0.25);

	/* Warm Gold Accent — restrained premium highlight */
	--gold: #C5A46A;
	--gold-dark: #A88A52;
	--gold-dim: rgba(197, 164, 106, 0.12);
	--gold-line: rgba(197, 164, 106, 0.28);
	--gold-soft: rgba(197, 164, 106, 0.08);

	/* Semantic */
	--bg: var(--ivory);
	--bg-elevated: var(--white);
	--bg-soft: var(--ivory-soft);
	--surface: #FFFFFF;
	--surface-hover: rgba(11, 24, 43, 0.04);
	--border: rgba(11, 24, 43, 0.08);
	--border-strong: rgba(11, 24, 43, 0.16);
	--text: var(--navy-950);
	--text-body: var(--navy-900);
	--text-muted: var(--muted);
	--accent: var(--teal);
	--accent-2: var(--teal-dark);
	--accent-gold: var(--gold);

	/* 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: 4px;
	--radius: 8px;
	--radius-lg: 12px;
	--radius-xl: 16px;

	/* 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 2px 10px rgba(11, 24, 43, 0.04);
	--shadow-md: 0 10px 30px rgba(11, 24, 43, 0.08);
}

/* =========================================================
   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: 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(--teal-dark);
	text-decoration: none;
	transition: color var(--dur) var(--ease-soft);
}

a:hover {
	color: var(--navy-950);
}

button {
	font: inherit;
}

::selection {
	background: rgba(13, 148, 136, 0.18);
	color: var(--navy-950);
}

/* =========================================================
   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-accent,
.text-teal {
	color: var(--teal);
}

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

/* =========================================================
   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: var(--bg-soft);
}

.section--elevated {
	background: var(--bg-elevated);
	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(--teal-dark);
}

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

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

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

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

.section-desc {
	font-size: var(--fs-md);
	color: #2E3A4E;
	line-height: var(--lh-relaxed);
	margin: 0;
	font-weight: 400;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--header-h);
	display: flex;
	align-items: center;
	background: rgba(250, 250, 248, 0.85);
	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(255, 255, 255, 0.96);
	border-bottom-color: var(--border);
	box-shadow: var(--shadow-sm);
}

.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(--navy-950);
	min-width: 0;
}

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

.brand-mark {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--white);
	background: var(--navy-900);
	border: 1px solid rgba(197,164,106,0.22);
	box-shadow: 0 2px 12px rgba(7,17,30,0.14), inset 0 1px 0 rgba(255,255,255,0.08);
	flex-shrink: 0;
	position: relative;
}

/* Logo placeholder: when final AM mark arrives, replace background with image */
.brand-mark.has-logo {
	background: var(--white);
	border-color: var(--gold-line);
	padding: 4px;
}
.brand-mark.has-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 50%;
}

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;
	color: var(--navy-950);
}

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(--navy-900);
	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(--teal-dark);
	background: var(--teal-dim);
}

.nav-menu .current-menu-item > a {
	font-weight: 600;
}

.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: var(--white);
}

.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(--navy-900);
	color: var(--white);
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--white);
	color: var(--navy-900);
	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: var(--navy-900);
	color: var(--white);
	border-color: var(--navy-900);
	box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
	background: var(--teal);
	color: var(--white);
	border-color: var(--teal);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(13, 148, 136, 0.28);
}

.btn-secondary {
	background: var(--white);
	color: var(--navy-900);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
	color: var(--teal-dark);
	background: var(--ivory-soft);
	border-color: var(--teal);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.btn-ghost {
	background: transparent;
	color: var(--navy-900);
	border-color: var(--border-strong);
}

.btn-ghost:hover {
	color: var(--teal-dark);
	border-color: var(--teal);
	background: var(--ivory-soft);
	transform: translateY(-2px);
}

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

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

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

/* =========================================================
   CARDS & SURFACES
   ========================================================= */
.surface-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(1.4rem, 2.5vw, 1.9rem);
	box-shadow: 0 1px 3px rgba(11, 24, 43, 0.03);
	transition:
		transform var(--dur) var(--ease-out),
		border-color var(--dur) var(--ease-soft),
		box-shadow var(--dur) var(--ease-soft);
}

.surface-card:hover {
	transform: translateY(-2px);
	border-color: var(--teal-line);
	box-shadow: 0 4px 14px rgba(11, 24, 43, 0.06);
	background: var(--white);
}

.hairline {
	height: 1px;
	width: 100%;
	background: var(--border);
	border: 0;
	margin: 0;
}

/* =========================================================
   HERO (HOME) — Premium Personal Brand
   Abstract science/tech ornament: thin geometry, no clichés
   ========================================================= */
.hero {
	position: relative;
	min-height: calc(100vh - var(--header-h));
	display: flex;
	align-items: center;
	padding-block: clamp(3.5rem, 8vh, 6.5rem);
	overflow: hidden;
	background: var(--ivory);
	isolation: isolate;
}

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

/* Subtle abstract field: dot grid + diagonal hairlines + soft radial wash */
.hero__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(520px 380px at 22% 18%, rgba(13,148,136,0.07), transparent 62%),
		radial-gradient(680px 420px at 92% 82%, rgba(197,164,106,0.09), transparent 60%),
		radial-gradient(900px 600px at 50% 0%, rgba(19,38,68,0.04), transparent 70%);
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.42;
	background-image:
		linear-gradient(rgba(11,24,43,0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(11,24,43,0.035) 1px, transparent 1px);
	background-size: 28px 28px;
	background-position: 0 0;
	mask-image: radial-gradient(ellipse 78% 68% at 50% 38%, black 58%, transparent 92%);
	-webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 38%, black 58%, transparent 92%);
}

.hero__frame {
	position: absolute;
	inset: 6% 4.5%;
	border: 1px solid rgba(11,24,43,0.06);
	border-radius: 20px;
	pointer-events: none;
}

/* Thin diagonal diagram lines — abstract tech */
.hero__diagram {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.18;
}
.hero__diagram::before,
.hero__diagram::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(13,148,136,0.18);
	border-radius: 50%;
}
.hero__diagram::before {
	width: 560px;
	height: 560px;
	top: 8%;
	inset-inline-end: 6%;
}
.hero__diagram::after {
	width: 420px;
	height: 420px;
	top: 18%;
	inset-inline-end: 10%;
	border-color: rgba(197,164,106,0.18);
	border-style: dashed;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.18fr 0.82fr;
	gap: clamp(2.2rem, 5vw, 4.75rem);
	align-items: center;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1.55rem;
	padding: 0.42rem 0.95rem 0.42rem 0.5rem;
	border-radius: 999px;
	border: 1px solid rgba(11,24,43,0.08);
	background: rgba(255,255,255,0.92);
	backdrop-filter: blur(10px);
	color: var(--navy-900);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 2px 14px rgba(11,24,43,0.06);
}

body[dir="rtl"] .hero__eyebrow {
	padding: 0.42rem 0.5rem 0.42rem 0.95rem;
	letter-spacing: 0.02em;
	text-transform: none;
}

.hero__eyebrow-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 5px var(--teal-dim);
	position: relative;
}
.hero__eyebrow-dot::after {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: 50%;
	border: 1px solid rgba(197,164,106,0.55);
	opacity: 0.0;
}

.hero__title {
	font-size: var(--fs-hero);
	line-height: 0.98;
	margin-bottom: 1.2rem;
	max-width: 22ch;
	color: var(--navy-950);
	letter-spacing: -0.03em;
	font-weight: 800;
}

body[dir="ltr"] .hero__title {
	max-width: 20ch;
	letter-spacing: -0.03em;
	font-weight: 600;
	font-family: var(--font-display-en);
}

.hero__identity {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.45rem 0.7rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(11,24,43,0.07);
	max-width: 36rem;
}

.hero__name {
	font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.35rem);
	color: var(--navy-950);
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

body[dir="ltr"] .hero__name {
	font-family: var(--font-display-en);
	font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.55rem);
	font-weight: 600;
	letter-spacing: -0.015em;
}

.hero__role-sep {
	color: var(--gold);
	font-weight: 400;
	font-size: 1.1em;
	user-select: none;
	opacity: 0.9;
}

.hero__role {
	font-size: 0.82rem;
	color: var(--teal-dark);
	font-weight: 600;
	margin-bottom: 0;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body[dir="ltr"] .hero__role {
	font-family: var(--font-en);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
}
body[dir="rtl"] .hero__role {
	letter-spacing: 0.03em;
	text-transform: none;
}

.hero__lead {
	font-size: clamp(1.02rem, 0.98rem + 0.22vw, 1.1rem);
	max-width: 39rem;
	margin-bottom: 2.15rem;
	color: #344054;
	line-height: 1.95;
	font-weight: 400;
	letter-spacing: 0.01em;
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 1.6rem;
}

.meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(11,24,43,0.08);
	background: var(--white);
	color: var(--navy-900);
	font-size: 0.78rem;
	font-weight: 500;
	box-shadow: 0 1px 6px rgba(11,24,43,0.04);
	letter-spacing: 0.01em;
}

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

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

.hero-portrait::before {
	content: "";
	position: absolute;
	inset: -14px -14px -18px -14px;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(197,164,106,0.09));
	border: 1px solid rgba(11,24,43,0.04);
	z-index: 0;
	pointer-events: none;
}

.hero-portrait__plate {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 18px;
	overflow: hidden;
	background: radial-gradient(600px 400px at 30% 20%, #1B355B, #0B182B 68%);
	border: 1px solid rgba(255,255,255,0.10);
	box-shadow: 0 18px 42px rgba(7,17,30,0.18), 0 2px 10px rgba(7,17,30,0.08);
	display: grid;
	place-items: center;
	z-index: 1;
}

.hero-portrait__plate::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 12px;
	pointer-events: none;
	z-index: 2;
}

.hero-portrait__plate::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, transparent 52%, rgba(7, 17, 30, 0.72)),
		radial-gradient(320px 220px at 72% 18%, rgba(197,164,106,0.14), transparent 60%);
	pointer-events: none;
	z-index: 1;
}

/* Cross-hair tech corners on portrait */
.hero-portrait__plate .plate-corner {
	position: absolute;
	width: 18px;
	height: 18px;
	border-color: rgba(255,255,255,0.28);
	border-style: solid;
	pointer-events: none;
	z-index: 3;
}
.hero-portrait__plate .plate-corner--tl { top: 10px; inset-inline-start: 10px; border-width: 1px 0 0 1px; border-radius: 8px 0 0 0; }
.hero-portrait__plate .plate-corner--br { bottom: 10px; inset-inline-end: 10px; border-width: 0 1px 1px 0; border-radius: 0 0 8px 0; }

.hero-portrait__monogram {
	position: relative;
	z-index: 1;
	font-size: clamp(4.8rem, 10vw, 6.8rem);
	font-weight: 500;
	line-height: 1;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
	letter-spacing: -0.02em;
}

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: 800;
}

.hero-portrait__caption {
	position: absolute;
	inset-inline: 1.15rem;
	bottom: 1.15rem;
	z-index: 4;
	padding: 0.85rem 0.95rem;
	border-radius: 10px;
	background: rgba(7, 17, 30, 0.86);
	backdrop-filter: blur(14px) saturate(130%);
	border: 1px solid rgba(255, 255, 255, 0.10);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

.hero-portrait__caption::before {
	content: "";
	width: 2px;
	align-self: stretch;
	background: linear-gradient(180deg, var(--teal), var(--gold));
	border-radius: 999px;
	flex-shrink: 0;
	opacity: 0.95;
}

.hero-portrait__caption strong {
	display: block;
	font-size: 0.82rem;
	color: var(--white);
	margin-bottom: 0.12rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.hero-portrait__caption span {
	font-size: 0.72rem;
	color: rgba(255,255,255,0.68);
	letter-spacing: 0.04em;
}

/* Hero responsive */
@media (max-width: 980px) {
	.hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
	.hero-portrait { width: min(100%, 400px); order: -1; }
	.hero { min-height: auto; padding-block: 2.5rem 3rem; }
	.hero__diagram { display: none; }
}



/* =========================================================
   PILLARS STRIP — Science · Innovation · Education
   Replaces fake-number stats with restrained premium triptych
   ========================================================= */
.pillars-strip,
.stats-strip {
	padding-block: clamp(1.6rem, 3vw, 2.2rem);
	position: relative;
	border-block: 1px solid rgba(11,24,43,0.07);
	background: var(--white);
	margin-top: 0;
	z-index: 1;
	overflow: hidden;
}

.pillars-strip::before,
.stats-strip::before {
	content: "";
	position: absolute;
	top: 0;
	inset-inline: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold-line) 18%, var(--teal-line) 82%, transparent);
	opacity: 0.9;
}

.pillars-grid,
.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
}

.pillar-item,
.stat-item {
	background: transparent;
	padding: clamp(0.9rem, 2vw, 1.35rem) clamp(1.1rem, 2vw, 1.75rem);
	text-align: center;
	position: relative;
}

.pillar-item:not(:last-child)::after,
.stat-item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 16%;
	bottom: 16%;
	inset-inline-end: 0;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(11,24,43,0.09) 18%, rgba(11,24,43,0.09) 82%, transparent);
}

.pillar-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--teal-dark);
	margin-bottom: 0.55rem;
}
body[dir="rtl"] .pillar-kicker { letter-spacing: 0.04em; text-transform: none; }
.pillar-kicker::before {
	content: "";
	width: 14px;
	height: 1px;
	background: var(--gold);
	opacity: 0.9;
}

.pillar-title {
	display: block;
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.55rem);
	font-weight: 700;
	color: var(--navy-950);
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin-bottom: 0.35rem;
}
body[dir="ltr"] .pillar-title { font-family: var(--font-display-en); font-weight: 600; letter-spacing: -0.015em; }

.pillar-desc {
	font-size: 0.84rem;
	color: #344054;
	line-height: 1.7;
	font-weight: 400;
	max-width: 28ch;
	margin-inline: auto;
}

/* Fallback: old stat values rendered as muted placeholders (no fake numbers) */
.stat-value {
	display: block;
	font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
	font-weight: 600;
	color: var(--navy-900);
	margin-bottom: 0.25rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	opacity: 0.92;
}
body[dir="ltr"] .stat-value { font-family: var(--font-display-en); font-weight: 500; }
body[dir="rtl"] .stat-value { font-family: var(--font-fa); font-weight: 700; }
.stat-label {
	font-size: 0.72rem;
	color: var(--muted);
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body[dir="rtl"] .stat-label { letter-spacing: 0; text-transform: none; }

@media (max-width: 760px) {
	.pillars-grid, .stats-grid { grid-template-columns: 1fr; }
	.pillar-item:not(:last-child)::after, .stat-item:not(:last-child)::after {
		inset-inline-end: 12%; inset-inline-start: 12%; top: auto; bottom: 0; width: auto; height: 1px;
		background: linear-gradient(90deg, transparent, rgba(11,24,43,0.08) 18%, rgba(11,24,43,0.08) 82%, transparent);
	}
	.pillar-item, .stat-item { padding-block: 1.15rem; }
}

/* =========================================================
   FOCUS / EXPERTISE — 4 pillars · varied rhythm, no box fatigue
   ========================================================= */
.section--focus {
	background: var(--white);
	position: relative;
	overflow: hidden;
}
.section--focus::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(600px 320px at 18% 0%, rgba(13,148,136,0.04), transparent 62%),
		linear-gradient(180deg, transparent 70%, rgba(245,246,248,0.9));
	pointer-events: none;
}

.focus-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.35rem;
	position: relative;
}

/* Subtle diagram connector line behind cards (desktop only) */
@media (min-width: 1100px) {
	.focus-grid::before {
		content: "";
		position: absolute;
		top: 54px;
		inset-inline: 6%;
		height: 1px;
		background: linear-gradient(90deg, transparent, rgba(197,164,106,0.14) 10%, rgba(13,148,136,0.10) 50%, rgba(197,164,106,0.14) 90%, transparent);
		pointer-events: none;
	}
}

.focus-card {
	position: relative;
	background: linear-gradient(180deg, #FFFFFF 0%, #FCFCFD 100%);
	border: 1px solid rgba(11,24,43,0.07);
	border-radius: 18px;
	padding: 1.65rem 1.5rem 1.4rem;
	box-shadow: 0 1px 0 rgba(11,24,43,0.04), 0 12px 28px rgba(11,24,43,0.05);
	transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
	overflow: hidden;
	isolation: isolate;
}
.focus-card::before {
	content: "";
	position: absolute;
	top: 0; inset-inline: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(13,148,136,0.22), transparent);
	opacity: 0.0;
	transition: opacity var(--dur) var(--ease-soft);
}
.focus-card:nth-child(1)::before { background: linear-gradient(90deg, transparent, var(--teal) 18%, rgba(13,148,136,0.0) 78%); opacity: 0.9; }
.focus-card:nth-child(2)::before { background: linear-gradient(90deg, transparent, var(--gold) 18%, rgba(197,164,106,0.0) 78%); opacity: 0.9; }
.focus-card:nth-child(3)::before { background: linear-gradient(90deg, transparent, var(--teal-dark) 18%, rgba(15,118,110,0.0) 78%); opacity: 0.75; }
.focus-card:nth-child(4)::before { background: linear-gradient(90deg, transparent, var(--teal) 12%, var(--gold) 42%, rgba(197,164,106,0.0) 78%); opacity: 0.9; }

.focus-card::after {
	content: "";
	position: absolute;
	inset-inline-end: -22px;
	bottom: -22px;
	width: 84px;
	height: 84px;
	border: 1px solid rgba(13,148,136,0.07);
	border-radius: 50%;
	pointer-events: none;
}

.focus-card:hover {
	transform: translateY(-4px);
	border-color: rgba(13,148,136,0.14);
	box-shadow: 0 16px 32px rgba(11,24,43,0.08);
}
.focus-card:hover::before { opacity: 1; }

a.focus-card {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}
a.focus-card h3 { color: var(--navy-950); }
a.focus-card:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 2px;
}

.focus-card__num {
	position: absolute;
	inset-inline-end: 1.05rem;
	top: 0.85rem;
	font-size: 2.6rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: rgba(197,164,106,0.10);
	font-family: var(--font-display-en);
	pointer-events: none;
	user-select: none;
}
body[dir="rtl"] .focus-card__num {
	font-family: var(--font-display);
	font-size: 2.35rem;
	top: 0.95rem;
}

.focus-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	margin-bottom: 1.05rem;
	background: #FFFFFF;
	border: 1px solid rgba(11,24,43,0.08);
	box-shadow: 0 2px 10px rgba(11,24,43,0.06);
	color: var(--teal-dark);
	position: relative;
}
.focus-card:nth-child(2) .focus-card__icon { border-color: rgba(197,164,106,0.28); color: #8E6E2A; background: #FFFBF0; }
.focus-card:nth-child(3) .focus-card__icon { background: #F0FDFB; border-color: rgba(13,148,136,0.14); }
.focus-card:nth-child(4) .focus-card__icon { background: #FFFFFF; border-color: rgba(11,24,43,0.08); color: var(--navy-900); }

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

.focus-card h3 {
	font-size: 1.08rem;
	margin-bottom: 0.5rem;
	color: var(--navy-950);
	letter-spacing: -0.015em;
	line-height: 1.35;
	font-weight: 700;
}

.focus-card p {
	font-size: 0.88rem;
	color: #344054;
	margin: 0;
	line-height: 1.9;
	font-weight: 400;
}

.focus-card__meta {
	margin-top: 1.1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--teal-dark);
	opacity: 0.72;
	transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out), gap var(--dur) var(--ease-soft);
}
.focus-card:hover .focus-card__meta { opacity: 1; gap: 0.45rem; transform: translateY(-1px); }
body[dir="rtl"] .focus-card__meta { letter-spacing: 0.02em; text-transform: none; }

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

/* =========================================================
   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-strong);
	background: var(--navy-900);
	min-height: 420px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	position: relative;
	box-shadow: var(--shadow-md);
}

.about-preview__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(7, 17, 30, 0.7));
}

.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(--teal);
	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;
}

/* =========================================================
   LECTURES / COURSES — Featured with thumbnails + view-all
   Standalone section with its own rhythm (card thumbnails)
   ========================================================= */
.section--lectures {
	background: var(--ivory-soft);
	position: relative;
	overflow: hidden;
	border-block: 1px solid rgba(11,24,43,0.06);
}
.section--lectures::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(520px 300px at 85% 10%, rgba(197,164,106,0.06), transparent 62%),
		radial-gradient(520px 300px at 10% 90%, rgba(13,148,136,0.05), transparent 62%);
	pointer-events: none;
}

.lectures-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
	position: relative;
}

.lectures-head__title {
	margin: 0;
	font-size: var(--fs-2xl);
	letter-spacing: -0.02em;
}
.lectures-head__desc {
	margin: 0.45rem 0 0;
	color: #344054;
	font-size: 0.92rem;
	max-width: 38rem;
	line-height: 1.9;
}

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

.lecture-card {
	background: var(--white);
	border: 1px solid rgba(11,24,43,0.07);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 10px rgba(11,24,43,0.04);
	transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}

.lecture-card:hover {
	transform: translateY(-4px);
	border-color: rgba(13,148,136,0.18);
	box-shadow: 0 12px 28px rgba(11,24,43,0.09);
}

.lecture-card__thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #132644 0%, #0B182B 100%);
	overflow: hidden;
	display: grid;
	place-items: center;
}
.lecture-card__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 42%, rgba(7,17,30,0.55));
}
.lecture-card__thumb .thumb-placeholder {
	font-size: 1.9rem;
	color: rgba(255,255,255,0.88);
	position: relative;
	z-index: 1;
}
.lecture-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
}
.lecture-card__badge {
	position: absolute;
	top: 0.75rem;
	inset-inline-start: 0.75rem;
	z-index: 2;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: rgba(255,255,255,0.94);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(11,24,43,0.08);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--navy-900);
}
body[dir="rtl"] .lecture-card__badge { letter-spacing: 0.02em; text-transform: none; }

.lecture-card__body {
	padding: 1.15rem 1.2rem 1.2rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.5rem;
}

.lecture-card__meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.72rem;
	color: var(--muted);
	font-weight: 500;
}
.lecture-card__meta .dot {
	width: 3px; height: 3px; border-radius: 50%; background: var(--gold); display: inline-block;
}

.lecture-card__title {
	font-size: 0.98rem;
	line-height: 1.45;
	color: var(--navy-950);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lecture-card__excerpt {
	font-size: 0.86rem;
	color: #344054;
	line-height: 1.8;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.lecture-card__foot {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(11,24,43,0.06);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.lecture-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--teal-dark);
}
.lecture-card__link .material-icons { font-size: 16px; transition: transform var(--dur) var(--ease-out); }
.lecture-card:hover .lecture-card__link .material-icons { transform: translateX(3px); }
body[dir="rtl"] .lecture-card:hover .lecture-card__link .material-icons { transform: translateX(-3px); }

.lectures-more {
	margin-top: 1.75rem;
	display: flex;
	justify-content: center;
}
.lectures-more .btn {
	padding-inline: 1.6rem;
}

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

/* =========================================================
   ACHIEVEMENTS / MILESTONES (Minimal Linear Timeline)
   ========================================================= */
.achieve-timeline {
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(11,24,43,0.08);
	position: relative;
}

/* Faint vertical constellation line behind years (desktop) */
.achieve-timeline::before {
	content: "";
	position: absolute;
	inset-inline-start: 50px;
	top: 0.5rem;
	bottom: 0.5rem;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(11,24,43,0.08) 10%, rgba(197,164,106,0.22) 50%, rgba(11,24,43,0.08) 90%, transparent);
	pointer-events: none;
}
@media (max-width: 760px) {
	.achieve-timeline::before { display: none; }
}

.achieve-item {
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
	padding-block: clamp(1.35rem, 2.5vw, 1.9rem);
	border-bottom: 1px solid rgba(11,24,43,0.06);
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	transition: background var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft);
	position: relative;
}

.achieve-item:hover {
	border-bottom-color: var(--teal-line);
	background: linear-gradient(90deg, rgba(13,148,136,0.03), transparent 62%);
}

.achieve-year {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--teal-dark);
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding-top: 0.15rem;
}
.achieve-year::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--teal);
	box-shadow: 0 0 0 4px var(--teal-dim);
	flex-shrink: 0;
}
.achieve-item:hover .achieve-year::before {
	border-color: var(--gold);
	box-shadow: 0 0 0 4px var(--gold-dim);
}

body[dir="ltr"] .achieve-year {
	font-family: var(--font-en);
}

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

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

.achieve-title {
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--navy-950);
	margin: 0 0 0.4rem;
	letter-spacing: -0.01em;
}

.achieve-desc {
	margin: 0;
	font-size: 0.88rem;
	color: #344054;
	line-height: 1.9;
}

/* Home timeline as narrative — add subtle quote accent on last item */
.achieve-item:last-child .achieve-desc {
	color: var(--muted);
}

/* =========================================================
   CTA BAND — premium with subtle geometry
   ========================================================= */
.cta-band {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid rgba(255,255,255,0.08);
	background: radial-gradient(700px 380px at 18% 0%, rgba(13,148,136,0.18), transparent 62%),
		radial-gradient(520px 320px at 92% 100%, rgba(197,164,106,0.14), transparent 60%),
		var(--navy-900);
	color: var(--white);
	padding: clamp(2.75rem, 5vw, 4.25rem);
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 2rem;
	align-items: center;
	box-shadow: 0 18px 42px rgba(7,17,30,0.22);
	isolation: isolate;
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 28px 28px;
	opacity: 0.22;
	mask-image: radial-gradient(ellipse 72% 62% at 50% 50%, black 58%, transparent 92%);
	pointer-events: none;
}

.cta-band::after {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(197,164,106,0.18);
	border-radius: 50%;
	top: -42px;
	inset-inline-end: -42px;
	pointer-events: none;
	opacity: 0.9;
}

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

.cta-band p {
	margin: 0;
	max-width: 36rem;
	color: rgba(255,255,255,0.68);
	position: relative;
}

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

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

/* Specific button styling inside dark CTA band */
.cta-band .btn-primary {
	background: var(--white);
	color: var(--navy-950);
	border-color: var(--white);
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.cta-band .btn-primary:hover {
	background: var(--teal);
	color: var(--white);
	border-color: var(--teal);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.cta-band .btn-secondary,
.cta-band .btn-ghost {
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(8px);
}

.cta-band .btn-secondary:hover,
.cta-band .btn-ghost:hover {
	background: rgba(255, 255, 255, 0.18);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.6);
	transform: translateY(-2px);
}

/* =========================================================
   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);
	background: var(--bg-soft);
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(700px 280px at 80% 0%, rgba(13, 148, 136, 0.05), transparent 60%);
	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(--muted);
}

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

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

.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-strong);
	background: var(--navy-900);
	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.12);
	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: 1rem 1.15rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--white);
	box-shadow: 0 1px 3px rgba(11, 24, 43, 0.03);
}

.about-portrait__meta h3 {
	font-size: var(--fs-md);
	margin-bottom: 0.25rem;
	color: var(--navy-950);
}

.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);
	color: var(--text-body);
}

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

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

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

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

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

.value-card {
	padding: 1.25rem 1.35rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--white);
	box-shadow: 0 1px 3px rgba(11, 24, 43, 0.03);
	transition: border-color var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out);
}

.value-card:hover {
	border-color: var(--teal-line);
	transform: translateY(-2px);
}

.value-card .material-icons {
	color: var(--teal-dark);
	margin-bottom: 0.65rem;
	font-size: 20px;
}

.value-card h3 {
	font-size: var(--fs-md);
	margin-bottom: 0.35rem;
	color: var(--navy-950);
}

.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: var(--border);
	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: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--teal);
	border: 2px solid var(--white);
	box-shadow: 0 0 0 1px var(--teal-line);
	z-index: 2;
}

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

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

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

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

.timeline-card {
	padding: 1.25rem 1.35rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--white);
	box-shadow: 0 1px 3px rgba(11, 24, 43, 0.03);
	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: var(--teal-line);
	transform: translateY(-2px);
}

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

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

.timeline-org {
	font-size: var(--fs-sm);
	color: var(--muted);
	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;
	padding: 1.25rem 1.35rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--white);
	box-shadow: 0 1px 3px rgba(11, 24, 43, 0.03);
	transition: border-color var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out);
}

.honor-card:hover {
	border-color: var(--teal-line);
	transform: translateY(-2px);
}

.honor-card__icon {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	display: grid;
	place-items: center;
	margin-bottom: 0.9rem;
	background: var(--teal-dim);
	border: 1px solid var(--teal-line);
	color: var(--teal-dark);
}

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

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

.honor-card h3 {
	font-size: var(--fs-md);
	margin-bottom: 0.45rem;
	color: var(--navy-950);
}

.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 {
	padding: 1.25rem 1.35rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--white);
	box-shadow: 0 1px 3px rgba(11, 24, 43, 0.03);
	transition: border-color var(--dur) var(--ease-soft), transform var(--dur) var(--ease-out);
}

.edu-card:hover {
	border-color: var(--teal-line);
	transform: translateY(-2px);
}

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

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

.edu-card .edu-years {
	font-size: var(--fs-xs);
	color: var(--teal);
	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.5rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--white);
	color: var(--navy-900);
	font-size: var(--fs-sm);
	font-weight: 500;
	box-shadow: 0 1px 2px rgba(11, 24, 43, 0.03);
	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(--teal);
	color: var(--teal-dark);
	background: var(--teal-dim);
}

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

/* Homepage pubs preview — restrained, no count emphasis */
.section--pubs {
	background: var(--white);
	position: relative;
	border-top: 1px solid rgba(11,24,43,0.06);
}
.section--pubs .section-header {
	max-width: 42rem;
}
.pubs-preview .pub-item {
	border-radius: 10px;
	border: 1px solid rgba(11,24,43,0.06);
	box-shadow: none;
}
.pubs-preview .pub-item:hover {
	border-color: rgba(13,148,136,0.14);
	background: rgba(13,148,136,0.02);
}
.pubs-foot {
	margin-top: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.pubs-foot__hint {
	font-size: 0.78rem;
	color: var(--muted);
}

.pub-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--white);
	box-shadow: 0 1px 3px rgba(11, 24, 43, 0.03);
	transition: border-color var(--dur) var(--ease-soft);
}

.pub-item:hover {
	border-color: var(--teal-line);
}

.pub-index {
	width: 34px;
	height: 34px;
	border-radius: var(--radius-sm);
	display: grid;
	place-items: center;
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--white);
	background: var(--navy-900);
}

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

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

.pub-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.45rem;
}

.pub-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--teal);
	text-decoration: none;
	padding: 0.15rem 0.5rem;
	border-radius: var(--radius-sm);
	background: var(--teal-soft);
	transition: background var(--dur) var(--ease-soft), color var(--dur) var(--ease-soft);
}

.pub-link:hover {
	background: var(--teal);
	color: var(--white);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
	margin-top: clamp(3rem, 6vw, 5rem);
	border-top: 1px solid var(--border);
	background: var(--navy-950);
	color: var(--silver);
	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(--teal);
	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 rgba(255, 255, 255, 0.08);
	font-size: var(--fs-xs);
	color: var(--silver);
}

/* =========================================================
   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;
	}


	.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: 1.5rem 1rem;
	}

	.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__identity,
	.hero__lead {
		margin-inline: auto;
	}

	.hero__eyebrow {
		margin-bottom: 0.85rem;
	}

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

	.hero__identity {
		justify-content: center;
		margin-bottom: 0.85rem;
	}

	.hero__role {
		margin-bottom: 0;
	}

	.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;
	}

	.hero__frame {
		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 {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem 0.75rem;
	}

	.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.35rem;
		padding-block: 1rem;
		text-align: start;
	}

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

	/* 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-xs);
		margin-bottom: 0;
	}

	.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(13, 148, 136, 0.08), 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(--teal);
	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(--teal), 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: var(--teal);
	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__identity.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(13, 148, 136, 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: var(--white);
	box-shadow: var(--shadow-sm);
	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(-2px);
	border-color: var(--teal-line);
	box-shadow: 0 4px 14px rgba(11, 24, 43, 0.06);
}

.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(--ivory-soft);
	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: var(--ivory-soft);
}

.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(--teal-dark);
	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(--navy-950);
	line-height: var(--lh-snug);
	transition: color var(--dur) var(--ease-soft);
}

.article-card:hover .article-card__title {
	color: var(--teal-dark);
}

.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: var(--white);
	color: var(--navy-900);
	font-size: var(--fs-sm);
	font-weight: 500;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	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(--teal-dark);
	border-color: var(--teal);
	background: var(--ivory-soft);
}

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

.category-filter__count {
	font-size: 0.7em;
	opacity: 0.7;
	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: var(--white);
	box-shadow: var(--shadow-sm);
	transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}

.articles-search__inner:focus-within {
	border-color: var(--teal);
	box-shadow: 0 0 0 3px var(--teal-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(--navy-950);
	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(--teal);
	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(--navy-900);
	background: var(--white);
	border: 1px solid var(--border);
	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(--teal-dark);
	background: var(--ivory-soft);
	border-color: var(--teal);
}

.pagination .page-numbers.current {
	color: var(--white);
	background: var(--navy-900);
	border-color: var(--navy-900);
	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(--teal);
}

.article-meta__dot {
	opacity: 0.4;
}

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

.article-meta__category:hover {
	color: var(--teal-dark);
}

/* --- 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(--navy-950);
}

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

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

.article-content blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-inline-start: 3px solid var(--teal);
	background: var(--teal-dim);
	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(--teal);
	text-decoration: underline;
	text-decoration-color: var(--teal-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(--teal-dark);
	text-decoration-color: var(--teal-dark);
}

.article-content code {
	font-size: 0.88em;
	padding: 0.15em 0.4em;
	border-radius: 4px;
	background: var(--ivory-soft);
	color: var(--teal-dark);
	border: 1px solid var(--border);
}

.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(--white);
	border: none;
}

/* --- 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: var(--white);
	box-shadow: var(--shadow-sm);
	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(--teal);
}

.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: var(--white);
	color: var(--navy-900);
	cursor: pointer;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	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(--navy-950);
	border-color: var(--border-strong);
	background: var(--ivory-soft);
}

.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(--teal);
	border-color: var(--teal-line);
	background: var(--teal-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: var(--white);
	box-shadow: var(--shadow-sm);
	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: var(--border-strong);
	background: var(--ivory-soft);
	color: inherit;
}

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

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

.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(--navy-950);
	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(--navy-950);
	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(--teal);
}

/* 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(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
	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-md);
}

/* Author Highlight */
.comment-item.is-post-author > .comment-body {
	border-color: var(--teal);
	background: var(--white);
}

.author-badge {
	font-size: 10px;
	font-weight: 700;
	background: var(--teal-dim);
	color: var(--teal-dark);
	border: 1px solid var(--teal-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(--ivory-soft);
	border: 2px solid var(--border);
}

.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: var(--ivory-soft);
	color: var(--teal-dark);
	font-weight: 800;
	user-select: none;
}

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

.comment-item.is-post-author .avatar-fallback {
	color: var(--teal-dark);
	background: var(--teal-dim);
}

.comment-item.is-post-author .avatar-wrap {
	border-color: var(--teal-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(--navy-950);
}

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

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

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

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

.comment-metadata a:hover {
	color: var(--teal-dark);
}

/* 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(--teal-dark);
	background: var(--teal-dim);
	border: 1px dashed var(--teal-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(--teal-dark);
	border: 1px solid var(--teal-line);
	background: var(--teal-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(--teal-dark);
	border-color: var(--teal-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(13, 148, 136, 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(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 2.5rem;
	margin-top: 2rem;
}

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

.comment-reply-title a {
	font-size: var(--fs-xs);
	color: var(--teal);
	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(--ivory-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.95rem 1.25rem;
	color: var(--navy-950);
	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(--teal);
	box-shadow: 0 0 0 3px var(--teal-dim);
	background: var(--white);
}

.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(--ivory-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 1.25rem;
	color: var(--navy-950);
	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(--teal);
	box-shadow: 0 0 0 3px var(--teal-dim);
	background: var(--white);
}

/* 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(--teal);
	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(--teal-dark);
	font-weight: 600;
}

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

/* 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 var(--border);
	border-radius: 999px;
	background: var(--white);
	color: var(--navy-900);
	font-family: inherit;
	font-size: var(--fs-sm, 0.875rem);
	font-weight: 500;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: all 0.25s var(--ease-soft, ease);
	white-space: nowrap;
}

.audience-filter__btn:hover {
	background: var(--ivory-soft);
	color: var(--teal-dark);
	border-color: var(--teal);
}

.audience-filter__btn.is-active {
	background: var(--navy-900);
	color: var(--white);
	border-color: var(--navy-900);
	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: var(--ivory-soft);
	color: var(--navy-900);
	font-size: 0.75rem;
	font-weight: 600;
}

.audience-filter__btn.is-active .audience-filter__count {
	background: var(--navy-800);
	color: var(--white);
}

/* 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: var(--white);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s var(--ease-soft, ease), box-shadow 0.3s var(--ease-soft, ease), border-color 0.3s var(--ease-soft, ease);
}

.video-card:hover {
	transform: translateY(-2px);
	border-color: var(--teal-line);
	box-shadow: 0 4px 14px rgba(11, 24, 43, 0.06);
}

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

.video-card__image {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--ivory-soft);
}

.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: var(--ivory-soft);
}

.video-card__placeholder .material-icons {
	font-size: 3rem;
	color: var(--teal);
	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(7, 17, 30, 0.8);
	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(--white);
}

.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(7, 17, 30, 0.85);
	color: var(--white);
	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: var(--teal-dim);
	color: var(--teal-dark);
	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(--navy-950);
	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);
	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: var(--teal-dim);
	color: var(--teal-dark);
}

.audience-badge--patient {
	background: rgba(11, 24, 43, 0.08);
	color: var(--navy-900);
}

.audience-badge--student {
	background: rgba(30, 64, 175, 0.10);
	color: #1E40AF;
}

.audience-badge--assistant {
	background: rgba(109, 40, 217, 0.10);
	color: #6D28D9;
}

.audience-badge--dentist {
	background: rgba(185, 28, 28, 0.10);
	color: #B91C1C;
}

/* 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);
	opacity: 0.4;
	margin-bottom: 1rem;
	display: block;
}

.videos-empty p {
	color: var(--text-muted);
	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: var(--shadow-sm);
}

.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(--navy-950);
	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(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: border-color var(--dur) var(--ease-soft);
}

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

.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 1.5rem;
	background: transparent;
	border: none;
	color: var(--navy-950);
	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(--teal-dark);
}

.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(--teal-dark);
}

.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 {
	margin-top: 4rem;
	text-align: center;
	padding: clamp(2rem, 4vw, 3rem);
	background: var(--navy-900);
	color: var(--white);
	border-radius: var(--radius-xl);
	border: 1px solid var(--border-strong);
	box-shadow: var(--shadow-md);
}

.faq-cta p {
	font-size: var(--fs-md);
	margin-bottom: 1.5rem;
	color: var(--silver);
}

.faq-cta .btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--white);
	color: var(--navy-950);
	border-color: var(--white);
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.faq-cta .btn:hover {
	background: var(--teal);
	color: var(--white);
	border-color: var(--teal);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

/* =========================================================
   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(--white);
	color: var(--navy-900);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
	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(--teal-dark);
	border-color: var(--teal);
	background: var(--ivory-soft);
}

.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;
}

/* =========================================================
   HOMEPAGE REDESIGN V2.4 — CLASSICAL PRESTIGIOUS EDITORIAL ARCHITECTURE
   Pure Luminous White & Ivory Canvas (#FFFFFF, #FAF9F6, #FBFBFA)
   High-Contrast Petroleum Navy (#07111E, #0B182B) · Classic Medical Teal & Muted Gold
   100% SVG Visuals (Zero Ligature Dependencies) · High-Contrast CTA Band
   ========================================================= */

/* --- 0. Universal Persian Typography & Material Icons Preservation --- */
body[dir="rtl"] {
	letter-spacing: normal !important;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2:not(.cta-band__title),
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6 {
	font-family: var(--font-fa), "Vazirmatn", system-ui, -apple-system, sans-serif !important;
	color: #07111E !important;
	line-height: 1.4 !important;
	letter-spacing: normal !important;
}

body[dir="rtl"] p,
body[dir="rtl"] a,
body[dir="rtl"] li,
body[dir="rtl"] input,
body[dir="rtl"] button {
	font-family: var(--font-fa), "Vazirmatn", system-ui, -apple-system, sans-serif;
	letter-spacing: normal !important;
}

/* Material Icons Font Guard */
.material-icons,
span.material-icons,
i.material-icons {
	font-family: 'Material Icons' !important;
	font-weight: normal !important;
	font-style: normal !important;
	font-size: 20px;
	line-height: 1;
	letter-spacing: normal !important;
	text-transform: none !important;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr !important;
	-webkit-font-feature-settings: 'liga' 1 !important;
	font-feature-settings: 'liga' 1 !important;
	-webkit-font-smoothing: antialiased;
}

/* Common SVG Arrow Styling */
.arrow-svg {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}

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

body[dir="ltr"] .btn:hover .arrow-svg {
	transform: translateX(4px);
}

/* --- 1. Clean Classical Nav Header --- */
body.home .site-header {
	background: rgba(255, 255, 255, 0.96) !important;
	backdrop-filter: blur(16px) saturate(140%) !important;
	-webkit-backdrop-filter: blur(16px) saturate(140%) !important;
	border-bottom: 1px solid rgba(11, 24, 43, 0.08) !important;
	box-shadow: 0 2px 14px rgba(11, 24, 43, 0.04) !important;
}

body.home .site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.98) !important;
	border-bottom-color: rgba(11, 24, 43, 0.12) !important;
	box-shadow: 0 6px 24px rgba(11, 24, 43, 0.06) !important;
}

body.home .site-brand .brand-name {
	color: #07111E !important;
	font-weight: 800 !important;
	font-size: 1.08rem;
}

body.home .site-brand .brand-tag {
	color: #0D9488 !important;
	font-weight: 600;
}

body.home .site-brand .brand-mark:not(.has-logo) {
	background: #0B182B !important;
	color: #C5A46A !important;
	border: 1px solid rgba(197, 164, 106, 0.4) !important;
	box-shadow: 0 2px 8px rgba(11, 24, 43, 0.1) !important;
}

body.home .nav-menu > li > a {
	color: #1E293B !important;
	font-weight: 600;
	font-size: 0.9rem;
}

body.home .nav-menu > li > a:hover,
body.home .nav-menu > li.current-menu-item > a {
	color: #0D9488 !important;
}

/* --- 2. HERO SECTION: Classical Light Prestige --- */
.hero--editorial-light {
	position: relative;
	background: #FFFFFF !important;
	color: #07111E !important;
	padding-top: clamp(2rem, 4vw, 3.5rem) !important;
	padding-bottom: clamp(3.5rem, 6vw, 5.5rem) !important;
	overflow: hidden;
	isolation: isolate;
	border-bottom: 1px solid rgba(11, 24, 43, 0.07);
}

.hero--architectural .hero__container {
	display: flex;
	flex-direction: column;
	gap: clamp(2.5rem, 4vw, 4rem);
	position: relative;
	z-index: 2;
}

/* Hero Status Pill */
.hero-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	background: rgba(13, 148, 136, 0.08);
	border: 1px solid rgba(13, 148, 136, 0.25);
	box-shadow: 0 2px 10px rgba(13, 148, 136, 0.04);
	margin-bottom: 1.35rem;
	width: fit-content;
}

.status-pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #0D9488;
	box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7);
	animation: pulseLiveTeal 2s infinite;
}

@keyframes pulseLiveTeal {
	0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7); }
	70% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0); }
	100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.hero-status-pill__text {
	font-size: 0.82rem;
	font-weight: 700;
	color: #0F766E;
}

.hero--editorial-light .hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.86rem;
	font-weight: 700;
	color: #64748B;
	margin-bottom: 0.75rem;
}

.hero__eyebrow-line {
	width: 28px;
	height: 2px;
	background: #0D9488;
	display: inline-block;
}

.hero--editorial-light .hero__title {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1.25rem;
}

.hero--editorial-light .hero__title-main {
	font-size: clamp(2.3rem, 5vw, 4rem);
	font-weight: 900;
	line-height: 1.25;
	color: #07111E !important;
	letter-spacing: normal !important;
	text-shadow: none !important;
	opacity: 1 !important;
}

.hero--editorial-light .hero__title-sub {
	font-size: clamp(1.2rem, 2.4vw, 1.85rem);
	font-weight: 700;
	color: #0F766E !important;
	line-height: 1.4;
	letter-spacing: normal !important;
	margin-top: 0.35rem;
}

.hero--editorial-light .hero__identity {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: 1.25rem;
}

.hero--editorial-light .hero__name {
	font-size: 1.18rem;
	font-weight: 800;
	color: #07111E;
}

.hero--editorial-light .hero__role-sep {
	color: #94A3B8;
}

.hero--editorial-light .hero__role {
	font-size: 0.95rem;
	color: #475569;
	font-weight: 600;
}

.hero--editorial-light .hero__lead {
	font-size: clamp(1rem, 1.15vw, 1.15rem);
	line-height: 2.0;
	color: #334155;
	max-width: 58ch;
	margin-bottom: 2rem;
}

/* Hero Action Buttons */
.hero--editorial-light .btn-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.hero--editorial-light .btn-primary {
	background: #0B182B;
	color: #FFFFFF;
	border: 1px solid #0B182B;
	padding: 0.85rem 1.65rem;
	border-radius: 12px;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(11, 24, 43, 0.12);
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	transition: all 0.25s ease;
}

.hero--editorial-light .btn-primary:hover {
	background: #0D9488;
	border-color: #0D9488;
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(13, 148, 136, 0.25);
}

.hero--editorial-light .btn-secondary {
	background: #FFFFFF;
	color: #07111E;
	border: 1px solid rgba(11, 24, 43, 0.18);
	padding: 0.85rem 1.5rem;
	border-radius: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	box-shadow: 0 2px 10px rgba(11, 24, 43, 0.04);
	transition: all 0.25s ease;
}

.hero--editorial-light .btn-secondary:hover {
	background: #FAF9F6;
	border-color: #07111E;
	color: #07111E;
	transform: translateY(-2px);
}

.btn-link-tech {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #0F766E;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	padding: 0.65rem 0.85rem;
	transition: all 0.2s ease;
}

.btn-link-tech:hover {
	color: #07111E;
	transform: translateX(-4px);
}

/* Classical Academic Heritage Portrait Frame (Single Clean Flow) */
.hero-portrait__plate--classic {
	position: relative;
	border-radius: 22px;
	background: #FBFBFA;
	border: 1px solid rgba(11, 24, 43, 0.1);
	box-shadow: 0 16px 45px rgba(11, 24, 43, 0.05);
	padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2rem);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
}

.hero-portrait__classic-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.25rem;
	width: 100%;
}

.classic-crest {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: #0B182B;
	border: 2px solid #C5A46A;
	box-shadow: 0 0 0 6px rgba(197, 164, 106, 0.15);
	display: grid;
	place-items: center;
	margin-bottom: 0.25rem;
}

.classic-crest__monogram {
	font-size: 2.5rem;
	font-weight: 900;
	color: #C5A46A;
	line-height: 1;
}

.classic-card__info {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.classic-card__name {
	font-size: 1.35rem;
	font-weight: 800;
	color: #07111E;
	line-height: 1.3;
}

.classic-card__role {
	font-size: 0.9rem;
	font-weight: 700;
	color: #0D9488;
	line-height: 1.5;
}

.classic-card__affiliation {
	font-size: 0.82rem;
	color: #64748B;
	line-height: 1.6;
}

.classic-card__badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 0.5rem;
}

.classic-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.4rem 0.85rem;
	border-radius: 8px;
	background: #FFFFFF;
	border: 1px solid rgba(11, 24, 43, 0.09);
	box-shadow: 0 2px 8px rgba(11, 24, 43, 0.04);
	font-size: 0.78rem;
	font-weight: 700;
	color: #1E293B;
}

.badge-svg {
	flex-shrink: 0;
}

.classic-card__footer {
	width: 100%;
	margin-top: 0.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(11, 24, 43, 0.08);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
}

.classic-card__footer-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: #64748B;
}

.classic-card__footer-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: #0F766E;
	text-decoration: none;
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
	background: rgba(13, 148, 136, 0.08);
	border: 1px solid rgba(13, 148, 136, 0.2);
	transition: all 0.2s ease;
}

.classic-card__footer-link:hover {
	background: #0D9488;
	color: #FFFFFF;
}

/* Halston Strip (Docked as Hero Foundation) */
.hero--editorial-light .hero-strip {
	display: grid;
	grid-template-columns: 1.2fr 1.2fr 1fr;
	border: 1px solid rgba(11, 24, 43, 0.08);
	border-radius: 16px;
	background: #FFFFFF;
	box-shadow: 0 8px 30px rgba(11, 24, 43, 0.04);
	overflow: hidden;
}

.hero--editorial-light .hero-strip__col {
	padding: 1.25rem 1.6rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	position: relative;
}

.hero--editorial-light .hero-strip__col:not(:last-child)::after {
	content: "";
	position: absolute;
	inset-inline-end: 0;
	top: 18%;
	bottom: 18%;
	width: 1px;
	background: rgba(11, 24, 43, 0.08);
}

.hero-strip__meta-top {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.hero-strip__index {
	font-family: monospace, var(--font-en);
	font-size: 0.74rem;
	font-weight: 700;
	color: #C5A46A;
}

.hero-strip__label {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: normal !important;
	color: #64748B;
}

.hero-strip__value {
	font-size: 0.92rem;
	font-weight: 700;
	color: #0B182B;
	line-height: 1.45;
}

.hero-strip__value--link {
	color: #0F766E;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: color 0.2s ease, transform 0.2s ease;
}

.hero-strip__value--link:hover {
	color: #07111E;
	transform: translateX(-4px);
}

/* --- 3. PILLARS TICKER STRIP --- */
.pillars-strip {
	background: #FAF9F6 !important;
	border-block: 1px solid rgba(11, 24, 43, 0.08) !important;
	padding-block: 2rem !important;
}

.pillar-item {
	padding: 1.25rem 2rem;
	text-align: center;
}

.pillar-kicker {
	font-family: monospace, var(--font-en);
	font-size: 0.75rem;
	font-weight: 700;
	color: #C5A46A;
	margin-bottom: 0.35rem;
}

.pillar-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #07111E;
	display: block;
	margin-bottom: 0.35rem;
}

.pillar-desc {
	font-size: 0.86rem;
	color: #64748B;
	display: block;
}

.pillar-item:not(:last-child)::after {
	background: rgba(11, 24, 43, 0.08) !important;
}

/* --- 4. BENTO PRACTICE GRID --- */
.section--bento {
	background: #FFFFFF !important;
	padding-block: clamp(4.5rem, 8vw, 7rem) !important;
}

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

.bento-card {
	border-radius: 20px;
	padding: clamp(1.8rem, 3.5vw, 2.5rem);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	overflow: hidden;
	position: relative;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card--span2 {
	grid-column: span 2;
}

.bento-card--featured,
.bento-card--navy {
	background: linear-gradient(135deg, #07111E 0%, #0B182B 65%, #132644 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	color: #FFFFFF !important;
	box-shadow: 0 16px 40px rgba(11, 24, 43, 0.12);
}

.bento-card--featured:hover {
	transform: translateY(-5px);
	box-shadow: 0 24px 50px rgba(11, 24, 43, 0.2);
}

.bento-card--featured .bento-card__title {
	color: #FFFFFF !important;
	font-size: 1.35rem;
	font-weight: 800;
}

.bento-card--featured .bento-card__text {
	color: #CBD5E1 !important;
	font-size: 0.95rem;
	line-height: 1.85;
}

/* High-Contrast Tags in Dark Card */
.bento-card--featured .tech-tag {
	background: rgba(255, 255, 255, 0.16) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: #FFFFFF !important;
	padding: 0.35rem 0.8rem;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bento-card--featured .bento-card__action {
	color: #5EEAD4 !important;
	text-decoration: none;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	transition: gap 0.2s ease, color 0.2s ease;
}

.bento-card--featured .bento-card__action:hover {
	color: #FFFFFF !important;
	gap: 0.75rem;
}

.bento-card--ivory {
	background: #FAF9F6 !important;
	border: 1px solid rgba(11, 24, 43, 0.08) !important;
	box-shadow: 0 4px 18px rgba(11, 24, 43, 0.03);
}

.bento-card--ivory:hover {
	transform: translateY(-4px);
	border-color: #0D9488 !important;
	box-shadow: 0 14px 32px rgba(11, 24, 43, 0.06);
}

.bento-card--editorial {
	background: #FAF9F6 !important;
	border: 1px solid rgba(197, 164, 106, 0.25) !important;
	box-shadow: 0 4px 18px rgba(197, 164, 106, 0.05);
}

.bento-card--editorial:hover {
	transform: translateY(-4px);
	border-color: #C5A46A !important;
	box-shadow: 0 14px 32px rgba(197, 164, 106, 0.1);
}

.bento-card__index {
	font-family: monospace, var(--font-en);
	font-size: 0.74rem;
	font-weight: 700;
	color: #64748B;
}

.bento-card--featured .bento-card__index {
	color: #C5A46A;
}

/* --- 5. LIGHT ARCHITECTURAL DRAFTING PIPELINE --- */
.section--inventions {
	background: #FFFFFF !important;
	color: #07111E !important;
	position: relative;
	overflow: hidden;
	padding-block: clamp(5rem, 8vw, 7.5rem) !important;
	border-block: 1px solid rgba(11, 24, 43, 0.07);
}

.section-kicker--blueprint {
	background: rgba(13, 148, 136, 0.08) !important;
	border: 1px solid rgba(13, 148, 136, 0.22) !important;
	color: #0F766E !important;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
}

.kicker-tag {
	font-family: monospace, var(--font-en);
	color: #8E6E2A;
	font-size: 0.72rem;
	letter-spacing: normal !important;
}

.section--inventions .section-title {
	color: #07111E !important;
	font-size: clamp(1.85rem, 3.5vw, 2.75rem) !important;
	font-weight: 900 !important;
	margin-top: 0.85rem;
	margin-bottom: 0.75rem;
}

.section--inventions .section-desc {
	color: #475569 !important;
	font-size: 1.05rem !important;
	line-height: 1.9 !important;
}

/* 4-Column Pipeline Flow */
.pipeline-flow--4cols {
	display: grid;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 1.35rem !important;
	position: relative;
	margin-bottom: clamp(3rem, 6vw, 4.5rem) !important;
}

@media (min-width: 1025px) {
	.pipeline-flow--4cols::before {
		content: "";
		position: absolute;
		top: 40px;
		inset-inline-start: 10%;
		inset-inline-end: 10%;
		height: 2px;
		background: repeating-linear-gradient(90deg, rgba(13, 148, 136, 0.3) 0, rgba(13, 148, 136, 0.3) 8px, transparent 8px, transparent 16px);
		pointer-events: none;
		z-index: 0;
	}
}

.pipeline-step--editorial {
	background: #FFFFFF !important;
	border: 1px solid rgba(11, 24, 43, 0.09) !important;
	border-radius: 18px;
	padding: 1.4rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	position: relative;
	z-index: 1;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 4px 20px rgba(11, 24, 43, 0.03);
}

.pipeline-step--editorial:hover {
	transform: translateY(-5px);
	border-color: #0D9488 !important;
	box-shadow: 0 16px 36px rgba(13, 148, 136, 0.1);
}

.pipeline-step--editorial .pipeline-step__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.pipeline-step--editorial .pipeline-step__number {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #0B182B;
	color: #FFFFFF;
	border: 2px solid #0D9488;
	box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
	display: grid;
	place-items: center;
	font-family: monospace, var(--font-en);
	font-size: 0.95rem;
	font-weight: 800;
}

.pipeline-step--editorial .pipeline-step__phase {
	font-size: 0.78rem;
	font-weight: 700;
	color: #0F766E;
}

.pipeline-step__schematic {
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(11, 24, 43, 0.08);
	background: #F8FAFC;
}

.schematic-svg {
	display: block;
	width: 100%;
	height: auto;
}

.pipeline-step--editorial .pipeline-step__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #07111E;
	margin-bottom: 0.35rem;
	line-height: 1.45;
}

.pipeline-step--editorial .pipeline-step__desc {
	font-size: 0.84rem;
	color: #64748B;
	line-height: 1.8;
	margin-bottom: 0.85rem;
}

.pipeline-step--editorial .pipeline-step__badge {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	border-radius: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	background: rgba(197, 164, 106, 0.12);
	color: #8E6E2A;
	border: 1px solid rgba(197, 164, 106, 0.25);
}

/* Technical Blueprint Spotlight Dossier Panel */
.invention-panel--editorial-light {
	background: #F7F6F2 !important;
	border: 1px solid rgba(11, 24, 43, 0.12) !important;
	border-radius: 22px;
	padding: clamp(2rem, 5vw, 3.5rem);
	box-shadow: 0 16px 45px rgba(11, 24, 43, 0.06);
	position: relative;
	overflow: hidden;
	color: #07111E !important;
}

.patent-id-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.patent-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.85rem;
	border-radius: 8px;
	background: #FFFFFF;
	border: 1px solid rgba(197, 164, 106, 0.35);
	color: #8E6E2A;
	font-size: 0.82rem;
	font-weight: 700;
}

.patent-chip--ipc {
	border-color: rgba(13, 148, 136, 0.3);
	color: #0F766E;
	font-family: monospace, var(--font-en);
}

.invention-panel--editorial-light .blueprint-callouts {
	margin-block: 1.75rem;
	padding: 1.4rem;
	border-radius: 14px;
	background: #FFFFFF;
	border: 1px solid rgba(11, 24, 43, 0.08);
}

.blueprint-callouts__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: #07111E;
	margin-bottom: 0.75rem;
}

.blueprint-callouts__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.blueprint-callouts__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.88rem;
	color: #334155;
	line-height: 1.8;
}

.callout-bullet {
	color: #C5A46A;
	font-weight: 800;
	font-size: 1.1rem;
	line-height: 1.4;
}

.invention-panel--editorial-light .invention-metric {
	background: #FFFFFF;
	border: 1px solid rgba(11, 24, 43, 0.07);
	border-radius: 12px;
	padding: 1.25rem 1rem;
	text-align: center;
}

.invention-panel--editorial-light .invention-metric__val {
	font-size: 1.25rem;
	font-weight: 800;
	color: #0F766E;
}

.invention-panel--editorial-light .invention-metric__lbl {
	font-size: 0.78rem;
	color: #64748B;
	margin-top: 0.25rem;
}

/* --- 6. CINEMATIC LECTURES & CENTERED PLAY BUTTON --- */
.section--lectures {
	background: #FFFFFF;
	padding-block: clamp(4.5rem, 8vw, 7rem);
}

.lectures-grid--cinematic {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.lecture-cinematic-card {
	background: #FFFFFF;
	border: 1px solid rgba(11, 24, 43, 0.08);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(11, 24, 43, 0.03);
	display: flex;
	flex-direction: column;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lecture-cinematic-card:hover {
	transform: translateY(-5px);
	border-color: #0D9488;
	box-shadow: 0 16px 36px rgba(11, 24, 43, 0.08);
}

.lecture-cinematic-card__media {
	position: relative !important;
	aspect-ratio: 16 / 9.5;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
	background: #0B182B;
}

.lecture-cinematic-card__fallback {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at center, #1B355B 0%, #0B182B 85%);
}

.lecture-cinematic-card__spotlight {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 30%, rgba(13, 148, 136, 0.3), transparent 70%);
}

.lecture-cinematic-card__badge-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #FFFFFF;
	font-family: monospace, var(--font-en);
	font-size: 0.7rem;
	font-weight: 700;
	position: relative;
	z-index: 2;
}

/* Play Button PERFECTLY CENTERED in Video Frame */
.lecture-cinematic-card__overlay {
	position: absolute !important;
	inset: 0 !important;
	z-index: 3 !important;
	padding: 1rem !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	pointer-events: none !important;
}

.lecture-badge {
	padding: 0.35rem 0.8rem !important;
	border-radius: 999px !important;
	background: rgba(11, 24, 43, 0.82) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	color: #FFFFFF !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: normal !important;
}

.lecture-play-cue {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translate(-50%, -50%) !important;
	width: 56px !important;
	height: 56px !important;
	border-radius: 50% !important;
	background: #0D9488 !important;
	color: #FFFFFF !important;
	display: grid !important;
	place-items: center !important;
	box-shadow: 0 0 0 6px rgba(13, 148, 136, 0.35) !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
	pointer-events: auto !important;
}

.lecture-cinematic-card:hover .lecture-play-cue {
	transform: translate(-50%, -50%) scale(1.15) !important;
	box-shadow: 0 0 0 12px rgba(13, 148, 136, 0.45) !important;
	background: #0F766E !important;
}

.lecture-cinematic-card__content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: space-between;
}

.lecture-cinematic-card__meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	color: #64748B;
	margin-bottom: 0.5rem;
}

.lecture-cinematic-card__title {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--navy-950);
	margin-bottom: 0.5rem;
	line-height: 1.45;
}

.lecture-cinematic-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.lecture-cinematic-card__title a:hover {
	color: #0D9488;
}

.lecture-cinematic-card__excerpt {
	font-size: 0.86rem;
	color: #475569;
	line-height: 1.8;
	margin-bottom: 1.25rem;
}

/* --- 7. ATELIER NORR EDITORIAL LIBRARY & 3D BOOK --- */
.section--editorial-pubs {
	background: #FAF9F6 !important;
	padding-block: clamp(4.5rem, 8vw, 7rem);
	border-block: 1px solid rgba(11, 24, 43, 0.06);
}

.editorial-layout {
	display: grid;
	grid-template-columns: 1.1fr 1.3fr;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: start;
}

/* 3D Realistic Hardcover Book Presentation */
.book-3d-container {
	perspective: 1200px;
	padding: 2.5rem 1rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.book-3d {
	position: relative;
	width: 230px;
	height: 330px;
	transform-style: preserve-3d;
	transform: rotateY(-24deg) rotateX(6deg);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
}

.book-3d-container:hover .book-3d {
	transform: rotateY(-10deg) rotateX(2deg) translateY(-8px);
}

.book-cover {
	position: absolute;
	inset: 0;
	background: linear-gradient(145deg, #0B182B 0%, #07111E 100%);
	border-radius: 4px 12px 12px 4px;
	padding: 1.6rem 1.35rem;
	color: #FFFFFF;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: inset 4px 0 10px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(212, 175, 55, 0.35);
	transform: translateZ(16px);
}

.book-cover__accent-bar {
	width: 36px;
	height: 3px;
	background: #C5A46A;
	border-radius: 2px;
	margin-bottom: 0.75rem;
}

.book-cover__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.book-cover__monogram {
	font-size: 1.5rem;
	font-weight: 800;
	color: #C5A46A;
}

.book-cover__tag {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #94A3B8;
	font-family: monospace, var(--font-en);
}

.book-cover__title {
	font-size: 1.15rem;
	font-weight: 800;
	color: #FFFFFF;
	line-height: 1.45;
	margin: 0.75rem 0 0.25rem;
}

.book-cover__subtitle {
	font-size: 0.75rem;
	color: #94A3B8;
	line-height: 1.6;
	margin: 0;
}

.book-cover__footer {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 0.75rem;
}

.book-cover__author {
	display: block;
	font-size: 0.82rem;
	font-weight: 700;
	color: #C5A46A;
}

.book-cover__edition {
	display: block;
	font-size: 0.68rem;
	color: #64748B;
	margin-top: 0.15rem;
}

.book-spine {
	position: absolute;
	top: 0;
	bottom: 0;
	inset-inline-start: 0;
	width: 32px;
	background: #060D1A;
	border-radius: 4px 0 0 4px;
	transform: rotateY(-90deg) translateZ(16px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #C5A46A;
	font-size: 0.72rem;
	font-weight: 700;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	letter-spacing: 0.1em;
}

.book-pages {
	position: absolute;
	top: 4px;
	bottom: 4px;
	inset-inline-end: 0;
	width: 30px;
	background: repeating-linear-gradient(to bottom, #F8FAFC 0px, #E2E8F0 1px, #FFFFFF 2px);
	transform: rotateY(90deg) translateZ(214px);
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
}

.book-shadow {
	width: 220px;
	height: 22px;
	background: radial-gradient(ellipse, rgba(11, 24, 43, 0.18) 0%, transparent 75%);
	filter: blur(8px);
	margin-top: 0.75rem;
	transform: rotateY(-24deg);
}

.book-editorial-meta {
	margin-top: 1.5rem;
}

.book-meta-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.book-meta-chips .meta-chip {
	background: #FFFFFF;
	border: 1px solid rgba(11, 24, 43, 0.08);
	color: var(--navy-900);
	font-size: 0.78rem;
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
}

/* Editorial List Items */
.editorial-feed__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: monospace, var(--font-en);
	font-size: 0.75rem;
	font-weight: 700;
	color: #64748B;
	padding-bottom: 0.85rem;
	border-bottom: 2px solid var(--navy-950);
	margin-bottom: 1.5rem;
}

.editorial-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: baseline;
	gap: 1.25rem;
	padding-block: 1.35rem;
	border-bottom: 1px solid rgba(11, 24, 43, 0.08);
	transition: background 0.2s ease, transform 0.2s ease;
}

.editorial-item:hover {
	transform: translateX(-4px);
}

.editorial-item__num {
	font-family: monospace, var(--font-en);
	font-size: 0.82rem;
	font-weight: 700;
	color: #0D9488;
}

.editorial-item__title {
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--navy-950);
	line-height: 1.5;
	margin-bottom: 0.35rem;
}

.editorial-item__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.editorial-item__title a:hover {
	color: #0D9488;
}

.editorial-item__journal {
	font-size: 0.82rem;
	color: #64748B;
}

.editorial-item__badge {
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.2rem 0.55rem;
	border-radius: 6px;
	background: rgba(13, 148, 136, 0.08);
	color: #0F766E;
	border: 1px solid rgba(13, 148, 136, 0.2);
}

.editorial-item__link {
	color: #94A3B8;
	transition: color 0.2s ease, transform 0.2s ease;
}

.editorial-item:hover .editorial-item__link {
	color: #0D9488;
	transform: translate(-3px, -3px);
}

/* --- 8. MONUMENTAL STATEMENT --- */
.section--statement {
	background: #FFFFFF !important;
	padding-block: clamp(4.5rem, 8vw, 7rem) !important;
}

.statement-card {
	max-width: 52rem;
	margin-inline: auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.75rem;
	padding: clamp(2rem, 5vw, 3.5rem);
	background: #FAF9F6;
	border: 1px solid rgba(11, 24, 43, 0.08);
	border-radius: 24px;
	box-shadow: 0 8px 28px rgba(11, 24, 43, 0.03);
}

.statement-card__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.76rem;
	font-weight: 700;
	color: #0D9488;
	text-transform: uppercase;
}

.statement-card__quote {
	margin: 0;
	font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.85rem);
	line-height: 1.8;
}

.statement-card__lead {
	font-weight: 800;
	color: var(--navy-950);
}

.statement-card__body {
	font-weight: 400;
	color: #475569;
}

.statement-card__author strong {
	color: var(--navy-950);
	font-size: 1.05rem;
	font-weight: 800;
}

.statement-card__author span {
	color: #64748B;
	font-size: 0.82rem;
}

/* --- 9. CALL TO ACTION: 100% HIGH CONTRAST (Screenshot 3 Fix) --- */
.section--tight {
	padding-block: clamp(3.5rem, 6vw, 5.5rem) !important;
}

.cta-band {
	background: linear-gradient(135deg, #07111E 0%, #0B182B 65%, #132644 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	border-radius: 24px !important;
	padding: clamp(2.5rem, 5vw, 4rem) !important;
	box-shadow: 0 20px 50px rgba(11, 24, 43, 0.18) !important;
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 2rem !important;
	color: #FFFFFF !important;
}

.cta-band__text {
	max-width: 36rem;
}

.cta-band h2,
.cta-band__title,
body.home .cta-band h2,
body[dir="rtl"] .cta-band h2,
body[dir="rtl"] .cta-band__title {
	color: #FFFFFF !important;
	font-size: clamp(1.8rem, 3.2vw, 2.5rem) !important;
	font-weight: 900 !important;
	line-height: 1.35 !important;
	margin-bottom: 0.75rem !important;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
}

.cta-band p,
.cta-band__desc,
body.home .cta-band p,
body[dir="rtl"] .cta-band p,
body[dir="rtl"] .cta-band__desc {
	color: #E2E8F0 !important;
	font-size: 1.05rem !important;
	line-height: 1.9 !important;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.cta-btn-primary {
	background: #FFFFFF !important;
	color: #07111E !important;
	border: 1px solid #FFFFFF !important;
	padding: 0.85rem 1.65rem !important;
	border-radius: 12px !important;
	font-weight: 800 !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.65rem !important;
	transition: all 0.25s ease !important;
}

.cta-btn-primary:hover {
	background: #0D9488 !important;
	border-color: #0D9488 !important;
	color: #FFFFFF !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 10px 24px rgba(13, 148, 136, 0.35) !important;
}

.cta-btn-ghost {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #FFFFFF !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	padding: 0.85rem 1.5rem !important;
	border-radius: 12px !important;
	font-weight: 700 !important;
	display: inline-flex !important;
	align-items: center !important;
	transition: all 0.25s ease !important;
}

.cta-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.18) !important;
	border-color: #FFFFFF !important;
	color: #FFFFFF !important;
	transform: translateY(-2px) !important;
}


/* =========================================================
   ABOUT & RESUME PAGES — EDITORIAL & ARCHITECTURAL UPGRADES
   ========================================================= */
.about-sidebar {
	position: sticky;
	top: calc(var(--header-h, 80px) + 1.5rem);
}

.about-portrait-card {
	background: #FFFFFF;
	border: 1px solid rgba(11, 24, 43, 0.08);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(11, 24, 43, 0.05);
}

.about-portrait-card__frame {
	position: relative;
	aspect-ratio: 4 / 4.8;
	background: radial-gradient(500px 350px at 30% 20%, #1B355B, #0B182B 75%);
	overflow: hidden;
	display: grid;
	place-items: center;
}

.about-portrait-card__mesh {
	position: absolute;
	inset: 0;
	background-image: 
		linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 20px 20px;
	pointer-events: none;
	z-index: 1;
}

.about-portrait-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.about-portrait-card__fallback {
	position: relative;
	z-index: 2;
}

.about-portrait-card__mono {
	font-size: clamp(3.5rem, 6vw, 4.8rem);
	font-weight: 800;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.about-portrait-card__info {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.about-portrait-card__name {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--navy-950);
	margin: 0;
	line-height: 1.3;
}

.about-portrait-card__role {
	font-size: 0.82rem;
	color: #64748B;
	margin: 0;
	line-height: 1.6;
}

.about-portrait-card__chips {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding-block: 0.5rem;
	border-block: 1px solid rgba(11, 24, 43, 0.06);
}

.mini-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--navy-900);
}

.mini-chip .material-icons {
	font-size: 16px;
	color: var(--teal);
}

.about-portrait-card__actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-top: 0.5rem;
}

.btn-block {
	width: 100%;
	justify-content: center;
}

.about-lead-statement {
	margin-bottom: 2.5rem;
}

.editorial-quote {
	margin: 0;
	padding: 1.5rem 1.75rem;
	border-radius: 16px;
	background: var(--ivory);
	border: 1px solid rgba(11, 24, 43, 0.07);
	border-inline-start: 4px solid var(--teal);
	font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
	line-height: 1.85;
}

.editorial-quote__bold {
	font-weight: 800;
	color: var(--navy-950);
}

.editorial-quote__muted {
	font-weight: 400;
	color: #64748B;
}

.editorial-prose {
	font-size: 1.02rem;
	line-height: 2.1;
	color: #334155;
}

.editorial-prose h2 {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--navy-950);
	margin: 2.5rem 0 1rem;
	position: relative;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(11, 24, 43, 0.08);
}

.editorial-prose h3 {
	font-size: 1.18rem;
	font-weight: 700;
	color: var(--teal-dark);
	margin: 2rem 0 0.8rem;
}

.about-values-section {
	margin-top: 3.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid rgba(11, 24, 43, 0.08);
}

.about-values-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--navy-950);
	margin-top: 0.5rem;
	margin-bottom: 1.75rem;
}

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

.value-bento-card {
	background: #FFFFFF;
	border: 1px solid rgba(11, 24, 43, 0.08);
	border-radius: 16px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-bento-card:hover {
	transform: translateY(-3px);
	border-color: var(--teal);
	box-shadow: 0 10px 24px rgba(11, 24, 43, 0.06);
}

.value-bento-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.value-bento-card__icon {
	color: var(--teal);
	font-size: 24px;
}

.value-bento-card__num {
	font-size: 1rem;
	font-weight: 800;
	font-family: var(--font-en);
	color: rgba(11, 24, 43, 0.18);
}

.value-bento-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--navy-950);
	margin: 0;
}

.value-bento-card__text {
	font-size: 0.86rem;
	color: #64748B;
	line-height: 1.85;
	margin: 0;
}

.about-footer-nav {
	margin-top: 3.5rem;
}

.about-footer-card {
	background: var(--navy-950);
	border-radius: 18px;
	padding: clamp(1.75rem, 3.5vw, 2.5rem);
	color: #FFFFFF;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.about-footer-card strong {
	font-size: 1.15rem;
	color: #FFFFFF;
	display: block;
	margin-bottom: 0.35rem;
}

.about-footer-card p {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
	max-width: 44ch;
}

/* Resume Education & Credentials */
.edu-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.35rem;
}

.edu-card {
	background: #FFFFFF;
	border: 1px solid rgba(11, 24, 43, 0.08);
	border-radius: 16px;
	padding: 1.6rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.edu-card:hover {
	transform: translateY(-3px);
	border-color: var(--teal);
	box-shadow: 0 10px 24px rgba(11, 24, 43, 0.06);
}

.edu-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.25rem;
}

.edu-years {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--teal-dark);
}

.edu-degree {
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--ivory-soft);
	color: var(--navy-900);
	border: 1px solid rgba(11, 24, 43, 0.06);
}

.edu-card__title {
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--navy-950);
	margin: 0;
	line-height: 1.4;
}

.edu-card__text {
	font-size: 0.86rem;
	color: #64748B;
	line-height: 1.8;
	margin: 0;
}

.pub-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pub-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.65rem;
	border-radius: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	background: rgba(13, 148, 136, 0.08);
	color: var(--teal-dark);
	border: 1px solid rgba(13, 148, 136, 0.2);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pub-link:hover {
	background: var(--teal);
	color: #FFFFFF;
	border-color: var(--teal);
}

.skill-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	background: #FFFFFF;
	border: 1px solid rgba(11, 24, 43, 0.08);
	color: var(--navy-950);
	font-size: 0.82rem;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(11, 24, 43, 0.03);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.skill-chip:hover {
	transform: translateY(-2px);
	border-color: var(--teal);
}

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

.honor-card {
	background: #FFFFFF;
	border: 1px solid rgba(197, 164, 106, 0.22);
	border-radius: 16px;
	padding: 1.5rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.honor-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(197, 164, 106, 0.12);
}

.honor-card__icon .material-icons {
	font-size: 24px;
	color: var(--gold);
}

.honor-card__year {
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--gold);
	margin-top: 0.35rem;
	margin-bottom: 0.25rem;
}

/* --- 7. Responsive Media Queries --- */
@media (max-width: 1024px) {
	.hero-strip {
		grid-template-columns: 1fr;
	}
	.hero-strip__col:not(:last-child)::after {
		inset-inline-end: 10%;
		inset-inline-start: 10%;
		top: auto;
		bottom: 0;
		width: auto;
		height: 1px;
	}
	.bento-grid {
		grid-template-columns: 1fr;
	}
	.bento-card--span2 {
		grid-column: span 1;
	}
	.pipeline-flow {
		grid-template-columns: 1fr;
	}
	.invention-panel__metrics {
		grid-template-columns: 1fr;
	}
	.lectures-grid--cinematic {
		grid-template-columns: 1fr;
	}
	.editorial-layout {
		grid-template-columns: 1fr;
	}
	.editorial-sidebar {
		position: static;
	}
}

/* Additional Responsive Rules for V2.2 Redesign */
@media (max-width: 1024px) {
	.hero--dark-luxury .hero-strip {
		grid-template-columns: 1fr !important;
	}
	.pipeline-flow--4cols {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.editorial-layout {
		grid-template-columns: 1fr !important;
	}
	.book-3d-container {
		padding: 1.5rem 0.5rem !important;
	}
}

@media (max-width: 640px) {
	.pipeline-flow--4cols {
		grid-template-columns: 1fr !important;
	}
	.hero-portrait__plate {
		min-height: 380px !important;
	}
	.cad-ring--outer {
		width: 220px !important;
		height: 220px !important;
	}
	.cad-ring--middle {
		width: 160px !important;
		height: 160px !important;
	}
	.cad-ring--inner {
		width: 110px !important;
		height: 110px !important;
	}
	.cad-axis--x {
		width: 240px !important;
		left: calc(50% - 120px) !important;
	}
	.cad-axis--y {
		height: 240px !important;
		top: calc(48% - 120px) !important;
	}
	.book-3d {
		width: 190px !important;
		height: 275px !important;
	}
	.book-shadow {
		width: 180px !important;
	}
}

/* Additional Responsive Rules for Light Editorial Redesign */
@media (max-width: 1024px) {
	.hero--editorial-light .hero-strip {
		grid-template-columns: 1fr !important;
	}
	.pipeline-flow--4cols {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.editorial-layout {
		grid-template-columns: 1fr !important;
	}
	.book-3d-container {
		padding: 1.5rem 0.5rem !important;
	}
}

@media (max-width: 640px) {
	.pipeline-flow--4cols {
		grid-template-columns: 1fr !important;
	}
	.hero-portrait__plate {
		min-height: 380px !important;
	}
	.cad-ring--outer {
		width: 220px !important;
		height: 220px !important;
	}
	.cad-ring--middle {
		width: 160px !important;
		height: 160px !important;
	}
	.cad-ring--inner {
		width: 110px !important;
		height: 110px !important;
	}
	.cad-axis--x {
		width: 240px !important;
		left: calc(50% - 120px) !important;
	}
	.cad-axis--y {
		height: 240px !important;
		top: calc(48% - 120px) !important;
	}
	.book-3d {
		width: 190px !important;
		height: 275px !important;
	}
	.book-shadow {
		width: 180px !important;
	}
}
