/* --- Reset & base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: clamp(1rem, 0.25vw + 0.95rem, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

img {
  max-width: 100%;
  height: auto;
}

:root {
  --bg: #f6f3ee;
  --bg-deep: #1a2332;
  --surface: #ffffff;
  --text: #2c3340;
  --text-muted: #5c6575;
  --accent: #c45c26;
  --accent-hover: #a84d1f;
  --gold: #c9a227;
  --line: rgba(44, 51, 64, 0.12);
  --shadow: 0 18px 50px rgba(26, 35, 50, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: clamp(64px, 12vw, 72px);
  --font-display: "Fraunces", Georgia, serif;
  --section-y: clamp(3.5rem, 8vw, 5.5rem);
  --container-pad: clamp(1rem, 4vw, 1.5rem);
  --hero-min: clamp(32rem, 85svh, 52rem);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--bg-deep);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

/* Dark glass over the hero — matches hero scrim so it doesn’t read as a flat gray strip */
.site-header.header--hero {
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.88) 0%,
    rgba(12, 18, 28, 0.55) 55%,
    rgba(18, 26, 38, 0.28) 100%
  );
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.site-header.header--hero .logo {
  color: #fff;
}

.site-header.header--hero .nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header.header--hero .nav a:hover {
  color: #fff;
}

.site-header.header--hero .nav-cta {
  background: #fff;
  color: var(--bg-deep) !important;
}

.site-header.header--hero .nav-cta:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--bg-deep) !important;
}

.site-header.header--hero .nav-toggle-bar {
  background: #fff;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 24px);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.7rem, 2.6vw, 1.05rem);
  color: var(--bg-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: min(78vw, 20rem);
}

.logo-text {
  display: inline-block;
}

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

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 10px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

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

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--bg-deep);
  margin: 0 auto;
  transition: transform 0.2s, opacity 0.2s;
}

.site-header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-panel {
  display: none;
  flex-direction: column;
  padding: 0 var(--container-pad) 20px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 238, 0.98);
}

.site-header.header--hero.is-open .nav-panel {
  background: rgba(26, 35, 50, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-header.header--hero.is-open .nav-panel a {
  color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-header.header--hero.is-open .nav-panel a:last-child {
  color: var(--gold);
}

.nav-panel a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.nav-panel a:last-child {
  border-bottom: none;
  color: var(--accent);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-panel:not([hidden]) {
    display: flex;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: max(var(--hero-min), 85dvh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  touch-action: pan-y;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s step-end;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s step-start;
  z-index: 1;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

html.js .hero-slide.is-active .hero-slide-img {
  animation: hero-ken 14s ease-out forwards;
}

@keyframes hero-ken {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      120deg,
      rgba(15, 22, 32, 0.88) 0%,
      rgba(26, 35, 50, 0.55) 42%,
      rgba(26, 35, 50, 0.35) 100%
    ),
    linear-gradient(to top, rgba(12, 18, 28, 0.75) 0%, transparent 45%);
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  flex: 1;
  min-height: 0;
}

.hero-content {
  max-width: min(42rem, 100%);
  padding-top: clamp(1rem, 4vw, 2rem);
}

.eyebrow {
  font-size: clamp(0.7rem, 0.15vw + 0.65rem, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 clamp(0.75rem, 2vw, 1rem);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.hero .eyebrow {
  color: rgba(255, 224, 160, 0.95);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 clamp(1rem, 2.5vw, 1.25rem);
  max-width: 16ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  font-size: clamp(1rem, 1.5vw + 0.85rem, 1.2rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 14px);
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff !important;
}

.hero-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hero-dot::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 2.5rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}

.hero-dot:hover::after,
.hero-dot:focus-visible::after {
  background: rgba(255, 255, 255, 0.55);
}

.hero-dot.is-active::after {
  background: #fff;
  height: 0.42rem;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.5);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.hero-slide-caption {
  margin: 0;
  font-size: clamp(0.8125rem, 0.2vw + 0.75rem, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}

@media (max-width: 540px) {
  .hero-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    max-width: none;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

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

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

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--bg-deep);
  border-color: rgba(26, 35, 50, 0.25);
}

.btn-ghost:hover {
  border-color: var(--bg-deep);
  background: rgba(255, 255, 255, 0.6);
}

.btn-block {
  width: 100%;
}

@media (max-width: 480px) {
  .btn {
    min-height: 48px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* --- Sections --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-y) 0;
}

/* Faster initial paint: browser skips off-screen layout work until needed */
.section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--bg-deep);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Heartfelt message */
.section-heartfelt {
  padding: clamp(2rem, 5vw, 2.75rem) 0;
  background: linear-gradient(
    180deg,
    rgba(196, 92, 38, 0.06) 0%,
    rgba(201, 162, 39, 0.05) 45%,
    transparent 100%
  );
}

.heartfelt-card {
  margin: 0 auto;
  max-width: 38rem;
  quotes: none;
  padding: clamp(1.35rem, 4vw, 1.85rem) clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 40px rgba(26, 35, 50, 0.08);
}

.heartfelt-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--bg-deep);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.heartfelt-attribution {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

.donate-heartfelt {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  background: rgba(196, 92, 38, 0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}

/* Pillars */
.section-pillars {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.pillar-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bg-deep);
  margin: 0 0 12px;
}

.pillar-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Highlight */
.section-highlight {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: linear-gradient(180deg, var(--bg) 0%, #ebe6df 100%);
}

.highlight-box {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2.5rem);
  background: var(--bg-deep);
  color: #e8eaef;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.highlight-label {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.highlight-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 16px;
}

.highlight-text strong {
  color: #fff;
  font-weight: 700;
}

.highlight-note {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(232, 234, 239, 0.75);
}

/* Impact split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.split-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--bg-deep);
  margin: 0 0 20px;
}

.split-text p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.split-text p:last-child {
  margin-bottom: 0;
}

.impact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text);
}

.impact-icon {
  font-size: 1.35rem;
  line-height: 1.2;
  flex-shrink: 0;
}

/* Donate */
.section-donate {
  padding-bottom: clamp(4rem, 10vw, 6.25rem);
}

.donate-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .donate-panel {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.donate-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  color: var(--bg-deep);
  margin: 0 0 16px;
}

.donate-copy p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.sign-off {
  margin-top: 28px !important;
  font-style: italic;
  color: var(--text) !important;
}

.signature {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--bg-deep);
}

.donate-form fieldset {
  border: none;
  margin: 0 0 24px;
  padding: 0;
}

.donate-form legend {
  font-weight: 600;
  color: var(--bg-deep);
  margin-bottom: 12px;
  padding: 0;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 520px) {
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.amount-option {
  position: relative;
  cursor: pointer;
}

.amount-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amount-option span {
  display: block;
  text-align: center;
  padding: 14px 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.amount-option input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.amount-option input:checked + span {
  border-color: var(--accent);
  background: rgba(196, 92, 38, 0.08);
  color: var(--accent);
}

.custom-amount-wrap {
  margin-top: 16px;
}

.custom-amount-wrap label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--bg-deep);
}

.custom-amount-wrap input {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.custom-amount-wrap input:focus {
  outline: none;
  border-color: var(--accent);
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field > span:first-child {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--bg-deep);
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.checkbox-field input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-footnote {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: var(--accent);
  min-height: 1.25em;
}

/* Payment method dialog */
.payment-dialog {
  padding: 0;
  border: none;
  max-width: calc(100vw - 2rem);
  width: min(28rem, 100%);
  background: transparent;
  box-shadow: none;
}

.payment-dialog::backdrop {
  background: rgba(12, 16, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.payment-dialog-panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 4vw, 2rem);
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 28px 80px rgba(26, 35, 50, 0.22);
  border: 1px solid var(--line);
}

.payment-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.payment-dialog-close:hover,
.payment-dialog-close:focus-visible {
  background: var(--bg);
  color: var(--bg-deep);
  outline: none;
}

.payment-dialog-close:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
}

.payment-dialog-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--bg-deep);
  margin: 0 0 0.35rem;
  padding-right: 2.75rem;
  letter-spacing: -0.02em;
}

.payment-dialog-amount {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent);
  margin: 0 0 1rem;
}

.payment-dialog-lead {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-deep);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.payment-method-btn:hover {
  border-color: var(--accent);
  background: rgba(196, 92, 38, 0.07);
}

.payment-method-btn:active {
  transform: scale(0.99);
}

.payment-method-btn:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.25);
}

.payment-method-logo {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.payment-method-logo--wide {
  width: auto;
  min-width: 5.75rem;
  height: 2.25rem;
  padding: 4px 10px;
}

.payment-method-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.payment-method-logo--wide img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
}

.payment-method-label {
  flex: 1;
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(2rem, 5vw, 2.5rem) var(--container-pad);
  padding-bottom: calc(clamp(2rem, 5vw, 2.5rem) + env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 8px;
  color: #fff;
}

.footer-meta {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Reveal animation (JS adds html.js — without JS, content stays visible) */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.js .hero-slide.is-active .hero-slide-img {
    animation: none;
  }

  .hero-slide {
    transition-duration: 0.01ms;
  }

  .pillar-card:hover {
    transform: none;
  }
}
