/* ============================================
   SILENCED — WOMEN UNDER THE TALIBAN
   style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;1,8..60,300&family=Space+Mono:wght@400;700&display=swap');

/* ── VARIABLES ── */
:root {
  --ink: #1a0a00;
  --cream: #f5f0e8;
  --rust: #c0392b;
  --dust: #8b6f47;
  --muted: #6b5a4a;
  --line: rgba(26,10,0,0.15);
  --gold: #b8860b;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── BASE ── */
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* NOISE TEXTURE OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--rust); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-text {
  padding: 12rem 4rem 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--rust);
  display: block;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-cta {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary {
  background: var(--rust);
  color: white;
  padding: 0.9rem 2.2rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--rust);
  transition: all 0.25s;
  cursor: pointer;
  display: inline-block;
}

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

.btn-ghost {
  color: var(--muted);
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--muted);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--ink); }

.hero-visual {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192,57,43,0.3) 0%, transparent 60%);
  z-index: 1;
}

.hero-stat-overlay {
  position: absolute;
  bottom: 4rem;
  left: 3rem;
  z-index: 2;
  color: white;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.hero-stat-overlay .big-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--rust);
}

.hero-stat-overlay p {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}

.pattern-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
}

/* SCROLL INDICATOR */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--muted);
}

/* ── ANIMATIONS ── */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

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

/* ── SECTION COMMONS ── */
section { padding: 8rem 5rem; }

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::after {
  content: '';
  height: 1px;
  width: 60px;
  background: var(--rust);
  opacity: 0.5;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-intro {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 65ch;
  margin-bottom: 4rem;
}

/* ── CONTEXT ── */
.context {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.context::before {
  content: '2021';
  position: absolute;
  right: -0.1em;
  top: -0.2em;
  font-family: 'Playfair Display', serif;
  font-size: 25vw;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.context .section-label { color: #c0392b; }
.context .section-title { color: var(--cream); }
.context .section-intro { color: rgba(245,240,232,0.6); }

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  margin-top: 4rem;
}

.timeline-item {
  padding: 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
  transition: background 0.3s;
}

.timeline-item:last-child { border-right: none; }
.timeline-item:hover { background: rgba(192,57,43,0.1); }

.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 1rem;
}

.timeline-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245,240,232,0.7);
}

/* ── LEADERSHIP ── */
.leadership { background: #f0ebe0; }

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

.leader-card {
  border: 1px solid var(--line);
  padding: 2.5rem;
  position: relative;
  background: white;
  transition: transform 0.3s, box-shadow 0.3s;
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(26,10,0,0.1);
}

.leader-role {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.75rem;
}

.leader-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.leader-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1rem;
}

.leader-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  margin: 0.25rem 0.25rem 0 0;
}

/* ── OPPRESSION GRID ── */
.oppression { background: var(--cream); }

.oppress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 3rem;
}

.oppress-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.oppress-item:nth-child(3n)  { border-right: none; }
.oppress-item:nth-child(n+4) { border-bottom: none; }
.oppress-item:hover          { background: rgba(192,57,43,0.04); }

.oppress-number {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(192,57,43,0.1);
  line-height: 1;
  margin-bottom: -1rem;
}

.oppress-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.oppress-item p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.oppress-item ul { list-style: none; margin-top: 1rem; }

.oppress-item ul li {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.oppress-item ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: 700;
}

/* ── STATS BANNER ── */
.stats-banner {
  background: var(--rust);
  color: white;
  padding: 5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-item p {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  line-height: 1.5;
}

/* ── STORIES ── */
.stories { background: #1a0a00; color: var(--cream); }
.stories .section-label { color: var(--rust); }
.stories .section-title { color: var(--cream); }
.stories .section-intro { color: rgba(245,240,232,0.6); }

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

.story-card {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.3s;
}

.story-card:hover { border-color: var(--rust); }

.story-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: var(--rust);
  opacity: 0.2;
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  line-height: 1;
}

.story-text {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(245,240,232,0.8);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.story-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
}

.story-tag {
  display: inline-block;
  background: rgba(192,57,43,0.2);
  border: 1px solid rgba(192,57,43,0.4);
  color: var(--rust);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  margin-bottom: 1.5rem;
}

/* ── SHARE STORY ── */
.share-story { background: #f0ebe0; padding: 8rem 5rem; }

.share-form-wrap { max-width: 700px; margin-top: 3rem; }

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  padding: 1rem 1.2rem;
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--rust); }

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

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

.form-submit {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 1rem 3rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1rem;
}

.form-submit:hover { background: var(--rust); }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
  font-style: italic;
}

/* ── INTERNAL DIVISIONS ── */
.divisions { background: var(--cream); border-top: 4px solid var(--rust); }

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

.faction-card { padding: 2.5rem; position: relative; }
.faction-card.kandahar { background: var(--ink); color: var(--cream); }
.faction-card.kabul    { background: white; border: 1px solid var(--line); }

.faction-badge {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.kandahar .faction-badge { background: var(--rust); color: white; }
.kabul    .faction-badge { background: var(--ink);  color: white; }

.faction-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.kandahar .faction-title { color: var(--cream); }
.faction-card p { font-size: 0.95rem; line-height: 1.8; color: var(--muted); }
.kandahar p { color: rgba(245,240,232,0.7); }

/* ── CONTACT ── */
.contact { background: var(--ink); color: var(--cream); padding: 8rem 5rem; }
.contact .section-label { color: var(--rust); }
.contact .section-title { color: var(--cream); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  margin-top: 4rem;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--cream);
}

.contact-info p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(245,240,232,0.6);
  margin-bottom: 2rem;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--cream);
  transition: border-color 0.2s;
}

.contact-email:hover { border-color: var(--rust); }
.contact-email .icon { font-size: 1.2rem; }

.contact-email span {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.contact-form .form-group label { color: rgba(245,240,232,0.5); }

.contact-form .form-group input,
.contact-form .form-group textarea {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: var(--cream);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: rgba(245,240,232,0.3); }

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus { border-color: var(--rust); }

.contact-form .form-submit { background: var(--rust); width: 100%; }
.contact-form .form-submit:hover { background: #a93226; }

/* ── SUCCESS MESSAGE ── */
.success-msg {
  display: none;
  background: rgba(192,57,43,0.15);
  border: 1px solid var(--rust);
  padding: 1.2rem 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--rust);
  text-transform: uppercase;
  margin-top: 1rem;
}

/* ── PULL QUOTE ── */
.pull-quote {
  background: var(--rust);
  color: white;
  padding: 5rem;
  text-align: center;
}

.pull-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.pull-quote cite {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  font-style: normal;
}

/* ── MARRIAGE ── */
.marriage { background: white; }

.marriage-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 3rem;
}

.compare-col { padding: 3rem; }
.compare-col:first-child { border-right: 1px solid var(--line); }

.compare-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.compare-col .era {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: block;
}

.compare-col ul { list-style: none; }

.compare-col ul li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.compare-col ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--rust);
  font-size: 0.7rem;
}

.compare-col ul li:last-child { border-bottom: none; }

/* ── WARNING BOX ── */
.warning-box {
  background: rgba(192,57,43,0.06);
  border-left: 4px solid var(--rust);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  font-style: italic;
}

/* ── FOOTER ── */
footer {
  background: #0d0500;
  color: rgba(245,240,232,0.4);
  padding: 3rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer .logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cream);
}

footer p {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

footer .footer-links { display: flex; gap: 2rem; list-style: none; }

footer .footer-links a {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(245,240,232,0.4);
  transition: color 0.2s;
}

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

/* ── OFFICIALS GRID (inline section) ── */
.officials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.official-role {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.4rem;
}

.official-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  section { padding: 5rem 2rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .hero-text { padding: 8rem 2rem 4rem; }
  .oppress-grid { grid-template-columns: 1fr 1fr; }
  .leaders-grid,
  .factions-wrap,
  .stories-grid,
  .contact-layout,
  .marriage-compare { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: 1fr 1fr; padding: 3rem 2rem; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .pull-quote { padding: 3rem 2rem; }
  .share-story { padding: 5rem 2rem; }
  .contact { padding: 5rem 2rem; }
}

@media (max-width: 600px) {
  .oppress-grid { grid-template-columns: 1fr; }
  .oppress-item { border-right: none !important; }
  .stats-banner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
