@font-face {
  font-family: "Bebas Pro Book";
  src: url("assets/fonts/Bebas-Neue-Pro-Book.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Bebas Pro Regular";
  src: url("assets/fonts/Bebas-Neue-Pro-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Bebas Neue Regular";
  src: url("assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --navy: #19172f;
  --red: #e3362e;
  --white: #ffffff;
  --line: rgba(25, 23, 47, .62);
  --max-width: 1170px;
  --font-book: "Bebas Pro Book", "Arial Narrow", Arial, sans-serif;
  --font-regular: "Bebas Pro Regular", "Arial Narrow", Arial, sans-serif;
  --font-display: "Bebas Neue Regular", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-book);
}

.topbar,
.footer {
  background: var(--navy);
}

.topbar {
  min-height: 105px;
  display: grid;
  place-items: center;
  padding: 18px 24px;
}

.topbar h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.25rem, 4.35vw, 4.55rem);
  line-height: .95;
  font-weight: 400;
  letter-spacing: .025em;
  text-align: center;
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1.52fr;
  min-height: 397px;
  margin: 0 auto;
}

.story {
  background: var(--red);
  color: var(--white);
  padding: clamp(32px, 4vw, 72px) clamp(28px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.story p {
  margin: 0;
  max-width: 390px;
  font-size: clamp(1.35rem, 1.95vw, 1.75rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: .015em;
}

.story strong {
  font-weight: 400;
}

.photo {
  margin: 0;
  overflow: hidden;
  background: #eee;
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 397px;
  object-fit: cover;
}

.cta {
  text-align: center;
  padding: 42px 0 36px;
}

.cta h2 {
  margin: 0;
  color: var(--red);
  font-size: clamp(4.5rem, 7vw, 6.1rem);
  line-height: .9;
  font-weight: 400;
}

.ways {
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.23fr;
}

.way {
  min-height: 151px;
  padding: 22px clamp(20px, 3vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.way + .way {
  border-left: 1.5px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .01em;
}

.donation-line {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 18px);
  flex-wrap: wrap;
}

.icon {
  color: var(--red);
  font-size: clamp(2.15rem, 3vw, 3rem);
  line-height: 1;
  transform: translateY(3px);
}

.main-number {
  color: var(--navy);
  text-decoration: none;
  font-size: clamp(2.5rem, 4.25vw, 4.15rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .02em;
  white-space: nowrap;
}

.keyword {
  color: var(--red);
  font-size: clamp(2.3rem, 3.5vw, 3.7rem);
  font-weight: 400;
  line-height: .9;
  white-space: nowrap;
}

.to {
  font-size: clamp(1.25rem, 1.8vw, 1.9rem);
  font-weight: 400;
}

.amount {
  border: 1.5px solid var(--red);
  border-radius: 8px;
  overflow: hidden;
  color: var(--navy);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  line-height: 1;
  background: var(--white);
}

.amount span {
  display: block;
  width: 100%;
  padding: 5px 7px 4px;
  background: var(--red);
  color: var(--white);
  font-size: .85rem;
  font-weight: 400;
  text-align: center;
}

.amount strong {
  padding: 8px 10px 9px;
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  font-weight: 400;
}

.bank {
  padding: 43px 20px 0;
  text-align: center;
}

.bank p {
  margin: 0;
  font-size: clamp(1.75rem, 2.95vw, 3rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: .01em;
}

.bank strong {
  font-weight: 400;
}

.footer {
  height: 44px;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
}

@media (max-width: 920px) {
  .page {
    width: 100%;
    padding-bottom: 80px;
  }

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

  .story {
    min-height: auto;
    padding: 34px 28px;
  }

  .story p {
    max-width: none;
  }

  .photo img {
    min-height: 300px;
  }

  .ways {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 680px);
    margin: 0 auto;
  }

  .way + .way {
    border-left: 0;
    border-top: 1.5px solid var(--line);
  }

  .bank {
    padding-inline: 22px;
  }

  .footer {
    position: static;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 90px;
  }

  .cta {
    padding: 34px 0 28px;
  }

  .way {
    padding: 24px 20px;
  }

  .donation-line {
    gap: 12px;
  }

  .amount {
    min-width: 76px;
  }
}


/* Tipographic mapping based on the original mockup:
   - Book for running copy / support text
   - Pro Regular for emphasis and key UI labels
   - Bebas Neue Regular for big display headlines
*/

.topbar h1,
.cta h2,
.main-number,
.keyword {
  font-family: var(--font-display);
}

.story p,
.eyebrow,
.to,
.bank p,
.amount span {
  font-family: var(--font-book);
}

.story strong,
.bank strong,
.amount strong {
  font-family: var(--font-regular);
}

.topbar h1 {
  letter-spacing: 0.01em;
}

.story p {
  text-transform: none;
  font-size: clamp(1.28rem, 1.85vw, 1.68rem);
  line-height: 1.18;
  letter-spacing: .005em;
}

.story strong {
  letter-spacing: 0;
}

.eyebrow {
  text-transform: none;
  font-size: clamp(1.28rem, 1.9vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.main-number,
.keyword,
.cta h2,
.topbar h1,
.bank p,
.amount strong,
.amount span {
  text-transform: none;
}

.amount span {
  font-size: .82rem;
  letter-spacing: .01em;
}

.bank p {
  font-size: clamp(1.7rem, 2.9vw, 2.9rem);
  line-height: 1.08;
}

