:root {
  --page-max: 1500px;
  --content-max: 980px;
  --accent: #4b55bd;
  --text: #161616;
  --muted: #666666;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  width: min(var(--page-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 36px;
  text-align: center;
}

.logo-link {
  display: inline-block;
  line-height: 0;
}

.site-logo {
  display: block;
  width: min(560px, 80vw);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  margin-top: 24px;
  font-size: 18px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 16px;
  color: #181818;
  letter-spacing: inherit;
  text-decoration: none;
  text-transform: inherit;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.page-main {
  width: min(var(--page-max), calc(100% - 48px));
  margin: 0 auto;
}

.home-main {
  padding-bottom: 108px;
}

.hero-image {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.content-page {
  min-height: 52vh;
  padding-bottom: 108px;
}

.content-section {
  width: min(var(--content-max), 100%);
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.7;
}

.content-section h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-section p {
  margin: 0 0 20px;
  color: #333333;
}

.content-section a {
  color: var(--accent);
}

.button-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 4px;
  padding: 11px 15px;
  background: #ffffff;
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid #cfcfe8;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button-link::after {
  margin-left: 9px;
  content: ">";
  font-size: 14px;
  line-height: 1;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.site-header-compact {
  padding-bottom: 34px;
}

.about-modern-page {
  max-width: 1240px;
  padding-bottom: 108px;
}

.about-modern-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  margin-bottom: 76px;
}

.about-modern-photo img,
.modern-section-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-modern-photo img {
  aspect-ratio: 0.78;
  object-fit: cover;
}

.about-modern-intro {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.about-modern-intro h1 {
  margin: 0 0 24px;
  color: #141414;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.about-modern-intro p {
  margin: 0 0 22px;
  color: #4c4c4c;
  font-size: 21px;
  line-height: 1.62;
}

.about-modern-intro .lead {
  color: #1c1c1c;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.22;
}

.modern-button {
  width: auto;
  min-width: 0;
  margin-top: 8px;
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: auto;
  min-width: 270px;
  margin-top: 8px;
  padding: 14px 22px;
  background: #0a66c2;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 150ms ease, transform 150ms ease;
}

.linkedin-button:hover,
.linkedin-button:focus-visible {
  background: #004182;
  transform: translateY(-1px);
}

.linkedin-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #ffffff;
  color: #0a66c2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.about-modern-sections {
  display: grid;
  gap: 42px;
}

.modern-section {
  padding: 54px 62px;
  background: #f7f7fb;
  border: 1px solid #e4e4ef;
}

.modern-section-with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: 56px;
  align-items: start;
}

.modern-section-with-photo.reverse .modern-section-copy {
  grid-column: 2;
}

.modern-section-with-photo.reverse .modern-section-photo {
  grid-column: 1;
  grid-row: 1;
}

.modern-section h2 {
  margin: 0 0 26px;
  color: #202020;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.modern-section ul {
  margin: 0;
  padding-left: 22px;
  color: #555555;
  font-size: 20px;
  line-height: 1.58;
}

.modern-section li {
  margin-bottom: 18px;
}

.modern-section li:last-child {
  margin-bottom: 0;
}

.modern-section a {
  color: #2e35db;
}

.modern-section-photo img {
  aspect-ratio: 0.82;
  object-fit: cover;
}

.modern-section-with-photo:nth-child(2) .modern-section-photo img {
  object-position: 50% 16%;
}

.personal-section {
  overflow: auto;
}

.personal-inline-photo {
  float: left;
  width: min(360px, 42%);
  margin: 2px 42px 24px 0;
  aspect-ratio: 0.82;
  object-fit: cover;
}

.resources-page {
  max-width: 1240px;
  padding-bottom: 108px;
}

.resources-hero {
  max-width: 820px;
  margin-bottom: 54px;
}

.resources-hero h1 {
  margin: 0 0 22px;
  color: #141414;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
}

.resources-hero p:last-child {
  margin: 0;
  color: #4c4c4c;
  font-size: 22px;
  line-height: 1.55;
}

.resource-section {
  margin-bottom: 42px;
  padding: 48px 56px;
  background: #f7f7fb;
  border: 1px solid #e4e4ef;
}

.resource-section {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.resource-section-intro h2 {
  margin: 0 0 18px;
  color: #202020;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.resource-section-intro p {
  margin: 0;
  color: #565656;
  font-size: 18px;
  line-height: 1.58;
}

.resource-section-intro a {
  color: #2e35db;
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  color: #202020;
  text-decoration: none;
  border: 1px solid #e3e3ec;
  transition: border-color 150ms ease, transform 150ms ease;
}

.resource-link:hover,
.resource-link:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.resource-link span {
  font-size: 19px;
  line-height: 1.35;
}

.resource-link small {
  padding: 7px 10px;
  background: #3334d8;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-resource {
  grid-template-columns: minmax(0, 1fr) auto;
}

.featured-resource em {
  display: block;
  grid-column: 1;
  margin-top: -8px;
  color: #666666;
  font-size: 15px;
  font-style: normal;
  line-height: 1.45;
}

.empty-downloads {
  padding: 26px 28px;
  background: #ffffff;
  border: 1px dashed #cfcfe0;
}

.empty-downloads p {
  margin: 0;
  color: #666666;
  font-size: 18px;
  line-height: 1.5;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.project-card {
  padding: 44px 48px;
  background: #f7f7fb;
  border: 1px solid #e4e4ef;
}

.project-card h2 {
  margin: 0 0 18px;
  color: #202020;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.project-card p:not(.eyebrow) {
  margin: 0 0 24px;
  color: #565656;
  font-size: 19px;
  line-height: 1.6;
}

.record-page {
  max-width: 1240px;
  padding-bottom: 108px;
}

.record-hero {
  display: block;
  max-width: 820px;
  margin-bottom: 48px;
  margin-inline: auto;
  text-align: center;
}

.record-hero img {
  display: block;
  width: min(620px, 100%);
  height: auto;
  margin: 0 auto 34px;
}

.record-hero h1 {
  margin: 0 0 18px;
  color: #141414;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.record-hero p,
.record-section-copy p,
.record-story-card p {
  margin: 0;
  color: #4c4c4c;
  font-size: 20px;
  line-height: 1.62;
}

.record-video {
  margin-bottom: 42px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #111111;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.record-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.record-stats article,
.record-section,
.record-story-card,
.record-gallery,
.record-links article {
  background: #f7f7fb;
  border: 1px solid #e4e4ef;
}

.record-stats article {
  padding: 28px 24px;
}

.record-stats span {
  display: block;
  margin-bottom: 10px;
  color: #202020;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1;
}

.record-stats p {
  margin: 0;
  color: #565656;
  font-size: 16px;
  line-height: 1.45;
}

.record-section {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 28px;
  padding: 42px 48px;
}

.record-section h2,
.record-story-card h2,
.record-gallery h2,
.record-links h2 {
  margin: 0 0 18px;
  color: #202020;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.record-section-intro p {
  margin: 0;
  color: #666666;
  font-size: 17px;
  line-height: 1.5;
}

.record-section-copy a {
  color: var(--accent);
}

.record-section-copy ul {
  margin: 0;
  padding-left: 22px;
  color: #555555;
  font-size: 20px;
  line-height: 1.58;
}

.record-section-copy li {
  margin-bottom: 12px;
}

.record-section-copy li:last-child {
  margin-bottom: 0;
}

.record-story {
  display: grid;
  gap: 28px;
  margin: 42px 0;
}

.record-story-card {
  display: grid;
  grid-template-columns: minmax(240px, 390px) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 42px 48px;
}

.record-story-card.reverse img {
  grid-column: 2;
}

.record-story-card.reverse div {
  grid-column: 1;
  grid-row: 1;
}

.record-story-card img {
  display: block;
  width: 100%;
  height: auto;
}

.record-runners-section {
  align-items: start;
}

.runner-list ul {
  column-count: 3;
  column-gap: 36px;
  margin: 0;
  padding-left: 18px;
  color: #555555;
  font-size: 17px;
  line-height: 1.7;
}

.runner-list li {
  break-inside: avoid;
}

.record-gallery {
  margin: 42px 0;
  padding: 42px 48px;
}

.record-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.record-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.record-links {
  display: block;
}

.record-links article {
  padding: 42px 48px;
}

.angel-flight-page {
  max-width: 980px;
  padding-bottom: 108px;
}

.angel-section {
  margin-bottom: 32px;
  padding: 42px 48px;
  background: #f7f7fb;
  border: 1px solid #e4e4ef;
}

.angel-section h1,
.angel-section h2 {
  margin: 0 0 18px;
  color: #202020;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.angel-section h1 {
  font-size: clamp(34px, 4vw, 52px);
}

.angel-section p {
  margin: 0;
  color: #565656;
  font-size: 19px;
  line-height: 1.6;
}

.angel-section p + p {
  margin-top: 18px;
}

.angel-mission-total {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.angel-mission-total strong {
  color: var(--accent);
  font-size: clamp(54px, 8vw, 92px);
  line-height: 1;
}

.angel-section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.mission-report-placeholder {
  color: #666666;
  cursor: default;
  border-style: dashed;
}

.mission-report-placeholder:hover,
.mission-report-placeholder:focus-visible {
  border-color: #e3e3ec;
  transform: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 78px;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    padding: 29px 0 27px;
  }

  .site-nav {
    gap: 22px;
    margin-top: 20px;
    font-size: 15px;
    letter-spacing: 0.24em;
  }

  .home-main,
  .content-page {
    padding-bottom: 72px;
  }

  .about-modern-hero,
  .modern-section-with-photo {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-modern-hero {
    margin-bottom: 46px;
  }

  .about-modern-photo {
    max-width: 360px;
    margin: 0 auto;
  }

  .modern-section-with-photo.reverse .modern-section-copy,
  .modern-section-with-photo.reverse .modern-section-photo {
    grid-column: auto;
    grid-row: auto;
  }

  .modern-section-photo {
    max-width: 420px;
  }

  .personal-inline-photo {
    width: min(320px, 44%);
    margin-right: 30px;
  }

  .modern-section {
    padding: 40px 36px;
  }

  .modern-section ul,
  .about-modern-intro p {
    font-size: 18px;
  }

  .resource-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .resource-section {
    padding: 40px 36px;
  }

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

  .project-card {
    padding: 40px 36px;
  }

  .record-section,
  .record-story-card,
  .record-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .record-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-story-card.reverse img,
  .record-story-card.reverse div {
    grid-column: auto;
    grid-row: auto;
  }

  .runner-list ul {
    column-count: 2;
  }

  .record-gallery-grid {
    grid-template-columns: 1fr;
  }

  .angel-mission-total {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header,
  .page-main,
  .site-footer {
    width: min(100% - 28px, var(--page-max));
  }

  .site-header {
    padding: 18px 0 20px;
  }

  .site-logo {
    width: min(390px, 92vw);
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 18px 26px;
    margin-top: 15px;
    font-size: 13px;
    letter-spacing: 0.18em;
  }

  .site-nav a {
    justify-content: center;
    padding-bottom: 10px;
  }

  .content-section {
    font-size: 18px;
  }

  .site-header-compact {
    padding-bottom: 24px;
  }

  .about-modern-page {
    padding-bottom: 72px;
  }

  .resources-page {
    padding-bottom: 72px;
  }

  .about-modern-hero {
    gap: 28px;
  }

  .modern-section {
    padding: 32px 24px;
  }

  .resource-section {
    padding: 32px 24px;
  }

  .project-card {
    padding: 32px 24px;
  }

  .record-page {
    padding-bottom: 72px;
  }

  .record-section,
  .record-story-card,
  .record-gallery,
  .record-links article {
    padding: 32px 24px;
  }

  .record-stats {
    grid-template-columns: 1fr;
  }

  .angel-flight-page {
    padding-bottom: 72px;
  }

  .angel-section {
    padding: 32px 24px;
  }

  .runner-list ul {
    column-count: 1;
  }

  .resource-link {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .resource-link small,
  .featured-resource em {
    grid-column: auto;
    width: fit-content;
  }

  .linkedin-button {
    width: 100%;
    min-width: 0;
  }

  .personal-inline-photo {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 26px;
  }

  .site-footer {
    display: block;
    padding-bottom: 46px;
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
  }
}
