:root {
  --ink: #080808;
  --ink-soft: #111111;
  --paper: #f7f4ef;
  --muted: #b9b5ae;
  --scarlet: #e10620;
  --scarlet-dark: #a90016;
  --line: rgba(255, 255, 255, 0.15);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { touch-action: manipulation; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.ambient {
  position: fixed;
  z-index: -2;
  width: 46vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--scarlet);
  filter: blur(150px);
  opacity: 0.18;
  pointer-events: none;
}
.ambient-one { top: -18vw; right: -18vw; animation: drift 12s ease-in-out infinite alternate; }
.ambient-two { bottom: 2vh; left: -30vw; opacity: 0.11; animation: drift 15s ease-in-out -4s infinite alternate-reverse; }
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.shell {
  width: min(100% - 28px, 760px);
  margin: 0 auto;
  padding: 18px 0 64px;
}

.profile { padding: 8px 4px 28px; }
.top-actions { display: flex; align-items: center; justify-content: space-between; margin-bottom: 42px; }
.place { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.place svg { width: 15px; }
.icon-button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}
.icon-button:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.1); transform: rotate(7deg); }
.icon-button svg { width: 19px; }

.identity { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 30px; align-items: end; }
.logo-wrap { position: relative; aspect-ratio: 1; }
.logo-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.orbit { position: absolute; inset: -8px; border: 1px solid rgba(225, 6, 32, .78); border-radius: 50%; animation: pulse 3.2s ease-in-out infinite; }
.orbit::after { content: ""; position: absolute; width: 8px; height: 8px; top: 11px; right: 12px; border-radius: 50%; background: var(--scarlet); box-shadow: 0 0 16px var(--scarlet); }
.kicker { margin: 0 0 8px; color: var(--scarlet); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 400; letter-spacing: -0.035em; line-height: .88; text-transform: uppercase; }
h1 { max-width: 570px; font-size: clamp(3.2rem, 13vw, 6.8rem); }
h1 span { color: var(--scarlet); }
.intro { max-width: 43ch; margin: 20px 0 0; color: var(--muted); font-size: 1rem; }

.primary-links, .secondary-links { display: grid; gap: 12px; }
.link-card, .compact-link {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 19, 19, .92);
  transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease;
}
.link-card::before, .compact-link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.07), transparent 70%); transform: translateX(-120%); transition: transform 700ms var(--ease); }
.link-card:hover::before, .compact-link:hover::before { transform: translateX(120%); }
.link-card:hover, .compact-link:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.38); }
.link-card:active, .compact-link:active, .social:active, .giving-actions a:active, .giving-actions button:active { transform: scale(.985); }
.feature { min-height: 104px; grid-template-columns: 58px 1fr 44px; gap: 16px; padding: 20px; }
.link-icon { position: relative; display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--scarlet); }
.link-icon svg { width: 24px; }
.link-copy { position: relative; display: grid; gap: 4px; }
.link-copy strong { font-size: 1.04rem; letter-spacing: -.01em; }
.link-copy small, .link-copy em { color: var(--muted); font-size: .78rem; font-style: normal; line-height: 1.35; }
.arrow { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform 240ms var(--ease), background 240ms ease; }
.link-card:hover .arrow { color: var(--ink); background: var(--paper); transform: rotate(8deg); }
.arrow svg { width: 19px; }

.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.social { display: grid; min-height: 90px; padding: 16px 8px; place-items: center; gap: 9px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.045); transition: color 220ms ease, background 220ms ease, transform 240ms var(--ease), border-color 220ms ease; }
.social img { width: 23px; height: 23px; transition: transform 280ms var(--ease), filter 220ms ease; }
.social span { font-size: .68rem; font-weight: 700; }
.social:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); transform: translateY(-3px); }
.social:hover img { filter: invert(1); transform: scale(1.14) rotate(-5deg); }

.podcast { min-height: 168px; grid-template-columns: 110px 1fr 44px; gap: 20px; padding: 22px; background: var(--scarlet); border-color: transparent; }
.podcast:hover { background: #f00b28; border-color: transparent; }
.podcast-art { position: relative; display: grid; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; background: rgba(0,0,0,.16); }
.podcast-art > svg { width: 34px; }
.sound-wave { position: absolute; right: 4px; bottom: 8px; display: flex; align-items: center; gap: 3px; height: 20px; padding: 4px 6px; border-radius: 12px; background: var(--ink); }
.sound-wave b { width: 2px; height: 4px; border-radius: 4px; background: var(--paper); animation: wave 900ms ease-in-out infinite alternate; }
.sound-wave b:nth-child(2) { animation-delay: -350ms; height: 11px; }
.sound-wave b:nth-child(3) { animation-delay: -150ms; height: 7px; }
.sound-wave b:nth-child(4) { animation-delay: -500ms; height: 13px; }
.podcast .link-copy small, .podcast .link-copy em { color: rgba(255,255,255,.78); }
.podcast .link-copy strong { font-size: clamp(1.55rem, 5vw, 2.35rem); line-height: 1.05; }
.podcast .arrow { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.visit { margin: 48px 0 12px; padding: 28px; color: var(--ink); border-radius: var(--radius); background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 28px; }
.section-heading h2 { font-size: clamp(2.7rem, 10vw, 5.4rem); }
.section-heading a { display: inline-flex; min-height: 46px; flex: 0 0 auto; align-items: center; gap: 8px; padding: 0 16px; border-radius: 999px; color: var(--paper); background: var(--ink); font-size: .76rem; font-weight: 800; }
.section-heading a svg { width: 16px; }
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border-radius: 15px; background: #d8d3cb; }
.schedule div { display: grid; min-height: 142px; padding: 18px; align-content: space-between; background: #ebe7e0; }
.schedule span { color: var(--scarlet-dark); font-size: .71rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.schedule strong { font-size: 1.5rem; }
.schedule small { color: #5e5a55; font-size: .72rem; line-height: 1.3; }
.address { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; color: #5b5752; font-size: .78rem; }
.address svg { width: 18px; color: var(--scarlet); }

.secondary-links { margin: 12px 0; }
.compact-link { min-height: 94px; grid-template-columns: 54px 1fr 22px; gap: 16px; padding: 18px 20px; }
.compact-link > svg { width: 18px; transition: transform 220ms var(--ease); }
.compact-link:hover > svg { transform: translate(2px, -2px); }
.compact-link .link-icon { width: 50px; height: 50px; color: var(--scarlet); background: rgba(225,6,32,.12); }

.giving { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; margin-top: 48px; padding: 30px; border: 1px solid rgba(225,6,32,.5); border-radius: var(--radius); background: linear-gradient(145deg, rgba(225,6,32,.12), rgba(17,17,17,.95) 48%); }
.giving-icon { display: grid; width: 50px; height: 50px; margin-bottom: 28px; place-items: center; border-radius: 50%; background: var(--scarlet); }
.giving-icon svg { width: 24px; }
.giving-copy p { margin: 0 0 8px; color: var(--scarlet); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.giving-copy h2 { font-size: clamp(2.7rem, 7vw, 4.5rem); }
.giving-copy > span:last-child { display: block; margin-top: 18px; color: var(--muted); font-size: .8rem; }
.giving-actions { display: grid; gap: 10px; align-content: center; }
.giving-actions a, .giving-actions button { display: flex; min-height: 86px; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; color: var(--paper); text-align: left; background: rgba(255,255,255,.045); cursor: pointer; transition: background 220ms ease, border-color 220ms ease, transform 220ms var(--ease); }
.giving-actions a:hover, .giving-actions button:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.1); }
.giving-actions span { display: grid; gap: 4px; }
.giving-actions small { color: var(--muted); font-size: .72rem; }
.giving-actions svg { width: 19px; flex: 0 0 auto; }

footer { display: grid; margin-top: 52px; padding: 28px 4px 0; border-top: 1px solid var(--line); color: var(--muted); }
footer > div { display: flex; align-items: center; gap: 16px; }
footer img { width: 58px; height: 58px; border-radius: 50%; }
footer p { margin: 0; font-size: .76rem; }
footer p strong { color: var(--paper); font-size: .86rem; }
footer > a { display: inline-flex; width: max-content; min-height: 44px; margin-top: 20px; align-items: center; gap: 8px; color: var(--paper); font-size: .82rem; font-weight: 700; }
footer > a svg { width: 17px; color: var(--scarlet); }
footer > small { margin-top: 30px; font-size: .66rem; }

.toast { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; min-height: 52px; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 60px rgba(0,0,0,.5); font-size: .78rem; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity 220ms ease, transform 280ms var(--ease); }
.toast.show { opacity: 1; transform: translateY(0); }
.toast svg { width: 18px; color: var(--scarlet); }

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }

:focus-visible { outline: 3px solid #ff5267; outline-offset: 4px; }

@keyframes pulse { 50% { transform: scale(1.045) rotate(4deg); opacity: .45; } }
@keyframes drift { to { transform: translate3d(8vw, 6vh, 0) scale(1.15); } }
@keyframes wave { to { height: 15px; } }

@media (max-width: 620px) {
  .shell { width: min(100% - 20px, 760px); padding-top: 12px; }
  .top-actions { margin-bottom: 28px; }
  .identity { grid-template-columns: 86px 1fr; gap: 18px; align-items: center; }
  .intro { grid-column: 1 / -1; margin-top: 18px; }
  .feature { grid-template-columns: 50px 1fr 40px; padding: 17px; }
  .feature .link-icon { width: 48px; height: 48px; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .social { min-height: 78px; grid-template-columns: 24px auto; justify-content: center; }
  .podcast { grid-template-columns: 76px 1fr; min-height: 146px; gap: 16px; padding: 18px; }
  .podcast .arrow { display: none; }
  .section-heading { display: grid; }
  .section-heading a { justify-self: start; }
  .visit { padding: 22px; }
  .schedule { grid-template-columns: 1fr; }
  .schedule div { min-height: 92px; grid-template-columns: 1fr auto; align-items: center; }
  .schedule small { grid-column: 1 / -1; }
  .giving { grid-template-columns: 1fr; padding: 24px; }
  .giving-icon { margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(255,255,255,.45); }
  .link-copy small, .link-copy em, .intro, footer { color: #ddd; }
}
