@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/vazirmatn-arabic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("/assets/fonts/estedad-arabic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #102a48;
  --navy-dark: #0a1e35;
  --blue: #315f91;
  --gold: #d6ad72;
  --ink: #162f4c;
  --muted: #687b91;
  --line: #e0e8f1;
  --paper: #f6f8fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.8;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #88b7e7;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  right: 20px;
  z-index: 100;
  background: #fff;
  padding: 10px 16px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: relative;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #edf0f4;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 138px;
  height: 65px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  margin-inline: auto;
}

.desktop-nav a {
  font-size: 13px;
  font-weight: 650;
  color: #4c6078;
  transition: color .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: #1d5588;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease;
}

.header-cta {
  padding: 11px 19px;
  color: #fff;
  background: var(--navy);
  border-radius: 9px;
  font-size: 13px;
  white-space: nowrap;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.menu-button svg,
.principle-icon svg,
.search-field svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-nav {
  padding: 8px 24px 22px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
}

.journal-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 12% 38%, #254c75 0%, transparent 42%),
    linear-gradient(135deg, #0d233c, #132f50 66%, #0a1e34);
}

.journal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(#b3c6db 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 40px;
  min-height: 490px;
  padding-top: 66px;
  padding-bottom: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d8b581;
  font-weight: 750;
  font-size: 11px;
  letter-spacing: .3px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.eyebrow-divider {
  height: 14px;
  width: 1px;
  background: #7890a9;
}

.hero-content h1 {
  margin: 22px 0 20px;
  font-family: "Estedad", "Vazirmatn", sans-serif;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.42;
  font-weight: 850;
  letter-spacing: -1px;
}

.hero-content h1 span {
  display: block;
  color: #e0b77e;
}

.hero-lead {
  margin: 0;
  max-width: 610px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2.1;
  color: #e0eaf5;
}

.hero-description {
  max-width: 570px;
  margin: 10px 0 28px;
  color: #aebed0;
  font-size: 13px;
  line-height: 2.15;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 46px;
  padding: 11px 22px;
  font-size: 13px;
  border-radius: 10px;
}

.button-gold {
  background: var(--gold);
  color: #172a42;
}

.button-ghost {
  border: 1px solid #58718c;
  color: #eef3f9;
}

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

.visual-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(183, 205, 229, .18);
}

.orbit-one {
  width: 340px;
  height: 340px;
}

.orbit-two {
  width: 430px;
  height: 270px;
  transform: rotate(-26deg);
}

.visual-core {
  position: relative;
  z-index: 1;
  width: min(330px, 82%);
  padding: 18px;
  border: 1px solid rgba(205, 224, 242, .23);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(64, 106, 145, .55), rgba(10, 30, 51, .9));
  box-shadow: 0 24px 75px rgba(0, 0, 0, .3);
  backdrop-filter: blur(8px);
  transform: rotate(-5deg);
}

.core-label,
.core-bottom {
  display: block;
  font: 700 10px Arial, sans-serif;
  letter-spacing: 2px;
  color: #d2bb98;
  direction: ltr;
  text-align: left;
}

.visual-core svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 14px 0;
  color: #9cc6e7;
}

.core-bottom {
  font-size: 8px;
  color: #adc3d8;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid rgba(182, 204, 226, .35);
  border-radius: 9px;
  background: #183b5e;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  font: 700 9px Arial, sans-serif;
  letter-spacing: 1px;
  direction: ltr;
  white-space: nowrap;
}

.chip-mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.chip-a {
  top: 15px;
  left: 4px;
}

.chip-b {
  top: 52%;
  right: 0;
}

.chip-c {
  bottom: 5px;
  left: 15%;
}

.hero-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(195, 216, 236, .15);
  color: #b6c7d9;
  font-size: 12px;
}

.hero-bottom span::before {
  content: "•";
  color: var(--gold);
  margin-left: 8px;
}

.section {
  padding: 85px 0;
}

.intro-section {
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 9px 0 0;
  font: 800 clamp(24px, 3vw, 36px)/1.5 "Estedad", "Vazirmatn", sans-serif;
  color: #173556;
}

.section-heading > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.eyebrow.light {
  color: #b08a55;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.principle {
  position: relative;
  padding: 25px 21px 23px;
  background: #f8fafd;
  border: 1px solid #e4ebf3;
  border-radius: 15px;
}

.principle-index {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #b7c6d5;
  font: 750 12px Arial, sans-serif;
}

.principle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: #e8eff7;
  color: #2a5c8c;
}

.principle h3 {
  margin: 19px 0 9px;
  color: #173657;
  font-size: 15px;
}

.principle p {
  margin: 0;
  color: #63768c;
  font-size: 12px;
  line-height: 2.05;
}

.topics-section {
  background: var(--paper);
}

.topics-heading {
  align-items: center;
}

.section-subtitle {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.editorial-state {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 8px;
  background: #e7edf5;
  color: #3a5d80;
  font-size: 12px;
  white-space: nowrap;
}

.topics-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.filter {
  padding: 9px 13px;
  border: 1px solid #dce5ee;
  background: #fff;
  color: #4b637e;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background .2s ease;
}

.filter.is-active,
.filter:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(285px, 100%);
  padding: 0 12px;
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 10px;
  color: #74869a;
}

.search-field svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 0;
  color: var(--ink);
  font-size: 12px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.topic-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 25px rgba(17, 45, 74, .035);
  transition: transform .25s ease, box-shadow .25s ease;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(17, 45, 74, .085);
}

.topic-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 165px;
  overflow: hidden;
  background: #173b60;
  color: #fff;
}

.topic-art::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  transform: translate(-45px, 35px);
}

.topic-art::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transform: translate(55px, -25px);
}

.art-index {
  position: absolute;
  top: 15px;
  left: 17px;
  z-index: 1;
  color: rgba(255,255,255,.7);
  font: 700 9px Arial, sans-serif;
  letter-spacing: 1.5px;
  direction: ltr;
}

.art-ai {
  background: linear-gradient(140deg, #102740, #315c85);
}

.art-geo {
  background: linear-gradient(140deg, #124456, #267b82);
}

.art-tools {
  background: linear-gradient(140deg, #1f315d, #536e9c);
}

.art-evidence {
  background: linear-gradient(140deg, #50405d, #87728c);
}

.art-causal {
  background: linear-gradient(140deg, #294257, #6c8090);
}

.art-data {
  background: linear-gradient(140deg, #3d4c5f, #778d9b);
}

.art-symbol,
.art-ai-symbol {
  position: relative;
  z-index: 1;
  direction: ltr;
  color: #f6f9fd;
  font: 800 clamp(25px, 3vw, 40px) Arial, sans-serif;
  letter-spacing: -1px;
}

.art-symbol span,
.art-ai-symbol span {
  color: #e5be82;
}

.art-symbol span {
  display: block;
  text-align: center;
  font-size: .48em;
  letter-spacing: 4px;
}

.art-ai-symbol span {
  padding: 0 5px;
  font-weight: 400;
}

.topic-body {
  padding: 22px 22px 20px;
}

.topic-category {
  color: #ab8450;
  font-size: 11px;
  font-weight: 800;
}

.topic-body h3 {
  min-height: 55px;
  margin: 9px 0 8px;
  color: #183753;
  font-size: 16px;
  line-height: 1.8;
}

.topic-body p {
  min-height: 68px;
  margin: 0 0 18px;
  color: #667b90;
  font-size: 12px;
  line-height: 2;
}

.topic-status {
  display: inline-flex;
  padding: 6px 10px;
  background: #eef3f8;
  border-radius: 7px;
  color: #516f8b;
  font-size: 10px;
  font-weight: 700;
}

.topics-note {
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid #dce7f1;
  border-radius: 10px;
  background: #edf3f9;
  color: #58738c;
  font-size: 12px;
}

.empty-search {
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

.editorial-banner {
  padding: 65px 0;
  background: #fff;
}

.editorial-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 38px 42px;
  border-radius: 19px;
  background: var(--navy);
  color: #fff;
}

.editorial-banner h2 {
  margin: 9px 0 8px;
  font: 800 27px "Estedad", "Vazirmatn", sans-serif;
}

.editorial-banner p {
  max-width: 660px;
  margin: 0;
  color: #c1d1e0;
  font-size: 13px;
}

.editorial-banner .button {
  flex-shrink: 0;
}

.site-footer {
  background: #0d223a;
  color: #c6d3e2;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  padding: 32px 0;
}

.footer-inner strong {
  color: #fff;
  font-size: 20px;
}

.footer-inner p {
  margin: 2px 0 0;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  font-size: 12px;
}

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

.domain {
  font: 600 12px Arial, sans-serif;
  letter-spacing: .5px;
  direction: ltr;
}

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 13px;
  }

  .hero-layout {
    grid-template-columns: 1fr .8fr;
    gap: 15px;
  }

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

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

  .topics-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    width: 100%;
    max-width: 430px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 30px, 1180px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 116px;
    height: 55px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: flex;
    margin-right: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 52px;
    padding-bottom: 30px;
  }

  .hero-content h1 {
    font-size: clamp(34px, 8vw, 48px);
  }

  .hero-visual {
    min-height: 275px;
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
  }

  .orbit-one {
    width: 270px;
    height: 270px;
  }

  .orbit-two {
    width: 360px;
    height: 240px;
  }

  .visual-core {
    width: min(270px, 75%);
  }

  .hero-bottom {
    justify-content: center;
    gap: 10px 20px;
    font-size: 11px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .topics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .topic-body {
    padding: 17px;
  }

  .topic-body h3 {
    min-height: 0;
    font-size: 14px;
  }

  .topic-body p {
    min-height: 0;
  }

  .editorial-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 29px 24px;
  }
}

@media (max-width: 520px) {
  .principles,
  .topics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-art {
    height: 150px;
  }

  .filter {
    padding: 8px 10px;
    font-size: 11px;
  }

  .editorial-state {
    white-space: normal;
  }

  .floating-chip {
    padding: 8px 9px;
    font-size: 7px;
  }

  .chip-b {
    right: -4px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
