/* =============================================
   SHADI AHMAD - هندسة النفوذ
   Design System: Deep Navy, Charcoal, Gold
   ============================================= */

:root {
    --navy: #0D1B2A;
    --navy-light: #152436;
    --navy-mid: #1a2d42;
    --charcoal: #1C2630;
    --charcoal-light: #2a3540;
    --burgundy: #6B2D3E;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dim: rgba(201, 168, 76, 0.15);
    --white: #F8F6F1;
    --white-soft: #EDE9E0;
    --gray-text: #8A9BB0;
    --gray-light: #B8C4D0;
    --border-color: rgba(201, 168, 76, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Semantic theme variables (dark defaults) */
    --bg-primary: #0D1B2A;
    --bg-secondary: #1C2630;
    --text-primary: #F8F6F1;
    --text-secondary: #B8C4D0;
    --text-muted: #8A9BB0;

    --font-arabic: 'Noto Serif Arabic', 'Cairo', serif;
    --font-display: 'Playfair Display', 'Noto Serif Arabic', serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-arabic);
    background-color: var(--navy);
    color: var(--white);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

body.lang-tr {
    direction: ltr;
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-arabic);
    font-weight: 700;
    line-height: 1.3;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

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

/* ---- NAVIGATION ---- */
.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: transparent;
}

/*
 * IMPORTANT: backdrop-filter on a parent element creates a new containing
 * block for position:fixed children (CSS spec). This breaks the mobile menu
 * drawer. The fix is to apply the blur on a ::before pseudo-element instead —
 * pseudo-elements don't affect the containing block of sibling real elements.
 */
.main-nav.scrolled {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.main-nav.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.brand-mark {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.nav-brand:hover .brand-mark {
    opacity: 0.82;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1;
}

.brand-tagline {
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 0.18em;
    font-weight: 400;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-light);
    padding: 0.5rem 0.85rem;
    border-radius: 4px;
    position: relative;
    letter-spacing: 0.03em;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0.85rem;
    left: 0.85rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.nav-link-cta {
    background: var(--gold);
    color: var(--navy) !important;
    padding: 0.55rem 1.25rem;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-right: 0.5rem;
}

.nav-link-cta::after { display: none; }

.nav-link-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
    padding-right: 1rem;
    border-right: 1px solid var(--border-subtle);
}

body.lang-tr .lang-switcher {
    margin-right: 0;
    margin-left: 1rem;
    padding-right: 0;
    padding-left: 1rem;
    border-right: none;
    border-left: 1px solid var(--border-subtle);
}

.lang-btn {
    font-size: 0.75rem;
    color: var(--gray-text);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: 3px;
}

.lang-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ---- HERO SECTION ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(107, 45, 62, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, var(--navy) 0%, #0a1520 50%, #0D1B2A 100%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.8) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem 2.5rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-overline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-overline::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-overline span {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
}

.hero-name {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 0.85rem;
    color: var(--gray-text);
    letter-spacing: 0.08em;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-subtitle span {
    position: relative;
}

.hero-subtitle span:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -1rem;
    color: var(--gold);
}

body.lang-tr .hero-subtitle span:not(:last-child)::after {
    right: auto;
    left: -1rem;
}

.hero-ticker {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.hero-ticker-label {
    font-size: 0.65rem;
    color: var(--gray-text);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.ticker-wrapper {
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 3rem;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-size: 0.85rem;
    color: var(--gray-light);
    font-style: italic;
    white-space: nowrap;
    flex-shrink: 0;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-frame {
    position: relative;
    width: 380px;
    height: 480px;
}

.hero-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--charcoal) 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
}

.hero-photo-placeholder .no-photo {
    text-align: center;
    color: var(--gray-text);
}

.hero-photo-placeholder .no-photo svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.hero-photo-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    pointer-events: none;
}

.hero-photo-frame::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 16px;
    bottom: -16px;
    left: -16px;
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 4px;
    pointer-events: none;
    z-index: -1;
}

.hero-photo-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--charcoal);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    max-width: 220px;
    box-shadow: var(--shadow-md);
}

.hero-photo-badge p {
    font-size: 0.75rem;
    color: var(--gray-text);
    line-height: 1.6;
    font-style: italic;
}

/* ---- VISION SECTION ---- */
.vision-section {
    padding: 8rem 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8rem;
    align-items: start;
}

.vision-photo {
    position: sticky;
    top: 8rem;
}

.vision-photo-frame {
    aspect-ratio: 3/4;
    background: var(--navy-light);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.vision-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%);
}

.vision-content {
    padding-top: 1rem;
}

.vision-text-block {
    margin-bottom: 2.5rem;
}

.vision-text-block p {
    font-size: 1.05rem;
    color: var(--gray-light);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.vision-text-block p:first-of-type {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 500;
    font-style: italic;
    border-right: 3px solid var(--gold);
    padding-right: 1.5rem;
    margin-bottom: 2rem;
}

body.lang-tr .vision-text-block p:first-of-type {
    border-right: none;
    border-left: 3px solid var(--gold);
    padding-right: 0;
    padding-left: 1.5rem;
}

/* ---- STRATEGIC FIELDS ---- */
.fields-section {
    padding: 8rem 0;
    background: var(--navy);
}

.section-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.section-header.centered {
    align-items: center;
    text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.section-header.centered .section-divider {
    margin: 0 auto;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
}

.field-card {
    background: var(--navy);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.field-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, var(--gold-dim), transparent);
    opacity: 0;
    transition: var(--transition);
}

.field-card:hover {
    background: var(--navy-light);
}

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

.field-number {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.field-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--gold);
    opacity: 0.7;
}

.field-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.field-desc {
    font-size: 0.85rem;
    color: var(--gray-text);
    line-height: 1.8;
}

/* ---- THOUGHT SCHOOL ---- */
.school-section {
    padding: 8rem 0;
    background: var(--charcoal);
    position: relative;
}

.school-section::before,
.school-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.school-section::before { top: 0; }
.school-section::after { bottom: 0; }

.school-header {
    text-align: center;
    margin-bottom: 5rem;
}

.school-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.school-subtitle {
    font-size: 1rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

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

.pillars-grid::before {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    right: 33.33%;
    width: 1px;
    background: var(--border-subtle);
}

.pillars-grid::after {
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    right: 66.66%;
    width: 1px;
    background: var(--border-subtle);
}

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

.pillar-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.pillar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.pillar-desc {
    font-size: 0.875rem;
    color: var(--gray-text);
    line-height: 1.9;
}

/* ---- ARTICLES / RESEARCH CARDS ---- */
.articles-section,
.research-section {
    padding: 8rem 0;
}

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

.article-card {
    background: var(--charcoal);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.article-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
}

.article-card:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-card:hover::after {
    transform: scaleX(1);
}

.card-category {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-quote {
    font-size: 0.85rem;
    color: var(--gray-text);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
    border-right: 2px solid var(--gold);
    opacity: 0.7;
}

body.lang-tr .card-quote {
    padding-right: 0;
    padding-left: 1rem;
    border-right: none;
    border-left: 2px solid var(--gold);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--gray-text);
}

.card-meta-divider {
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.5;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.card-link:hover {
    color: var(--gold-light);
}

/* ---- RESEARCH CARDS ---- */
.research-card {
    background: var(--white);
    color: var(--navy);
    padding: 2.5rem;
    border-radius: 2px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.06);
}

.research-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.research-card .card-category {
    color: var(--gold);
}

.research-card .card-title {
    color: var(--navy);
    font-size: 1.1rem;
}

.research-card .card-meta {
    color: #888;
}

.research-card-type {
    display: inline-block;
    font-size: 0.65rem;
    background: var(--navy);
    color: var(--gold);
    padding: 0.25rem 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.research-card .card-summary {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--navy);
    border: 1px solid var(--navy);
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    transition: var(--transition);
}

.btn-download:hover {
    background: var(--navy);
    color: var(--gold);
}

/* ---- SECTION VIEW MORE ---- */
.section-footer {
    text-align: center;
    margin-top: 4rem;
}

.btn-outline {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--gold);
    border: 1px solid var(--border-color);
    padding: 0.85rem 2.5rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--gold-dim);
    border-color: var(--gold);
}

.btn-primary {
    display: inline-block;
    font-size: 0.85rem;
    background: var(--gold);
    color: var(--navy);
    padding: 1rem 2.5rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

/* ---- PAGE HEADER ---- */
.page-header {
    padding: 10rem 0 5rem;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(107, 45, 62, 0.07) 0%, transparent 50%);
}

.page-header-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.page-header .subtitle {
    font-size: 1rem;
    color: var(--gray-text);
    max-width: 600px;
}

/* ---- ARTICLES INDEX ---- */
.filter-bar {
    background: var(--charcoal);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
    position: sticky;
    top: 68px;
    z-index: 100;
}

.filter-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.filter-btn {
    font-size: 0.75rem;
    color: var(--gray-text);
    border: 1px solid var(--border-subtle);
    padding: 0.45rem 1.1rem;
    border-radius: 3px;
    white-space: nowrap;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.04em;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.articles-grid-full {
    padding: 5rem 0;
}

/* ---- ARTICLE SINGLE ---- */
.article-single {
    padding: 8rem 0 5rem;
}

.article-header {
    max-width: 760px;
    margin-bottom: 4rem;
}

.article-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.article-quote-intro {
    font-size: 1.2rem;
    color: var(--gray-light);
    font-style: italic;
    line-height: 1.8;
    padding-right: 1.5rem;
    border-right: 3px solid var(--gold);
    margin-bottom: 2rem;
}

body.lang-tr .article-quote-intro {
    padding-right: 0;
    padding-left: 1.5rem;
    border-right: none;
    border-left: 3px solid var(--gold);
}

.article-content {
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 2.1;
    color: var(--gray-light);
}

.article-content p { margin-bottom: 1.8rem; }
.article-content h2 { color: var(--white); font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.article-content h3 { color: var(--gold); font-size: 1.15rem; margin: 2rem 0 0.75rem; }
.article-content blockquote {
    border-right: 3px solid var(--gold);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--charcoal);
    color: var(--white);
    font-style: italic;
}

/* ---- CONSULTATION HERO BANNER ---- */
.consultation-hero-banner {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.consultation-hero-photo {
    opacity: 0.18;
}

.consultation-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy) 40%, rgba(13,27,42,0.85) 100%);
}

.consultation-hero-title {
    color: var(--white);
}

.consultation-hero-subtitle {
    color: var(--gray-text);
}

/* Light mode overrides */
html.light-mode .consultation-hero-banner {
    background: #EDE9E0;
}

html.light-mode .consultation-hero-overlay {
    background: linear-gradient(135deg, #EDE9E0 40%, rgba(237,233,224,0.88) 100%);
}

html.light-mode .consultation-hero-title {
    color: #0D1B2A;
}

html.light-mode .consultation-hero-subtitle {
    color: #4A5568;
}

html.light-mode .consultation-hero-photo {
    opacity: 0.28;
}

/* ---- CONSULTATION ---- */
.consultation-section {
    padding: 7rem 0;
}

.consultation-intro {
    max-width: 700px;
    margin-bottom: 5rem;
}

.consultation-intro h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.consultation-intro p {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.methodology-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.methodology-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--charcoal);
    border-right: 2px solid var(--gold);
}

body.lang-tr .methodology-item {
    border-right: none;
    border-left: 2px solid var(--gold);
}

.methodology-item .step-num {
    font-size: 0.65rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.1em;
    min-width: 30px;
    padding-top: 0.1rem;
}

.methodology-item p {
    font-size: 0.875rem;
    color: var(--gray-light);
    margin: 0;
}

/* ---- FORM ---- */
.form-section {
    background: var(--charcoal);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
}

.form-title {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
    background: var(--navy);
    border: 1px solid var(--border-subtle);
    color: var(--white);
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    transition: var(--transition);
    outline: none;
    border-radius: 2px;
    width: 100%;
}

body.lang-tr .form-input,
body.lang-tr .form-select,
body.lang-tr .form-textarea {
    direction: ltr;
    text-align: left;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--gold);
    background: var(--navy-light);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-text);
    opacity: 0.7;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-select option {
    background: var(--navy);
    color: var(--white);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.btn-submit {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 1.1rem 3.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-arabic);
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--gold);
}

.btn-submit:hover {
    background: transparent;
    color: var(--gold);
}

.form-notice {
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-top: 1rem;
    text-align: center;
}

/* Success Messages */
.success-banner {
    background: var(--charcoal);
    border: 1px solid rgba(201, 168, 76, 0.4);
    padding: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.success-banner h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.success-banner p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* ---- MEMBERSHIP ---- */
.membership-hero {
    padding: 10rem 0 6rem;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.membership-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
}

.membership-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.membership-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.membership-hero p {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.layers-section {
    padding: 6rem 0;
    background: var(--charcoal);
}

.layers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.layer-card {
    padding: 3rem;
    border: 1px solid var(--border-subtle);
}

.layer-card.public {
    background: var(--navy);
}

.layer-card.private {
    background: var(--navy-light);
    border-color: var(--border-color);
    position: relative;
    overflow: hidden;
}

.layer-card.private::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.layer-badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.layer-badge.public { background: var(--charcoal); color: var(--gray-light); }
.layer-badge.private { background: var(--gold); color: var(--navy); }

.layer-title {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.layer-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.layer-features li {
    font-size: 0.875rem;
    color: var(--gray-text);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.layer-features li::before {
    content: '—';
    color: var(--gold);
    flex-shrink: 0;
}

/* ---- NEWSLETTER SECTION ---- */
.newsletter-section {
    background: var(--charcoal);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 5rem 0;
}

.newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.newsletter-label {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.newsletter-text h3 {
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    background: var(--navy);
    border: 1px solid var(--border-subtle);
    color: var(--white);
    padding: 0.9rem 1.25rem;
    font-size: 0.875rem;
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
    outline: none;
    transition: var(--transition);
    border-radius: 2px;
}

.newsletter-input:focus {
    border-color: var(--gold);
}

.newsletter-input::placeholder {
    color: var(--gray-text);
    opacity: 0.6;
}

.newsletter-btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-arabic);
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: var(--transition);
}

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

.newsletter-success p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ---- FOOTER ---- */
.main-footer {
    background: var(--navy);
    padding: 5rem 0 2.5rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 5rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.footer-mark {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    opacity: 0.9;
}

.footer-name {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.footer-tagline {
    font-size: 0.68rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 0;
}

.footer-desc {
    font-size: 0.82rem;
    color: var(--gray-text);
    line-height: 1.9;
}

.footer-links h4 {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    font-size: 0.82rem;
    color: var(--gray-text);
    transition: var(--transition);
}

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

.footer-quote blockquote {
    font-size: 0.9rem;
    color: var(--gray-text);
    font-style: italic;
    line-height: 1.9;
    border-right: 2px solid var(--gold);
    padding-right: 1.5rem;
    opacity: 0.7;
}

body.lang-tr .footer-quote blockquote {
    border-right: none;
    border-left: 2px solid var(--gold);
    padding-right: 0;
    padding-left: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--gray-text);
    opacity: 0.5;
}

/* ---- ADMIN ---- */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #0f1923;
    direction: rtl;
}

.admin-sidebar {
    width: 260px;
    background: var(--navy);
    border-left: 1px solid var(--border-subtle);
    padding: 2rem 0;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
}

.sidebar-brand h2 {
    font-size: 1rem;
    color: var(--white);
}

.sidebar-brand p {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.sidebar-nav {
    padding: 0 0.75rem;
}

.sidebar-section {
    font-size: 0.6rem;
    color: var(--gray-text);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-text);
    border-radius: 4px;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.sidebar-link:hover, .sidebar-link.active {
    background: var(--charcoal);
    color: var(--gold);
}

.sidebar-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.admin-main {
    flex: 1;
    padding: 2rem 2.5rem;
    overflow-x: hidden;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.admin-header h1 {
    font-size: 1.5rem;
    color: var(--white);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--charcoal);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--gray-text);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: right;
    padding: 0.75rem 1rem;
    font-size: 0.7rem;
    color: var(--gray-text);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--navy);
}

.admin-table td {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-light);
    border-bottom: 1px solid var(--border-subtle);
}

.admin-table tr:hover td {
    background: var(--charcoal);
}

.badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 0.25rem 0.65rem;
    border-radius: 2px;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.badge-pending { background: rgba(201, 168, 76, 0.15); color: var(--gold); }
.badge-accepted { background: rgba(72, 187, 120, 0.15); color: #68D391; }
.badge-rejected { background: rgba(245, 101, 101, 0.15); color: #FC8181; }
.badge-reviewing { background: rgba(99, 179, 237, 0.15); color: #90CDF4; }

.admin-form {
    background: var(--charcoal);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    max-width: 900px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-form-group.full {
    grid-column: 1 / -1;
}

.admin-label {
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-input,
.admin-select,
.admin-textarea {
    background: var(--navy);
    border: 1px solid var(--border-subtle);
    color: var(--white);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: var(--font-arabic);
    outline: none;
    transition: var(--transition);
    direction: rtl;
    width: 100%;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
    border-color: var(--gold);
}

.admin-textarea {
    min-height: 150px;
    resize: vertical;
}

.admin-check-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-check-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

.admin-check-group label {
    font-size: 0.85rem;
    color: var(--gray-light);
}

/* ---- LOGIN ---- */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    padding: 2rem;
}

.login-box {
    background: var(--charcoal);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
}

.login-logo {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo h1 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.login-logo p {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.2em;
}

/* ---- ERROR/VALIDATION ---- */
.error-message {
    font-size: 0.75rem;
    color: #FC8181;
    margin-top: 0.25rem;
}

/* ---- PAGINATION ---- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 3rem 0;
}

.pagination-wrapper nav {
    display: flex;
    gap: 0.5rem;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- DIVIDERS ---- */
.gold-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
    margin: 5rem 0;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
    opacity: 0.5;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-visual {
        display: none;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .vision-photo {
        position: static;
        max-width: 400px;
    }

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

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

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

@media (max-width: 900px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pillars-grid::before,
    .pillars-grid::after {
        display: none;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .layers-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 85%;
        max-width: 340px;
        background: var(--charcoal);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 0;
        width: 100%;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-link-cta {
        margin-top: 1rem;
    }

    .lang-switcher {
        margin-top: 1rem;
        border: none;
        padding: 0;
        margin-right: 0;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .fields-grid {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

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

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
        position: static;
    }

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

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

    .form-section {
        padding: 2rem;
    }

    /* Membership page — collapse grids to single column */
    .membership-hero-grid {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    .membership-hero-grid > div:first-child {
        min-height: 280px;
    }

    .membership-hero-text {
        padding: 3rem 1.5rem !important;
    }

    .membership-hero-overlay {
        background: linear-gradient(to bottom, transparent 50%, var(--bg-primary) 100%) !important;
    }

    html.light-mode .membership-hero-overlay {
        background: linear-gradient(to bottom, transparent 50%, #F5F1E8 100%) !important;
    }

    .membership-process-grid {
        grid-template-columns: 1fr !important;
    }

    .membership-program-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    /* Consultation page — stack form+sidebar on mobile */
    .consultation-section [style*="grid-template-columns: 1fr 1.4fr"] {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-content {
        padding: 7rem 1.25rem 4rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-subtitle {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-subtitle span::after {
        display: none;
    }
}

/* ============================================= */
/* THEME TOGGLE BUTTON                           */
/* ============================================= */

.theme-toggle {
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--gray-text);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

html.light-mode .theme-toggle .icon-moon { display: none; }
html.light-mode .theme-toggle .icon-sun { display: block; }
html.light-mode .theme-toggle { color: #4A5568; border-color: rgba(0,0,0,0.15); }
html.light-mode .theme-toggle:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================= */
/* LIGHT MODE THEME OVERRIDES                    */
/* ============================================= */

html.light-mode {
    --bg-primary: #F5F1E8;
    --bg-secondary: #EDE9E0;
    --text-primary: #0D1B2A;
    --text-secondary: #2D3748;
    --text-muted: #4A5568;
    --border-subtle: rgba(0, 0, 0, 0.10);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.18);
}

html.light-mode body {
    background-color: #F5F1E8;
    color: #0D1B2A;
}

/* Nav */
html.light-mode .main-nav.scrolled {
    border-bottom-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

html.light-mode .main-nav.scrolled::before {
    background: rgba(245, 241, 232, 0.97);
}

html.light-mode .brand-name { color: #0D1B2A; }
html.light-mode .nav-link { color: #4A5568; }
html.light-mode .nav-link:hover,
html.light-mode .nav-link.active { color: #0D1B2A; }
html.light-mode .nav-toggle span { background: #0D1B2A; }
html.light-mode .lang-btn { color: #4A5568; border-color: rgba(0,0,0,0.15); }
html.light-mode .lang-btn:hover { color: var(--gold); border-color: var(--gold); }
html.light-mode .lang-switcher { border-color: rgba(0,0,0,0.12); }

@media (max-width: 768px) {
    html.light-mode .nav-menu { background: #EDE9E0; box-shadow: 0 24px 64px rgba(0,0,0,0.15); }
    html.light-mode .nav-link { border-bottom-color: rgba(0,0,0,0.08); }
}

/* Hero */
html.light-mode .hero { background: #F5F1E8; }
html.light-mode .hero-bg {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(107, 45, 62, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #F5F1E8 0%, #EDE9E0 50%, #F5F1E8 100%);
}
html.light-mode .hero-name { color: #0D1B2A; }
html.light-mode .hero-subtitle { color: #4A5568; }
html.light-mode .hero-ticker { border-top-color: rgba(0,0,0,0.10); }
html.light-mode .hero-ticker-label { color: #6B7280; }
html.light-mode .ticker-item { color: #2D3748; }
html.light-mode .hero-photo-placeholder { background: linear-gradient(135deg, #EDE9E0 0%, #DEDAD0 100%); }
html.light-mode .hero-photo-badge { background: #FFFFFF; border-color: rgba(201,168,76,0.3); }
html.light-mode .hero-photo-badge p { color: #4A5568; }
html.light-mode .hero-photo-frame::before { border-color: rgba(201,168,76,0.3); }

/* Section titles */
html.light-mode .section-title { color: #0D1B2A; }
html.light-mode .section-label { color: var(--gold); }

/* Vision */
html.light-mode .vision-section { background: #EDE9E0; }
html.light-mode .vision-photo-frame { background: #DEDAD0; border-color: rgba(201,168,76,0.25); }
html.light-mode .vision-text-block p { color: #2D3748; }
html.light-mode .vision-text-block p:first-of-type { color: #0D1B2A; }

/* Fields */
html.light-mode .fields-section { background: #F5F1E8; }
html.light-mode .fields-grid { background: rgba(0,0,0,0.07); border-color: rgba(0,0,0,0.07); }
html.light-mode .field-card { background: #F5F1E8; }
html.light-mode .field-card:hover { background: #EDE9E0; }
html.light-mode .field-title { color: #0D1B2A; }
html.light-mode .field-desc { color: #4A5568; }

/* Thought School */
html.light-mode .school-section { background: #EDE9E0; }
html.light-mode .school-title { color: #0D1B2A; }
html.light-mode .school-subtitle { color: #4A5568; }
html.light-mode .pillar-title { color: #0D1B2A; }
html.light-mode .pillar-desc { color: #4A5568; }
html.light-mode .pillars-grid::before,
html.light-mode .pillars-grid::after { background: rgba(0,0,0,0.10); }

/* Article Cards */
html.light-mode .article-card { background: #FFFFFF; border-color: rgba(0,0,0,0.08); }
html.light-mode .article-card:hover { border-color: rgba(201,168,76,0.3); box-shadow: 0 8px 32px rgba(0,0,0,0.10); }
html.light-mode .card-title { color: #0D1B2A; }
html.light-mode .card-quote { color: #4A5568; }
html.light-mode .card-meta { color: #6B7280; }

/* Research Cards */
html.light-mode .research-card { background: #FFFFFF; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
html.light-mode .research-card-type { background: #0D1B2A; }
html.light-mode .research-card .card-meta { color: #6B7280; }
html.light-mode .btn-download { color: #0D1B2A; border-color: #0D1B2A; }
html.light-mode .btn-download:hover { background: #0D1B2A; color: var(--gold); }

/* Page Header */
html.light-mode .page-header { background: #F5F1E8; }
html.light-mode .page-header h1 { color: #0D1B2A; }
html.light-mode .page-header .subtitle { color: #4A5568; }

/* Filter Bar */
html.light-mode .filter-bar { background: #EDE9E0; border-bottom-color: rgba(0,0,0,0.10); }
html.light-mode .filter-btn { color: #4A5568; border-color: rgba(0,0,0,0.15); background: transparent; }
html.light-mode .filter-btn:hover,
html.light-mode .filter-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }

/* Article Content */
html.light-mode .article-quote-intro { color: #2D3748; }
html.light-mode .article-content { color: #2D3748; }
html.light-mode .article-content h2 { color: #0D1B2A; }
html.light-mode .article-content h3 { color: var(--gold); }
html.light-mode .article-content blockquote { background: #EDE9E0; color: #0D1B2A; }

/* Consultation */
html.light-mode .consultation-intro h2 { color: #0D1B2A; }
html.light-mode .consultation-intro p { color: #4A5568; }
html.light-mode .methodology-item { background: #EDE9E0; }
html.light-mode .methodology-item p { color: #2D3748; }

/* Forms */
html.light-mode .form-section { background: #EDE9E0; border-color: rgba(0,0,0,0.10); }
html.light-mode .form-title { color: #0D1B2A; border-bottom-color: rgba(0,0,0,0.10); }
html.light-mode .form-input,
html.light-mode .form-select,
html.light-mode .form-textarea {
    background: #FFFFFF;
    border-color: rgba(0,0,0,0.15);
    color: #0D1B2A;
}
html.light-mode .form-input:focus,
html.light-mode .form-select:focus,
html.light-mode .form-textarea:focus {
    background: #FFFFFF;
    border-color: var(--gold);
}
html.light-mode .form-select option { background: #FFFFFF; color: #0D1B2A; }
html.light-mode .form-input::placeholder,
html.light-mode .form-textarea::placeholder { color: #9CA3AF; opacity: 1; }
html.light-mode .form-notice { color: #6B7280; }

/* Success Banner */
html.light-mode .success-banner { background: #EDE9E0; }
html.light-mode .success-banner p { color: #4A5568; }

/* Membership */
html.light-mode .membership-hero { background: #F5F1E8; }
html.light-mode .membership-hero p { color: #4A5568; }
html.light-mode .membership-hero h1 { color: #0D1B2A; }
html.light-mode .layers-section { background: #EDE9E0; }
html.light-mode .layer-card { border-color: rgba(0,0,0,0.10); }
html.light-mode .layer-card.public { background: #F5F1E8; }
html.light-mode .layer-card.private { background: #FFFFFF; border-color: rgba(201,168,76,0.35); }
html.light-mode .layer-badge.public { background: #EDE9E0; color: #2D3748; }
html.light-mode .layer-title { color: #0D1B2A; }
html.light-mode .layer-features li { color: #4A5568; }

/* Newsletter */
html.light-mode .newsletter-section {
    background: #EDE9E0;
    border-top-color: rgba(0,0,0,0.08);
    border-bottom-color: rgba(0,0,0,0.08);
}
html.light-mode .newsletter-text h3 { color: #0D1B2A; }
html.light-mode .newsletter-input {
    background: #FFFFFF;
    border-color: rgba(0,0,0,0.15);
    color: #0D1B2A;
}
html.light-mode .newsletter-input::placeholder { color: #9CA3AF; opacity: 1; }
html.light-mode .newsletter-success p { color: #2D3748; }

/* Footer */
html.light-mode .main-footer { background: #F5F1E8; border-top-color: rgba(0,0,0,0.08); }
html.light-mode .footer-grid { border-bottom-color: rgba(0,0,0,0.08); }
html.light-mode .footer-name { color: #0D1B2A; }
html.light-mode .footer-desc { color: #4A5568; }
html.light-mode .footer-links li a { color: #4A5568; }
html.light-mode .footer-links li a:hover { color: var(--gold); }
html.light-mode .footer-quote blockquote { color: #4A5568; }
html.light-mode .footer-bottom p { color: #6B7280; }

/* Scrollbar */
html.light-mode ::-webkit-scrollbar-track { background: #EDE9E0; }
html.light-mode ::-webkit-scrollbar-thumb { background: #C4B99A; }
html.light-mode ::-webkit-scrollbar-thumb:hover { background: var(--gold); opacity: 1; }

/* Home: research + quotes + CTA sections */
html.light-mode .research-home-section { background: #EDE9E0 !important; }
html.light-mode .research-home-section .section-title { color: #0D1B2A; }
html.light-mode .research-home-section .section-label { color: var(--burgundy); }
html.light-mode .quotes-section { background: #EDE9E0 !important; }
html.light-mode .quotes-section blockquote { color: #0D1B2A; }
html.light-mode .cta-section { background: #F5F1E8 !important; }
html.light-mode .cta-section h2 { color: #0D1B2A; }
html.light-mode .cta-section p { color: #4A5568; }

/* Articles section on home page */
html.light-mode .articles-section { background: var(--bg-primary) !important; }

/* =============================================
   RESEARCH PAGE BACKGROUNDS
   ============================================= */
.research-index-bg {
    background: var(--bg-secondary);
}

.research-show-bg {
    background: var(--bg-secondary);
}

/* Dark mode: research cards look dark to match dark background */
html:not(.light-mode) .research-card {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--border-subtle);
}

html:not(.light-mode) .research-card .card-title,
html:not(.light-mode) .research-card .card-title a {
    color: var(--white);
}

html:not(.light-mode) .research-card .card-summary { color: var(--gray-text); }
html:not(.light-mode) .research-card .card-meta { color: var(--gray-text); }
html:not(.light-mode) .research-card .card-link { color: var(--gray-light); }
html:not(.light-mode) .research-card .card-link:hover { color: var(--gold); }

html:not(.light-mode) .research-show-bg h1 { color: var(--white); }
html:not(.light-mode) .research-show-bg .article-content { color: var(--gray-light); }

/* Light mode research: warm cream backgrounds */
html.light-mode .research-index-bg { background: #F4F1EA; }
html.light-mode .research-show-bg { background: #F4F1EA; }
html.light-mode .research-show-bg h1 { color: #0D1B2A; }
html.light-mode .research-show-bg a { color: #4A5568; }

/* =============================================
   MEMBERSHIP SECTION CLASSES (theme-aware)
   ============================================= */
.membership-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, var(--bg-primary) 100%);
}

.membership-hero-text {
    display: flex;
    align-items: center;
    padding: 6rem 4rem 6rem 3rem;
    background: var(--bg-primary);
}

.membership-process-section {
    padding: 8rem 0;
    background: var(--navy);
}

.membership-program-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.process-step-title { color: var(--text-primary); }

.program-item-cell { background: var(--bg-secondary); }

/* Light mode overrides for membership sections */
html.light-mode .membership-hero-overlay {
    background: linear-gradient(to right, transparent 60%, #F5F1E8 100%);
}

html.light-mode .membership-hero-text { background: #F5F1E8; }
html.light-mode .membership-hero-text h1 { color: #0D1B2A; }

html.light-mode .membership-process-section { background: #EDE9E0; }
html.light-mode .membership-process-section .section-title { color: #0D1B2A; }
html.light-mode .process-step-title { color: #0D1B2A; }

html.light-mode .membership-program-section { background: #F5F1E8; }
html.light-mode .membership-program-section .section-title { color: #0D1B2A; }
html.light-mode .program-item-cell { background: #FFFFFF; }
