/* CRISIS - Project 2, Summer School 2026
   TOGEVA          LTC
   purple #750065  green #1D553A
   deep   #420039  pale  #E8F1EA
   amber  #FCA311
   dark   #241F2B  text #1A1716  muted #3A3946
   Everything on this page is laid out with flexbox. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Urbanist", sans-serif;
  color: #1a1716;
  background: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #750065;
}

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

h1,
h2,
h3 {
  font-weight: 600;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding-top: 100px;
}

.eyebrow {
  color: #fd8301;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

h2 {
  font-size: 38px;
  line-height: 1.2;
  margin: 8px 0 28px;
}

.h2-narrow {
  max-width: 18ch;
}

.muted {
  color: #3a3946;
}

.small {
  font-size: 15px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky; /* stays on screen */
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #dfe0e6;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1a1716;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px; /* square, not round */
  background: #420039;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 1px;
}

.brand-sub {
  font-size: 12px;
  color: #3a3946;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 500;
  color: #3a3946;
}

.nav a:hover {
  color: #750065;
}

.btn {
  background: #750065;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-block;
}

.nav .btn {
  color: #ffffff;
}

/* ---------- hero ---------- */

.hero {
  background: #241f2b;
  padding: 66px 0;
  color: #ffffff;
}

.tag-amber {
  display: inline-block;
  color: #fca311;
  background: rgba(252, 163, 17, 0.14);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.hero h1 {
  font-size: 96px;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1;
  margin: 26px 0 24px;
}

.hero .lead {
  font-size: 22px;
  font-weight: 500;
  max-width: 36ch;
  line-height: 1.35;
  margin-bottom: 28px;
}

.quote {
  border-left: 3px solid #fca311;
  padding-left: 18px;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.72);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.btn-cream,
.btn-white {
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  color: #750065;
}

.btn-cream {
  background: #f7f0e9;
}

.btn-white {
  background: #ffffff;
}

.split {
  display: flex;
  gap: 2px; /* the seam between the two photos */
  margin-top: 42px;
  border-radius: 5px;
  overflow: hidden;
}

.shot {
  position: relative;
  height: 310px;
  flex: 1;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* a dark layer so the words are readable */
.shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 23, 22, 0.85),
    rgba(26, 23, 22, 0.05)
  );
}

.shot figcaption {
  position: absolute; /* sits on top of the photo */
  left: 26px;
  right: 26px;
  bottom: 22px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.when {
  color: #fca311;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.shot strong {
  font-size: 21px;
  font-weight: 600;
}

.where {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- what is a crisis ---------- */

.two-col {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.two-col > * {
  flex: 1;
}

.lead-dark {
  color: #3a3946;
  max-width: 46ch;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chips li {
  border: 2px solid #750065; /* the ring */
  color: #750065;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
}

.card-grey {
  background: #f5f6f8;
  border-radius: 10px;
  padding: 32px 36px;
}

.card-grey h3 {
  font-size: 24px;
  color: #420039;
  margin-bottom: 12px;
}

.card-grey p {
  color: #3a3946;
}

.card-grey hr {
  border: none;
  border-top: 1px solid #dfe0e6;
  margin: 22px 0;
}

/* ---------- the two regions ---------- */

.regions {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.map-panel {
  flex: 0.92;
  background: #f5f6f8;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-panel img {
  max-height: 300px;
  width: auto;
}

.regions-side {
  flex: 1.08;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.note-lavender {
  background: #eee8fa;
  border-radius: 10px;
  padding: 26px 30px;
  color: #420039;
  font-size: 17px;
}

.city-row {
  display: flex;
  gap: 18px;
}

.city {
  flex: 1;
  border: 1px solid #dfe0e6;
  border-radius: 10px;
  overflow: hidden;
}

.city img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.city-body {
  padding: 18px 20px 24px;
}

.city h3 {
  font-size: 21px;
}

.city-label {
  color: #750065;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  margin: 2px 0 8px;
}

.city p:last-child {
  font-size: 15px;
  color: #3a3946;
}

/* ---------- the timeline ---------- */

.event {
  display: flex;
  gap: 28px;
}

.year {
  width: 180px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 600;
  color: #750065;
}

.rail {
  width: 24px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%; /* a circle */
  background: #750065;
  margin-top: 8px;
  flex-shrink: 0;
}

.line {
  width: 2px;
  flex: 1; /* stretches down to the next event */
  background: #dfe0e6;
}

.event-body {
  flex: 1;
  padding-bottom: 34px;
  max-width: 68ch;
}

.event h3 {
  font-size: 22px;
}

.event p {
  color: #3a3946;
  margin: 6px 0;
}

.source {
  font-size: 13px;
  color: #3a3946;
}

/* ---------- the human cost ---------- */

.band {
  background: #f5f6f8;
  margin-top: 100px;
  padding: 90px 0;
}

.band-intro {
  color: #3a3946;
  margin-top: -14px;
}

.icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eee8fa;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.cost {
  width: calc(33.333% - 15px); /* three in a row */
  background: #ffffff;
  border-radius: 10px;
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.label {
  color: #750065;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-top: 6px;
}

.cost h3 {
  font-size: 19px;
  line-height: 1.35;
}

.cost p {
  font-size: 14px;
  color: #3a3946;
}

.cost .source {
  margin-top: auto; /* pinned to the bottom */
  padding-top: 12px;
}

/* ---------- a day without crisis ---------- */

.day {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.hour {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rule {
  height: 3px; /* a thin bar */
  background: #fca311;
  border-radius: 999px;
}

.time {
  font-size: 18px;
  font-weight: 600;
  color: #420039;
}

.hour p:last-child {
  font-size: 14px;
  color: #3a3946;
  line-height: 1.45;
}

.statement {
  background: #fff8ea; /* warm, not loud */
  border-radius: 10px;
  padding: 34px 42px;
  margin-top: 44px;
  max-width: 70ch;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- what do we lose ---------- */

.dark-band {
  background: #241f2b;
  color: #ffffff;
  margin-top: 100px;
  padding: 90px 0 80px;
}

.dark-h2 {
  color: #ffffff;
  font-size: 34px;
  margin-bottom: 34px;
}

.lose {
  display: flex;
  flex-wrap: wrap;
  column-gap: 34px;
  row-gap: 10px;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.35;
}

.lose em {
  font-style: normal;
  color: #fca311;
}

.dark-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin: 44px 0 34px;
}

.lose-close {
  color: #fca311;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 24ch;
}

/* ---------- lessons ---------- */

.lesson-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.lesson {
  width: calc(33.333% - 15px);
  border: 1px solid #dfe0e6;
  border-radius: 10px;
  padding: 26px 28px 30px;
}

.lesson h3 {
  font-size: 19px;
  color: #750065;
  line-height: 1.35;
  margin-bottom: 10px;
}

.lesson p {
  font-size: 14px;
  color: #3a3946;
}

/* ---------- the road forward ---------- */

.road-intro {
  color: #3a3946;
  max-width: 46ch;
  margin-top: -14px;
  margin-bottom: 34px;
}

.steps {
  list-style: none;
}

.step {
  display: flex;
  gap: 26px;
  position: relative;
  padding-bottom: 32px;
}

/* the thin line that joins the numbers */
.step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: #dfe0e6;
}

.step-last::before {
  bottom: 12px;
}

.step-num {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #750065;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-body h3 {
  font-size: 21px;
  margin-top: 8px;
}

.step-body p {
  color: #3a3946;
  max-width: 72ch;
  margin-top: 4px;
}

/* ---------- what about us ---------- */

.purple-band {
  background: #750065;
  color: #ffffff;
  margin-top: 100px;
  padding: 84px 0;
}

.youth {
  display: flex;
  gap: 60px;
  align-items: center;
}

.youth-text {
  flex: 1;
}

.youth-h2 {
  color: #ffffff;
  font-size: 54px;
  margin: 10px 0 24px;
}

.purple-band .quote {
  color: rgba(255, 255, 255, 0.86);
}

.youth-ask {
  font-weight: 600;
  font-size: 19px;
  margin-top: 24px;
}

.wish-grid {
  flex: 1;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.wish-grid li {
  width: calc(50% - 7px);
  background: #ffffff;
  color: #420039;
  border-radius: 8px;
  padding: 18px 20px 20px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wish-grid .icon {
  background: transparent;
  width: 22px;
  height: 22px;
}

/* ---------- two paths ---------- */

.paths {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* written once, used twice */
.path {
  flex: 1;
  background: #f5f6f8;
  border-radius: 10px;
  padding: 32px 38px 38px;
}

.path-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #3a3946;
}

.path h3 {
  font-size: 30px;
  margin: 10px 0 20px;
}

.path ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #3a3946;
}

.path li::before {
  content: "\2192"; /* the arrow */
  margin-right: 14px;
  color: #3a3946;
}

/* the only three changes for path B */
.path-b {
  background: #fff8ea;
}

.path-b .path-label,
.path-b li::before {
  color: #fd8301;
}

.path-b h3 {
  color: #420039;
}

.choose {
  text-align: center;
  margin-top: 40px;
}

.choose p {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 22px;
}

/* ---------- hope ---------- */

.hope {
  background: #fff8ea;
  margin-top: 100px;
  padding: 96px 0;
}

.hope-inner {
  display: flex;
  flex-direction: column;
  align-items: center; /* centres the boxes */
  text-align: center; /* centres the words */
  gap: 26px;
}

.hope h2 {
  font-size: 58px;
  line-height: 1.15;
  color: #420039;
  max-width: 20ch;
  margin: 0;
}

.hope p {
  font-size: 18px;
  color: #3a3946;
  max-width: 62ch;
}

.pull {
  background: #ffffff;
  border-radius: 10px;
  padding: 34px 44px;
  max-width: 34ch;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  color: #750065;
}

.hope img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  margin-top: 14px;
}

/* ---------- sources ---------- */

.sources-h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.sources-note {
  font-size: 14px;
  color: #3a3946;
  max-width: 56ch;
  margin-bottom: 18px;
}

.sources {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
  color: #3a3946;
}

.sources-credit {
  font-size: 13px;
  color: #3a3946;
  margin-top: 24px;
  max-width: 62ch;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid #dfe0e6;
  margin-top: 80px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 30px 40px;
  font-size: 15px;
  color: #3a3946;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-divider {
  width: 1px;
  height: 34px;
  background: #dfe0e6;
}

.footer-lines {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.togeva-logo {
  height: 32px;
}

.ltc-logo {
  height: 34px;
}

/* ---------- phones and tablets ---------- */

@media (max-width: 980px) {
  .header-row,
  .footer-row {
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 62px;
  }

  h2,
  .dark-h2 {
    font-size: 30px;
  }

  .two-col,
  .regions,
  .youth,
  .paths,
  .split,
  .day {
    flex-direction: column;
    gap: 24px;
  }

  .cost,
  .lesson {
    width: calc(50% - 11px);
  }

  .event {
    gap: 16px;
  }

  .year {
    width: 96px;
  }

  .lose {
    font-size: 28px;
    column-gap: 20px;
  }

  .youth-h2 {
    font-size: 40px;
  }

  .hope h2 {
    font-size: 38px;
  }
}

@media (max-width: 620px) {
  .cost,
  .lesson,
  .wish-grid li {
    width: 100%;
  }

  .city-row {
    flex-direction: column;
  }
}
