:root {
  /* Warm, hopeful, heartfelt. Compassion blue, warm action orange, tender coral. */
  --ink: oklch(27% 0.05 255);
  --ink-soft: oklch(45% 0.05 255);
  --paper: oklch(98.5% 0.012 250);
  --surface: oklch(100% 0 0);
  --line: oklch(90% 0.02 250);

  --heart: oklch(45% 0.13 256);         /* royal blue, brand and accents */
  --heart-dark: oklch(34% 0.11 258);    /* deep navy blue */
  --sunrise: oklch(74% 0.14 84);        /* warm gold */
  --gold: oklch(64% 0.14 82);           /* deeper gold, readable on white */
  --hope: oklch(52% 0.12 250);          /* blue accent */

  --text-hero: clamp(2.4rem, 1.1rem + 5vw, 4.8rem);
  --text-h2: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 7rem);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 1px 2px oklch(28% 0.03 40 / 0.05), 0 16px 40px oklch(28% 0.03 40 / 0.10);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, oklch(95% 0.05 84 / 0.6), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, oklch(96% 0.04 250 / 0.7), transparent 55%),
    var(--paper);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.1; letter-spacing: -0.01em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.7rem 1.2rem; border-radius: 0 0 12px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 1.05rem;
  padding: 0.95rem 1.8rem; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--ease) 200ms, box-shadow var(--ease) 200ms, background 200ms, border-color 200ms;
}
.btn-donate {
  background: linear-gradient(135deg, var(--sunrise), var(--gold));
  color: var(--heart-dark); box-shadow: 0 10px 24px oklch(64% 0.14 82 / 0.45);
}
.btn-donate:hover { transform: translateY(-2px); box-shadow: 0 14px 30px oklch(64% 0.14 82 / 0.55); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--heart); color: var(--heart-dark); transform: translateY(-2px); }
.btn-tickets { background: var(--heart); color: #fff; box-shadow: 0 8px 20px oklch(45% 0.13 256 / 0.35); }
.btn-tickets:hover { background: var(--heart-dark); transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--hope); outline-offset: 3px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: oklch(98.5% 0.015 70 / 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 0.45rem; text-decoration: none; }
.brand-mark { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.brand-name { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.6rem; color: var(--heart); }
.site-header nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); }
.site-header nav a { text-decoration: none; font-weight: 700; font-size: 0.98rem; color: var(--ink-soft); }
.site-header nav a:hover { color: var(--heart-dark); }
.site-header nav a.btn { color: var(--heart-dark); }
.site-header nav a.btn-tickets { color: #fff; }
.site-header nav a:focus-visible { outline: 3px solid var(--hope); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 740px) { .site-header nav a:not(.btn) { display: none; } }
@media (max-width: 480px) {
  .site-header { padding-left: 0.7rem; padding-right: 0.7rem; }
  .site-header nav { gap: 0.4rem; }
  .site-header .btn-sm { padding: 0.5rem 0.8rem; font-size: 0.82rem; }
  .brand-mark { display: none; }
}

/* HERO */
.hero {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(2rem, 3vw, 4rem) clamp(1rem, 4vw, 3rem) var(--space-section);
  max-width: 1200px; margin: 0 auto;
}
.hero-photo-wrap { position: relative; }
/* Rotating gold-and-blue halo: makes Fin the star of the page */
.hero-photo-wrap::before {
  content: ""; position: absolute; inset: -16px; z-index: 0;
  border-radius: 34px;
  background: conic-gradient(from 0deg, var(--sunrise), var(--hope), var(--gold), var(--heart), var(--sunrise));
  filter: blur(22px); opacity: 0.8;
  animation: haloSpin 9s linear infinite;
}
.hero-photo {
  width: 100%; height: auto; border-radius: var(--radius);
  box-shadow: 0 0 0 4px oklch(74% 0.14 84 / 0.55), var(--shadow-soft);
  object-fit: cover; aspect-ratio: 1 / 1;
  position: relative; z-index: 2;
  animation: finBreathe 7s var(--ease) infinite;
}
.hero-photo-glow {
  position: absolute; inset: -8% -8% auto -8%; height: 70%; z-index: 1;
  background: radial-gradient(closest-side, oklch(80% 0.14 84 / 0.5), transparent);
  filter: blur(30px);
}
@keyframes haloSpin { to { transform: rotate(1turn); } }
@keyframes finBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }
.eyebrow {
  display: inline-block; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 800; color: var(--heart); margin: 0 0 0.7rem;
}
.hero-text h1 { font-size: var(--text-hero); font-weight: 600; margin: 0 0 1.2rem; }
.hero-lead { font-size: clamp(1.08rem, 0.98rem + 0.4vw, 1.28rem); color: var(--ink-soft); max-width: 42ch; margin: 0 0 2rem; }

.progress-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-soft);
}
.progress-figures { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.raised { font-family: "Fraunces", serif; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 700; color: var(--heart-dark); }
.goal { font-size: 0.98rem; color: var(--ink-soft); font-weight: 600; }
.progress-track { height: 14px; background: oklch(93% 0.02 60); border-radius: 999px; overflow: hidden; margin: 1rem 0 0.7rem; }
.progress-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--heart), var(--gold)); transition: width 1.5s var(--ease); }
.progress-meta { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; gap: 0.5rem; }
.live-note { color: var(--hope); }
.hero-cta { display: flex; gap: 0.8rem; margin-top: 1.4rem; flex-wrap: wrap; }
.hero-cta .btn { flex: 1; min-width: 150px; }
.trust-line { font-size: 0.82rem; color: var(--ink-soft); margin: 1rem 0 0; text-align: center; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-photo-wrap { max-width: 380px; margin: 0 auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-text h1 { order: -1; }
}

/* STORY */
.story { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-inner { max-width: 700px; margin: 0 auto; padding: var(--space-section) clamp(1rem, 4vw, 2rem); }
.story h2 { font-size: var(--text-h2); margin: 0 0 0.3rem; }
.story-byline { color: var(--heart); font-weight: 800; margin: 0 0 2rem; }
.story-body p { font-size: 1.15rem; color: var(--ink); margin: 0 0 1.4rem; }
.story-pull {
  font-family: "Fraunces", serif !important; font-size: 1.7rem !important; font-weight: 600;
  color: var(--heart) !important; text-align: center; margin: 2.2rem 0 !important;
}
.story-sign { font-size: 1.15rem; color: var(--ink-soft); margin-top: 2rem; }

/* WHAT YOUR KINDNESS MAKES POSSIBLE */
.matters { background: linear-gradient(160deg, oklch(96% 0.05 84), oklch(97% 0.04 250)); }
.matters-inner { max-width: 1000px; margin: 0 auto; padding: var(--space-section) clamp(1rem, 4vw, 2rem); text-align: center; }
.matters h2 { font-size: var(--text-h2); margin: 0 0 2.5rem; }
.matters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.matter { background: var(--surface); border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow-soft); }
.matter-fig { font-family: "Fraunces", serif; font-size: 2rem; font-weight: 700; color: var(--heart-dark); margin: 0 0 0.5rem; }
.matter-label { color: var(--ink-soft); margin: 0; font-weight: 600; }
@media (max-width: 760px) { .matters-grid { grid-template-columns: 1fr; } }

/* FUNDRAISING BALL */
.ball { background: linear-gradient(165deg, var(--heart-dark), oklch(28% 0.08 258)); color: oklch(95% 0.01 250); }
.ball-inner {
  max-width: 1100px; margin: 0 auto; padding: var(--space-section) clamp(1rem, 4vw, 2rem);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.ball-poster img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 20px 50px oklch(0% 0 0 / 0.45); border: 1px solid oklch(100% 0 0 / 0.12); }
.ball-content .eyebrow { color: var(--sunrise); }
.ball-content h2 { font-size: var(--text-h2); color: #fff; margin: 0 0 1rem; }
.ball-intro { color: oklch(88% 0.01 250); font-size: 1.12rem; margin: 0 0 1.6rem; }
.ball-details { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 0.7rem; }
.ball-details li { color: oklch(90% 0.01 250); font-size: 1rem; }
.ball-details span {
  display: inline-block; min-width: 78px; color: var(--sunrise);
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.ball-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.ball .btn-ghost { background: transparent; color: #fff; border-color: oklch(100% 0 0 / 0.4); }
.ball .btn-ghost:hover { border-color: var(--sunrise); color: var(--sunrise); }
.ball-note { font-size: 0.85rem; color: oklch(78% 0.01 250); margin: 1.2rem 0 0; }
@media (max-width: 860px) {
  .ball-inner { grid-template-columns: 1fr; }
  .ball-poster { max-width: 420px; margin: 0 auto; }
}

/* HELP */
.help-inner { max-width: 1100px; margin: 0 auto; padding: var(--space-section) clamp(1rem, 4vw, 2rem); }
.help h2 { font-size: var(--text-h2); text-align: center; margin: 0 0 2.5rem; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.help-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; display: flex; flex-direction: column; gap: 0.8rem;
  transition: transform var(--ease) 250ms, box-shadow var(--ease) 250ms;
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.help-num { font-family: "Fraunces", serif; font-size: 1.2rem; color: var(--gold); font-weight: 700; }
.help-card h3 { font-size: 1.4rem; margin: 0; }
.help-card p { color: var(--ink-soft); margin: 0; flex: 1; }
.help-card .btn { margin-top: 0.5rem; }
.help-card--qr { text-align: center; align-items: center; }
.qr { margin: 0.5rem auto 0; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); width: 100%; max-width: 240px; height: auto; }
@media (max-width: 820px) { .help-grid { grid-template-columns: 1fr; } }

/* SUBSCRIBE */
.subscribe { background: linear-gradient(160deg, oklch(95% 0.06 250 / 0.6), oklch(97% 0.04 84)); }
.subscribe-inner { max-width: 540px; margin: 0 auto; padding: var(--space-section) clamp(1rem, 4vw, 2rem); text-align: center; }
.subscribe h2 { font-size: var(--text-h2); margin: 0 0 0.6rem; }
.subscribe-inner > p { color: var(--ink-soft); margin: 0 0 2rem; font-weight: 600; }
.subscribe-form { display: grid; gap: 1rem; text-align: left; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.88rem; font-weight: 800; color: var(--ink-soft); }
.field input {
  padding: 0.9rem 1rem; border: 2px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; background: var(--surface); transition: border-color 200ms, box-shadow 200ms;
}
.field input:focus { outline: none; border-color: var(--hope); box-shadow: 0 0 0 3px oklch(58% 0.10 220 / 0.2); }
.gotcha { position: absolute; left: -9999px; }
.form-note { text-align: center; font-size: 1rem; min-height: 1.3em; margin: 0.3rem 0 0; font-weight: 700; }
.form-note.ok { color: var(--hope); }
.form-note.err { color: var(--heart-dark); }

/* FOOTER */
.site-footer { background: var(--ink); color: oklch(88% 0.01 60); text-align: center; padding: 3.2rem 1.5rem; }
.footer-tag { font-family: "Fraunces", serif; font-size: 1.8rem; color: var(--gold); margin: 0 0 0.4rem; }
.site-footer p { margin: 0.35rem 0; font-size: 0.98rem; }
.footer-links { margin-top: 1rem !important; display: flex; gap: 0.8rem; justify-content: center; }
.footer-links a { color: #fff; font-weight: 700; }
.footer-links a:hover { color: var(--gold); }
.footer-fine { margin-top: 1.5rem !important; font-size: 0.82rem; color: oklch(64% 0.01 60); max-width: 42ch; margin-left: auto; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress-fill { transition: none; }
  .btn:hover, .help-card:hover { transform: none; }
  .hero-photo-wrap::before, .hero-photo { animation: none; }
  * { background-attachment: scroll; }
}
