/* gallery.css — Voices of Iran · Issue 1 */

:root {
  --bg: #0e0d0b;
  --surface: #161410;
  --surface-2: #1c1a16;
  --border: rgba(255, 255, 255, 0.07);
  --border-warm: rgba(255, 255, 255, 0.12);
  --text: #ede7dc;
  --text-muted: rgba(237, 231, 220, 0.4);
  --text-dim: rgba(237, 231, 220, 0.65);
  --accent: #c49a2a;
  --accent-light: #d4b050;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--text); }

/* ── Top bar ─────────────────────────────────────── */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
}

.top-bar-left {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.top-bar-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-light);
  text-decoration: none;
  border: 1px solid rgba(196, 154, 42, 0.35);
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.top-bar-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ── Hero ────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.hero-left {
  padding: 52px 40px 52px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -2px;
  color: var(--text);
}

.title-line--of {
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  font-size: clamp(44px, 6.5vw, 96px);
  letter-spacing: -1px;
  padding: 6px 0;
}

.hero-issue {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-right {
  padding: 52px 32px 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-tagline {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.3;
}

.hero-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.hero-meta-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.hero-meta-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-meta-val {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  background: var(--accent);
  padding: 12px 24px;
  min-height: 44px;
  transition: background 0.15s;
}
.hero-cta:hover { background: var(--accent-light); color: #000; }

/* ── Zine section ────────────────────────────────── */

.zine-section {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.zine-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  margin: 32px;
}

.zine-placeholder-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Statement ───────────────────────────────────── */

.statement-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid var(--border);
}

.statement-header {
  padding: 48px 32px 48px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 0;
  align-self: start;
}

.statement-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.statement-byline {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--text-dim);
}

.statement-body {
  padding: 48px 48px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 680px;
}

.statement-body p {
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-dim);
}

.statement-body em { font-style: italic; color: var(--text); }

.statement-sign {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  color: var(--text-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* ── Credits ─────────────────────────────────────── */

.credits-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.credits-block {
  padding: 36px 32px 40px;
}
.credits-block + .credits-block {
  border-left: 1px solid var(--border);
}

.credits-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.credits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credits-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}
.credits-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Footer ──────────────────────────────────────── */

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 28px 32px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-tag {
  color: var(--accent);
  font-weight: 700;
}

.footer-sep { opacity: 0.3; }

footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 32px; }
  .hero-right { padding: 36px 32px; }
  .statement-section { grid-template-columns: 1fr; }
  .statement-header { position: static; border-right: none; border-bottom: 1px solid var(--border); padding: 32px 32px 24px; flex-direction: row; align-items: baseline; }
  .statement-body { padding: 32px; max-width: none; }
  .credits-section { grid-template-columns: 1fr; }
  .credits-block + .credits-block { border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .top-bar, footer { padding-left: 20px; padding-right: 20px; }
  .hero-left, .hero-right { padding: 28px 20px; }
  .hero-meta-item { grid-template-columns: 1fr; gap: 4px; }
  .hero-cta { width: 100%; justify-content: center; }
  .zine-placeholder { margin: 20px; min-height: 220px; }
  .statement-header { padding: 24px 20px; }
  .statement-body { padding: 24px 20px; }
  .statement-body p { font-size: 14px; }
  .credits-block { padding: 28px 20px; }
}
