@font-face {
  font-family: "Norwester";
  src: url("../assets/fonts/norwester.woff") format("woff");
  font-display: swap;
}

:root {
  --paper: #070907;
  --paper-light: #f8f1df;
  --ink: #edf0eb;
  --olive: #66715a;
  --brown: #c9b3a4;
  --green: #28a863;
  --line: rgba(220, 224, 220, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(211, 216, 213, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 216, 213, 0.09) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px, 18px 18px, auto;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.hero,
.connect,
.support {
  width: min(100% - 64px, 1180px);
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 6.25rem 0 2.25rem;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 25rem;
  height: 22rem;
  right: -11rem;
  top: -12rem;
  border-radius: 54% 46% 62% 38%;
  background: rgba(102, 113, 90, 0.2);
  transform: rotate(22deg);
  pointer-events: none;
}

.topbar {
  position: absolute;
  top: 1.5rem;
  left: 0;
  right: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Norwester", Impact, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.film-card {
  position: relative;
  padding: clamp(0.65rem, 1.4vw, 1rem);
  background: var(--paper-light);
  box-shadow: 0 28px 70px rgba(48, 31, 20, 0.23);
  transform: rotate(0.65deg);
}

.hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(16, 40, 29, 0.13);
  background: #201c18;
  object-fit: contain;
}

.tape {
  position: absolute;
  z-index: 2;
  top: -1.4rem;
  width: 7.5rem;
  height: 2.4rem;
  background: rgba(102, 113, 90, 0.78);
  opacity: 0.86;
  clip-path: polygon(4% 8%, 100% 0, 96% 91%, 2% 100%);
}

.tape-left {
  left: 8%;
  transform: rotate(-5deg);
}

.tape-right {
  right: 8%;
  transform: rotate(7deg);
}

.connect {
  padding: 2.25rem 0;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 920px);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.social-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 9rem;
  padding: 1.35rem 3.75rem;
  border-bottom: 1px solid var(--ink);
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.social-grid a:nth-child(odd) {
  border-right: 1px solid var(--ink);
}

.social-grid a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.social-number {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
}

.social-grid strong {
  align-self: end;
  font-family: "Norwester", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  text-transform: uppercase;
}

.social-handle {
  color: var(--brown);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.arrow {
  position: absolute;
  top: 1.35rem;
  right: 1.2rem;
  color: var(--green);
  font-size: 1.6rem;
}

.support {
  padding: 0 0 clamp(3rem, 7vw, 6rem);
}

.donate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(18rem, 32vw, 25rem);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(145deg, transparent 58%, rgba(255, 255, 255, 0.14) 58%),
    var(--green);
  color: #07170f;
  text-decoration: none;
  transform: rotate(-0.7deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.donate-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: 3rem;
  width: 12rem;
  height: 12rem;
  border: 2rem solid rgba(239, 228, 202, 0.28);
  border-radius: 50%;
}

.donate-card:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: 0 28px 60px rgba(23, 64, 43, 0.25);
}

.donate-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.donate-card strong {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  font-family: "Norwester", Impact, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.donate-action {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(7, 23, 15, 0.42);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.donate-action b {
  font-size: 1.2rem;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 9rem;
  padding: 2rem 20px;
  background: #040604;
  color: var(--paper-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.footer-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(40, 168, 99, 0.65);
  background: rgba(40, 168, 99, 0.08);
  color: #84e6a9;
  font-family: "Norwester", Impact, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.footer-site-link:hover {
  border-color: #84e6a9;
  box-shadow: 0 0 26px rgba(40, 168, 99, 0.22);
}

.closing-quote {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.closing-quote:hover {
  color: #84e6a9;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  .hero,
  .connect,
  .support {
    width: calc(100% - 28px);
  }

  .hero {
    padding: 5.75rem 0 1.5rem;
  }

  .hero::before {
    width: 14rem;
    height: 15rem;
    right: 0;
    top: -8rem;
  }

  .film-card {
    padding: 0.55rem;
  }

  .tape {
    top: -1rem;
    width: 5.4rem;
    height: 1.7rem;
  }

  .connect {
    padding: 1.5rem 0;
  }

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

  .social-grid a,
  .social-grid a:nth-child(odd),
  .social-grid a:nth-child(even) {
    min-height: 7.5rem;
    padding: 1.1rem 3.25rem;
    border-right: 0;
  }

  .support {
    padding-bottom: 2.5rem;
  }

  .donate-card {
    min-height: 20rem;
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
