:root {
  --bg: #060609;
  --panel: #0f1015;
  --panel-soft: #171922;
  --text: #f5f0e8;
  --muted: #a9a6a0;
  --line: rgba(245, 240, 232, 0.14);
  --accent: #d9b86f;
  --accent-2: #50c7dd;
  --hot: #e06298;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 28px clamp(18px, 4vw, 56px) 76px;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(1.06) contrast(1.05);
  transform: scale(1.02);
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 6, 9, 0.92) 0%, rgba(6, 6, 9, 0.68) 42%, rgba(6, 6, 9, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 6, 9, 0.92) 0%, rgba(6, 6, 9, 0) 42%);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px clamp(18px, 4vw, 56px);
}

.brand {
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.contact-item:hover strong {
  color: var(--accent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  font-size: clamp(4.2rem, 13vw, 10.5rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 6vw, 5.2rem);
}

.subtitle {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(245, 240, 232, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.language-switcher button:hover,
.card-number button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #090805;
  border-color: var(--accent);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.button.wide {
  width: 100%;
}

.band,
.section,
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  transform: translateY(-32px);
  background: var(--line);
}

.stat {
  min-height: 138px;
  padding: 24px;
  background: rgba(15, 16, 21, 0.92);
  display: grid;
  align-content: space-between;
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.stat strong {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(32px, 7vw, 78px);
  align-items: center;
}

.copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.support-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.copy p:not(.eyebrow) {
  max-width: 730px;
}

.portrait {
  margin: 0;
  position: relative;
}

.portrait::before,
.video-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--line);
  transform: translate(14px, 14px);
  z-index: -1;
}

.portrait img {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 4px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.video-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.video-frame {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.video-frame video {
  max-height: 78vh;
  background: #000;
  border-radius: 4px;
  border: 1px solid var(--line);
  object-fit: contain;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(32px, 7vw, 74px);
  align-items: center;
}

.donate-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(217, 184, 111, 0.1), rgba(80, 199, 221, 0.06)),
    var(--panel);
}

.card-number {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.card-number span,
.card-number small,
.contact-item span {
  color: var(--muted);
}

.card-number button {
  appearance: none;
  border: 0;
  border-radius: 6px;
  padding: 14px;
  background: var(--panel-soft);
  color: var(--text);
  font: inherit;
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 180ms ease;
}

.contacts {
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contact-item {
  min-height: 124px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  display: grid;
  align-content: space-between;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 184, 111, 0.45);
}

.contact-item strong {
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.footer {
  padding-top: 32px;
  padding-bottom: 44px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.language-switcher button {
  min-width: 44px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.language-switcher button.active {
  background: var(--text);
  color: var(--bg);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1.5%, 1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 88vh;
    padding-bottom: 56px;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 6, 9, 0.92), rgba(6, 6, 9, 0.5)),
      linear-gradient(0deg, rgba(6, 6, 9, 0.94) 0%, rgba(6, 6, 9, 0) 56%);
  }

  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: clamp(3.7rem, 17vw, 6.8rem);
  }

  .intro,
  .two-column,
  .support,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    transform: none;
    padding-top: 1px;
    padding-inline: 0;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .portrait::before,
  .video-frame::before {
    transform: translate(8px, 8px);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 94vh;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .subtitle {
    font-size: 1rem;
  }

  .stat,
  .donate-panel,
  .contact-item {
    padding: 18px;
  }
}
