/* ==========================================================
   مش نهاية العالم — Brand-driven design system
   Editorial × Collage × Youthful
   ========================================================== */

:root {
  /* Core palette - Orange dominant */
  --orange: #FF5E1F;
  --orange-dark: #E04A0E;
  --orange-light: #FFB088;
  --orange-soft: #FFEDE2;
  --orange-50: #FFF6F0;

  /* Supporting */
  --navy: #1A2845;
  --navy-deep: #0F1A30;
  --cream: #FBF6EE;
  --paper: #F4EFE5;
  --ink: #15141B;
  --ink-soft: #4A4A55;
  --accent-yellow: #FFD748;
  --accent-mint: #BFE3C5;

  /* Type */
  --f-display: 'Reem Kufi', 'Tajawal', sans-serif;
  --f-body: 'Tajawal', 'Cairo', sans-serif;
  --f-serif: 'Amiri', serif;

  --radius: 14px;
  --radius-lg: 28px;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== TOP MARQUEE ===== */
.top-marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee-track span { display: inline-block; }
@keyframes marquee {
  to { transform: translateX(50%); }
}
[dir="rtl"] .marquee-track { animation: marquee-rtl 35s linear infinite; }
@keyframes marquee-rtl {
  to { transform: translateX(-50%); }
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
  background: rgba(251, 246, 238, 0.92);
}
.nav-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--orange);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  border-radius: 50%;
  position: relative;
}
.logo-mark::before, .logo-mark::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--cream);
  border-radius: 50%;
  top: 6px;
}
.logo-mark::before { left: 12px; }
.logo-mark::after { left: 20px; }
.logo-mark.dark { background: var(--ink); color: var(--cream); }
.logo-mark.dark::before, .logo-mark.dark::after { background: var(--orange); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s;
  position: relative;
}
.nav-links a:hover { background: var(--orange-soft); color: var(--orange-dark); }
.nav-links a.active {
  background: var(--ink);
  color: var(--cream);
}
.nav-cta {
  background: var(--orange) !important;
  color: var(--cream) !important;
  padding: 10px 22px !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  overflow: hidden;
  background: var(--cream);
  min-height: 80vh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: multiply;
}

.hero-shape {
  position: absolute;
  color: var(--orange);
  opacity: 0.18;
}
.shape-star {
  width: 120px;
  top: 60px;
  left: 4%;
  animation: spin 30s linear infinite;
}
.shape-squiggle {
  width: 200px;
  top: 120px;
  right: 8%;
  color: var(--navy);
  opacity: 0.15;
  animation: wave 8s ease-in-out infinite;
}
.shape-burst {
  width: 100px;
  bottom: 80px;
  left: 6%;
  color: var(--accent-yellow);
  opacity: 0.4;
  animation: spin 20s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.dots-pattern {
  position: absolute;
  bottom: 40px;
  right: 60px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(circle, var(--orange) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  margin: 0 auto;
  text-align: center;
  padding-top: 40px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--cream);
  margin-bottom: 32px;
}
.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--ink);
}
.hero-line { display: block; }
.hero-highlight {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -4%;
  right: -4%;
  height: 14px;
  background: var(--accent-yellow);
  z-index: -1;
  opacity: 0.7;
  transform: skewX(-5deg);
}
.hero-quoted {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--navy);
  font-weight: 700;
  margin-top: 8px;
}
.hero-small {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 16px;
  font-family: var(--f-body);
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(-4px); }
[dir="rtl"] .btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--orange);
  color: var(--cream);
  box-shadow: 0 6px 0 var(--orange-dark), 0 12px 24px rgba(255,94,31,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--orange-dark), 0 16px 32px rgba(255,94,31,0.3);
}
.btn-secondary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 6px 0 var(--orange);
}
.btn-large { padding: 20px 36px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-ghost-light:hover {
  background: var(--cream);
  color: var(--navy);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 20px 36px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 100px;
  box-shadow: 6px 6px 0 var(--orange);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--orange);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--ink);
  opacity: 0.2;
}

/* Megaphone illustration */
.hero-megaphone {
  position: absolute;
  bottom: 60px;
  right: 5%;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}
.megaphone-circle {
  width: 120px;
  height: 120px;
  background: var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.megaphone-svg { width: 70%; color: var(--cream); }
.megaphone-text {
  position: absolute;
  top: -10px;
  right: -20px;
  background: var(--ink);
  color: var(--cream);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(8deg);
}

/* ===== BIG MARQUEE ===== */
.big-marquee {
  background: var(--orange);
  color: var(--cream);
  overflow: hidden;
  padding: 28px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.big-marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  width: max-content;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  animation: marquee-rtl 28s linear infinite;
}
.big-marquee-track .bullet {
  color: var(--accent-yellow);
  display: inline-block;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 120px 0 100px;
  background: var(--cream);
  position: relative;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--orange-soft);
  border-radius: 100px;
}
.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--ink);
}
.section-title.white { color: var(--cream); }
.underline-mark {
  position: relative;
  display: inline-block;
  color: var(--orange);
}
.underline-mark::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--orange);
  border-radius: 4px;
  transform: scaleX(0.95) skewX(-2deg);
}
.circle-mark {
  display: inline-block;
  padding: 0 12px;
  position: relative;
}
.circle-mark::before {
  content: '';
  position: absolute;
  inset: -8px -4px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  transform: rotate(-3deg);
}
.manifesto-p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 600;
  color: var(--orange-dark);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 4px;
  transition: gap 0.2s;
}
.text-link:hover { gap: 14px; }
.text-link svg { width: 16px; height: 16px; }

.manifesto-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.pillar {
  background: var(--paper);
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  position: relative;
  transition: all 0.3s ease;
}
.pillar:hover {
  transform: translateX(-8px);
  background: var(--cream);
}
[dir="rtl"] .pillar:hover { transform: translateX(8px); }
.pillar-1 { transform: rotate(-1deg); background: var(--orange-soft); }
.pillar-2 { transform: rotate(1deg) translateX(20px); }
[dir="rtl"] .pillar-2 { transform: rotate(1deg) translateX(-20px); }
.pillar-3 { transform: rotate(-0.5deg); background: var(--accent-yellow); }
.pillar-num {
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--ink);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
}
[dir="rtl"] .pillar-num { left: auto; right: 24px; }
.pillar-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 8px;
  margin-top: 8px;
}
.pillar-text { color: var(--ink-soft); line-height: 1.6; }

/* ===== STORIES ===== */
.stories {
  padding: 120px 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.stories::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.stories-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.hand-arrow {
  display: inline-block;
  color: var(--orange);
  animation: point 2s ease-in-out infinite;
}
@keyframes point {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
.highlight-yellow {
  background: var(--accent-yellow);
  color: var(--ink);
  padding: 2px 12px;
  display: inline-block;
  transform: rotate(-1deg);
  border-radius: 6px;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.story-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.story-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
}
.story-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.story-feature .story-img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 460px;
}
.story-img-2 { background: linear-gradient(135deg, #FFD748 0%, #ff9a3c 100%); }
.story-img-3 { background: linear-gradient(135deg, #BFE3C5 0%, #5fa777 100%); }
.story-img-4 { background: linear-gradient(135deg, #ff5e1f 0%, #c63010 100%); }
.story-img-5 { background: linear-gradient(135deg, #1A2845 0%, #4a5d8a 100%); }
.story-emoji {
  font-size: 5rem;
  position: absolute;
  bottom: 20px;
  right: 24px;
  opacity: 0.7;
}
.story-overlay {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.story-quote {
  font-family: var(--f-serif);
  font-size: 6rem;
  line-height: 0.7;
  color: var(--accent-yellow);
  margin-bottom: 16px;
}
.story-overlay h3 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.story-snippet { font-size: 1.05rem; line-height: 1.6; opacity: 0.95; }
.story-meta {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.story-tag {
  background: var(--orange);
  color: var(--cream);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.story-meta span:not(.story-tag) {
  background: var(--ink);
  color: var(--cream);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}
.story-body {
  padding: 28px;
}
.story-body .story-tag {
  display: inline-block;
  margin-bottom: 16px;
}
.story-body h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.story-body p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 0.96rem;
  line-height: 1.65;
}
.story-read {
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.story-read:hover { border-color: var(--orange); }

.share-cta {
  margin-top: 80px;
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 56px;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--accent-yellow);
  position: relative;
  z-index: 1;
}
.share-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.share-cta h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 600px;
}
.share-cta p {
  color: var(--ink);
  opacity: 0.85;
  max-width: 540px;
}

/* ===== WORKSHOPS ===== */
.workshops {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.workshops-bg-text {
  position: absolute;
  top: 60px;
  left: -40px;
  font-family: var(--f-display);
  font-size: 22rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.05;
  line-height: 0.8;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.workshops-header {
  max-width: 680px;
  margin-bottom: 64px;
}
.strike-mark {
  position: relative;
  color: var(--orange);
  display: inline-block;
}
.strike-mark::after {
  /* content: ''; */
  position: absolute;
  top: 55%;
  left: -4%;
  right: -4%;
  height: 4px;
  background: var(--ink);
  transform: rotate(-3deg);
}
.workshops-intro {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.workshop-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr 1.4fr;
  gap: 16px;
  margin-bottom: 100px;
  height: 520px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--ink);
  transition: all 0.4s ease;
  background: var(--ink);
}
.gallery-item:hover { transform: scale(1.02) translateY(-4px); }
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item video {
  background: #000;
  cursor: pointer;
}
.gallery-tall { transform: rotate(-2deg) translateY(20px); }
.gallery-wide { transform: rotate(1.5deg); }
.gallery-video { transform: translateY(-14px) rotate(-1deg); }
.gallery-item:nth-child(3) { transform: translateY(-10px) rotate(0.5deg); }
.gallery-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--orange);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--ink);
  pointer-events: none;
  z-index: 2;
}
.gallery-video .gallery-tag { background: var(--ink); color: var(--orange); border-color: var(--orange); }

/* Upcoming workshops */
.upcoming-section { margin-bottom: 80px; }
.upcoming-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.upcoming-header h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}
.upcoming-header p { color: var(--ink-soft); }

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.upcoming-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.upcoming-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--orange);
}
.upcoming-featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--orange);
}
.upcoming-featured:hover { box-shadow: 8px 8px 0 var(--accent-yellow); }
.featured-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--orange);
  color: var(--cream);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--ink);
}
[dir="rtl"] .featured-badge { right: auto; left: 24px; }
.upcoming-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--orange);
  color: var(--cream);
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  margin-bottom: 20px;
  line-height: 1;
}
.day { font-family: var(--f-display); font-size: 2rem; font-weight: 700; }
.month { font-size: 13px; font-weight: 600; margin-top: 4px; }
.upcoming-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}
.upcoming-featured .upcoming-tag {
  background: rgba(255,255,255,0.1);
  color: var(--orange-light);
}
.upcoming-card h4 {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.upcoming-card p {
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 0.95rem;
  flex-grow: 1;
}
.upcoming-featured p { color: rgba(251, 246, 238, 0.75); }
.upcoming-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
}
.upcoming-btn {
  display: inline-block;
  text-align: center;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.upcoming-featured .upcoming-btn { background: var(--orange); }
.upcoming-btn:hover { background: var(--orange); transform: translateY(-2px); }
.upcoming-featured .upcoming-btn:hover { background: var(--cream); color: var(--ink); }

/* Signup Form */
.signup-form {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--ink);
}
.signup-left {
  padding: 56px;
  background: var(--orange);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.signup-shape {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: var(--accent-yellow);
  border-radius: 50%;
  opacity: 0.2;
}
.signup-left h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}
.signup-left p {
  position: relative;
  opacity: 0.95;
  line-height: 1.7;
}
.signup-right {
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.signup-right label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-light);
}
.signup-right input,
.signup-right select {
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: var(--cream);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
}
/* Select needs a solid background so browser-native <option> elements are readable */
.signup-right select {
  background: var(--navy-deep);
  border-color: rgba(255,255,255,0.25);
}
.signup-right select option {
  background: var(--navy-deep);
  color: var(--cream);
}
.signup-right input:focus,
.signup-right select:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,94,31,0.12);
}
/* Raise placeholder opacity so it reads clearly on the dark background */
.signup-right input::placeholder { color: rgba(251,246,238,0.6); }
.form-success {
  display: none;
  background: var(--accent-mint);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
}
.form-success.show { display: block; animation: slideIn 0.4s ease; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== COMMUNITY ===== */
.community {
  padding: 120px 32px;
  background: var(--orange);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.community-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.community-bg .grain {
  opacity: 0.4;
  mix-blend-mode: overlay;
}
.community-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.community-emoji {
  font-size: 4rem;
  display: inline-block;
  animation: wave-emoji 2s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes wave-emoji {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-15deg); }
}
.community h2 {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 20px 0 24px;
  letter-spacing: -0.02em;
}
.community h2 .line { display: block; }
.community h2 .accent {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--accent-yellow);
}
.community p {
  font-size: 1.2rem;
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0.95;
}
.community-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.community .btn-primary {
  background: var(--ink);
  box-shadow: 0 6px 0 #000, 0 12px 24px rgba(0,0,0,0.2);
}
.community .btn-primary:hover {
  background: var(--cream);
  color: var(--ink);
}
.wa-icon { width: 20px; height: 20px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 16px 0 12px;
}
.footer-brand p {
  color: rgba(251, 246, 238, 0.6);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--orange);
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: rgba(251, 246, 238, 0.7);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(251, 246, 238, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-tag { color: white; font-weight: 500; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .story-feature { grid-column: span 2; }
  .story-feature .story-img { min-height: 400px; }
  .upcoming-grid { grid-template-columns: 1fr 1fr; }
  .upcoming-grid > :last-child { grid-column: span 2; }
  .signup-form { grid-template-columns: 1fr; }
  .workshop-gallery { height: auto; grid-template-columns: 1fr 1fr; }
  .gallery-wide { grid-column: span 2; height: 320px; }
  .gallery-tall, .gallery-video, .gallery-item:nth-child(3) { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-megaphone { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 20px 64px; }
  .hero-stats { gap: 12px; padding: 14px 20px; flex-wrap: wrap; }
  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: 11px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stories { padding: 80px 0; }
  .stories-grid { grid-template-columns: 1fr; gap: 16px; }
  .story-feature, .story-feature .story-img { grid-column: auto; min-height: 380px; }
  .workshops { padding: 80px 0; }
  .workshop-gallery { grid-template-columns: 1fr; }
  .gallery-wide, .gallery-tall, .gallery-video, .gallery-item:nth-child(3) { grid-column: auto; height: 280px; transform: none; }
  .upcoming-grid { grid-template-columns: 1fr; }
  .upcoming-grid > :last-child { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .signup-left, .signup-right { padding: 36px 24px; }
  .share-cta { padding: 32px 24px; box-shadow: 6px 6px 0 var(--accent-yellow); }
  .community { padding: 80px 20px; }
  .manifesto { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillar-2 { transform: rotate(1deg) translateX(0); }

  /* Fix #1: section-title decorative elements overlap on mobile */
  .section-title {
    line-height: 1.55;
  }
  /* Shrink underline so it doesn't bleed into the next line */
  .underline-mark::after {
    height: 4px;
    bottom: -2px;
  }
  /* Shrink the circle outline so it stays within its line */
  .circle-mark::before {
    inset: -5px -3px;
    border-width: 2px;
  }
}

/* Mobile nav menu open state */
.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); }
.nav-toggle span { transition: all 0.2s; }
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  gap: 8px;
  align-items: stretch;
}
.nav-links.open a { text-align: center; padding: 12px; }
