/* Royal Institute of Black Curators — rioblackcurators.com
   Cloudflare Pages home. Customize colors and spacing as needed. */

:root {
  --color-bg: #fff;
  --color-text: #000;
  --color-text-muted: #595959;
  --color-accent: #B85423;
  --color-accent-hover: #8C411B;
  --color-surface: #E8E6E6;
  --color-navy: #012169;
  --font-heading: 'Fahkwang', sans-serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1140px;
  --header-height: 64px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-surface);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--color-accent);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 48px 24px;
  max-width: 720px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.9);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section:nth-child(even) {
  background: var(--color-surface);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75em;
  color: var(--color-text);
}

.section-intro {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Support / Campaign */
.campaign-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 560px;
}

.campaign-banner {
  width: 100%;
  height: auto;
  display: block;
}

.campaign-actions {
  padding: 24px;
}

/* Link lists */
.link-list {
  list-style: none;
}

.link-list li {
  margin-bottom: 0.75rem;
}

.link-list a {
  font-family: var(--font-heading);
  color: var(--color-navy);
  text-decoration: none;
  font-size: 1.1rem;
}

.link-list a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-credit {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    order: -1;
  }

  .section {
    padding: 48px 0;
  }
}
