:root {
  --red: #e30613;
  --deep: #171717;
  --ink: #292929;
  --muted: #666;
  --line: #dedede;
  --soft: #f4f4f2;
  --white: #fff;
  --max: 1240px;
  --radius: 2px;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 99;
  background: #fff;
  padding: 0.7rem 1rem;
  border: 2px solid var(--deep);
}
.skip:focus {
  top: 1rem;
}
header {
  height: 94px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 max(1.25rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.15;
  min-width: 220px;
}
.brand small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
}
.cross {
  width: 40px;
  height: 40px;
  display: block;
  background: linear-gradient(
      90deg,
      transparent 32%,
      var(--red) 32% 68%,
      transparent 68%
    ),
    linear-gradient(transparent 32%, var(--red) 32% 68%, transparent 68%);
}
nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 700;
}
nav > a,
nav summary {
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
nav > a:hover,
nav summary:hover {
  color: var(--red);
}
nav details {
  position: relative;
}
nav summary {
  list-style: none;
}
nav summary::-webkit-details-marker {
  display: none;
}
nav details > div {
  position: absolute;
  right: 0;
  top: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px #0002;
  width: 230px;
  padding: 0.6rem;
  display: grid;
}
nav details a {
  text-decoration: none;
  padding: 0.55rem 0.7rem;
}
nav details a:hover {
  background: var(--soft);
  color: var(--red);
}
.header-action {
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 0.8rem 1.15rem;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.55rem 0.8rem;
}
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 1.25rem clamp(3rem, 7vw, 6.5rem);
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-home {
  min-height: 620px;
}
.hero-mark {
  aspect-ratio: 1;
  max-width: 360px;
  position: relative;
}
.hero-mark:before,
.hero-mark:after {
  content: "";
  position: absolute;
  background: var(--red);
}
.hero-mark:before {
  width: 34%;
  height: 100%;
  left: 33%;
  top: 0;
}
.hero-mark:after {
  height: 34%;
  width: 100%;
  left: 0;
  top: 33%;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 7.4vw, 7.3rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0.5rem 0 1.6rem;
  max-width: 900px;
  color: var(--deep);
  font-weight: 700;
}
.hero:not(.hero-home) h1 {
  font-size: clamp(3rem, 6vw, 6rem);
}
.hero p {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  max-width: 780px;
  margin: 0;
  color: #4d4d4d;
  line-height: 1.5;
}
.kicker {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  font-weight: 900;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  padding: 0.9rem 1.35rem;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  min-height: 50px;
}
.button:hover {
  background: #b3000b;
  border-color: #b3000b;
}
.button.secondary {
  background: #fff;
  color: var(--deep);
  border-color: var(--deep);
}
.button.secondary:hover {
  background: var(--deep);
  color: #fff;
}
.button.wide {
  width: 100%;
}
.page-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) 1.25rem 7rem;
}
.page-content h2 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--deep);
  margin: 0 0 1.4rem;
}
.page-content h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}
.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose p {
  font-size: 1.12rem;
  margin: 0 0 1.3rem;
}
.prose h2:not(:first-child) {
  margin-top: 3.5rem;
}
.policy {
  max-width: 920px;
}
.policy-meta {
  border-left: 6px solid var(--red);
  background: var(--soft);
  padding: 1.4rem 1.6rem;
  color: var(--deep);
}
.policy ul {
  padding-left: 1.35rem;
}
.policy li {
  margin: 0.65rem 0;
}
.legal-table-wrap {
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
}
.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.legal-table th,
.legal-table td {
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--soft);
  color: var(--deep);
}
.legal-table th:last-child,
.legal-table td:last-child {
  border-right: 0;
}
.legal-table tbody tr:last-child td {
  border-bottom: 0;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.split > div > p {
  font-size: 1.1rem;
}
.note {
  border-top: 8px solid var(--red);
  background: var(--soft);
  padding: 1.6rem;
}
.note b {
  font-size: 1.15rem;
  color: var(--deep);
}
.note p {
  margin: 0.5rem 0 1rem;
}
.note ol {
  padding-left: 1.2rem;
}
.text-link {
  font-weight: 800;
  color: var(--red);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 5rem;
  border: 1px solid var(--line);
}
.card {
  background: #fff;
  padding: 2rem;
  text-decoration: none;
  min-height: 220px;
}
.card:hover {
  background: var(--soft);
}
.card > span {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
}
.card h3 {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  margin: 2.5rem 0 0.7rem;
}
.card p {
  color: var(--muted);
  margin: 0;
}
.form-card {
  max-width: 820px;
  margin: 5rem auto 0;
  background: var(--soft);
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
form {
  display: grid;
  gap: 1.15rem;
}
label {
  display: grid;
  gap: 0.45rem;
  font-weight: 750;
  color: var(--deep);
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #aaa;
  background: #fff;
  border-radius: 0;
  padding: 0.85rem;
  color: var(--deep);
  min-height: 48px;
}
textarea {
  resize: vertical;
}
.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500;
}
.check input {
  width: 20px;
  min-height: 20px;
  margin-top: 0.15rem;
}
.form-state {
  margin: 0;
  color: var(--muted);
}
.form-state.success {
  border-left: 4px solid var(--red);
  padding-left: 0.8rem;
  color: var(--deep);
}
.empty {
  max-width: 820px;
  margin: 4rem auto 0;
  border: 1px dashed #aaa;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background: #fafafa;
}
.empty > span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.empty h2 {
  margin: 1rem 0;
}
.faq {
  max-width: 860px;
  margin: 0 auto;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  padding-right: 2rem;
}
.faq p {
  max-width: 740px;
  color: var(--muted);
}
.contacts {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-top: 1px solid var(--line);
}
.contacts dt,
.contacts dd {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.contacts dt {
  font-weight: 800;
}
.contacts dd {
  color: var(--muted);
}
.contacts address {
  font-style: normal;
}
.contacts dd[id] {
  scroll-margin-top: clamp(1rem, 4vw, 2rem);
}
.doc-list {
  max-width: 820px;
  margin: 4rem auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.doc-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.doc-list span {
  color: var(--muted);
  white-space: nowrap;
}
.donation {
  margin-top: 6rem;
  background: var(--deep);
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.donation-copy {
  padding: clamp(2rem, 6vw, 5rem);
}
.donation-copy h2 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5rem);
  max-width: 680px;
}
.donation-copy > p {
  font-size: 1.12rem;
  max-width: 620px;
  color: #ccc;
}
.donation-form {
  background: #fff;
  color: var(--ink);
  padding: clamp(1.5rem, 4vw, 3rem);
  align-content: start;
}
.donation-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.donation-form legend {
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.segmented,
.amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}
.segmented button,
.amounts button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem;
  cursor: pointer;
  font-weight: 800;
}
.segmented button.active,
.amounts button.active {
  border-color: var(--red);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}
.amounts {
  grid-template-columns: repeat(4, 1fr);
}
.custom {
  margin-top: 0.6rem;
}
.summary {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.donation-form small {
  color: var(--muted);
}
.goal {
  margin-top: 3rem;
  max-width: 600px;
}
.goal > div {
  display: flex;
  justify-content: space-between;
}
.goal progress {
  width: 100%;
  height: 12px;
  margin: 0.5rem 0;
  accent-color: var(--red);
}
.goal small {
  color: #aaa;
}
.mini-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.mini-links button {
  background: transparent;
  color: #fff;
  border: 1px solid #666;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
}
.mini-links button:hover {
  border-color: #fff;
}
.drawer {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: min(440px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border-top: 8px solid var(--red);
  box-shadow: 0 18px 70px #0005;
  padding: 2rem;
}
.drawer[hidden] {
  display: none;
}
.drawer-close {
  position: absolute;
  right: 1rem;
  top: 0.7rem;
  border: 0;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}
.drawer h2 {
  font-size: 2rem;
  margin: 0.7rem 0 1rem;
}
.qr-placeholder {
  width: 180px;
  height: 180px;
  background: repeating-linear-gradient(45deg, #111 0 8px, #fff 8px 16px);
  display: grid;
  place-items: center;
  color: #fff;
  text-shadow: 0 0 4px #000;
  font-weight: 900;
  font-size: 2rem;
  border: 14px solid #fff;
  outline: 1px solid #aaa;
}
.account-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}
.account-row b {
  text-align: right;
}
footer {
  background: var(--deep);
  color: #fff;
  padding: 4rem max(1.25rem, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.9fr;
  gap: 3rem;
}
footer .brand {
  margin-bottom: 1.5rem;
}
.brand.inverse small,
footer p,
footer span {
  color: #aaa;
}
footer > div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}
footer b {
  margin-bottom: 0.4rem;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #444;
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 2rem;
  font-size: 0.78rem;
}
@media (max-width: 1180px) {
  header {
    height: auto;
    min-height: 78px;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .header-action {
    display: none;
  }
  nav {
    display: none;
    order: 3;
    width: 100%;
    margin: 0;
    padding: 0.8rem 0;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  nav.open {
    display: grid;
  }
  nav > a,
  nav summary {
    padding: 0.6rem;
    border-bottom: 1px solid var(--line);
  }
  nav details > div {
    position: static;
    width: auto;
    box-shadow: none;
    border: 0;
    padding: 0;
    grid-column: 1/-1;
  }
  .hero {
    grid-template-columns: 180px 1fr;
  }
  .hero-home {
    min-height: 520px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }
  .brand {
    min-width: 0;
    font-size: 0.75rem;
  }
  .brand small {
    max-width: 180px;
  }
  .cross {
    width: 34px;
    height: 34px;
  }
  .hero,
  .hero-home {
    display: block;
    min-height: 0;
    padding-top: 3.5rem;
  }
  .hero-mark {
    width: 90px;
    margin-bottom: 3rem;
  }
  .hero h1,
  .hero:not(.hero-home) h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }
  .hero p {
    font-size: 1.08rem;
  }
  .split,
  .donation {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
  }
  .card h3 {
    margin-top: 1.3rem;
  }
  .amounts {
    grid-template-columns: 1fr 1fr;
  }
  .donation {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }
  .contacts {
    grid-template-columns: 1fr;
  }
  .contacts dt {
    padding-bottom: 0;
    border: 0;
  }
  .doc-list li,
  .summary,
  .account-row {
    display: grid;
  }
  .doc-list span {
    white-space: normal;
  }
  .drawer {
    right: 0.5rem;
    bottom: 0.5rem;
    width: calc(100vw - 1rem);
  }
  footer {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: grid;
  }
  nav.open {
    grid-template-columns: 1fr;
  }
  .page-content {
    padding-bottom: 5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }
}
.contacts dd,
footer a {
  overflow-wrap: anywhere;
}
.contacts {
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  column-gap: clamp(1.25rem, 4vw, 3rem);
}
.contacts dt,
.contacts dd {
  padding: 1.15rem 0;
}
footer > div {
  gap: 0.75rem;
}
@media (max-width: 760px) {
  .contacts {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .contacts dt {
    padding-top: 1.15rem;
    padding-bottom: 0.2rem;
  }
  .contacts dd {
    padding-top: 0;
    padding-bottom: 1.15rem;
  }
}
.form-hint {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.email-link::before {
  content: "✉";
  flex: 0 0 auto;
  font-size: 0.92em;
  text-decoration: none;
}
.email-link:hover {
  color: var(--red);
  text-decoration-thickness: 0.13em;
}
footer .email-link {
  width: max-content;
  max-width: 100%;
  font-weight: 600;
}
.email-link {
  position: relative;
  z-index: 1;
  cursor: pointer;
  pointer-events: auto;
}
.email-dialog {
  width: min(34rem, calc(100vw - 2rem));
  border: 0;
  border-top: 5px solid var(--red);
  border-radius: 18px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: 0 28px 80px rgba(1, 30, 65, 0.28);
  color: var(--ink);
}
.email-dialog::backdrop {
  background: rgba(1, 30, 65, 0.48);
  backdrop-filter: blur(3px);
}
.email-dialog h2 {
  margin: 0.5rem 2.5rem 0.35rem 0;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.08;
}
.email-dialog-address {
  margin: 0.25rem 0 1.5rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.email-dialog-close {
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.email-dialog-actions {
  display: grid;
  gap: 0.7rem;
}
.email-dialog-actions .button {
  width: 100%;
  text-align: center;
}
.email-dialog-status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
}
