:root {
  --paper: #f8fafc;
  --paper-2: #edf3fa;
  --paper-card: #ffffff;
  --white: #ffffff;
  --ink: #0e1e38;
  --muted: #4e617d;
  --muted-light: #7b8ea6;
  --accent: #205ee8;
  --accent-dark: #0c1d3b;
  --accent-2: #2458b8;
  --accent-gradient: linear-gradient(135deg, #2f6bf8 0%, #1a4ec8 100%);
  --line: #dbe4f0;
  --line-light: #edf2f8;
  --green: #0d9488;
  --green-bg: #f0fdfa;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --display: var(--sans);
  --radius-sm: 8px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(14, 30, 56, 0.04);
  --shadow: 0 14px 40px -6px rgba(14, 30, 56, 0.08), 0 4px 12px rgba(14, 30, 56, 0.03);
  --shadow-lg: 0 24px 64px -8px rgba(14, 30, 56, 0.12), 0 8px 24px rgba(14, 30, 56, 0.04);
  --lift: 0 20px 48px -6px rgba(27, 65, 140, 0.18);
  --max: 1256px;
  --ease-out: cubic-bezier(.2, 1, .32, 1);
  --px: 0;
  --py: 0;
  --lit: 0;
  --drift: 0;
  --glide: .5s var(--ease-out);
}

@property --px { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --py { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --lit { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --drift { syntax: '<number>'; inherits: true; initial-value: 0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .45; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button svg, a svg { flex: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(44px, 5vw, 70px); line-height: 1.08; letter-spacing: -2.6px; }
h2 { font-size: clamp(34px, 3.8vw, 50px); line-height: 1.15; letter-spacing: -1.5px; text-wrap: balance; }
h3 { font-size: 23px; line-height: 1.3; font-weight: 600; letter-spacing: -.4px; }
p+p { margin-top: 16px; }
small { font-size: 13px; }
::selection { background: #bfd9fe; color: #0c1d3b; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button:focus-visible { position: relative; z-index: 2; }
section[id] { scroll-margin-top: 115px; }
[hidden] { display: none !important; }

.container { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.hero-copy, .section-top>*, .calculator-grid>*, .donate-grid>*, .faq-grid>*, .video-grid>*, .bank-card { min-width: 0; }
main.section h1 { font-size: clamp(28px, 4.5vw, 52px); line-height: 1.18; letter-spacing: -1.2px; overflow-wrap: anywhere; margin-bottom: 28px; }
.section { padding-block: 100px; }
.section-top { display: grid; grid-template-columns: 1fr .72fr; gap: 88px; align-items: end; margin-bottom: 44px; }
.section-top p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 560px; text-wrap: pretty; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .85;
}

.lead { font-size: 18px; line-height: 1.75; color: var(--muted); }
.small-note { font-size: 13px; line-height: 1.65; color: var(--muted); }

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease-out);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.1px;
  transition: background .2s, transform .15s, box-shadow .2s, border-color .2s;
  max-width: 100%;
  text-align: center;
}
.button:active { transform: scale(.98); }
.button-primary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(32, 94, 232, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.button-primary:hover {
  box-shadow: 0 8px 24px rgba(32, 94, 232, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.button-outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.button-outline:hover {
  background: var(--paper-2);
  border-color: #c4d3e7;
  transform: translateY(-1px);
}
.button-light { background: var(--paper); color: var(--accent); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: 13px; border-radius: 11px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1.5px solid var(--line);
  padding: 6px 0;
  min-height: 44px;
  color: var(--ink);
  transition: color .2s, border-color .2s;
}
.text-link:hover { border-color: var(--accent); color: var(--accent); }
@media (hover: hover) {
  .button:hover .icon, .text-link:hover .icon, .sources a:hover .icon { transform: translateX(3px); }
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 99;
  background: var(--white);
  color: var(--ink);
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; padding: 0; }
.no-js-notice { padding: 14px 24px; background: #fef3c7; color: #92400e; text-align: center; font-size: 14px; font-weight: 600; border-bottom: 1px solid #fde68a; }

/* Sticky Header with Frosted Glass */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(219, 228, 240, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow .3s, background-color .3s;
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: #ffffff;
  font: 700 24px/1 var(--sans);
  box-shadow: 0 4px 14px rgba(32, 94, 232, 0.28);
  transition: transform .6s var(--ease-out);
}
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font: 700 20px/1.2 var(--sans); letter-spacing: -.5px; color: var(--ink); }
.brand-text small { font-size: 10px; color: var(--muted); letter-spacing: .5px; margin-top: 3px; font-weight: 500; }
.desktop-nav { display: flex; gap: 26px; margin-left: auto; }
.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px)/0 2px no-repeat;
  transition: background-size .3s var(--ease-out), color .2s;
}
.desktop-nav a:hover { color: var(--accent); background-size: 100% 2px; }
.header-tools { display: flex; align-items: center; gap: 16px; }

.language { position: relative; }
.language summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  min-height: 42px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, background-color .2s;
}
.language summary::-webkit-details-marker { display: none; }
.language summary:hover, .language[open] summary { background: var(--paper-2); border-color: #c4d3e7; }
.language-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: var(--white);
  padding: 8px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  width: 220px;
  z-index: 50;
  animation: panel-in .25s var(--ease-out);
}
.language-panel a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
  min-height: 40px;
  text-decoration: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
}
.language-panel a:hover, .language-panel a[aria-current] { background: var(--paper-2); color: var(--accent); }
.language-panel b { font-size: 11px; color: var(--accent); width: 22px; font-weight: 800; }
.menu-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.mobile-nav { padding: 12px 0 20px; }
.mobile-nav a { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; }

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header::after {
      content: '';
      position: absolute;
      left: 0; right: 0; bottom: -1px;
      height: 2.5px;
      background: linear-gradient(90deg, var(--accent), #60a5fa);
      transform-origin: 0 50%;
      transform: scaleX(0);
      animation: read-progress linear both;
      animation-timeline: scroll(root);
      pointer-events: none;
    }
    .site-header { animation: header-lift linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
  }
}
@keyframes read-progress { to { transform: scaleX(1); } }
@keyframes header-lift { to { box-shadow: 0 12px 32px rgba(15, 30, 56, 0.08); } }

/* Hero Section */
.hero { padding-top: 56px; position: relative; isolation: isolate; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transition: --px 1.2s var(--ease-out), --py 1.2s var(--ease-out);
  background:
    radial-gradient(circle at calc(14% + var(--drift) * 6% - var(--px) * 6%) calc(26% + var(--drift) * 4% - var(--py) * 6%), rgba(59, 130, 246, 0.12), transparent 36%),
    radial-gradient(circle at calc(88% - var(--drift) * 5% + var(--px) * 8%) calc(74% - var(--drift) * 6% + var(--py) * 8%), rgba(20, 184, 166, 0.1), transparent 32%),
    radial-gradient(circle at 62% 6%, rgba(99, 102, 241, 0.08), transparent 26%);
}
@media (prefers-reduced-motion: no-preference) { .hero::before { animation: hero-drift 18s ease-in-out infinite alternate; } }
@keyframes hero-drift { to { --drift: 1; } }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero-copy { padding: 10px 0 24px; }
.hero h1 {
  font-size: clamp(44px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: -2.8px;
  margin: 22px 0 24px;
}
.hero h1 span { display: block; }
.hero h1 em {
  font-style: normal;
  display: block;
  font-weight: 700;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { font-size: 18px; line-height: 1.75; max-width: 540px; }
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 30px 0 24px; }
.hero-small { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.hero-small::before { content: ''; width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px rgba(13, 148, 136, 0.6); }

/* Facts Strip */
.facts {
  margin-top: 40px;
  display: grid;
  grid-template-columns: .85fr 1.3fr 1.1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 32px;
  gap: 32px;
  box-shadow: var(--shadow-sm);
}
.fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: none; }
.fact small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .5px; margin-bottom: 6px; text-transform: uppercase; font-weight: 700; }
.fact strong { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.25; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact-form { letter-spacing: 1px !important; font-size: 24px !important; color: var(--accent) !important; }
.campaign-notice { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); padding: 18px 4px 0; max-width: 950px; font-weight: 500; }
.campaign-notice .icon { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

/* Hero Visual Card */
.info-visual {
  min-width: 0;
  padding: 30px 32px 26px;
  border: 1px solid rgba(210, 224, 242, 0.9);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ffffff 40%, #f1f6ff 100%);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
}
.info-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(360px circle at 100% 0, rgba(32, 94, 232, 0.12), transparent 70%);
  pointer-events: none;
}
.info-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent-2); }
.info-label { display: flex; align-items: center; gap: 8px; }
.info-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(32, 94, 232, 0.8); }
.info-year { padding: 4px 10px; background: rgba(32, 94, 232, 0.08); border: 1px solid rgba(32, 94, 232, 0.2); border-radius: 8px; letter-spacing: 1px; color: var(--accent); }

.percent-lockup { display: flex; gap: 24px; align-items: center; padding: 18px 0 24px; }
.percent-figure {
  font: 800 clamp(76px, 7.5vw, 110px)/1 var(--sans);
  letter-spacing: -6px;
  white-space: nowrap;
  background: linear-gradient(125deg, var(--accent) 15%, #4f8bf9 48%, var(--accent) 75%) 100% 0/240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.percent-figure>span { font-size: .52em; letter-spacing: -2px; margin-left: 4px; }
@media (prefers-reduced-motion: no-preference) { .percent-figure { animation: figure-shine 9s ease-in-out infinite; } }
@keyframes figure-shine { 50% { background-position: 0 0; } }

.percent-text { min-width: 0; max-width: 200px; }
.percent-text p { font-size: 13px; line-height: 1.6; color: var(--muted); font-weight: 500; }
.percent-text a { font-size: 12px; margin-top: 8px; gap: 6px; }

.hero-explainer {
  background: var(--white);
  border: 1px solid #dbe5f2;
  border-radius: 18px;
  padding: 16px 20px 8px;
  box-shadow: var(--shadow-sm);
}
.hero-explainer h2 { font: 700 14px/1.5 var(--sans); letter-spacing: 0; margin-bottom: 10px; text-wrap: initial; color: var(--ink); }
.hero-explainer details { border-top: 1px solid #e7edf6; }
.hero-explainer summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  padding: 13px 0;
  min-height: 46px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--ink);
  transition: color .2s;
}
.hero-explainer summary::-webkit-details-marker { display: none; }
.hero-explainer summary:hover { color: var(--accent); }
.hero-explainer summary .icon { margin-left: auto; width: 16px; height: 16px; color: var(--muted); flex: none; transition: transform .25s var(--ease-out); }
.hero-explainer details[open] summary .icon { transform: rotate(180deg); color: var(--accent); }
.info-number { font-size: 11px; color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; width: 18px; }
.hero-explainer details>p { font-size: 12px; line-height: 1.7; color: var(--muted); padding: 0 2px 14px 30px; margin: 0; max-width: none; }
.info-caption { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 18px; font-weight: 500; }

/* Ways of Giving */
.ways { padding: 76px 0 24px; }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.way {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
}
.way:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c4d5ed; }
.way-num { font-family: var(--display); font-size: 36px; font-weight: 800; color: #7f9ec7; line-height: 1.1; }
.way h3 { font-size: 26px; font-weight: 700; margin: 0 0 12px; letter-spacing: -.5px; }
.way p { color: var(--muted); font-size: 15px; margin-bottom: 18px; max-width: 440px; text-wrap: pretty; }
.tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}
.way:first-child .tag { background: #e9f1ff; border-color: #d1e2ff; color: var(--accent); }

/* Interactive Calculator */
.calculator-section {
  color: #f1f5f9;
  background: linear-gradient(145deg, #091730 0%, #10264d 100%);
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  border-radius: var(--radius-lg);
  margin: 36px 0 72px;
  isolation: isolate;
}
.calculator-section::before {
  content: '';
  position: absolute;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(186, 214, 255, 0.08);
  border-radius: 50%;
  right: -120px;
  top: -300px;
  pointer-events: none;
}
.calculator-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px circle at 88% 12%, rgba(59, 130, 246, 0.28), transparent 70%),
    radial-gradient(420px circle at 4% 100%, rgba(20, 184, 166, 0.16), transparent 70%);
  pointer-events: none;
}
.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; position: relative; }
.calculator-section .eyebrow { color: #93c5fd; }
.calculator-section h2 { font-size: clamp(34px, 3.6vw, 48px); max-width: 530px; color: #ffffff; }
.calculator-section .lead { color: #cbd5e1; font-size: 16px; max-width: 480px; margin-top: 22px; }
.calculator-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.input-group { min-width: 0; }
.input-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 10px; color: #cbd5e1; letter-spacing: .3px; }

.money-input {
  display: flex;
  border-bottom: 2px solid rgba(203, 213, 225, 0.35);
  gap: 12px;
  align-items: center;
  padding-bottom: 8px;
  transition: border-color .25s, box-shadow .25s;
}
.money-input:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 4px 14px rgba(96, 165, 250, 0.25);
}
.money-input input {
  background: none;
  border: none;
  color: #ffffff;
  min-width: 0;
  width: 100%;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  outline-offset: 4px;
  font-variant-numeric: tabular-nums;
}
.money-input span { font-size: 26px; font-weight: 600; color: #93c5fd; }
.people-line { font-size: 22px; font-family: var(--display); font-weight: 700; color: #ffffff; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.people-line small { font-size: 14px; font-weight: 500; color: #cbd5e1; margin-left: 4px; }

/* Custom Range Slider */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type=range]:focus-visible { outline: 3px solid #93c5fd; outline-offset: 4px; border-radius: 8px; }
input[type=range]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, #38bdf8 0%, #38bdf8 var(--val, 12.5%), rgba(255, 255, 255, 0.18) var(--val, 12.5%), rgba(255, 255, 255, 0.18) 100%);
  transition: background .15s;
}
input[type=range]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
input[type=range]::-moz-range-progress { height: 8px; border-radius: 999px; background: #38bdf8; }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.65), 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-top: -8px;
  transition: transform .15s ease, box-shadow .15s ease;
}
input[type=range]:hover::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.9), 0 4px 12px rgba(0, 0, 0, 0.5);
}
input[type=range]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.65);
}

.calc-results { display: flex; flex-direction: column; justify-content: center; }
.calc-result-one {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.25);
  padding-bottom: 22px;
}
.calc-result-one strong {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -1.5px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.calc-result-one span { font-size: 13px; color: #cbd5e1; max-width: 170px; font-weight: 500; }
.calc-result-total { padding: 24px 0 12px; }
.calc-result-total span { font-size: 11px; color: #93c5fd; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.calc-result-total strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.15;
  color: #93c5fd;
  text-shadow: 0 0 40px rgba(147, 197, 253, 0.45);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.calc-formula { font-size: 13px; color: #94a3b8; font-weight: 500; }
.calculator-section .small-note { font-size: 12px; color: #cbd5e1; margin-top: 22px; }
.calc-error { font-size: 13px; color: #fca5a5; margin-top: 12px; font-weight: 600; }
.no-js-calculator { color: #cbd5e1; padding: 12px 0; }
.enhanced .no-js-calculator { display: none; }
.calc-results.long-numbers .calc-result-one strong,
.calc-results.long-numbers .calc-result-total strong { font-size: clamp(26px, 4vw, 50px); letter-spacing: -1px; }

/* Guide / FR0512 Stepper */
.guide-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.guide-grid>* { min-width: 0; }
.guide-tabs { display: none; }
.enhanced .guide-tabs { display: flex; flex-direction: column; gap: 10px; }
.guide-tab {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  width: 100%;
  text-align: left;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  min-height: 72px;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
  transition: background-color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.guide-tab .step-num {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  background: #eef4ff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background .2s, color .2s;
}
.guide-tab span:nth-child(2) { font-size: 15px; font-weight: 700; color: var(--ink); }
.guide-tab .icon { margin-left: auto; width: 16px; flex-shrink: 0; color: var(--muted); }
.guide-tab:not([aria-selected=true]):hover { background: var(--paper-2); border-color: #c4d5ee; transform: translateX(3px); }
.guide-tab[aria-selected=true] {
  background: var(--accent-gradient);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(32, 94, 232, 0.32);
}
.guide-tab[aria-selected=true] span:nth-child(2) { color: var(--white); }
.guide-tab[aria-selected=true] .step-num { background: rgba(255, 255, 255, 0.22); color: var(--white); }
.guide-tab[aria-selected=true] .icon { color: var(--white); }

.guide-panel {
  padding: 38px 42px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}
.enhanced .guide-panel:not(.is-active) { display: none; }
.enhanced .guide-panel.is-active { animation: panel-in .4s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }

.guide-panel h3 { font-size: 28px; margin: 24px 0 14px; }
.guide-panel>p { font-size: 16px; color: var(--muted); line-height: 1.85; text-wrap: pretty; }

/* Diagram Box (EDS Mockup Frame) */
.diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #edf4fc 0%, #e2ecf9 100%);
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d4e1f2;
}
.diagram::before, .diagram::after {
  content: '';
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(32, 94, 232, 0.12);
  border-radius: 50%;
}
.diagram::after { width: 340px; height: 340px; }
.diagram-label {
  position: absolute;
  left: 18px;
  top: 14px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-2);
}
.diagram-card {
  background: var(--white);
  border: 1px solid #dce5f2;
  box-shadow: 0 12px 28px rgba(15, 30, 56, 0.08);
  transform: rotate(-3deg);
  padding: 24px 28px;
  min-width: 230px;
  max-width: 88%;
  position: relative;
  z-index: 1;
  border-radius: 12px;
  text-align: center;
  transition: transform .4s var(--ease-out);
}
.diagram-card .icon { color: var(--accent); width: 28px; height: 28px; margin-bottom: 8px; }
.diagram-card small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; }
.diagram-card strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.diagram-count { position: absolute; right: 18px; bottom: 12px; font: 800 36px var(--display); color: #b6cde8; }

.guide-controls { display: none; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; }
.enhanced .guide-controls { display: flex; }
.guide-controls>span { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.guide-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 24px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.guide-bottom p { max-width: 620px; }
.verification-note { border-left: 3px solid #f59e0b; padding: 14px 18px; background: #fffbeb; color: #92400e; font-size: 13px; font-weight: 500; border-radius: 0 10px 10px 0; margin-top: 20px; }
.source-inline { font-size: 12px; margin-top: 14px; color: var(--accent-2); font-weight: 600; }

/* Video Section */
.video-section { padding: 20px 0 100px; }
.video-grid { display: grid; grid-template-columns: 1.16fr 1fr; gap: 64px; align-items: center; }
.video-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 350px;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(145deg, #0b1c36 0%, #173763 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.video-shell::before {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  width: 440px;
  height: 440px;
  right: -140px;
  top: -80px;
  pointer-events: none;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.video-wordmark { font-size: 11px; letter-spacing: 3px; color: #93c5fd; margin-bottom: 20px; font-weight: 800; }
.play-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: transform .25s ease, background-color .25s;
}
.play-icon .icon { width: 30px; height: 30px; margin-left: 4px; }
.video-placeholder .button {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 13px;
  max-width: 350px;
  padding: 12px 24px;
  min-height: 48px;
}
.video-placeholder .button:hover { background: rgba(255, 255, 255, 0.22); }
.video-placeholder p { font-size: 11px; line-height: 1.7; color: #cbd5e1; max-width: 380px; margin-top: 18px; }
.video-shell iframe { position: absolute; inset: 0; border: 0; width: 100%; height: 100%; z-index: 5; }
.video-copy .lead { font-size: 17px; margin-top: 22px; }
.video-copy .small-note { font-size: 12px; margin: 16px 0; }
.video-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.video-links a { font-size: 13px; font-weight: 600; }
.video-reset { background: none; border: 0; border-bottom: 1.5px solid var(--line); font-size: 12px; min-height: 44px; padding: 5px 0; color: var(--accent); font-weight: 600; }

/* Projects Section */
.help-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c2d5ee; }
.project-visual { height: 260px; position: relative; background: var(--paper-2); overflow: hidden; flex-shrink: 0; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.project-card:hover .project-visual img { transform: scale(1.04); }
.project-visual.is-fallback { background: #eaf0f8 url('../img/shelter-outline.svg') center/cover; }
.project-visual[data-project="0"].is-fallback { background-image: url('../img/community-outline.svg'); }

.image-caption-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  max-width: calc(100% - 80px);
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}
.project-preview { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; z-index: 2; }
.project-preview:focus-visible { outline-offset: -4px; }
.project-preview-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(14, 30, 56, 0.16);
  transition: transform .2s, background .2s;
}
.project-preview:hover .project-preview-icon { transform: scale(1.08); background: var(--paper-2); }
.project-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-kicker { font-size: 10px; letter-spacing: 1.5px; color: var(--accent-2); text-transform: uppercase; margin-bottom: 8px; font-weight: 800; }
.project-content h3 { font-size: 24px; margin-bottom: 12px; }
.project-content p:not(.project-kicker) { font-size: 14px; color: var(--muted); line-height: 1.75; min-height: 0; margin-bottom: 20px; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; }
.project-note { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; font-size: 12px; max-width: 950px; color: var(--muted); }

/* Bank Details / Donation */
.donate-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: start; }
.donate-intro .lead { margin-top: 24px; font-size: 17px; }
.donate-intro .small-note { margin-top: 26px; max-width: 460px; }
.safety-line { display: flex; gap: 12px; align-items: flex-start; }
.safety-line .icon { flex-shrink: 0; color: var(--accent); }

.bank-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
  transition: box-shadow .3s, border-color .3s;
}
.bank-card dl { margin: 0; }
.bank-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.bank-row:first-child { padding-top: 0; }
.bank-row dt { font-size: 11px; color: var(--muted); grid-column: 1; letter-spacing: .5px; text-transform: uppercase; font-weight: 700; }
.bank-row dd { margin: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; grid-column: 1; line-height: 1.6; }
.bank-row button { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 42px; height: 42px; }
.bank-row-iban dd {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .4px;
}
.bank-card>.button { margin-top: 24px; width: 100%; }
.bank-card .small-note { font-size: 12px; margin-top: 16px; }
.currency-note { border: 1px solid var(--line); display: inline-flex; margin-top: 24px; padding: 5px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; color: var(--muted); }

.icon-button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color .2s, border-color .2s, transform .15s, color .2s;
  box-shadow: var(--shadow-sm);
}
.icon-button:hover { background: var(--paper-2); border-color: #c4d5ed; color: var(--accent); }
.icon-button.is-copied { background: #ecfdf5; border-color: #047857; color: #047857; }
.button.is-copied { background: #047857; border-color: #047857; color: #ffffff; box-shadow: 0 4px 16px rgba(5, 150, 105, 0.35); }

/* FAQ & Sources */
.faq-section { padding-top: 24px; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 88px; }
.faq-grid h2 { position: sticky; top: 145px; }
.faq-list details { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  padding: 22px 34px 22px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
  position: relative;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease-out);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--accent); }
.faq-list p { font-size: 15px; color: var(--muted); line-height: 1.85; padding: 0 20px 24px 0; text-wrap: pretty; }

@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq-list { interpolate-size: allow-keywords; }
    .faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
    .faq-list details[open]::details-content { block-size: auto; }
  }
}

.sources {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f1f5fb;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  margin-bottom: 80px;
}
.sources h3 { font-size: 28px; margin-bottom: 16px; }
.sources p { font-size: 14px; color: var(--muted); }
.sources ol { padding: 0; margin: 0; list-style: none; counter-reset: sources; }
.sources li { counter-increment: sources; border-bottom: 1px solid rgba(203, 215, 232, 0.4); }
.sources li:last-child { border-bottom: 0; }
.sources a {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  min-height: 48px;
  padding: 8px 0;
  transition: color .2s;
}
.sources a::before { content: '0' counter(sources); font-size: 11px; color: var(--accent-2); font-weight: 800; font-variant-numeric: tabular-nums; }
.sources a .icon { width: 14px; margin-left: auto; flex-shrink: 0; }
.sources a:hover { color: var(--accent); text-decoration: underline; }
.review-date { display: inline-flex; margin-top: 22px; font-size: 11px; font-weight: 700; color: var(--accent); padding: 5px 12px; background: #e0edff; border-radius: 100px; }

/* Contact & Parish Support */
.contact-section { padding: 80px 0 72px; }
.contact-grid { display: flex; gap: 50px; justify-content: space-between; align-items: center; }
.contact-grid h2 { font-size: 38px; letter-spacing: -1px; }
.contact-grid p { font-size: 15px; color: var(--muted); margin-top: 14px; max-width: 590px; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; align-items: center; flex-shrink: 0; }

.parish-support { padding: 0 0 64px; }
.parish-support-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: 40px;
  background: linear-gradient(135deg, #f0f6ff 0%, #e5effd 100%);
  border: 1px solid #d4e2f5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s;
}
.parish-support-card:hover { box-shadow: var(--lift); border-color: #c3d3ec; }
.parish-support-card h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; margin-bottom: 16px; overflow-wrap: anywhere; }
.parish-support-card p { color: var(--muted); line-height: 1.75; font-size: 15px; }
.parish-support-actions { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.parish-support-actions .button { white-space: normal; text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-main strong { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.footer-main small { font-size: 11px; color: var(--muted); display: block; margin-top: 6px; max-width: 530px; font-weight: 500; }
.footer-tools { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-tools a, .footer-tools button {
  font-size: 12px;
  font-weight: 600;
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: underline;
  min-height: 44px;
  padding: 5px 0;
  text-align: left;
  display: inline-flex;
  align-items: center;
  transition: color .2s;
}
.footer-tools a:hover, .footer-tools button:hover { color: var(--accent); }
.footer-languages { margin-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-languages a { font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; min-height: 36px; display: flex; align-items: center; transition: color .2s; }
.footer-languages a:hover, .footer-languages a[aria-current] { color: var(--accent); text-decoration: underline; }

/* Mobile Floating CTA */
.mobile-cta { display: none; }
@media (max-width: 730px) {
  .mobile-cta {
    display: flex;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: rgba(248, 250, 252, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .mobile-cta .button { flex: 1; font-size: 12px; padding: 11px 14px; min-height: 46px; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(12, 29, 59, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 650;
  border-radius: 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  z-index: 100;
  max-width: min(550px, calc(100% - 32px));
  box-shadow: var(--shadow-lg);
  text-align: center;
  pointer-events: none;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Native Dialog & Modal */
dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  width: min(920px, calc(100% - 36px));
  max-height: 90dvh;
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.35);
}
dialog::backdrop { background: rgba(8, 23, 42, 0.65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dialog-inner { padding: 32px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.dialog-head h2 { font-size: 30px; letter-spacing: -.6px; line-height: 1.2; }
.dialog-photo { position: relative; border-radius: 14px; overflow: hidden; background: var(--paper-2); min-height: 180px; }
.dialog-photo img { width: 100%; max-height: 50dvh; object-fit: contain; min-height: 180px; }
.dialog-caption { font-size: 12px; color: var(--muted); margin-top: 15px; font-weight: 500; }
.dialog-original { margin-bottom: 16px; }

#hotspots { position: absolute; inset: 0; pointer-events: none; }
#hotspots button { pointer-events: auto; }
.hotspot {
  position: absolute;
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px rgba(32, 94, 232, 0.5);
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s, background-color .2s;
}
.hotspot:hover, .hotspot[aria-pressed=true] {
  background: #174ab8;
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  transform: translate(-50%, -50%) scale(1.1);
}
.hotspot-one { left: 9%; top: 46%; }
.hotspot-two { left: 47%; top: 28%; }
.hotspot-three { left: 51%; top: 63%; }

.hotspot-copy { margin-top: 18px; background: var(--white); padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hotspot-copy h3 { font: 700 20px var(--display); margin: 0 0 8px; color: var(--ink); }
.hotspot-copy p { font-size: 14px; color: var(--muted); }
.dialog-text { font-size: 15px; color: var(--muted); margin-bottom: 22px; line-height: 1.85; }
.dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }

#photo-dialog.is-appeal { width: min(1100px, calc(100% - 36px)); }
#photo-dialog.is-appeal .dialog-photo { display: grid; place-items: center; min-height: 0; background: #fff5d2; }
#photo-dialog.is-appeal .dialog-photo img { width: min(100%, calc(60dvh * 2750 / 1938)); height: auto; min-height: 0; max-height: 60dvh; object-fit: contain; }
.dialog-appeal-details { margin-top: 24px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.dialog-appeal-details h3 { margin-bottom: 12px; }
.dialog-appeal-details p { font-size: 15px; line-height: 1.75; color: var(--muted); }
.dialog-appeal-details .button { margin-top: 20px; }

/* 404 Not Found Card */
.not-found { min-height: 100svh; display: grid; place-items: center; padding: 40px 0; }
.not-found-card { max-width: 720px; padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.not-found-code { margin-top: 40px; color: var(--accent); font-size: clamp(64px, 12vw, 112px); font-weight: 800; line-height: 1; letter-spacing: -5px; }
.not-found h1 { margin: 20px 0 16px; font: 700 clamp(28px, 5vw, 42px)/1.2 var(--sans); overflow-wrap: anywhere; }
.not-found .button { margin-top: 28px; }
.not-found-languages { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; font-size: 14px; }
.not-found-languages a { padding: 10px 0; }

/* Progressive Enhancement & Animation */
.js-only { display: none; }
.enhanced .js-only { display: inline-flex; }
.enhanced .menu-toggle { display: none; }
.hero, .info-visual, .project-visual, .diagram, .bank-card, .parish-support-card, .calculator-section { --px: 0; --py: 0; --lit: 0; }
.is-tilting { --lit: 1; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .35s, border-color .35s; }
.motion-ready .reveal.will-reveal { opacity: 0; transform: translateY(22px); }
.motion-ready .way.reveal:nth-child(2), .motion-ready .project-card.reveal:nth-child(2) { transition-delay: .08s; }
.motion-ready .project-card.reveal:nth-child(3) { transition-delay: .16s; }

/* Depth and Light for Pointer Devices */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .depth-ready .info-visual { transform: perspective(1100px) rotateX(calc(var(--py) * -5deg)) rotateY(calc(var(--px) * 7deg)); transition: --px var(--glide), --py var(--glide), --lit .4s; }
  .depth-ready .info-visual::after { transition: --lit .4s; background: radial-gradient(320px circle at 100% 0, rgba(122, 167, 255, 0.18), transparent 70%), radial-gradient(260px circle at calc(50% + var(--px) * 100%) calc(50% + var(--py) * 100%), rgb(122 168 255 / calc(var(--lit) * .2)), transparent 70%); }
  .depth-ready .project-visual { transform: perspective(1000px) rotateX(calc(var(--py) * -6deg)) rotateY(calc(var(--px) * 8deg)); transition: --px var(--glide), --py var(--glide), --lit .4s, translate .4s var(--ease-out), box-shadow .4s var(--ease-out); }
  .depth-ready .project-card:hover .project-visual { translate: 0 -4px; transform: perspective(1000px) rotateX(calc(var(--py) * -6deg)) rotateY(calc(var(--px) * 8deg)); }
  .depth-ready .project-visual::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at calc(50% + var(--px) * 100%) calc(50% + var(--py) * 100%), rgb(255 255 255 / calc(var(--lit) * .28)), transparent 60%); }
  .depth-ready .diagram-card { transform: perspective(700px) rotateX(calc(var(--py) * -12deg)) rotateY(calc(var(--px) * 16deg)) rotate(-3deg); transition: --px var(--glide), --py var(--glide); }
  .depth-ready .diagram::before, .depth-ready .diagram::after { transition: --px var(--glide), --py var(--glide); }
  .depth-ready .diagram::before { translate: calc(var(--px) * -16px) calc(var(--py) * -16px); }
  .depth-ready .diagram::after { translate: calc(var(--px) * -28px) calc(var(--py) * -28px); }
  .depth-ready .bank-card, .depth-ready .parish-support-card { position: relative; isolation: isolate; }
  .depth-ready .bank-card::before, .depth-ready .parish-support-card::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; transition: --px .3s, --py .3s, --lit .4s; background: radial-gradient(360px circle at calc(50% + var(--px) * 100%) calc(50% + var(--py) * 100%), rgb(39 91 213 / calc(var(--lit) * .07)), transparent 70%); }
  .depth-ready .calculator-section::after { transition: --px var(--glide), --py var(--glide), --lit .5s; background: radial-gradient(560px circle at 88% 12%, rgba(76, 127, 240, 0.28), transparent 70%), radial-gradient(420px circle at 4% 100%, rgba(42, 169, 160, 0.16), transparent 70%), radial-gradient(380px circle at calc(50% + var(--px) * 100%) calc(50% + var(--py) * 100%), rgb(120 170 255 / calc(var(--lit) * .2)), transparent 70%); }
  .brand-mark { transition: transform .8s var(--ease-out); }
  .brand:hover .brand-mark { transform: perspective(300px) rotateY(360deg); }
}

@supports (animation-timeline: view()) {
  @media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
    .section-top h2 { transform-origin: 50% 100%; animation: heading-unfold linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    .way-num { animation: number-depth linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .project-visual img { scale: 1.12; animation: image-drift linear both; animation-timeline: view(); animation-range: cover; }
  }
}
@keyframes heading-unfold { from { transform: perspective(700px) rotateX(24deg) translateY(10px); } }
@keyframes number-depth { from { transform: perspective(500px) translateZ(-110px); opacity: .4; } }
@keyframes image-drift { from { translate: 0 -5%; } to { translate: 0 5%; } }

@media (prefers-reduced-motion: no-preference) {
  .calc-results.is-bump .calc-result-total strong { animation: value-bump .45s var(--ease-out); }
}
@keyframes value-bump { from { opacity: .55; translate: 0 5px; } }

/* Responsive Breakpoints */
@media (min-width: 1500px) {
  .hero-grid { gap: 85px; }
  .hero h1 { font-size: 72px; }
  .hero { padding-top: 68px; }
}

@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  .desktop-nav { gap: 18px; }
  .header-inner { gap: 22px; }
  .brand-text strong { font-size: 19px; }
  .brand-text small { font-size: 9px; }
  .hero-grid { gap: 48px; }
  .hero h1 { font-size: 60px; }
  .section-top { gap: 45px; }
  .calculator-grid, .donate-grid { gap: 52px; }
  .project-visual { height: 218px; }
  .video-grid { gap: 40px; }
  .guide-panel { padding: 28px; }
  .guide-grid { gap: 28px; }
  .bank-card { padding: 26px; }
  .faq-grid { gap: 55px; }
  .sources { gap: 45px; }
}

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .enhanced .menu-toggle { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .header-inner { min-height: 80px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero h1 { font-size: 50px; letter-spacing: -2px; }
  .hero .lead { font-size: 16px; }
  .section { padding-block: 76px; }
  .section-top { grid-template-columns: 1fr; gap: 24px; }
  .section-top p:not(.eyebrow) { max-width: 650px; font-size: 16px; }
  .ways .section-top { grid-template-columns: 1fr; }
  .calculator-grid { gap: 38px; }
  .calculator-controls { grid-template-columns: 1fr; }
  .calc-result-one { display: block; }
  .calc-result-one span { display: block; max-width: none; margin-top: 8px; }
  .calc-result-total strong { font-size: 64px; }
  .guide-grid { grid-template-columns: .8fr 1.2fr; gap: 20px; }
  .guide-tab span:nth-child(2) { font-size: 13px; }
  .guide-tab { gap: 10px; padding: 12px 14px; }
  .guide-panel { padding: 22px; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .video-shell { min-height: 320px; }
  .project-grid { gap: 20px; }
  .project-visual { height: 186px; }
  .donate-grid { grid-template-columns: 1fr 1.15fr; gap: 30px; }
  .bank-card { padding: 24px; }
  .bank-row-iban dd { font-size: 22px; }
  .faq-grid { grid-template-columns: .7fr 1.3fr; gap: 35px; }
  .sources { padding: 30px; gap: 35px; }
}

@media (max-width: 730px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; gap: 12px; }
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; border-radius: 10px; }
  .brand-text strong { font-size: 18px; }
  .brand-text small { font-size: 8.5px; letter-spacing: .3px; }
  .header-tools { gap: 9px; }
  .language summary { min-height: 40px; padding: 7px 11px; gap: 6px; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(42px, 9.4vw, 68px); letter-spacing: -2px; margin: 18px 0 22px; max-width: 600px; }
  .hero .lead { font-size: 16px; max-width: 610px; }
  .facts { margin-top: 24px; grid-template-columns: .6fr 1fr; gap: 16px; padding: 20px; border-radius: 16px; }
  .fact { padding-left: 16px; }
  .fact strong { font-size: 22px; }
  .fact small { font-size: 9px; }
  .fact:nth-child(3) { grid-column: 1/-1; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
  .fact:nth-child(3) small { margin-bottom: 0; }
  .fact-form { font-size: 19px !important; }
  .section { padding-block: 58px; }
  h2 { font-size: 34px; letter-spacing: -1.2px; }
  .ways-grid { grid-template-columns: 1fr; gap: 16px; }
  .way { grid-template-columns: 45px 1fr; gap: 16px; padding: 24px 20px; }
  .way-num { font-size: 28px; }
  .way h3 { font-size: 24px; }
  .calculator-section { padding: 54px 0; border-radius: 20px; margin: 16px 0 54px; }
  .calculator-grid { grid-template-columns: 1fr; gap: 32px; }
  .calculator-section h2 { font-size: 34px; }
  .calculator-controls { grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
  .calc-result-one strong { font-size: 46px; }
  .calc-result-total strong { font-size: 64px; }
  .guide-grid { grid-template-columns: 1fr; gap: 20px; }
  .enhanced .guide-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .guide-tab { min-height: 50px; justify-content: center; align-items: center; padding: 0; border-radius: 10px; }
  .guide-tab[aria-selected=true] { padding: 0; border-radius: 10px; }
  .guide-tab span:nth-child(2) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .guide-tab .icon { display: none; }
  .guide-tab .step-num { font-size: 18px; width: 34px; height: 34px; }
  .guide-panel { padding: 22px; border-radius: 16px; }
  .guide-controls .button { font-size: 12px; min-height: 44px; padding: 10px 15px; gap: 6px; }
  .diagram { height: 200px; }
  .diagram-card { min-width: 210px; padding: 20px 16px; }
  .diagram-card strong { font-size: 22px; }
  .guide-bottom { flex-direction: column; gap: 18px; margin-top: 10px; }
  .video-section { padding: 0 0 56px; }
  .video-grid { grid-template-columns: 1fr; gap: 28px; }
  .video-shell { min-height: 310px; aspect-ratio: auto; height: 340px; order: 2; border-radius: 18px; }
  .video-placeholder .button { max-width: 100%; }
  .project-grid { grid-template-columns: 1fr; gap: 28px; }
  .project-visual { height: 240px; }
  .donate-grid { grid-template-columns: 1fr; gap: 30px; }
  .bank-card { padding: 22px; border-radius: 18px; }
  .bank-row-iban dd { font-size: 23px; }
  .faq-grid { grid-template-columns: 1fr; gap: 26px; }
  .faq-grid h2 { position: static; }
  .sources { grid-template-columns: 1fr; gap: 22px; padding: 26px; }
  .contact-section { padding: 52px 0; }
  .contact-grid { flex-direction: column; gap: 24px; align-items: flex-start; }
  .contact-actions { align-items: flex-start; }
  .site-footer { padding: 28px 0 88px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 14px; }
  .parish-support { padding-bottom: 38px; }
  .parish-support-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; border-radius: 18px; }
  .toast { bottom: 88px; font-size: 12px; }
  .dialog-inner { padding: 22px; }
  .dialog-head h2 { font-size: 25px; }
  .dialog-foot { align-items: flex-start; flex-direction: column; }
  section[id] { scroll-margin-top: 95px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 7.5px; }
  .hero h1 { font-size: 38px; letter-spacing: -1.7px; }
  .hero-actions .button { font-size: 11px; padding: 12px 14px; }
  .percent-figure { font-size: 72px; }
  .fact strong { font-size: 19px; }
  .bank-card { padding: 18px; }
  .bank-row-iban dd { font-size: 20px; }
  .calculator-controls { gap: 16px; }
  .guide-panel { padding: 18px; }
  .guide-controls .button { padding: 9px 12px; font-size: 11px; }
}

/* Reduced Motion and Print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal.will-reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .hero::before, .project-visual::after, .bank-card::before, .parish-support-card::before, .calculator-section::after { display: none; }
  .percent-figure { background: none; color: CanvasText; }
  .hero h1 em { background: none; color: CanvasText; }
  input[type=range] { appearance: auto; }
  input[type=range]:focus-visible { outline-color: Highlight; }
}

@media print {
  body { font-size: 10pt; background: white; color: black; }
  .container { width: 100%; max-width: none; }
  .section, .contact-section { padding: 18pt 0; }
  .hero { padding-top: 0; }
  .hero-grid, .section-top, .ways-grid, .guide-grid, .video-grid, .project-grid, .donate-grid, .faq-grid, .sources { display: block; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: 32pt; line-height: 1.08; margin: 12pt 0; }
  .hero h1 span, .hero h1 em { display: inline; color: black; background: none; }
  .hero h1 em::before { content: ' '; }
  .hero .lead { font-size: 11pt; }
  .eyebrow { font-size: 8pt; margin-bottom: 8pt; }
  .eyebrow::before { display: none; }
  h2 { font-size: 24pt; margin-bottom: 12pt; }
  h3 { font-size: 17pt; }
  .facts { margin: 18pt 0 0; padding: 12pt 0; display: block; background: none; border: 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; border-radius: 0; box-shadow: none; }
  .fact { padding: 6pt 0; border-left: none; }
  .fact strong { font-size: 18pt; }
  .campaign-notice { font-size: 9pt; }
  .info-visual { display: none; }
  .ways { padding: 16pt 0; }
  .way { display: block; padding: 12pt 0; background: none; border: 0; border-bottom: 1px solid #ccc; box-shadow: none; }
  .way-num { display: none; }
  .tag { padding: 2pt 6pt; }
  .calculator-section { display: none; }
  .guide-panel, .enhanced .guide-panel:not(.is-active) { display: block !important; box-shadow: none; border: 0; border-bottom: 1px solid #ccc; border-radius: 0; padding: 10pt 0; margin: 0; break-inside: avoid; }
  .guide-panel .diagram { display: none; }
  .guide-panel h3 { font-size: 15pt; margin: 8pt 0; }
  .guide-panel>p { font-size: 10pt; }
  .guide-bottom { display: block; }
  .verification-note { margin: 8pt 0; font-size: 9pt; }
  .video-section { padding: 15pt 0; }
  .video-copy h2 { font-size: 22pt; }
  .video-copy .lead { font-size: 10pt; }
  .project-visual { display: none; }
  .project-card { margin-bottom: 15pt; break-inside: avoid; background: none; border: 0; box-shadow: none; }
  .project-content h3 { font-size: 17pt; }
  .project-content p:not(.project-kicker) { font-size: 10pt; min-height: 0; }
  .project-note { font-size: 9pt; }
  .help-section { background: none; border: 0; padding: 16pt 0; }
  .bank-card { padding: 15pt; box-shadow: none; margin-top: 15pt; break-inside: avoid; border: 1px solid #ccc; }
  .bank-row { padding: 7pt 0; }
  .bank-row dt { font-size: 8pt; }
  .bank-row dd { font-size: 10pt; }
  .bank-row-iban dd { font-size: 15pt; color: black; }
  .bank-card>.button { display: none; }
  .faq-list details { break-inside: avoid; }
  .faq-list summary { font-size: 11pt; padding: 8pt 0; }
  .faq-list summary::after { display: none; }
  .faq-list details>p { display: block !important; font-size: 10pt; padding: 0 0 8pt; }
  .faq-list details::details-content { content-visibility: visible; block-size: auto !important; }
  .sources { padding: 15pt; background: none; break-inside: avoid; border: 1px solid #ccc; }
  .sources ol { margin-top: 10pt; }
  .sources a { font-size: 9pt; min-height: 24pt; }
  .contact-grid { display: block; }
  .contact-grid h2 { font-size: 22pt; }
  .site-footer { padding: 16pt 0; }
  .footer-main { display: block; }
  .small-note { font-size: 9pt; }
  .reveal, .motion-ready .reveal.will-reveal { opacity: 1 !important; transform: none !important; }
  .button { font-size: 9pt; min-height: 0; padding: 3pt 0; border: 0; background: none; color: black; box-shadow: none; }
  .text-link { font-size: 9pt; min-height: 0; }
  .footer-main small { font-size: 8pt; }
  .site-header::after, .info-visual::after, .calculator-section::after, .hero::before, .project-visual::after, .bank-card::before, .parish-support-card::before { display: none; }
  .percent-figure { background: none; color: black; }
  .section-top h2, .way-num, .project-visual img, .diagram-card { animation: none !important; transform: none; translate: none; scale: none; }
  .project-actions [data-photo] { display: none !important; }
  .parish-support { padding: 12pt 0; }
  .parish-support-card { display: block; padding: 12pt; background: none; border: 1px solid #ccc; break-inside: avoid; }
  .parish-support-actions { margin-top: 10pt; }
  .guide-panel[hidden] { display: block !important; }
}
