﻿/* ============================================================
   Institute for Projective Sciences — Site Stylesheet
   Registered charitable trust, Zürich. Established 1967.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@400;700&family=Mada:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-black: #000000;
  --color-red: #a71836;
  --color-red-dark: #8b1228;
  --color-white: #ffffff;
  --color-off-white: #f7f7f7;
  --color-gray-light: #dbdfe3;
  --color-gray: #676e77;
  --color-gray-dark: #333333;
  --color-border: #e0e0e0;

  --font-heading: 'Frank Ruhl Libre', Georgia, serif;
  --font-body: 'Mada', 'Segoe UI', Arial, sans-serif;

  --max-width: 1200px;
  --section-padding: 90px 0;
  --card-radius: 0px;
  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-red-dark); }

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* --- Top Bar --- */
.top-bar {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.7); font-size: 12px; }
.top-bar a:hover { color: var(--color-white); }
.top-bar .tagline { color: rgba(255,255,255,0.4); font-size: 11px; }

/* --- Header --- */
.header {
  background: var(--color-black);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Navigation --- */
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav .nav-item > a, .nav .nav-trigger {
  display: flex; align-items: center;
  padding: 12px 16px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: 3px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  background: none;
}
.nav > a:hover, .nav .nav-item > a:hover, .nav .nav-trigger:hover { color: var(--color-white); background: rgba(255,255,255,0.08); }
.nav > a.current, .nav .nav-item > a.current { color: var(--color-white); background: var(--color-red); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a::after, .nav-trigger::after {
  content: '\25BE';
  margin-left: 6px;
  font-size: 10px;
  transition: transform var(--transition);
}
.nav-item:hover > a::after, .nav-item:hover .nav-trigger::after { transform: rotate(180deg); }
.nav-item.active .nav-trigger::after { transform: rotate(180deg); }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 200;
  padding: 6px 0;
}
.nav-item:hover .dropdown { display: block; }
.nav-item.active .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 10px 18px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
  transition: all var(--transition);
}
.dropdown a:hover { color: var(--color-white); background: rgba(255,255,255,0.08); }
.dropdown a.current { color: var(--color-white); background: var(--color-red); }

/* Mark parent as current if child is active */
.nav-item:has(.dropdown a.current) > a, .nav-item:has(.dropdown a.current) .nav-trigger { color: var(--color-white); background: var(--color-red); }

/* Hamburger */
.hamburger {
  display: none;
  background: none; border: none;
  color: var(--color-white);
  font-size: 26px;
  cursor: pointer;
  padding: 8px;
}

/* --- Hero --- */
.hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(167,24,54,0.15) 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero .hero-badge {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 20px;
  color: var(--color-white);
}
.hero p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 540px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}
.hero .btn { margin-right: 12px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  text-transform: none;
  letter-spacing: 0;
}
.btn-primary { background: var(--color-red); color: var(--color-white); border-color: var(--color-red); }
.btn-primary:hover { background: var(--color-red-dark); border-color: var(--color-red-dark); color: var(--color-white); }
.btn-outline { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { background: var(--color-white); color: var(--color-black); border-color: var(--color-white); }
.btn-outline-dark { background: transparent; color: var(--color-black); border-color: var(--color-black); }
.btn-outline-dark:hover { background: var(--color-black); color: var(--color-white); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* --- Announcement Bar --- */
.announcement {
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.announcement .container { display: flex; align-items: center; gap: 20px; }
.announcement-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  white-space: nowrap;
}
.announcement-text {
  font-size: 14px;
  color: var(--color-gray-dark);
  line-height: 1.4;
}

/* --- Sections --- */
.section { padding: var(--section-padding); }
.section-dark { background: var(--color-black); color: var(--color-white); }
.section-gray { background: var(--color-off-white); }
.section-red { background: var(--color-red); color: var(--color-white); }

.section-header { margin-bottom: 50px; text-align: left; }
.section-header.center { text-align: center; }
.section-header .section-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  margin-bottom: 10px;
  display: block;
}
.section-dark .section-tag { color: var(--color-red); }
.section-header h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-dark .section-header h2 { color: var(--color-white); }
.section-red .section-header h2 { color: var(--color-white); }
.section-header p {
  font-size: 16px;
  color: var(--color-gray);
  max-width: 600px;
  line-height: 1.6;
}
.section-dark .section-header p { color: rgba(255,255,255,0.55); }
.section-red .section-header p { color: rgba(255,255,255,0.7); }

.section-header .highlight { color: var(--color-red); }

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

/* --- Card Grids --- */
.card-grid { display: grid; gap: 30px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.card-body { padding: 24px; }
.card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-black);
  margin-bottom: 10px;
  line-height: 1.25;
}
.card p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link::after { content: "→"; transition: transform var(--transition); }
.card-link:hover { color: var(--color-red-dark); }
.card-link:hover::after { transform: translateX(3px); }

/* --- Card: Horizontal --- */
.card-horizontal { display: flex; border: 1px solid var(--color-border); }
.card-horizontal .card-img { width: 300px; aspect-ratio: auto; min-height: 220px; }
.card-horizontal .card-body { flex: 1; }

/* --- Stats Row --- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat { padding: 20px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-red);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.section-dark .stat-number { color: var(--color-white); }
.stat-label {
  font-size: 14px;
  color: var(--color-gray);
  font-weight: 500;
}
.section-dark .stat-label { color: rgba(255,255,255,0.55); }

/* --- Event / Timeline List --- */
.event-list { list-style: none; }
.event-list li {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.event-list li:first-child { padding-top: 0; }
.event-date {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-red);
  white-space: nowrap;
  padding-top: 3px;
  min-width: 80px;
}
.event-details h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.event-details p { font-size: 14px; color: var(--color-gray); margin: 0; }
.section-dark .event-list li { border-color: rgba(255,255,255,0.1); }
.section-dark .event-details h4 { color: var(--color-white); }
.section-dark .event-details p { color: rgba(255,255,255,0.5); }

/* --- Content Pages --- */
.content-page { max-width: var(--max-width); margin: 0 auto; padding: 60px 28px 90px; width: 100%; }
.content-page h1 {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin-bottom: 8px;
  line-height: 1.15;
}
.content-page h1 + .subtitle {
  font-size: 15px;
  color: var(--color-gray);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.content-page h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  color: var(--color-black);
  margin: 44px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  letter-spacing: -0.01em;
}
.content-page h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-black);
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
}
.content-page h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-black);
  margin: 22px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.content-page p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-gray-dark);
  margin-bottom: 16px;
  max-width: 780px;
}
.content-page a { color: var(--color-red); font-weight: 500; }
.content-page a:hover { color: var(--color-red-dark); text-decoration: underline; }

/* --- Tables --- */
.data-table {
  width: 100%;
  max-width: 820px;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.data-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray);
  padding: 10px 14px;
  border-bottom: 2px solid var(--color-black);
  background: var(--color-off-white);
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-gray-dark);
  vertical-align: top;
}
.data-table tr:hover td { background: var(--color-off-white); }

/* Meta table (specimen-style) */
.meta-table {
  width: 100%;
  max-width: 620px;
  border-collapse: collapse;
  margin: 24px 0;
}
.meta-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  font-size: 14px;
}
.meta-table td:first-child {
  width: 140px;
  color: var(--color-gray);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-right: 20px;
}
.meta-table td:last-child { color: var(--color-gray-dark); }

/* Status indicators */
.status { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.s-active { color: #2d7a3a; }
.s-paused { color: #a07500; }
.s-review { color: var(--color-red); }

/* --- Bio cards --- */
.bio {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.bio h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 4px;
}
.bio .role {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-red);
  margin-bottom: 10px;
}
.bio p { font-size: 14px; color: var(--color-gray-dark); margin-bottom: 6px; max-width: 700px; }

/* --- Bibliography --- */
.bib-list { list-style: none; max-width: 780px; counter-reset: bib; }
.bib-list li {
  counter-increment: bib;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-gray-dark);
  line-height: 1.6;
}
.bib-list li::before {
  content: "[" counter(bib) "] ";
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gray);
}
.bib-list li em { font-style: italic; }
.bib-list li .annotation {
  display: block;
  font-size: 13px;
  color: var(--color-gray);
  margin-top: 4px;
  padding-left: 24px;
  font-style: italic;
}
.bib-list li .restricted { color: var(--color-red); font-size: 11px; font-weight: 600; }
.bib-list li .link { font-size: 13px; }
.bib-list li .nda { color: var(--color-gray); font-size: 11px; font-weight: 600; }

/* --- Notices & Alerts --- */
.notice {
  background: #fff8f5;
  border: 1px solid #e8c8b0;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 14px;
  max-width: 780px;
  border-radius: 3px;
}
.notice strong { color: var(--color-black); }
.notice a { color: var(--color-red); font-weight: 600; }

/* --- Restricted Boxes --- */
.restricted-box {
  margin: 24px 0;
  padding: 20px 24px;
  border: 2px solid var(--color-red);
  background: #fefafa;
  max-width: 780px;
  border-radius: 3px;
}
.restricted-box h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--color-red);
  margin-bottom: 8px;
  font-weight: 400;
}

/* --- Specimen Disclaimer --- */
.disclaimer {
  text-align: center;
  padding: 48px 32px;
  background: #fefafa;
  border: 2px solid var(--color-red);
  max-width: 780px;
  margin: 0 auto;
  border-radius: 3px;
}
.disclaimer h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-red);
  margin-bottom: 14px;
  font-weight: 400;
}
.disclaimer p {
  font-size: 14px;
  color: var(--color-gray-dark);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.disclaimer button {
  background: var(--color-red);
  color: var(--color-white);
  border: 0;
  padding: 14px 36px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  transition: background var(--transition);
}
.disclaimer button:hover { background: var(--color-red-dark); }

/* --- Pull Quote --- */
.pull-quote {
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--color-off-white);
  border-left: 3px solid var(--color-red);
  max-width: 780px;
  border-radius: 0 3px 3px 0;
}
.pull-quote p { font-style: italic; color: var(--color-gray-dark); font-size: 15px; }
.pull-quote .attribution {
  display: block;
  font-size: 12px;
  color: var(--color-gray);
  margin-top: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Note Box --- */
.note-box {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--color-red);
  font-size: 14px;
  background: #fefafa;
  max-width: 780px;
  border-radius: 3px;
}
.note-box strong { color: var(--color-red); }

/* --- Collection Stats --- */
.collection-stats td { padding: 8px 0; font-size: 14px; color: var(--color-gray-dark); }
.collection-stats td:first-child { padding-right: 24px; color: var(--color-gray); }
.collection-stats td:last-child { font-weight: 700; color: var(--color-black); }

/* --- Catalogue --- */
.catalogue { list-style: none; max-width: 600px; }
.catalogue li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-gray-dark);
}
.catalogue li .date { font-size: 11px; color: var(--color-gray); font-weight: 600; }

/* --- FAQ --- */
.faq dt {
  font-weight: 700;
  margin: 20px 0 6px;
  color: var(--color-black);
  font-size: 15px;
}
.faq dd { margin: 0 0 16px 0; color: var(--color-gray-dark); max-width: 780px; }

/* --- Lists --- */
.content-page ol,
.content-page ul { margin: 14px 0 14px 22px; max-width: 780px; }
.content-page ol li,
.content-page ul li { margin-bottom: 8px; color: var(--color-gray-dark); font-size: 15px; }

/* --- Section Rule --- */
.section-rule {
  border: 0;
  height: 1px;
  margin: 36px 0;
  max-width: 780px;
  background: var(--color-border);
}

/* --- Section Label --- */
.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray);
  margin: 32px 0 12px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 12px;
  color: var(--color-gray);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--color-gray); font-weight: 500; }
.breadcrumb a:hover { color: var(--color-red); }
.breadcrumb .sep { margin: 0 8px; color: var(--color-gray-light); }

/* --- Timeline --- */
.timeline { list-style: none; max-width: 780px; }
.timeline li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-gray-dark);
}
.timeline li strong { color: var(--color-black); }
.timeline .date {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-red);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Image Box --- */
.image-box {
  margin: 28px 0;
  text-align: center;
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  max-width: 400px;
}
.image-box img { max-width: 300px; height: auto; }

/* --- Image + Text Split Section --- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-text h2 { margin: 0 0 16px; padding: 0; border: none; }
.split-text h3 { font-family: var(--font-heading); font-size: 32px; font-weight: 400; color: var(--color-black); margin-bottom: 14px; letter-spacing: -0.01em; }
.split-text p { font-size: 15px; color: var(--color-gray); line-height: 1.7; margin-bottom: 20px; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--color-red);
  color: var(--color-white);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--color-white);
}
.cta-banner p {
  font-size: 16px;
  opacity: 0.8;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--color-white); }
.cta-banner .btn-outline:hover { background: var(--color-white); color: var(--color-red); }

/* --- Footer --- */
.footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.55);
  padding: 70px 0 0;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer p { margin-bottom: 8px; line-height: 1.6; }
.footer a { color: rgba(255,255,255,0.45); display: block; margin-bottom: 8px; transition: color var(--transition); }
.footer a:hover { color: var(--color-white); }
.footer .footer-about { max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
  font-size: 12px;
}
.footer-bottom p { margin: 0; opacity: 0.4; }

/* --- Utility --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-red { color: var(--color-red); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root { --section-padding: 60px 0; }

  .hero h1 { font-size: 42px; }
  .hero p { font-size: 15px; max-width: 440px; }

  .section-header h2 { font-size: 32px; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-img { aspect-ratio: 16/9; }
  .content-page h1 { font-size: 36px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .card-horizontal { flex-direction: column; }
  .card-horizontal .card-img { width: 100%; height: 200px; min-height: auto; }

  .header { position: relative; }

  /* Mobile nav */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-black);
    flex-direction: column;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-radius: 0; }
  .hamburger { display: block; }
}

@media (max-width: 768px) {
  :root { --section-padding: 50px 0; }

  .hero { padding: 60px 0; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 14px; }
  .btn { padding: 12px 24px; font-size: 13px; }

  .section-header h2 { font-size: 28px; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 36px; }

  .content-page h1 { font-size: 28px; }
  .content-page h2 { font-size: 22px; margin-top: 32px; padding-top: 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer .footer-about { max-width: 100%; }

  .event-list li { flex-direction: column; gap: 6px; }

  .meta-table td { display: block; }
  .meta-table td:first-child { width: 100%; padding-right: 0; padding-bottom: 2px; }
  .meta-table td:last-child { padding-top: 0; }
}

@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .top-bar, .header, .nav, .footer, .hero, .cta-banner { display: none; }
  .content-page { padding: 0; }
  .content-page h1, .content-page h2 { color: #000; }
  .content-page p, .content-page a { color: #000; }
}
