:root {
  --color-bg: #0d0d0d;
  --color-text: #ededed;
  --color-accent: #d63030;
  --color-border: rgba(237, 237, 237, 0.12);
  --font-headline: Impact, "Arial Black", "Arial Bold", sans-serif;
  --font-body:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 1em;
  line-height: 1.6;
  background: var(--color-bg);
  color: var(--color-text);
}

body {
  font-family: var(--font-body);
  font-size: 1.15em;
}

h1 {
  font-family: var(--font-headline);
  font-size: 3.5em;
  line-height: 1.05em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.4em;
}

h2 {
  font-family: var(--font-headline);
  font-size: 2em;
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

h3 {
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(237, 237, 237, 0.4);
  transition: ease-in all 100ms;
}
a:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-bottom-color: transparent;
}

.container {
  width: 1027px;
  margin: 0 auto;
  padding: 2em;
}
header,
.content,
footer {
  margin: 3em 0;
}

header {
  text-align: center;
}

.subtitle {
  margin: 0 auto;
  font-size: 1.05em;
  opacity: 0.7;
  max-width: 800px;
}

.about img:not(.sun-logo) {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.about-lead {
  display: flex;
  align-items: center;
  gap: 1.75em;
}
.sun-logo {
  flex-shrink: 0;
  width: 150px;
  border-radius: 8px;
}
.sun-partners {
  display: block;
  max-width: 100%;
  margin: 2em auto 0;
  filter: invert(1);
  opacity: 0.6;
}
.impact-nw-logo {
  display: block;
  max-width: 320px;
  margin: 1.5em auto 0;
}

/* About: editorial lead paragraph with red left border */
.about p {
  font-size: 1.2em;
  line-height: 1.7;
  border-left: 4px solid var(--color-accent);
  padding-left: 1.25em;
  margin: 0;
}

.status-bar {
  text-align: center;
}
.status-bar p {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  animation: urgent-pulse 1.8s ease-in-out infinite;
  user-select: none;
}
@keyframes urgent-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}
.status-bar p:hover {
  animation-duration: 0.3s;
  cursor: default;
}

.siren {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  vertical-align: middle;
  cursor: pointer;
}
.siren-r {
  transform: scaleX(-1);
}
@keyframes siren-spin {
  to { transform: rotate(1080deg); }
}
@keyframes siren-r-spin {
  to { transform: scaleX(-1) rotate(1080deg); }
}
.siren.spinning {
  animation: siren-spin 1.5s ease-in-out;
}
.siren-r.spinning {
  animation: siren-r-spin 1.5s ease-in-out;
}

article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 15px;
}
article div,
article section {
  flex: 1;
}

.stakes h2 {
  margin-bottom: 0.5em;
}
.stakes section {
  padding: 0.75em 1em;
  border-bottom: 1px solid var(--color-border);
}
.stakes section:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}
.stakes h3 {
  margin: 0 0 0.3em;
  font-weight: normal;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.5;
}
.stakes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.6;
}
.stakes ul li {
  display: inline;
}
.stakes ul li:not(:last-child)::after {
  content: " · ";
  opacity: 0.4;
}

.contact {
  text-align: center;
  padding: 2.5em 1em;
}
.contact h2 {
  margin: 0 0 0.5em;
}
.contact .action-text {
  margin: 0 auto 1.5em;
  font-size: 1.25em;
  max-width: 560px;
  line-height: 1.5;
}
.contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.contact ul li {
  margin: 0 0 0 20px;
  padding: 0;
}
.contact ul li + li::before {
  display: inline-block;
  content: "|";
  margin-right: 20px;
  opacity: 0.3;
}
.contact ul.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.5em 0;
  text-align: left;
}
.contact ul.contacts-grid li {
  margin: 0;
  padding: 0.85em 1.25em;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}
.contact ul.contacts-grid li:nth-child(odd) {
  border-right: 1px solid var(--color-border);
}
.contact ul.contacts-grid li + li::before {
  content: none;
}
.contact-role {
  display: block;
  font-size: 0.75em;
  opacity: 0.5;
  font-family: var(--font-mono);
  margin-top: 0.4em;
}
.contact .help-list {
  display: inline-block;
  text-align: left;
  margin: 1em 0 0;
  padding-left: 1.5em;
  opacity: 0.8;
  line-height: 1.8;
  list-style: none;
}
.contact .help-list li {
  display: list-item;
  margin: 0 0 0.25em;
  padding-left: 0.25em;
}
.contact .help-list li::before {
  content: "✓";
  margin-right: 0.6em;
  color: var(--color-accent);
  font-weight: bold;
  opacity: 1;
}
.phrase-lead {
  font-size: 1.2em;
  font-weight: bold;
}

.heart {
  display: inline-block;
  transition: color 400ms ease;
}
.made-with:hover .heart {
  color: var(--color-accent);
}
.made-with:has(a:hover) .heart {
  animation: heart-pulse 0.6s ease-in-out infinite;
}
@keyframes heart-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

.scroll-hint {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  font-size: 2.5rem;
  opacity: 0.5;
  transition: opacity 400ms ease;
  cursor: pointer;
  text-align: center;
  text-shadow:
    0 0 12px var(--color-bg),
    0 0 24px var(--color-bg),
    0 0 36px var(--color-bg);
  animation: scroll-bounce 1.4s ease-in-out infinite;
}
.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}
.scroll-hint-label {
  display: block;
  font-family: "Cedarville Cursive", cursive;
  font-size: 1.6rem;
  margin-bottom: -0.5em;
  transform: rotate(-12deg);
  transform-origin: center bottom;
  transition: color 1200ms ease;
}
.scroll-hint.nudge .scroll-hint-label {
  color: var(--color-accent);
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}

.together {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 0.5em;
  margin: 1em 0;
}
.mobile-break {
  display: none;
}

footer {
  text-align: center;
  padding: 5px 0;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-size: 0.85em;
  opacity: 0.25;
}

@media only screen and (max-width: 1140px) {
  .container {
    width: 100%;
    margin: 0;
    padding: 0 2em;
  }
}

@media only screen and (max-width: 982px) {
  header .siren {
    display: block;
    margin: 0 auto 0.25em;
  }
  header .siren-r {
    margin: 0.25em auto 0;
  }
}

@media only screen and (max-width: 680px) {
  .about-lead {
    flex-direction: column;
    align-items: center;
  }
  .together {
    font-size: 1.35em;
  }
  .mobile-break {
    display: block;
  }
  h1 {
    font-size: 2.5em;
    letter-spacing: 1px;
  }
  article {
    grid-template-columns: 1fr;
  }
  .stakes section {
    border-right: none !important;
  }
  .contact .siren {
    display: block;
    margin: 0 auto 0.25em;
  }
  .contact .siren-r {
    margin: 0.25em auto 0;
  }
  .contact ul {
    flex-direction: column;
  }
  .contact ul li {
    margin: 0.25em 0;
  }
  .contact ul li + li::before {
    content: none;
  }
  .contact ul.contacts-grid {
    grid-template-columns: 1fr;
  }
  .contact ul.contacts-grid li:nth-child(odd) {
    border-right: none;
  }
}

@media print {
  .container {
    width: 100%;
    margin: 0 2em;
  }
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    border: 0;
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
