:root {
  --gold: #fcc113;
  --ink: #232323;
  --charcoal: #111111;
  --muted: #606161;
  --paper: #ffffff;
  --soft: #f5f5f5;
  --line: rgba(35, 35, 35, 0.12);
  --max: 1180px;
  --header-font: "Raleway", Arial, sans-serif;
  --body-font: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 86px;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: min(260px, 46vw);
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 2rem);
  font-family: var(--header-font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-nav a {
  text-decoration: none;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 0.75rem 1rem;
}

.hero {
  min-height: calc(100dvh - 86px);
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.74)),
    url("https://aihorizonspgh.com/wp-content/uploads/2026/08/HORIZONS-PRIMARY.png") center/cover;
  color: var(--paper);
}

.challenge-hero {
  display: grid;
  align-items: end;
  min-height: 62dvh;
  border-bottom: 12px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.94), rgba(17, 17, 17, 0.78)),
    url("https://aihorizonspgh.com/wp-content/uploads/2026/08/HORIZONS-PRIMARY.png") center/cover;
  color: var(--paper);
}

.challenge-hero__inner {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero__inner {
  width: min(var(--max), calc(100% - 2rem));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: var(--header-font);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--header-font);
  font-weight: 800;
  line-height: 1.05;
}

h1 {
  max-width: 920px;
  font-size: clamp(3.4rem, 9vw, 7.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hero__lead {
  max-width: 760px;
  margin: 1.5rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 0.55rem;
  border: 1px solid currentColor;
  padding: 0.88rem 1.25rem;
  font-family: var(--header-font);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
.top-nav a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.button--primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: transparent;
  color: var(--paper);
}

.button--secondary {
  color: var(--paper);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: transparent;
  color: var(--ink);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}

.fine-print {
  max-width: 650px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.hero__panel {
  border-top: 8px solid var(--gold);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.problem-statement {
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.problem-statement h2 {
  color: var(--gold);
  font-family: var(--header-font);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.problem-statement p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.snapshot-grid {
  display: grid;
  gap: 1rem;
}

.snapshot-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.snapshot-grid strong {
  display: block;
  margin-top: 0.15rem;
  line-height: 1.35;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section__inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.section--intro {
  border-top: 12px solid var(--gold);
}

.intro-grid,
.callout,
.faq-grid,
.schedule-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p:first-child,
.callout__body p:first-child {
  margin-top: 0;
}

.intro-copy p:last-child,
.callout__body p:last-child {
  margin-bottom: 0;
}

.section--why {
  background: var(--soft);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.why-grid article {
  min-height: 240px;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  background: var(--paper);
}

.why-grid h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.why-grid p {
  color: var(--muted);
  font-size: 0.98rem;
}

.why-grid a {
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading--light h2 {
  color: var(--paper);
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.track-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-right: 1px solid var(--line);
  background: var(--paper);
}

.track-card:last-child {
  border-right: 0;
}

.track-card:nth-child(even) {
  background: var(--soft);
}

.track-number {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--gold);
  font-family: var(--header-font);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.track-card p,
.partner-grid p,
.faq-list p {
  color: var(--muted);
}

.track-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--ink);
  font-family: var(--header-font);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section--dark {
  background: var(--charcoal);
  color: var(--paper);
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline time {
  padding: 1rem;
  color: var(--gold);
  font-family: var(--header-font);
  font-weight: 800;
}

.timeline span {
  padding: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.section--resources {
  background: var(--soft);
}

.brief-disclaimer {
  max-width: 940px;
  border-left: 8px solid var(--gold);
  background: var(--paper);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.brief-disclaimer p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.resources-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.brief-main {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.brief-main section {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.brief-main p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.13rem;
}

.brief-side {
  display: grid;
  gap: 1rem;
}

.brief-card {
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  background: var(--paper);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.brief-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.brief-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.resource-panel {
  border-top: 8px solid var(--gold);
  background: var(--paper);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.resource-panel p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.resource-panel h3 {
  margin-top: 1.5rem;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.resource-list li {
  border-left: 4px solid var(--gold);
  padding: 0.65rem 0.85rem;
  background: var(--soft);
  font-weight: 700;
  line-height: 1.35;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.partner-grid article {
  min-height: 150px;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: var(--paper);
}

.partner-name-card {
  display: grid;
  place-items: center;
  text-align: center;
}

.partner-name-card a {
  color: var(--ink);
  font-family: "Raleway", sans-serif;
  font-size: clamp(0.95rem, 1.25vw, 1.18rem);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.partner-name-card a:hover,
.partner-name-card a:focus-visible {
  color: var(--gold-dark);
}

.partner-logo-card {
  display: grid;
  place-items: center;
}

.partner-logo-card a {
  display: grid;
  place-items: center;
  min-height: 100%;
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 180ms ease, transform 180ms ease;
}

.partner-logo-card a:hover,
.partner-logo-card a:focus-visible {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.partner-logo-card img {
  max-width: min(220px, 100%);
  max-height: 78px;
  object-fit: contain;
}

.partner-logo-card--wide img {
  max-width: min(300px, 100%);
}

.partner-logo-card--large img,
.partner-logo-card--pitt img {
  max-width: min(340px, 100%);
  max-height: 112px;
}

.partner-logo-card--tall img {
  max-height: 112px;
}

.partner-logo-card--dark,
.partner-logo-card--dark a {
  background: var(--ink);
}

.section--band {
  background: var(--gold);
}

.callout {
  align-items: center;
}

.callout__body {
  color: rgba(35, 35, 35, 0.76);
  font-size: 1.08rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  background: var(--paper);
}

summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-family: var(--header-font);
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: var(--paper);
}

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

.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.5rem;
}

@media (max-width: 980px) {
  .hero__inner,
  .intro-grid,
  .callout,
  .faq-grid,
  .resources-layout,
  .challenge-layout,
  .schedule-layout {
    grid-template-columns: 1fr;
  }

  .track-grid,
  .why-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .track-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .top-nav a:not(.nav-cta) {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
  }

  .hero {
    min-height: auto;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .track-grid,
  .why-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .track-card,
  .why-grid article,
  .partner-grid article {
    min-height: auto;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .timeline span {
    padding-top: 0;
  }

  .resource-list {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
