/* Voices Of The City Foundation — rebuilt from the original Flash site */

:root {
  --bg: #09081a;
  --bg-alt: #120f28;
  --red: #a5222a;
  --red-bright: #d33;
  --gold: #c9a24b;
  --text: #f2efe6;
  --text-dim: #b9b5c9;
  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--red-bright); }

h1, h2 { font-family: var(--font-head); font-weight: normal; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.55) saturate(1.1);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,8,26,0.3) 0%, rgba(9,8,26,0.75) 75%, rgba(9,8,26,1) 100%);
}

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

.hero .eyebrow {
  letter-spacing: 0.08em;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 0 0 2rem;
  color: var(--text);
  font-style: italic;
}

.enter-btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.75rem 2.5rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
}

.enter-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

/* SECTIONS */
.section {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section.alt { background: var(--bg-alt); }

.section-inner {
  max-width: 780px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.section .lead {
  font-size: 1.15rem;
  color: var(--text-dim);
}

.section p { margin: 0 0 1.1rem; }

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  border-bottom: 1px solid currentColor;
}

/* STORIES GRID */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.story-card {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}

.story-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.story-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--text);
}

.story-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.story-card::after {
  content: "▶";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.85);
  font-size: 1.5rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.story-card.playing::after { opacity: 0; }

/* INOUTLET two-col */
.two-col {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.col-video video {
  width: 100%;
  border-radius: 6px;
  display: block;
  aspect-ratio: 350 / 240;
  object-fit: cover;
  background: #000;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

/* CONTACT */
.contact-details {
  margin-top: 1.5rem;
}

.contact-details p {
  font-size: 1.1rem;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.contact-label {
  color: var(--text-dim);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 5.5rem;
}

/* FOOTER */
.site-footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.site-footer .back-top {
  display: inline-block;
  margin-top: 0.5rem;
}
