:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #f2f2f2;
  --accent: #f23c02;
  --border: #000000;
  --sans: Inter, Helvetica, Arial, sans-serif;
  --line: 2px;
  --line-heavy: 4px;
  --ease: 150ms linear;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.swiss-noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

.swiss-grid-pattern {
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

.swiss-dots {
  background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 16px 16px;
}

.swiss-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.04) 0,
    rgba(0,0,0,0.04) 1px,
    transparent 1px,
    transparent 10px
  );
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.skip-link:focus { top: 12px; }

.section-index,
.eyebrow,
.stat-label,
.cat,
.card-no,
.filter,
.btn-primary,
.btn-secondary,
.copy,
label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-index {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
}

h1, h2, h3 {
  font-family: var(--sans);
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.88;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.hero-copy,
.section-copy,
.lead,
.about-grid p,
.feature-row p,
.cause-card p {
  max-width: 36rem;
  font-weight: 400;
}

.lead {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border: var(--line-heavy) solid var(--fg);
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn-primary {
  background: var(--fg);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--fg);
}
.btn-secondary:hover {
  background: var(--fg);
  color: #fff;
}
.btn-secondary.invert {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-secondary.invert:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 80px;
  background: #fff;
  border-bottom: var(--line-heavy) solid var(--fg);
}

.navbar {
  padding: 0;
  flex-wrap: nowrap;
  --bs-navbar-padding-y: 0;
  --bs-navbar-padding-x: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  min-height: 76px;
  gap: 16px;
}

.brand img { height: 52px; width: auto; }

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

.nav-links a {
  position: relative;
  overflow: hidden;
  height: 18px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a span {
  display: inline-block;
  transition: transform 150ms linear, color var(--ease);
}

.nav-links a:hover span,
.nav-links a.is-active span {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-donate-mobile { display: none; width: 100%; }

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: var(--line) solid var(--fg);
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span { width: 18px; height: 2px; background: var(--fg); }

.first-screen {
  display: flex;
  flex-direction: column;
}

.hero {
  border-bottom: var(--line-heavy) solid var(--fg);
  padding: 48px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: 70vh;
}

.hero-copy-col {
  padding: 48px 48px 64px 0;
  border-right: var(--line-heavy) solid var(--fg);
}

.hero-visual-col {
  position: relative;
  background: var(--muted);
  min-height: 420px;
}

.hero-frame {
  margin: 0;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-left: 0;
}
.hero-frame img,
.hero-frame video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.hero-geo {
  position: absolute;
  inset: 24px;
  pointer-events: none;
}
.geo-square {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 72px;
  height: 72px;
  border: var(--line-heavy) solid var(--fg);
}
.geo-circle {
  position: absolute;
  bottom: 72px;
  left: 20px;
  width: 56px;
  height: 56px;
  border: var(--line-heavy) solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(242, 60, 2, 0.1);
}
.geo-triangle {
  position: absolute;
  top: 48%;
  right: 28px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 28px solid var(--accent);
}
.geo-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: var(--line-heavy);
  background: var(--fg);
}

.hero-chip {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--fg);
  color: #fff;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 32px;
}
.hero-actions .btn-secondary { margin-left: -4px; }

.stats { border-bottom: var(--line-heavy) solid var(--fg); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stats-row article {
  position: relative;
  padding: 36px 28px 40px;
  border-right: var(--line) solid var(--fg);
  background: #fff;
  transition: background var(--ease), color var(--ease);
}
.stats-row article:last-child { border-right: 0; }
.stats-row article:hover {
  background: var(--accent);
  color: #fff;
}
.stats-row article:hover .num { transform: scale(1.05); color: #fff; }
.stats-row article:hover .plus { transform: rotate(90deg); color: #fff; }

.plus {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  transition: transform var(--ease), color var(--ease);
}

.num {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--accent);
  transition: transform 150ms linear, color var(--ease);
}

.stat-label {
  margin: 14px 0 0;
  font-size: 11px;
  font-weight: 700;
}

.about, .causes, .birthday, .instagram, .volunteer {
  padding: 80px 0;
  border-bottom: var(--line-heavy) solid var(--fg);
}

.section-head { max-width: 46rem; }

.about-grid,
.feature-row,
.cause-grid {
  display: grid;
  gap: 0;
  margin-top: 40px;
}

.about-grid,
.feature-row { grid-template-columns: repeat(3, 1fr); }

.about-grid article,
.feature-row article,
.cause-card,
.stat-panel,
form,
.insta-box {
  background: #fff;
  border: var(--line) solid var(--fg);
  border-radius: 0;
}

.about-grid article,
.feature-row article { padding: 32px; }

.about-grid article + article,
.feature-row article + article { border-left: 0; }

.card-no {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.about-grid article:hover,
.feature-row article:hover,
.cause-card:hover {
  background: var(--accent);
  color: #fff;
}
.about-grid article:hover .card-no,
.about-grid article:hover p,
.feature-row article:hover .card-no,
.feature-row article:hover p,
.cause-card:hover .cat,
.cause-card:hover p,
.cause-card:hover .meta {
  color: #fff;
}
.cause-card:hover .btn-primary {
  background: #fff;
  color: var(--fg);
  border-color: #fff;
}

.filters {
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin: 32px 0 0;
  border: var(--line) solid var(--fg);
}
.filters::-webkit-scrollbar { display: none; }

.filter {
  flex: 0 0 auto;
  border: 0;
  border-right: var(--line) solid var(--fg);
  background: #fff;
  color: var(--fg);
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
}
.filter:last-child { border-right: 0; }
.filter.is-on,
.filter:hover {
  background: var(--accent);
  color: #fff;
}

.cause-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
  border-left: var(--line) solid var(--fg);
  border-right: var(--line) solid var(--fg);
  border-bottom: var(--line) solid var(--fg);
}
.cause-card {
  border: 0;
  border-right: var(--line) solid var(--fg);
  border-bottom: var(--line) solid var(--fg);
  display: flex;
  flex-direction: column;
}
.cause-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: var(--muted);
}
.cause-card .pad {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.cause-card h3 {
  margin-top: 10px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.meta {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.cause-card .btn-primary {
  margin-top: auto;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 14px;
}

.birthday-top {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 0;
  align-items: stretch;
}
.stat-panel { padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; }
.birthday .feature-row { margin-bottom: 32px; }

.transparency {
  padding: 80px 0;
  background: var(--fg);
  color: #fff;
  border-bottom: var(--line-heavy) solid var(--fg);
}
.transparency h2 { color: #fff; }
.section-copy.invert { color: rgba(255,255,255,0.72); }
.section-index.invert { color: var(--accent); }
.feature-row.invert article {
  background: transparent;
  border-color: #fff;
}
.feature-row.invert article + article { border-left: 0; }
.feature-row.invert p { color: rgba(255,255,255,0.7); }
.feature-row.invert article:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.insta-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 40px;
}
.handle {
  margin: 16px 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

form { padding: 32px; }
label {
  display: block;
  margin: 16px 0 6px;
  font-size: 11px;
  font-weight: 700;
}
input, select, textarea {
  width: 100%;
  border: 0;
  border-bottom: var(--line) solid var(--fg);
  border-radius: 0;
  min-height: 48px;
  padding: 8px 0;
  background: transparent;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
textarea { min-height: 88px; }
.error, .form-note {
  min-height: 16px;
  margin: 6px 0 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}
form .btn-primary { width: 100%; margin-top: 20px; }

.footer {
  background: var(--fg);
  color: #fff;
  padding: 64px 0 24px;
}
.footer-logo { height: 56px; width: auto; margin-bottom: 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr .9fr;
  gap: 32px;
}
.footer nav, .footer-contact { display: grid; gap: 10px; }
.footer nav a,
.footer-contact a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer a:hover { color: var(--accent); }
.copy {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: var(--line) solid #fff;
  font-size: 11px;
  font-weight: 700;
}

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border: var(--line-heavy) solid var(--fg);
  border-radius: 0;
  background: var(--fg);
  color: #fff;
  font-size: 26px;
}
.wa-float:hover { background: var(--accent); border-color: var(--accent); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 35;
  max-width: min(420px, calc(100% - 32px));
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: var(--line-heavy) solid var(--fg);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 992px) {
  .first-screen {
    height: calc(100dvh - 80px);
    max-height: calc(100dvh - 80px);
  }

  .hero {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 0;
  }

  .hero .wrap.hero-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 7fr 5fr;
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    min-height: 0;
    height: auto;
    padding: 0;
  }

  .hero-copy-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 24px 32px 24px 0;
  }

  .hero-copy-col .section-index,
  .hero-copy-col .eyebrow {
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 4.4vw, 4.6rem);
    margin-bottom: 12px;
  }

  .hero-copy {
    margin-bottom: 0;
  }

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

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    min-height: 48px;
  }

  .hero-visual-col,
  .hero-frame,
  .hero-frame video,
  .hero-frame img {
    min-height: 0;
    height: 100%;
  }

  .stats {
    flex: 0 0 auto;
  }

  .stats .wrap {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .stats-row {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    border-left: var(--line) solid var(--fg);
    border-right: var(--line) solid var(--fg);
  }

  .stats-row article {
    padding: 16px 24px 18px;
  }

  .stats .num {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
  }

  .stat-label {
    margin-top: 6px;
  }

  .plus {
    top: 10px;
    right: 12px;
    font-size: 20px;
  }
}

@media (min-width: 992px) and (max-height: 820px) {
  .first-screen {
    height: calc(100dvh - 68px);
    max-height: calc(100dvh - 68px);
  }

  .site-header {
    height: 68px;
  }

  .nav-wrap {
    height: 64px;
    min-height: 64px;
  }

  .nav-end .btn-primary {
    min-height: 44px;
  }

  .brand img {
    height: 44px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 3.8vw, 3.6rem);
  }

  .hero-copy-col {
    padding: 16px 24px 16px 0;
  }

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

  .stats-row article {
    padding: 12px 20px 14px;
  }
}

@media (max-width: 991px) {
  .hero-grid,
  .birthday-top,
  .volunteer-grid { grid-template-columns: 1fr; }
  .hero-copy-col {
    padding: 36px 0;
    border-right: 0;
    border-bottom: var(--line-heavy) solid var(--fg);
  }
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: #fff;
    border-bottom: var(--line-heavy) solid var(--fg);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    height: auto;
    padding: 16px 20px;
    border-bottom: var(--line) solid var(--fg);
  }
  .nav-links a span { transform: none !important; }
  .nav-donate-mobile { display: inline-flex; }
  .stats-row,
  .about-grid,
  .feature-row,
  .cause-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-row article,
  .about-grid article + article,
  .feature-row article + article,
  .cause-card {
    border-right: 0;
    border-bottom: var(--line) solid var(--fg);
  }
  .insta-box { flex-direction: column; align-items: stretch; }
  .insta-box .btn-primary { width: 100%; height: 64px; }
  .hero-frame img,
  .hero-frame video { min-height: 300px; }
  .nav-end .btn-primary { min-height: 44px; padding: 0 12px; font-size: 10px; }
}

@media (max-width: 767px) {
  h1 { font-size: 3rem; }
  .about, .causes, .birthday, .instagram, .volunteer, .transparency { padding: 56px 0; }
  .btn-primary, .btn-secondary { width: 100%; height: 64px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-secondary { margin-left: 0; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
