*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 24px;
  line-height: 1.75;
  color: #e0e0e0;
  background: #0a0a0a;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* ——— Navigation ——— */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid #1a1a1a;
}

.nav-name {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

/* ——— Mobile Menu Toggle ——— */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: transform 0.25s, opacity 0.2s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 22px; }

.menu-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ——— Mobile Overlay Menu ——— */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 44px;
  color: #fff;
  text-decoration: none;
  padding: 16px 0;
  transition: color 0.25s;
}

.mobile-menu a:hover {
  color: #ff6b35;
}

/* ——— Layout ——— */

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
  position: relative;
}

.page-content {
  padding-top: 160px;
  padding-bottom: 120px;
}

/* ——— Color accent bar ——— */

.page-content::before {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background: #ff6b35;
  margin-bottom: 48px;
  margin-top: 0;
  border-radius: 3px;
}

/* ——— Typography ——— */

h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(52px, 9vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(40px, 7vw, 60px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 24px;
  color: #999;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 28px;
  line-height: 1.65;
  color: #bbb;
  margin-bottom: 40px;
}

.subtitle {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 30px;
  color: #ff6b35;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 44px;
}

.last-updated {
  font-size: 18px;
  color: #555;
  margin-bottom: 52px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-heading {
  font-size: clamp(44px, 8vw, 68px);
  margin-bottom: 24px;
}

/* ——— Affiliations Row ——— */

.affiliations {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid #1a1a1a;
}

.affiliations a {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: 6px;
  transition: transform 0.2s, opacity 0.2s;
}

.affiliations a:nth-child(1) {
  background: #f57c00;
  color: #fff;
}

.affiliations a:nth-child(2) {
  background: #00897b;
  color: #fff;
}

.affiliations a:nth-child(3) {
  background: #43a047;
  color: #fff;
}

.affiliations a:nth-child(4) {
  background: #e91e63;
  color: #fff;
}

.affiliations a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ——— Event / Entry Items ——— */

.entry-list {
  margin-top: 20px;
}

.entry {
  padding: 32px 0;
  border-bottom: 1px solid #1a1a1a;
  transition: padding-left 0.25s;
}

.entry:hover {
  padding-left: 16px;
}

.entry:last-child {
  border-bottom: none;
}

.entry-meta {
  font-size: 16px;
  color: #ff6b35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.entry h3 {
  margin-bottom: 8px;
}

.entry p {
  font-size: 22px;
  line-height: 1.65;
  color: #888;
  margin-bottom: 0;
}

.entry a {
  color: #ff6b35;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.entry a:hover {
  border-color: #ff6b35;
}

/* ——— Section Subheading ——— */

.section-sub {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  color: #fff;
  margin-top: 72px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  padding-bottom: 16px;
  border-bottom: 3px solid #ff6b35;
  display: inline-block;
}

.section-sub:first-of-type {
  margin-top: 0;
}

/* ——— Focus Grid ——— */

.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 12px;
}

.focus-item {
  padding: 40px;
  transition: transform 0.25s;
}

.focus-item:nth-child(1) {
  background: #ff6b35;
  color: #fff;
}
.focus-item:nth-child(1) h3 { color: #fff; }
.focus-item:nth-child(1) p { color: rgba(255, 255, 255, 0.8); }

.focus-item:nth-child(2) {
  background: #00897b;
  color: #fff;
}
.focus-item:nth-child(2) h3 { color: #fff; }
.focus-item:nth-child(2) p { color: rgba(255, 255, 255, 0.8); }

.focus-item:nth-child(3) {
  background: #1a1a1a;
}
.focus-item:nth-child(3) h3 { color: #fff; }
.focus-item:nth-child(3) p { color: #999; }

.focus-item:nth-child(4) {
  background: #e91e63;
  color: #fff;
}
.focus-item:nth-child(4) h3 { color: #fff; }
.focus-item:nth-child(4) p { color: rgba(255, 255, 255, 0.8); }

.focus-item:hover {
  transform: scale(1.02);
}

.focus-item h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.focus-item p {
  font-size: 22px;
  line-height: 1.6;
}

/* ——— Writing Section ——— */

.writing-block {
  margin-bottom: 40px;
}

.writing-block:last-child {
  margin-bottom: 0;
}

/* ——— Dash Lists ——— */

.dash-list {
  margin: 28px 0;
  padding-left: 0;
  list-style: none;
}

.dash-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: #999;
}

.dash-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 3px;
  border-radius: 2px;
}

.dash-list li:nth-child(1)::before { background: #ff6b35; }
.dash-list li:nth-child(2)::before { background: #00897b; }
.dash-list li:nth-child(3)::before { background: #e91e63; }
.dash-list li:nth-child(4)::before { background: #43a047; }
.dash-list li:nth-child(5)::before { background: #ff6b35; }
.dash-list li:nth-child(n+6)::before { background: #00897b; }

/* ——— Contact Links ——— */

.contact-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-row a {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 6px;
  transition: transform 0.2s, opacity 0.2s;
}

.contact-row a:nth-child(1) {
  background: #ff6b35;
}

.contact-row a:nth-child(2) {
  background: #1a1a1a;
  border: 1px solid #333;
}

.contact-row a:nth-child(3) {
  background: #00897b;
}

.contact-row a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ——— Back Link ——— */

.back-link {
  display: inline-block;
  font-size: 20px;
  color: #666;
  text-decoration: none;
  margin-bottom: 36px;
  transition: color 0.25s;
  letter-spacing: 0.02em;
}

.back-link:hover {
  color: #ff6b35;
}

/* ——— Legal Page Lists ——— */

.legal-list {
  margin: 16px 0 20px;
  padding-left: 24px;
  list-style: none;
}

.legal-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #888;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0.7em;
  width: 8px;
  height: 3px;
  background: #ff6b35;
  border-radius: 2px;
}

.legal-list + p {
  margin-top: 20px;
}

/* ——— Legal Page Headings ——— */

.legal-h2 {
  font-size: 34px;
  margin-top: 56px;
  margin-bottom: 20px;
}

a.body-link {
  color: #ff6b35;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 53, 0.3);
  transition: border-color 0.25s;
}

a.body-link:hover {
  border-color: #ff6b35;
}

/* ——— Footer ——— */

footer {
  padding: 56px 0;
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer p {
  font-size: 16px;
  color: #444;
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a,
footer a {
  font-size: 16px;
  color: #444;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-legal a:hover,
footer a:hover {
  color: #ff6b35;
}

/* ——— Mobile ——— */

@media (max-width: 768px) {
  nav {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .page-content {
    padding-top: 128px;
    padding-bottom: 80px;
  }

  h2 {
    margin-bottom: 26px;
  }

  .lead {
    font-size: 26px;
    margin-bottom: 28px;
  }

  .subtitle {
    font-size: 27px;
    margin-bottom: 32px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .focus-item {
    padding: 32px;
  }

  .writing-block {
    margin-bottom: 32px;
  }

  .dash-list {
    margin: 22px 0;
  }

  .contact-row {
    gap: 12px;
  }

  .affiliations {
    gap: 10px;
  }

  .affiliations a {
    font-size: 16px;
    padding: 12px 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .legal-h2 {
    margin-top: 40px;
  }

  .entry {
    padding: 24px 0;
  }

  .entry:hover {
    padding-left: 8px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 22px;
  }

  h1 {
    font-size: 44px;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 36px;
    margin-bottom: 22px;
  }

  h3 {
    font-size: 24px;
  }

  .subtitle {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .lead {
    font-size: 24px;
  }

  .page-content {
    padding-top: 108px;
    padding-bottom: 56px;
  }

  .mobile-menu a {
    font-size: 36px;
    padding: 14px 0;
  }

  .contact-row {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .contact-row a {
    text-align: center;
    padding: 16px 28px;
    font-size: 18px;
  }

  .page-heading {
    font-size: 40px;
  }

  .entry p {
    font-size: 20px;
  }

  .focus-item {
    padding: 28px;
  }

  .focus-item h3 {
    font-size: 22px;
  }

  .focus-item p {
    font-size: 20px;
  }

  .affiliations a {
    font-size: 15px;
    padding: 10px 18px;
  }

  .section-sub {
    font-size: 32px;
  }
}
