:root {
  --nu-red: #c8102e;
  --ink: #111111;
  --charcoal: #1f1f1f;
  --slate: #4b4b4b;
  --line: #d9d9d9;
  --paper: #ffffff;
  --wash: #f4f4f1;
  --wash-dark: #efefeb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.utility-bar {
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
}

.utility-inner,
.header-inner,
.footer-grid,
.join-panel,
.event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-inner {
  min-height: 42px;
}

.utility-links,
.main-nav,
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.utility-links a,
.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  min-height: 88px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-lockup {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--nu-red);
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
}

.brand strong,
.brand span {
  display: block;
}

.brand span:last-child {
  color: var(--slate);
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-cta,
.button-primary {
  background: var(--nu-red);
  color: #fff;
}

.header-cta:hover,
.button-primary:hover {
  background: #a50d26;
}

.button-secondary {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.button-light {
  background: #fff;
  color: var(--ink);
}

.hero {
  padding: 56px 0 40px;
}

.hero-grid,
.split-layout,
.events-layout,
.resources-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.hero-copy {
  padding: 16px 0;
}

.section-kicker,
.mini-kicker,
.quick-label,
.event-date span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.section-kicker,
.mini-kicker,
.quick-label {
  color: var(--nu-red);
}

h1,
h2 {
  font-family: "Merriweather", serif;
  line-height: 1.08;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 14ch;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.network-card p,
.story-content p,
.event-copy p,
.resource-panel p,
.resource-panel li {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-feature {
  display: grid;
  grid-template-rows: 1.2fr auto;
  min-height: 100%;
  background: var(--wash);
  border: 1px solid var(--line);
}

.hero-photo,
.story-visual {
  position: relative;
  overflow: hidden;
}

.hero-photo {
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.32)),
    linear-gradient(135deg, #6e6e6e 0%, #2e2e2e 42%, var(--nu-red) 100%);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 10% 12%;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-photo span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  font-weight: 700;
}

.hero-feature-copy {
  padding: 26px;
  background: #fff;
}

.quick-links {
  padding: 18px 0 46px;
  border-bottom: 1px solid var(--line);
}

.quick-grid,
.network-grid,
.story-grid {
  display: grid;
  gap: 18px;
}

.quick-grid {
  grid-template-columns: repeat(4, 1fr);
}

.quick-card {
  display: block;
  padding: 22px;
  text-decoration: none;
  border-top: 4px solid var(--nu-red);
  background: var(--wash);
  min-height: 130px;
}

.quick-card span {
  display: block;
  color: var(--slate);
  margin-bottom: 14px;
}

.quick-card strong {
  font-size: 1.18rem;
  line-height: 1.3;
}

.editorial-section,
.stories-section,
.events-section,
.resources-section,
.join-section {
  padding: 72px 0;
}

.split-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.network-grid {
  grid-template-columns: repeat(3, 1fr);
}

.network-card,
.story-card,
.resource-panel {
  border: 1px solid var(--line);
  background: #fff;
}

.network-card {
  padding: 24px;
}

.story-grid {
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
}

.story-card {
  display: grid;
  grid-template-rows: 220px auto;
}

.story-card-large {
  grid-row: span 1;
}

.story-visual-red {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
    linear-gradient(135deg, #d9d9d9 0%, var(--nu-red) 100%);
}

.story-visual-dark {
  background: linear-gradient(135deg, #0f0f0f, #4a4a4a);
}

.story-visual-light {
  background: linear-gradient(135deg, #cfcfc8, #f4f4f1);
}

.story-content {
  padding: 22px;
}

.story-content a,
.event-item a {
  color: var(--nu-red);
  text-decoration: none;
  font-weight: 800;
}

.events-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.events-list {
  border-top: 1px solid var(--line);
}

.event-item {
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.event-date {
  min-width: 84px;
}

.event-date strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.event-copy {
  flex: 1;
}

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

.resource-panel {
  padding: 28px;
}

.resource-panel ul {
  margin: 20px 0 0;
  padding-left: 18px;
}

.resource-panel-dark {
  background: var(--ink);
  color: #fff;
}

.resource-panel-dark h2,
.resource-panel-dark p {
  color: #fff;
}

.join-panel {
  padding: 32px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  gap: 20px;
}

.site-footer {
  padding: 28px 0 40px;
  background: var(--wash);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--slate);
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .events-layout,
  .resources-grid,
  .quick-grid,
  .network-grid,
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-card-large {
    grid-column: span 2;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .utility-inner,
  .header-inner,
  .join-panel,
  .footer-grid,
  .event-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .split-layout,
  .events-layout,
  .resources-grid,
  .quick-grid,
  .network-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card-large {
    grid-column: auto;
  }

  .header-inner {
    padding: 18px 0;
  }

  h1 {
    max-width: 100%;
  }

  h2 {
    max-width: 100%;
  }

  .hero-photo {
    min-height: 280px;
  }
}
