/* ===================================
   TURBA تُرْبَة — Design System
   Matching culturalresistance.space
   =================================== */

:root {
  --bg: #030322;
  --bg-soft: #070736;
  --bg-panel: rgba(3, 3, 34, 0.88);
  --bg-card: rgba(3, 3, 34, 0.7);
  --text: #d3f7af;
  --text-soft: rgba(211, 247, 175, 0.76);
  --text-muted: rgba(211, 247, 175, 0.52);
  --white: #ffffff;
  --black: #000000;
  --accent: #d3f7af;
  --accent-warm: #fe4500;
  --accent-soft: #ecffd7;
  --earth: #5f5aa8;
  --earth-light: #8f89da;
  --olive: #d3f7af;
  --olive-soft: #ecffd7;
  --line: rgba(211, 247, 175, 0.16);
  --line-strong: rgba(211, 247, 175, 0.34);
  --motif-bg: url("background-motive.png");
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.35);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container: min(1200px, calc(100vw - 3rem));
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(3, 3, 34, 0.18), rgba(3, 3, 34, 0.76) 55%, rgba(3, 3, 34, 0.92)),
    var(--motif-bg) center top / min(2000px, 145vw) auto no-repeat fixed,
    var(--bg);
  color: var(--text);
  font-family: "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle 520px at 8% 18%, rgba(211, 247, 175, 0.1), transparent 60%),
    radial-gradient(circle 460px at 86% 26%, rgba(254, 69, 0, 0.08), transparent 54%),
    linear-gradient(90deg, rgba(3, 3, 34, 0.58), rgba(3, 3, 34, 0.2), rgba(3, 3, 34, 0.7));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

button, input {
  font: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.content-narrow {
  max-width: 820px;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.arabic-text,
.brand__arabic {
  font-weight: 400;
  direction: rtl;
}

/* ===================================
   Header / Navigation
   =================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(3, 3, 34, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.35rem, 0.8vw, 0.6rem);
  width: auto;
  height: clamp(30px, 2.6vw, 38px);
  overflow: hidden;
}

.brand__mark {
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand__mark--latin {
  width: clamp(80px, 5.8vw, 94px);
  height: clamp(24px, 1.8vw, 29px);
}

.brand__mark--arabic {
  width: clamp(34px, 2.8vw, 42px);
  height: clamp(29px, 2.4vw, 36px);
}

.brand__logo {
  max-width: none;
  width: auto;
  height: auto;
  transform-origin: top left;
}

.brand__logo--latin {
  height: clamp(315px, 23vw, 375px);
  transform: translate(-33.3%, -51.8%);
}

.brand__logo--arabic {
  height: clamp(188px, 15.5vw, 232px);
  transform: translate(-37.9%, -35.8%);
}

.brand__name {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.brand__arabic {
  font-size: 0.85em;
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

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

.site-nav a.is-active {
  color: var(--black);
  background: var(--accent);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 8px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(3, 3, 34, 0.72);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   Buttons
   =================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.button:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: #fff;
  transform: translateY(-1px);
}

.button--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

.button--accent:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: var(--white);
}

.button--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.button--ghost:hover {
  background: rgba(211, 247, 175, 0.08);
  border-color: var(--accent);
  color: var(--white);
}

.button--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ===================================
   Tab System
   =================================== */

.tab-content {
  display: none;
  padding-top: 72px;
}

.tab-content.is-active {
  display: block;
  animation: fadeIn 400ms ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   Hero Section (Home)
   =================================== */

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background:
    linear-gradient(90deg, rgba(3, 3, 34, 0.2), rgba(3, 3, 34, 0.78)),
    var(--motif-bg) center top / cover no-repeat;
}

.hero__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero__text {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.hero__logo {
  width: min(100%, 460px);
  height: clamp(380px, 32vw, 430px);
  max-width: 460px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.hero__logo img {
  max-width: none;
  width: clamp(520px, 34vw, 580px);
  height: auto;
  filter: none;
  opacity: 1;
  transform: translate(-14%, -21.7%);
  transform-origin: top left;
  transition: opacity 400ms ease;
}

.hero__logo img:hover {
  opacity: 1;
}

.hero__reel {
  flex: 0 0 auto;
  width: clamp(300px, 28vw, 400px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__reel iframe {
  display: block;
  width: 100%;
  min-height: 580px;
  border: none;
  background: var(--bg-card);
}

.hero__title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.hero__title .arabic-text {
  color: var(--accent);
  font-size: 0.75em;
}

.hero__subline {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__core {
  max-width: min(640px, 100%);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ===================================
   Three Questions
   =================================== */

.three-questions {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

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

.question-card {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.question-card:hover {
  border-color: var(--accent-warm);
  transform: translateY(-3px);
}

.question-num {
  display: inline-block;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.question-card p {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

/* ===================================
   Featured Video
   =================================== */

.featured-video {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.video-wrapper {
  margin: 2rem 0;
  max-width: 900px;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  margin-top: 1.25rem;
}

.video-artist {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.video-role {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.video-quote {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===================================
   Entry Points
   =================================== */

.entry-points {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.entry-card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.entry-card:hover {
  border-color: var(--accent-warm);
  background: rgba(211, 247, 175, 0.07);
  transform: translateY(-3px);
}

.entry-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.entry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.entry-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* ===================================
   Page Hero (inner pages)
   =================================== */

.page-hero {
  padding: 8rem 0 4rem;
  background:
    linear-gradient(90deg, rgba(3, 3, 34, 0.18), rgba(3, 3, 34, 0.82)),
    var(--motif-bg) center top / cover no-repeat;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  max-width: 800px;
}

.page-hero__sub {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-top: 1rem;
  max-width: 640px;
}

/* ===================================
   Content Sections
   =================================== */

.content-section {
  padding: 4rem 0 6rem;
}

/* ===================================
   Roots Page
   =================================== */

.roots-core {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}

.roots-core p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.roots-core p:last-child {
  margin-bottom: 0;
}

.roots-block {
  margin-bottom: 4rem;
}

.roots-block h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.roots-block p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  color: var(--text);
}

.questions-inline {
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.questions-inline p {
  font-family: "Syne", sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.questions-inline p:last-child {
  margin-bottom: 0;
}

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

.what-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.what-card:hover {
  border-color: var(--accent-warm);
}

.what-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.what-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}

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

.flow-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.flow-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.flow-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}

.flow-note {
  font-family: "Syne", sans-serif;
  font-weight: 600;
  color: var(--white) !important;
  font-size: 1.1rem !important;
  margin-top: 1.5rem !important;
}

.publish-filter {
  padding-left: 0;
  margin: 1rem 0;
}

.publish-filter li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
  font-size: 1.05rem;
}

.publish-filter li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.roots-closing {
  padding: 3rem 0 0;
  border-top: 1px solid var(--line);
}

.roots-closing p {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.5;
}

/* ===================================
   Dispatches Page
   =================================== */

.dispatches-intro {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

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

.format-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.format-card:hover {
  border-color: var(--accent-warm);
  transform: translateY(-3px);
}

.format-card__icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.format-card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.format-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  color: var(--white);
  border-color: var(--line-strong);
}

.filter-btn.is-active {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
}

.dispatches-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.empty-state p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ===================================
   The Web Page (Map)
   =================================== */

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

.layer-card {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}

.layer-card:hover {
  border-color: var(--olive);
}

.layer-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--olive-soft);
}

.layer-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.map-feed-note {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.map-feed-note h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.map-feed-note p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.map-feed-note p:last-child {
  margin-bottom: 0;
}

.map-container {
  margin-bottom: 3rem;
}

.map-shell {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1rem;
}

.map-stage {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(3, 3, 34, 0.72), rgba(3, 3, 34, 0.96)),
    var(--motif-bg) center center / cover no-repeat;
}

.world-map {
  width: 100%;
  min-height: 500px;
  height: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.world-map__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.world-map__svg {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

.world-map__svg:active {
  cursor: grabbing;
}

.map-sphere {
  fill: rgba(3, 3, 34, 0.92);
}

.map-graticule {
  fill: none;
  stroke: rgba(211, 247, 175, 0.08);
  stroke-width: 0.6;
}

.map-land {
  fill: rgba(211, 247, 175, 0.13);
  stroke: rgba(211, 247, 175, 0.26);
  stroke-width: 0.6;
}

.map-boundary {
  fill: none;
  stroke: rgba(211, 247, 175, 0.12);
  stroke-width: 0.5;
}

.map-node {
  cursor: pointer;
}

.map-node__core {
  transition: r 180ms ease, fill 180ms ease;
}

.map-node__label {
  fill: var(--white);
  font-size: 11px;
  pointer-events: none;
}

.map-node__chip {
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.map-node:hover .map-node__chip {
  opacity: 1;
}

.map-chip rect {
  fill: rgba(0, 0, 0, 0.92);
  stroke: rgba(211, 247, 175, 0.36);
  stroke-width: 1;
  rx: 999;
  ry: 999;
}

.map-chip text {
  fill: var(--white);
  font-size: 11px;
}

.add-to-web,
.node-events {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.add-to-web h3,
.node-events h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.add-to-web p,
.node-events p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.add-to-web .button,
.node-events .button {
  margin-top: 0.5rem;
}

/* ===================================
   Node Popup (on map)
   =================================== */

.node-popup {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 340px;
  max-height: calc(100% - 3rem);
  overflow-y: auto;
  padding: 1.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 10;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.node-popup.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.node-popup__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-soft);
  cursor: pointer;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}

.node-popup__close:hover {
  color: var(--white);
  background: rgba(211, 247, 175, 0.08);
}

.node-popup__type {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.node-popup__type--hub {
  background: rgba(211, 247, 175, 0.16);
  color: var(--accent);
}

.node-popup__type--urgent {
  background: rgba(254, 69, 0, 0.2);
  color: var(--accent-warm);
}

.node-popup__type--node {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.node-popup__title {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.node-popup__city {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.node-popup__status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-warm);
  margin-bottom: 0.75rem;
}

.node-popup__desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.node-popup__contact {
  font-size: 0.88rem;
  color: var(--accent-warm);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ===================================
   Node Cards Grid (below map)
   =================================== */

.node-cards-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.node-cards-section h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.node-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.node-card:hover {
  border-color: var(--accent-warm);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.node-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.node-card__type {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.node-card__type--hub {
  background: rgba(211, 247, 175, 0.16);
  color: var(--accent);
}

.node-card__type--urgent {
  background: rgba(254, 69, 0, 0.2);
  color: var(--accent-warm);
}

.node-card__type--node {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.node-card__status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.node-card__title {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.node-card__city {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

.node-card__desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.node-card__contact {
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ===================================
   Seeds Page (Shop)
   =================================== */

.seeds-intro {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.seeds-highlight {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 3rem;
}

.seeds-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent-warm);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

.product-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-soft);
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-card__info {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.product-card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex: 1;
}

.product-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  font-family: "Syne", sans-serif;
}

.seeds-note {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.seeds-note p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.seeds-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.shipping-note {
  color: var(--text-soft) !important;
  font-size: 0.9rem !important;
}

.shipping-note strong {
  color: var(--white);
}

/* ===================================
   Root With Us Page
   =================================== */

.rootwithus-grid {
  display: grid;
  gap: 2rem;
}

.rootwithus-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color var(--transition);
}

.rootwithus-card:hover {
  border-color: var(--accent-warm);
}

.rootwithus-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.rootwithus-card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.rootwithus-card p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.rootwithus-note {
  color: var(--text-soft) !important;
  font-size: 0.92rem !important;
  font-style: italic;
}

.rootwithus-card .button {
  margin-top: 0.5rem;
}

/* ===================================
   Footer
   =================================== */

.site-footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
}

.footer-brand__name {
  font-family: "Syne", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand__name .arabic-text {
  color: var(--accent);
}

.footer-brand__tagline {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-social a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-contact {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-contact p {
  margin-top: 0.25rem;
}

.footer-closing {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  font-style: italic;
}

/* ===================================
   Animations
   =================================== */

@keyframes pulseHalo {
  0% { opacity: 0.8; transform: scale(0.9); }
  75% { opacity: 0; transform: scale(1.8); }
  100% { opacity: 0; transform: scale(1.8); }
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 1024px) {
  .questions-grid,
  .formats-grid,
  .layers-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 768px) {
  :root {
    --container: calc(100vw - 2rem);
  }

  .site-header {
    position: fixed;
  }

  .brand {
    height: 36px;
  }

  .brand__mark--latin {
    width: 82px;
    height: 25px;
  }

  .brand__mark--arabic {
    width: 34px;
    height: 29px;
  }

  .brand__logo--latin {
    height: 325px;
  }

  .brand__logo--arabic {
    height: 188px;
  }

  .mobile-menu-btn {
    display: flex;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 101;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: rgba(3, 3, 34, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 5rem 0 3rem;
  }

  .hero__layout {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }

  .hero__logo {
    width: min(84vw, 360px);
    height: clamp(330px, 94vw, 385px);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__logo img {
    width: clamp(420px, 128vw, 500px);
    transform: translate(-20.5%, -21.7%);
  }

  .hero__reel {
    width: 100%;
    max-width: 400px;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero__core {
    max-width: min(32ch, 100%);
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-hero {
    padding: 6rem 0 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .seeds-product-grid {
    grid-template-columns: 1fr;
  }

  .node-cards-grid {
    grid-template-columns: 1fr;
  }

  .node-popup {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 60vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .dispatches-links {
    flex-direction: column;
  }

  .rootwithus-card {
    padding: 1.75rem;
  }

  .footer-nav,
  .footer-social {
    flex-direction: column;
    gap: 0.5rem;
  }
}
