:root {
  --drk-red: #e30613;
  --drk-dark-red: #b8000b;
  --ink: #1f2328;
  --muted: #5b616e;
  --line: #dde1e7;
  --paper: #ffffff;
  --soft: #f3f5f7;
  --soft-red: #fff1f2;
  --shadow: 0 16px 36px rgba(31, 35, 40, 0.14);
  --radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(780px, calc(100% - 32px));
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 8px;
  z-index: 50;
  padding: 8px 12px;
  background: var(--paper);
}

.topbar {
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}

.topbar-inner,
.header-inner,
.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-inner {
  min-height: 36px;
}

.topbar a {
  text-decoration: none;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand {
  min-width: 190px;
}

.brand-stack,
.footer-brand-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.brand-logo {
  width: auto;
  height: 50px;
  max-width: 220px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-logo {
  width: auto;
  height: 58px;
  max-width: 230px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand small {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.footer-brand-stack strong {
  color: var(--paper);
  font-size: 15px;
  line-height: 1.2;
}

.main-nav,
.admin-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a,
.admin-nav a {
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.main-nav a:hover,
.admin-nav a:hover {
  color: var(--drk-red);
}

.donate-link {
  color: var(--paper) !important;
  background: var(--drk-red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 520px;
  background: var(--ink);
}

.hero-slider,
.hero-slide {
  position: relative;
  min-height: 520px;
}

.hero-slide {
  display: none;
  overflow: hidden;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide picture,
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-fit: var(--desktop-fit, cover);
  object-position: var(--desktop-focus, center center);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.26) 55%, rgba(0, 0, 0, 0.18));
}

.hero-content {
  color: var(--paper);
  padding: 64px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--drk-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

.hero-content .eyebrow {
  color: #ffffff;
}

.hero-content h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 600px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 34px;
  height: 6px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--paper);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--paper);
  background: var(--drk-red);
  border-color: var(--drk-red);
}

.button-primary:hover {
  background: var(--drk-dark-red);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.section {
  padding: 72px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
}

.section h2,
.page-hero h1,
.admin-title h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.lead-text {
  color: var(--muted);
  font-size: 19px;
}

.service-band {
  background: var(--soft);
}

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

.section-heading p {
  color: var(--muted);
}

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

.service-card,
.admin-card,
.admin-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  padding: 28px;
}

.service-number {
  color: var(--drk-red);
  font-weight: 900;
}

.service-card h3 {
  margin: 18px 0 8px;
  font-size: 24px;
}

.service-card p {
  color: var(--muted);
}

.contact-band {
  background: linear-gradient(90deg, var(--drk-red), var(--drk-dark-red));
  color: var(--paper);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-panel .section-kicker {
  color: var(--paper);
}

.page-hero {
  padding: 72px 0 60px;
  background: var(--soft-red);
  border-bottom: 1px solid var(--line);
}

.prose {
  font-size: 19px;
}

.prose p {
  margin: 0 0 18px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: start;
}

.page-layout .prose {
  max-width: 780px;
}

.page-image-grid {
  display: grid;
  gap: 18px;
}

.page-image-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7f8fa, #e7ebf0);
  box-shadow: 0 10px 24px rgba(31, 35, 40, 0.12);
}

.page-image-grid img {
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: linear-gradient(135deg, #f7f8fa, #e7ebf0);
}

.page-image-grid figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
}

.page-action-row {
  margin-top: 28px !important;
}

.public-form {
  display: grid;
  gap: 16px;
  margin-top: 42px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.public-form h2 {
  margin: 0;
  font-size: 28px;
}

.form-privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-privacy-note a {
  color: var(--ink);
  font-weight: 700;
}

.public-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.public-form .cf-turnstile {
  min-height: 65px;
  max-width: 100%;
  overflow-x: auto;
}

.turnstile-fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.turnstile-fieldset legend {
  padding: 0;
  font-weight: 700;
}

.turnstile-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.turnstile-status.is-message {
  color: var(--ink);
  font-weight: 700;
}

.turnstile-unavailable {
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: #fff1f1;
  color: var(--ink);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  padding: 48px 0;
  background: #25292f;
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 1.45fr 0.75fr;
  gap: 32px;
}

.footer-claim p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

@media (min-width: 981px) {
  .footer-contact p:first-of-type {
    white-space: nowrap;
  }
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin: 7px 0;
  color: var(--paper);
  text-decoration: none;
}

.footer-link-button {
  display: block;
  margin: 7px 0;
  padding: 0;
  border: 0;
  color: var(--paper);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.site-footer a:hover,
.footer-link-button:hover {
  text-decoration: underline;
}

.privacy-banner {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #c9ced6;
  border-top: 4px solid var(--drk-red);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(31, 35, 40, 0.28);
}

.privacy-banner[hidden] {
  display: none;
}

.privacy-banner-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
}

.privacy-banner-copy p,
.privacy-dialog > p,
.privacy-category p,
.privacy-more {
  margin: 0;
  color: var(--muted);
}

.privacy-actions,
.privacy-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 32px));
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #c9ced6;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(31, 35, 40, 0.32);
}

.privacy-dialog::backdrop {
  background: rgba(18, 20, 24, 0.62);
}

.privacy-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.privacy-dialog-header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.privacy-dialog-header .section-kicker {
  margin-bottom: 4px;
}

.privacy-dialog-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.privacy-category {
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.privacy-category-heading h3 {
  margin: 0;
  font-size: 20px;
}

.privacy-category-heading span {
  color: #256029;
  font-size: 14px;
  font-weight: 800;
}

.privacy-storage-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.privacy-storage-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
}

.privacy-storage-list dt {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.privacy-storage-list dd {
  margin: 0;
  color: var(--muted);
}

.privacy-more a {
  color: var(--ink);
  font-weight: 700;
}

.privacy-dialog-actions {
  margin-top: 22px;
}

.flash-list {
  padding-top: 16px;
}

.flash {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.flash-success {
  background: #edf7ed;
  border-color: #b7dfb7;
}

.flash-error {
  background: #fff1f2;
  border-color: #f2b8be;
}

.admin-body {
  background: var(--soft);
}

.admin-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.admin-header-inner {
  min-height: 78px;
  align-items: center;
}

.admin-main {
  padding: 34px 0 70px;
}

.admin-title {
  margin-bottom: 22px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.admin-tile {
  min-height: 150px;
  padding: 22px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.admin-tile strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.admin-tile span {
  color: var(--muted);
}

.admin-card {
  padding: 24px;
  box-shadow: var(--shadow);
}

.login-card {
  max-width: 460px;
  margin: 40px auto;
}

.stacked-form {
  display: grid;
  gap: 16px;
}

.stacked-form label,
.slider-item label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c9ced6;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
}

.checkbox-label input {
  width: auto;
}

.split-admin {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 18px;
  align-items: start;
}

.page-list {
  display: grid;
  gap: 8px;
}

.create-page-panel {
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.create-page-panel summary {
  cursor: pointer;
  color: var(--drk-red);
  font-weight: 900;
}

.create-page-panel form {
  margin-top: 14px;
}

.page-list a {
  padding: 12px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
}

.page-list a.is-active {
  color: var(--paper);
  background: var(--drk-red);
}

.page-list span {
  display: block;
  font-size: 13px;
  font-weight: 400;
}

.slider-admin-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.slider-item {
  display: grid;
  grid-template-columns: 240px repeat(2, minmax(160px, 1fr));
  gap: 14px;
  align-items: end;
}

.slider-preview-group {
  display: grid;
  gap: 10px;
}

.slider-preview-group span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.slider-preview-group img {
  width: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-edit-stack,
.page-image-admin-list {
  display: grid;
  gap: 18px;
}

.page-edit-stack h2,
.page-image-admin-list h2 {
  margin: 0;
  font-size: 22px;
}

.page-image-admin-item {
  display: grid;
  grid-template-columns: 180px 1fr 1fr 120px 110px;
  gap: 14px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-image-admin-item img {
  width: 180px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-image-admin-item label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.logo-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.logo-preview-card {
  display: grid;
  gap: 18px;
}

.logo-preview-card h2 {
  margin: 0;
  font-size: 22px;
}

.logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.logo-preview-dark {
  background: #25292f;
}

.favicon-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.favicon-preview img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-preview img {
  max-width: min(100%, 420px);
  max-height: 130px;
  object-fit: contain;
}

.form-hint {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 119px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 16px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 12px;
  }

  .two-column,
  .service-grid,
  .footer-grid,
  .admin-grid,
  .form-grid,
  .split-admin,
  .page-layout,
  .logo-admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-header-inner,
  .admin-nav,
  .contact-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .slider-item,
  .page-image-admin-item {
    grid-template-columns: 1fr;
  }

  .slider-preview-group img,
  .page-image-admin-item img {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 24px, 1160px);
  }

  .topbar {
    display: none;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand small {
    font-size: 12px;
  }

  .brand-logo {
    max-width: 140px;
    height: 40px;
  }

  .main-nav {
    top: 77px;
  }

  .hero,
  .hero-slider,
  .hero-slide {
    min-height: 570px;
  }

  .hero-overlay {
    align-items: end;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.28));
  }

  .hero-slide img {
    object-fit: cover;
    object-position: var(--mobile-focus, center center);
  }

  .hero-content {
    padding-bottom: 70px;
  }

  .hero-caption {
    left: 12px;
    right: 12px;
    bottom: 46px;
    text-align: center;
    font-size: 12px;
    line-height: 1.25;
    pointer-events: none;
  }

  .slider-dots {
    left: 12px;
    right: 12px;
    bottom: 20px;
    justify-content: center;
    transform: none;
  }

  .slider-dots button {
    width: 28px;
    max-width: 14vw;
    flex: 0 1 28px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .section {
    padding: 48px 0;
  }

  .privacy-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 14px;
    width: auto;
    padding: 16px;
  }

  .privacy-actions,
  .privacy-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .privacy-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .privacy-dialog-header h2 {
    font-size: 24px;
  }

  .privacy-storage-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
