/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --navy:      #0D1B3E;
  --navy-mid:  #162347;
  --navy-soft: #1e2f5a;
  --ivory:     #F5F0E8;
  --ivory-soft:#FDFAF5;
  --gold:      #C9A84C;
  --gold-light:#E2C97E;
  --gold-dim:  #a07e32;
  --sage:      #7a9e8a;
  --text-dark: #0D1B3E;
  --text-mid:  #3a4a6b;
  --text-light:#8090b0;
  --shadow-sm: 0 4px 20px rgba(13,27,62,.10);
  --shadow-md: 0 12px 48px rgba(13,27,62,.18);
  --shadow-lg: 0 28px 80px rgba(13,27,62,.28);
  --radius:    8px;
  --radius-lg: 16px;
  --gap:       clamp(24px, 5vw, 64px);
  --section-pad: clamp(64px, 10vw, 120px);
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --arabic:    'Noto Naskh Arabic', 'Playfair Display', serif;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; font-size: 16px; }
body {
  font-family: 'Inter', 'Noto Naskh Arabic', system-ui, sans-serif;
  background: var(--ivory-soft);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: rgba(201,168,76,.3); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ivory-soft); }
::-webkit-scrollbar-thumb { background: #c3cadb; border-radius: 8px; border: 3px solid var(--ivory-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ─── READING PROGRESS & BACK TO TOP ─────────────────── */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 110;
  pointer-events: none;
}
#toTop {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .25s, color .25s;
  z-index: 90;
}
#toTop.show { opacity: 1; visibility: visible; transform: none; }
#toTop:hover { background: var(--gold); color: var(--navy); }

/* ─── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
.display {
  font-family: 'Playfair Display', 'Noto Naskh Arabic', Georgia, serif;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.serif { font-family: 'Playfair Display', 'Noto Naskh Arabic', Georgia, serif; }
.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.gold-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  display: block;
}

/* ─── LAYOUT HELPERS ─────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.section-pad { padding: var(--section-pad) 0; }

/* ─── NAVBAR ─────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .4s, box-shadow .4s, padding .4s;
}
#nav.scrolled {
  background: rgba(13,27,62,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.nav-logo span {
  display: block;
  font-size: .65rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: .1em;
  color: var(--gold-light);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-light); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  display: block;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── LANGUAGE SWITCHER ──────────────────────────────── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 40px;
  margin-inline-start: 8px;
}
.lang-switch a,
.lang-switch span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: 40px;
  color: rgba(255,255,255,.55);
  transition: background .25s, color .25s;
}
.lang-switch a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.lang-switch span.current {
  background: var(--gold);
  color: var(--navy);
}
.lang-switch a::after { display: none; content: none; }
.footer-lang-switch {
  display: flex;
  gap: 4px;
}
.footer-lang-switch a,
.footer-lang-switch span {
  font-size: .72rem;
  padding: 3px 9px;
  border-radius: 40px;
  color: rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.12);
  transition: color .25s, border-color .25s;
}
.footer-lang-switch a:hover { color: var(--gold); border-color: rgba(201,168,76,.4); }
.footer-lang-switch span.current { color: var(--gold-light); border-color: rgba(201,168,76,.4); }

/* ─── HERO ───────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(55% 45% at 12% 92%, rgba(201,168,76,.08) 0%, transparent 65%),
    radial-gradient(40% 35% at 85% 15%, rgba(122,158,138,.07) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #1a2f60 55%, #0a1428 100%);
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Kurdish-inspired geometric ornament */
#hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.08);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.12);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  padding: var(--section-pad) 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 40px;
  margin-bottom: 28px;
}
.hero-tag-dot {
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  color: var(--navy);
}
.hero-tag-text {
  font-size: .72rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 12px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.65);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
.hero-langs {
  display: flex;
  gap: 6px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.lang-chip {
  padding: 4px 14px;
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 40px;
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .08em;
  transition: border-color .3s, color .3s, background .3s;
}
.lang-chip:hover {
  border-color: rgba(201,168,76,.55);
  color: var(--gold-light);
  background: rgba(201,168,76,.06);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 14px 32px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 40px;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 24px rgba(201,168,76,.3);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,.4);
}
.btn-outline {
  padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.85);
  border-radius: 40px;
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: border-color .25s, color .25s, background .25s;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201,168,76,.06);
}
/* Sheen sweep on solid gold buttons */
.btn-primary::after, .btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn-primary:hover::after, .btn-gold:hover::after { left: 125%; }

/* ─── 3D BOOK MOCKUP ─────────────────────────────────── */
.book-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  position: relative;
}
.book-float {
  animation: bookFloat 5s ease-in-out infinite;
}
@keyframes bookFloat {
  0%, 100% { transform: translateY(0px) rotate3d(0,1,0,0deg); }
  50%       { transform: translateY(-14px) rotate3d(0.05,1,0.02,2deg); }
}
.book-3d {
  position: relative;
  width: 260px;
  height: 360px;
  transform-style: preserve-3d;
  transform: rotateY(-20deg) rotateX(5deg);
  transition: transform .18s ease-out;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.55));
}
/* Front cover — real cover artwork */
.book-front {
  position: absolute;
  inset: 0;
  background: #0d1b3e;
  border-radius: 3px 10px 10px 3px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,.25);
}
.book-cover-svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Book spine — tinted to match the cover leather */
.book-spine {
  position: absolute;
  left: -28px; top: 4px;
  width: 28px;
  height: calc(100% - 8px);
  background: linear-gradient(90deg, #071023 0%, #1b2c58 100%);
  transform-origin: right center;
  transform: rotateY(-90deg);
  border-radius: 2px 0 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,76,.1);
  border-right: none;
}
.spine-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: 'Playfair Display', serif;
  font-size: .52rem;
  letter-spacing: .15em;
  color: var(--gold-dim);
  white-space: nowrap;
}
/* Book pages (side) */
.book-pages {
  position: absolute;
  right: -16px; top: 4px;
  width: 18px;
  height: calc(100% - 8px);
  transform-origin: left center;
  transform: rotateY(90deg);
  background: repeating-linear-gradient(
    180deg,
    #f0ebe0 0px, #f0ebe0 1.5px,
    #e8e3d8 1.5px, #e8e3d8 2.5px
  );
  border-radius: 0 2px 2px 0;
}

/* Floating accent elements */
.float-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.float-orb-1 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  top: -20px; right: -30px;
  animation: orbPulse 4s ease-in-out infinite;
}
.float-orb-2 {
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(122,158,138,.15) 0%, transparent 70%);
  bottom: 20px; left: -20px;
  animation: orbPulse 6s ease-in-out infinite reverse;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%       { transform: scale(1.2); opacity: 1; }
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat { }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Hero scroll hint */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  transition: border-color .3s;
}
.hero-scroll span {
  width: 3px; height: 9px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollHint 2.2s ease-in-out infinite;
}
.hero-scroll:hover { border-color: var(--gold); }
@keyframes scrollHint {
  0%   { transform: translateY(0);    opacity: 1; }
  65%  { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ─── ABOUT ──────────────────────────────────────────── */
#about {
  background: var(--ivory-soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}
.about-label { margin-bottom: 16px; }
.about-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.2;
}
.about-body {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 20px;
}
.about-pull {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(201,168,76,.04), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-pull p {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
}
.about-visual {
  position: relative;
}
.about-pattern {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3068 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-pattern-svg {
  position: absolute;
  inset: 0;
  opacity: .08;
}
.about-langs-display {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
}
.lang-word {
  font-family: 'Playfair Display', 'Noto Naskh Arabic', serif;
  color: rgba(255,255,255,.9);
  line-height: 1.3;
}
.lang-word .greek-text { font-size: 2.4rem; font-style: italic; }
.lang-word .kurdish-text { font-family: var(--arabic); font-size: 1.9rem; font-weight: 500; margin-top: 12px; direction: rtl; }
.lang-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  margin: 20px auto;
}
.lang-gloss {
  font-size: .75rem;
  color: var(--gold-light);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 8px;
}
.about-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  width: 88px; height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  line-height: 1.2;
  text-align: center;
}
.about-badge .num { font-size: 1.4rem; font-family: 'Playfair Display', serif; }
.about-badge .lbl { font-size: .52rem; letter-spacing: .05em; text-transform: uppercase; }

/* ─── FEATURES ───────────────────────────────────────── */
#features {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,.05) 0%, transparent 70%);
  pointer-events: none;
}
.features-header {
  text-align: center;
  margin-bottom: clamp(40px,6vw,72px);
}
.features-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin: 12px 0 16px;
}
.features-sub {
  color: rgba(255,255,255,.5);
  font-size: .95rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(201,168,76,.2);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  transition: background .3s, transform .3s var(--ease);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card:hover .feature-icon {
  background: rgba(201,168,76,.22);
  transform: scale(1.08);
}
.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: .84rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

/* ─── PREVIEW ────────────────────────────────────────── */
#preview {
  background: var(--ivory);
}
.preview-header {
  text-align: center;
  margin-bottom: clamp(40px,6vw,72px);
}
.preview-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin: 12px 0 16px;
}
.preview-sub {
  color: var(--text-mid);
  font-size: .95rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}
.entries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.entry-card {
  background: var(--ivory-soft);
  border: 1px solid rgba(13,27,62,.08);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: box-shadow .3s, transform .3s var(--ease), border-color .3s;
  position: relative;
}
.entry-card::after {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  border-radius: 3px;
  opacity: 0;
  transition: opacity .3s;
}
.entry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(201,168,76,.2);
}
.entry-card:hover::after { opacity: 1; }
.entry-langs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}
.entry-lang { }
.entry-lang-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
  white-space: nowrap;
}
.entry-word {
  font-family: 'Playfair Display', 'Noto Naskh Arabic', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
}
.entry-word.greek { font-style: italic; }
.entry-phon {
  font-size: .7rem;
  color: var(--text-light);
  margin-top: 4px;
  font-style: italic;
  white-space: nowrap;
}
.entry-alt {
  font-family: var(--arabic);
  font-size: .95rem;
  color: var(--text-light);
  margin-top: 4px;
  direction: rtl;
  text-align: left;
}
.entry-arrow {
  padding-top: 20px;
  color: var(--gold);
  opacity: .6;
}
.entry-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,27,62,.08), transparent);
  margin: 16px 0;
}
.entry-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.entry-meaning {
  display: flex;
  align-items: center;
  gap: 8px;
}
.entry-meaning-label {
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.entry-meaning-text {
  font-size: .9rem;
  font-style: italic;
  color: var(--text-mid);
  font-family: 'Playfair Display', serif;
}
.entry-tag {
  font-size: .62rem;
  padding: 3px 10px;
  border-radius: 40px;
  background: rgba(13,27,62,.06);
  color: var(--text-light);
  letter-spacing: .05em;
}
.entry-card.featured {
  background: var(--navy);
  border-color: transparent;
  grid-column: 1 / -1;
}
.entry-card.featured .entry-lang-label { color: rgba(255,255,255,.4); }
.entry-card.featured .entry-word { color: var(--gold-light); }
.entry-card.featured .entry-divider { background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent); }
.entry-card.featured .entry-meaning-label { color: rgba(255,255,255,.35); }
.entry-card.featured .entry-meaning-text { color: rgba(255,255,255,.7); }
.entry-card.featured .entry-tag { background: rgba(255,255,255,.06); color: rgba(255,255,255,.35); }
.entry-card.featured .entry-arrow { color: var(--gold-light); }
.entry-card.featured .entry-phon,
.entry-card.featured .entry-alt { color: rgba(255,255,255,.35); }

/* ─── AUTHOR ─────────────────────────────────────────── */
#author {
  background: var(--ivory-soft);
}
.author-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.author-portrait-wrap {
  position: relative;
  width: 220px;
  flex-shrink: 0;
}
.author-portrait {
  width: 220px; height: 280px;
  background: linear-gradient(135deg, #c9b99a 0%, #a89070 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-placeholder {
  text-align: center;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.associate-portrait .portrait-img { object-position: 50% 30%; }
.portrait-initials {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  line-height: 1;
}
.portrait-label {
  font-size: .62rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  margin-top: 8px;
}
.author-badge-pub {
  position: absolute;
  bottom: -12px; right: -12px;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 8px 12px;
  box-shadow: var(--shadow-sm);
}
.pub-badge-label { font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.pub-badge-name { font-size: .7rem; font-weight: 700; color: var(--navy); margin-top: 2px; }

.author-content { }
.author-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.author-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
}
.author-role {
  font-size: .8rem;
  color: var(--text-light);
  letter-spacing: .06em;
}
.author-divider-v {
  width: 1px; height: 36px;
  background: rgba(13,27,62,.12);
}
.author-bio {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 16px;
}
.author-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(13,27,62,.08);
}
.author-info-item { }
.aii-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.aii-value {
  font-size: .88rem;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}

/* ─── ASSOCIATES (single, same as author) ───────────── */
#associates {
  background: var(--ivory-soft);
}
.associate-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.associate-portrait-wrap {
  position: relative;
  width: 220px;
  flex-shrink: 0;
}
.associate-portrait {
  width: 220px; height: 280px;
  background: linear-gradient(135deg, #b8a88a 0%, #9a8a72 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.associate-content { }
.associate-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.associate-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
}
.associate-bio {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 16px;
}
.associate-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(13,27,62,.08);
}
.associate-info-item { }

/* ─── IMPORTANCE ─────────────────────────────────────── */
#importance {
  background: linear-gradient(160deg, var(--navy) 0%, #162347 100%);
  position: relative;
  overflow: hidden;
}
.importance-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}
.importance-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin: 12px 0 24px;
  line-height: 1.2;
}
.importance-body {
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 20px;
}
.importance-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.importance-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.ii-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: rgba(201,168,76,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.ii-icon svg { width: 20px; height: 20px; }
.ii-text { }
.ii-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}
.ii-desc {
  font-size: .84rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
}

/* ─── FAQ ────────────────────────────────────────────── */
#faq {
  background: var(--ivory-soft);
}
.faq-header {
  text-align: center;
  margin-bottom: clamp(40px,6vw,64px);
}
.faq-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin: 12px 0;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(13,27,62,.08);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  gap: 16px;
  transition: color .25s;
}
.faq-q:hover { color: var(--gold-dim); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(13,27,62,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-mid);
  font-size: .8rem;
  transition: background .25s, border-color .25s, color .25s, transform .35s var(--ease);
}
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  padding-bottom: 0;
  color: var(--text-mid);
  line-height: 1.8;
  font-size: .92rem;
  transition: grid-template-rows .45s var(--ease), padding-bottom .45s var(--ease), visibility .45s;
}
.faq-a p { overflow: hidden; }
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
  visibility: visible;
  padding-bottom: 24px;
}
.faq-item.open .faq-q { color: var(--navy); }

/* ─── CTA ────────────────────────────────────────────── */
#cta {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,.06) 0%, transparent 65%);
  pointer-events: none;
}
.cta-label { margin-bottom: 16px; }
.cta-h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 16px;
}
.cta-h2 em { color: var(--gold-light); font-style: italic; }
.cta-sub {
  color: rgba(255,255,255,.5);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-gold {
  padding: 15px 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 40px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: background .25s, transform .2s;
  box-shadow: 0 4px 24px rgba(201,168,76,.3);
  position: relative;
  overflow: hidden;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost-white {
  padding: 14px 36px;
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.8);
  border-radius: 40px;
  font-weight: 500;
  font-size: .95rem;
  transition: border-color .25s, color .25s;
}
.btn-ghost-white:hover { border-color: var(--gold); color: var(--gold-light); }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background: #070f20;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  color: rgba(255,255,255,.5);
}
.footer-copy {
  font-size: .72rem;
  color: rgba(255,255,255,.25);
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-links a {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  transition: color .25s;
}
.footer-links a:hover { color: var(--gold); }

/* ─── SECTION DIVIDER ────────────────────────────────── */
.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(13,27,62,.15) 30%, rgba(201,168,76,.25) 50%, rgba(13,27,62,.15) 70%, transparent 100%);
}
.divider-dark {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.06) 30%, rgba(201,168,76,.2) 50%, rgba(255,255,255,.06) 70%, transparent 100%);
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
/* Large desktops: give the book mockup more presence */
@media (min-width: 1440px) {
  .book-3d { width: 300px; height: 415px; }
}

/* Tablet landscape / small laptops */
@media (max-width: 1024px) {
  .nav-links { gap: 22px; }
  .features-grid { gap: 16px; }
  .entries-grid { gap: 16px; }
}

/* Tablet portrait & below */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-langs { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-scroll { display: none; }
  .book-stage { margin-top: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  /* Fill the column (width:100%) — a bare `margin:0 auto` grid item
     shrinks to content width, which then makes the fixed-ratio card too
     short and clips its text. */
  .about-visual { max-width: 400px; width: 100%; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .author-inner { grid-template-columns: 1fr; }
  .author-portrait-wrap { margin: 0 auto; }
  .author-meta { flex-wrap: wrap; justify-content: center; text-align: center; }
  .importance-grid { grid-template-columns: 1fr; }
  .author-info-grid { grid-template-columns: 1fr 1fr; }
  .author-content { text-align: center; }
  .author-info-grid { text-align: left; }
  /* Associate same as author */
  .associate-inner { grid-template-columns: 1fr; }
  .associate-portrait-wrap { margin: 0 auto; }
  .associate-meta { flex-wrap: wrap; justify-content: center; text-align: center; }
  .associate-content { text-align: center; }
  .associate-info-grid { text-align: left; }
}

/* Nav collapses to hamburger (tablet portrait and phones) */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    padding: 24px 28px 28px;
    gap: 20px;
    border-top: 1px solid rgba(201,168,76,.15);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 24px 48px rgba(0,0,0,.35);
    animation: menuIn .3s var(--ease);
    max-height: calc(100vh - 72px);
    max-height: calc(100svh - 72px);
    overflow-y: auto;
  }
  @keyframes menuIn {
    from { transform: translateY(-10px); }
    to   { transform: none; }
  }
  .nav-links.open a { padding: 6px 0; }
  .nav-links.open .lang-switch { margin-inline-start: 0; align-self: flex-start; }
}

/* Entry cards go single-column a bit earlier — their three-column
   internal layout needs the width */
@media (max-width: 680px) {
  .entries-grid { grid-template-columns: 1fr; }
  .entry-card.featured { grid-column: 1; }
}

/* Phones */
@media (max-width: 620px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px 32px; row-gap: 20px; }
  .stat { text-align: center; }
  .author-info-grid { gap: 16px; }
  .book-3d { width: 200px; height: 280px; }
  #toTop { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 14px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-links a { padding: 4px 2px; }
  .associate-info-grid { grid-template-columns: 1fr 1fr; }
}

/* Small phones */
@media (max-width: 480px) {
  .nav-logo { font-size: .92rem; }
  .hero-h1 { font-size: clamp(2rem, 11vw, 2.4rem); }
  .hero-tag { padding: 5px 12px 5px 5px; gap: 8px; }
  .hero-tag-text { font-size: .62rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-gold, .btn-ghost-white { width: 100%; max-width: 320px; text-align: center; }
  .entry-card { padding: 22px 20px; }
  .entry-langs { grid-template-columns: 1fr; gap: 12px; }
  .entry-arrow { padding-top: 0; transform: rotate(90deg); width: 20px; }
  .entry-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .feature-card { padding: 24px 20px; }
  .about-pull { padding: 18px 20px; }
  .about-badge { width: 72px; height: 72px; bottom: -10px; right: -8px; }
  .about-badge .num { font-size: 1.15rem; }
  .author-info-grid { grid-template-columns: 1fr; }
  .faq-q { font-size: .95rem; padding: 20px 0; }
  .lang-word .greek-text { font-size: 1.9rem; }
  .lang-word .kurdish-text { font-size: 1.6rem; }
  .associate-info-grid { grid-template-columns: 1fr; }
  /* On the narrowest screens, let the language card grow to its content
     instead of holding a fixed 4/5 ratio that would clip the words. */
  .about-pattern { aspect-ratio: auto; min-height: 26rem; }
  .about-langs-display { padding: 32px 24px; }
}

/* Short landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  #hero { min-height: auto; padding-top: 84px; }
  .hero-grid { padding: 40px 0; }
  .hero-stats { margin-top: 28px; padding-top: 20px; }
  .hero-scroll { display: none; }
  .book-3d { width: 180px; height: 250px; }
}

/* ─── RTL (Kurdish / Soranî) ──────────────────────────── */
/* Flexbox/Grid row axes already mirror automatically under dir="rtl";
   these overrides only cover physically-positioned or directional
   details that don't flip on their own. */
[dir="rtl"] body {
  font-family: 'Noto Naskh Arabic', 'Inter', system-ui, sans-serif;
}
[dir="rtl"] .about-body,
[dir="rtl"] .importance-body,
[dir="rtl"] .feature-desc,
[dir="rtl"] .ii-desc,
[dir="rtl"] .author-bio,
[dir="rtl"] .associate-bio,
[dir="rtl"] .faq-a {
  text-align: right;
}
[dir="rtl"] .faq-q { text-align: right; }
[dir="rtl"] .nav-links a::after,
[dir="rtl"] .entry-card::after,
[dir="rtl"] .feature-card::before {
  transform-origin: right;
}
[dir="rtl"] .about-pull {
  border-left: none;
  border-right: 3px solid var(--gold);
  background: linear-gradient(270deg, rgba(201,168,76,.04), transparent);
  border-radius: var(--radius) 0 0 var(--radius);
}
[dir="rtl"] .entry-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .hero-tag { padding: 6px 6px 6px 16px; }
[dir="rtl"] .lang-switch { margin-inline-start: 0; margin-inline-end: 8px; }
[dir="rtl"] .entry-alt { text-align: right; }

/* ─── REDUCED MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .book-float { animation: none; }
  .float-orb-1, .float-orb-2 { animation: none; }
  .hero-scroll span { animation: none; }
  .faq-a, .faq-icon { transition: none; }
}
