/* =================================================================
   Faithfully Fit Moms — Bible Study Hub styles
   You should not need to edit this file for monthly updates.
   Brand colors live in the :root block right below if you ever
   want to adjust them.
   ================================================================= */

:root {
  /* Brand palette */
  --cream:      #FBF4ED;
  --cream-hi:   #FFFCF9;
  --white:      #FFFFFF;
  --blush:      #FBE1DD;
  --blush-deep: #F3C4C2;
  --nude:       #F1DCCC;
  --pink:       #E8267E;   /* hot pink — accents */
  --pink-ink:   #C4185F;   /* deeper pink — buttons & links (accessible contrast) */
  --rosewood:   #6E1B3D;   /* headings */
  --plum:       #3A0F1F;   /* body text (matches the logo wordmark) */
  --mauve:      #8A5C6E;   /* secondary text */
  --champagne:  #E4B98F;
  --gold:       #C98A2B;
  --hairline:   #EBD3C6;

  /* Type */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body:    "Lora", Georgia, "Times New Roman", serif;
  --font-ui:      "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-number:  "Big Shoulders Display", "Big Shoulders", "Oswald", "Arial Narrow", sans-serif;

  /* Layout */
  --container: 1120px;
  --narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(4rem, 10vw, 7.5rem);
  --header-h: 68px;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 1px 2px rgba(110, 27, 61, .04), 0 18px 48px -24px rgba(110, 27, 61, .22);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18px — large and easy to read */
  line-height: 1.7;
  color: var(--plum);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--rosewood); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--pink-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rosewood); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blush-deep); color: var(--plum); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--rosewood); color: var(--white); padding: .75rem 1.25rem; border-radius: 999px;
  font-family: var(--font-ui); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding: var(--section-y) 0; position: relative; }

/* Placeholders: dashed so they are easy to spot and replace */
.placeholder {
  display: inline;
  font-family: var(--font-ui);
  font-size: .85em;
  font-style: normal;
  color: var(--mauve);
  background: rgba(251, 225, 221, .55);
  border: 1px dashed var(--blush-deep);
  border-radius: 6px;
  padding: .1em .45em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.75rem;
  font-family: var(--font-ui); font-size: 1rem; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--pink-ink); color: var(--white); box-shadow: 0 10px 24px -12px rgba(196, 24, 95, .7); }
.btn--primary:hover { background: var(--rosewood); color: var(--white); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--rosewood); border-color: var(--champagne); }
.btn--ghost:hover { background: var(--white); color: var(--rosewood); border-color: var(--rosewood); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.text-link { font-family: var(--font-ui); font-weight: 500; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 244, 237, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--hairline); box-shadow: 0 6px 24px -18px rgba(110, 27, 61, .35); }
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 36px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); color: var(--rosewood); font-size: 1.05rem; }
.brand-sub { font-family: var(--font-ui); color: var(--mauve); font-size: .78rem; letter-spacing: .04em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav a {
  display: block; padding: .5rem .85rem; border-radius: 999px;
  font-family: var(--font-ui); font-size: .95rem; font-weight: 500; color: var(--plum); text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.site-nav a:hover { background: var(--blush); color: var(--rosewood); }
.site-nav a[aria-current="true"] { color: var(--pink-ink); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 50%;
  cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 22px; height: 2px; background: var(--rosewood); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; transform: translateX(-50%); }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translate(-50%, 7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translate(-50%, -7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--cream-hi); border-bottom: 1px solid var(--hairline);
    box-shadow: 0 24px 40px -24px rgba(110, 27, 61, .35);
    padding: .5rem var(--gutter) 1.25rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); transition: opacity .25s ease, transform .25s ease; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--hairline); }
  .site-nav a { padding: 1rem .25rem; font-size: 1.1rem; border-radius: 0; }
  .site-nav a:hover { background: transparent; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 6.5rem);
  background: radial-gradient(ellipse at 50% 30%, var(--cream-hi) 0%, var(--cream) 62%);
}
.hero-shape { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(.3px); }
.hero-shape--blush {
  width: clamp(260px, 42vw, 560px); aspect-ratio: 1.15;
  top: -12%; right: -14%;
  background: radial-gradient(circle at 35% 40%, var(--blush) 0%, var(--blush-deep) 70%, transparent 71%);
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%;
  opacity: .75;
}
.hero-shape--nude {
  width: clamp(220px, 36vw, 480px); aspect-ratio: 1;
  bottom: -18%; left: -12%;
  background: radial-gradient(circle at 60% 40%, var(--nude) 0%, #E9CDB9 72%, transparent 73%);
  border-radius: 46% 54% 40% 60% / 58% 44% 56% 42%;
  opacity: .6;
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }
.hero-logo { width: clamp(170px, 30vw, 250px); margin: 0 auto clamp(1.5rem, 4vw, 2.25rem); }
.hero-title {
  font-size: clamp(2rem, 7.2vw, 4.25rem);
  line-height: 1.08; letter-spacing: -.01em; color: var(--rosewood);
  text-wrap: balance;
}
.hero-title .nowrap { white-space: nowrap; }
@media (max-width: 370px) { .hero-title .nowrap { white-space: normal; } }
.hero-tagline {
  font-family: var(--font-body); font-style: italic; color: var(--pink-ink);
  font-size: clamp(1.25rem, 3.2vw, 1.6rem); margin: .85rem 0 1.5rem;
}
.hero-welcome { max-width: 60ch; margin: 0 auto 1.75rem; color: var(--plum); font-size: clamp(1.08rem, 2.4vw, 1.2rem); }

.next-pill {
  display: inline-flex; align-items: center; gap: .75rem; flex-wrap: wrap; justify-content: center;
  margin: 0 0 2rem; padding: .55rem 1.25rem .55rem .55rem;
  background: var(--white); border: 1px solid var(--hairline); border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.next-pill-label {
  font-family: var(--font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); background: var(--pink-ink); padding: .4rem .85rem; border-radius: 999px;
}
.next-pill-date { font-family: var(--font-ui); font-weight: 600; color: var(--rosewood); font-size: 1rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* The one orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo, .hero-title, .hero-tagline, .hero-welcome, .next-pill, .hero-actions {
    animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
  }
  .hero-logo     { animation-name: bloom; animation-duration: 1.1s; }
  .hero-title    { animation-delay: .18s; }
  .hero-tagline  { animation-delay: .32s; }
  .hero-welcome  { animation-delay: .44s; }
  .next-pill     { animation-delay: .56s; }
  .hero-actions  { animation-delay: .64s; }
  .hero-shape--blush { animation: drift 18s ease-in-out infinite alternate; }
  .hero-shape--nude  { animation: drift 22s ease-in-out infinite alternate-reverse; }
}
@keyframes rise  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bloom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-18px, 14px) rotate(6deg); } }

/* ---------- Section headings ---------- */
.section-title { font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: .6rem; text-wrap: balance; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.2rem); color: var(--mauve); max-width: 60ch; }
.section-kicker {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--pink-ink); margin-bottom: 1.75rem;
}
.section-kicker::before, .section-kicker::after { content: ""; width: 44px; height: 1px; background: var(--champagne); }

/* ---------- Current study ---------- */
.current { background: linear-gradient(var(--cream) 0%, var(--blush) 140%); }
.study-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid rgba(235, 211, 198, .6);
}
.study-head {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: center;
  padding-bottom: clamp(1.5rem, 4vw, 2.25rem); border-bottom: 1px solid var(--hairline);
}
.study-date { margin: 0; }

/* Calendar block (built automatically from the date) */
.date-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 132px; padding: 1rem 1.1rem 1.1rem;
  background: var(--cream); border-radius: var(--radius-md); border: 1px solid var(--hairline);
  text-align: center; line-height: 1;
}
.date-month { font-family: var(--font-ui); font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rosewood); }
.date-day { font-family: var(--font-number); font-weight: 800; font-size: 5.5rem; color: var(--pink); line-height: .9; margin: .3rem 0 .25rem; }
.date-weekday { font-family: var(--font-body); font-style: italic; font-size: 1rem; color: var(--mauve); }
.date-year { font-family: var(--font-ui); font-size: .8rem; color: var(--mauve); letter-spacing: .1em; margin-top: .3rem; }

.study-topic { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.12; margin-bottom: .6rem; text-wrap: balance; }
.study-intro { font-size: clamp(1.08rem, 2.3vw, 1.25rem); color: var(--plum); margin: 0; }

.meeting-details {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 0;
  border-bottom: 1px solid var(--hairline);
}
.meeting-item { padding: 1.4rem 1.25rem 1.4rem 0; }
.meeting-item + .meeting-item { padding-left: 1.25rem; border-left: 1px solid var(--hairline); }
.meeting-details dt { font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-ink); margin-bottom: .35rem; }
.meeting-details dd { margin: 0; font-size: 1.08rem; color: var(--plum); }

.key-scripture {
  margin: clamp(2rem, 5vw, 3rem) auto; max-width: 46rem; text-align: center; position: relative;
  padding: 0 clamp(0rem, 3vw, 2rem);
}
.key-scripture::before {
  content: "“"; display: block; font-family: var(--font-display); font-size: 4.5rem; line-height: .6; color: var(--champagne); margin-bottom: .6rem;
}
.key-scripture blockquote { margin: 0; }
.key-scripture blockquote p { font-family: var(--font-body); font-style: italic; font-size: clamp(1.3rem, 3.4vw, 1.75rem); line-height: 1.5; color: var(--rosewood); margin: 0 0 .9rem; }
.key-scripture cite { font-family: var(--font-ui); font-style: normal; font-weight: 600; letter-spacing: .08em; color: var(--pink-ink); font-size: .95rem; }

.study-columns { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1rem, 3vw, 1.75rem); }
.study-block, .prepare {
  background: var(--cream-hi); border: 1px solid var(--hairline); border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3.5vw, 2rem);
}
.block-title { font-size: 1.35rem; margin-bottom: .5rem; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.block-note { font-size: .95rem; color: var(--mauve); margin: 0 0 .75rem; font-style: italic; }
.optional-tag, .optional {
  font-family: var(--font-ui); font-size: .78rem; font-weight: 500; color: var(--mauve);
  background: var(--cream); border: 1px solid var(--hairline); border-radius: 999px; padding: .1rem .6rem; letter-spacing: .02em;
  vertical-align: middle;
}
.study-block > p:last-child, .prepare > p:last-child { margin-bottom: 0; }

.reading-list { list-style: none; margin: 0; padding: 0; }
.reading-list li { border-top: 1px solid var(--hairline); }
.reading-list li:first-child { border-top: 0; }
.reading-list li > span.plain, .reading-list li > .placeholder { display: inline-block; margin: .7rem 0; }
.reading-item { display: flex; align-items: center; gap: .85rem; padding: .75rem 0; cursor: pointer; font-family: var(--font-body); font-weight: 400; font-size: 1.1rem; color: var(--plum); }
.reading-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.reading-box {
  flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--blush-deep); background: var(--white);
  display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease;
}
.reading-box svg { width: 14px; height: 14px; stroke: var(--white); stroke-width: 3; fill: none; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.reading-item input:checked + .reading-box { background: var(--pink-ink); border-color: var(--pink-ink); }
.reading-item input:checked + .reading-box svg { opacity: 1; transform: none; }
.reading-item input:checked ~ .reading-text { color: var(--mauve); text-decoration: line-through; text-decoration-color: var(--blush-deep); }
.reading-item input:focus-visible + .reading-box { outline: 3px solid var(--pink); outline-offset: 2px; }
.reading-progress { font-family: var(--font-ui); font-size: .85rem; color: var(--mauve); margin: .5rem 0 0; }

.prepare {
  margin-top: clamp(1rem, 3vw, 1.75rem);
  background: var(--blush); border-color: transparent; position: relative;
}
.prepare p { font-size: clamp(1.08rem, 2.2vw, 1.18rem); }

.questions { margin-top: clamp(1rem, 3vw, 1.75rem); }
.question-list { margin: .5rem 0 0; padding: 0; list-style: none; counter-reset: q; }
.question-list li {
  counter-increment: q; position: relative; padding: .85rem 0 .85rem 2.75rem; border-top: 1px solid var(--hairline);
}
.question-list li:first-child { border-top: 0; }
.question-list li::before {
  content: counter(q); position: absolute; left: 0; top: .85rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-ui); font-weight: 600; font-size: .9rem; color: var(--pink-ink); background: var(--blush);
}

.study-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(1.75rem, 4vw, 2.5rem); }

/* ---------- Split layout (RSVP) ---------- */
.rsvp { background: var(--white); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.rsvp-for {
  margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--pink); background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; display: flex; flex-direction: column; gap: .2rem;
}
.rsvp-for-label { font-family: var(--font-ui); font-size: .85rem; color: var(--mauve); }
.rsvp-for strong { font-family: var(--font-display); font-weight: 400; color: var(--rosewood); font-size: 1.3rem; line-height: 1.3; }
.rsvp-for [data-fill="date"] { font-family: var(--font-ui); font-weight: 600; color: var(--pink-ink); font-size: .95rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft); padding: clamp(1.5rem, 5vw, 2.75rem);
}
.rsvp .form-card { background: var(--cream-hi); }
.reflection { background: var(--cream); }
.reflection .lead { margin-bottom: 2rem; }

.ffm-form { display: grid; gap: 1.35rem; }
.field { display: grid; gap: .45rem; margin: 0; min-width: 0; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
label, legend { font-family: var(--font-ui); font-weight: 600; font-size: 1rem; color: var(--rosewood); line-height: 1.4; }
legend { padding: 0; margin-bottom: .65rem; float: left; width: 100%; }
legend + * { clear: both; }
.field > label { display: flex; align-items: center; flex-wrap: wrap; gap: .1rem .4rem; min-height: 1.85rem; }
.optional { margin-left: 0; font-weight: 500; line-height: 1.3; padding: .05rem .55rem; font-size: .74rem; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; font-family: var(--font-body); font-size: 1.0625rem; /* ≥16px prevents iPhone zoom */
  color: var(--plum); background: var(--white);
  border: 1.5px solid var(--hairline); border-radius: var(--radius-sm);
  padding: .8rem 1rem; min-height: 52px; transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
input:hover, textarea:hover { border-color: var(--blush-deep); }
input:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(232, 38, 126, .14); }
input:disabled { background: var(--cream); color: var(--mauve); }
.field.has-error input, .field.has-error textarea { border-color: #B3263E; }
.field-error { margin: 0; font-family: var(--font-ui); font-size: .9rem; color: #A11F37; min-height: 0; }
.field-error:empty { display: none; }

/* Pill choices (radio buttons) */
.choices { display: flex; flex-wrap: wrap; gap: .65rem; }
.choices--stack { margin-bottom: 1.1rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .65rem 1.25rem .65rem 1rem;
  font-family: var(--font-ui); font-weight: 500; font-size: 1rem; color: var(--plum);
  background: var(--white); border: 1.5px solid var(--hairline); border-radius: 999px;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.choice span::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--blush-deep); background: var(--white);
  transition: border-width .2s ease, border-color .2s ease;
}
.choice:hover span { border-color: var(--blush-deep); }
.choice input:checked + span { border-color: var(--pink-ink); background: var(--blush); color: var(--rosewood); }
.choice input:checked + span::before { border: 5.5px solid var(--pink-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.choice-group.has-error .choice span { border-color: #B3263E; }

/* Checkbox */
.check { display: flex; gap: .85rem; align-items: flex-start; cursor: pointer; font-weight: 500; color: var(--plum); font-size: 1rem; line-height: 1.5; }
.check input {
  flex: none; -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin: .05rem 0 0;
  border: 1.5px solid var(--blush-deep); border-radius: 7px; background: var(--white); display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.check input::after {
  content: ""; width: 7px; height: 12px; border: solid var(--white); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.check input:checked { background: var(--pink-ink); border-color: var(--pink-ink); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.form-section { padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.form-section:first-of-type { padding-top: 0; border-top: 0; }
.form-section-title { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--rosewood); margin-bottom: 1rem; }
.form-section > .field + .field { margin-top: 1.25rem; }
.form-section .check { margin-top: 1.1rem; }
.anon-note { font-size: 1rem; color: var(--mauve); font-style: italic; margin: 0; }
.group-error { margin-top: 1rem; }
.identity-fields { transition: opacity .25s ease; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Submit states */
.btn-spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: var(--white);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin: 0; font-family: var(--font-ui); font-size: .98rem; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-error {
  color: #8E1B30; background: #FDF0F1; border: 1px solid #F3C9CF; padding: .9rem 1rem; border-radius: var(--radius-sm); text-align: left;
}

.form-success { text-align: center; padding: clamp(1rem, 4vw, 2rem) .5rem; }
.form-success:focus { outline: none; }
.success-icon {
  width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--blush);
  display: grid; place-items: center;
}
.success-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--pink-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: .75rem; }
.form-success p { color: var(--plum); max-width: 46ch; margin: 0 auto 1.5rem; font-size: 1.1rem; }
.form-success .text-link { background: none; border: 0; cursor: pointer; text-decoration: underline; color: var(--pink-ink); padding: .5rem; }
@media (prefers-reduced-motion: no-preference) {
  .form-success { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .success-icon { animation: bloom .7s cubic-bezier(.3, 1.4, .5, 1) .1s both; }
}

/* ---------- Prayer ---------- */
.prayer { background: var(--blush); overflow: hidden; }
.prayer::before, .prayer::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%);
}
.prayer::before { width: 420px; height: 420px; top: -180px; left: -120px; }
.prayer::after { width: 360px; height: 360px; bottom: -160px; right: -100px; }
.prayer-inner { text-align: center; position: relative; max-width: 820px; }
.prayer-verse {
  font-family: var(--font-body); font-style: italic; font-size: clamp(1.35rem, 3.6vw, 1.8rem); color: var(--rosewood); margin: 1rem 0 1.25rem;
}
.prayer-ref { display: block; font-family: var(--font-ui); font-style: normal; font-size: .9rem; font-weight: 600; letter-spacing: .08em; color: var(--pink-ink); margin-top: .35rem; }
.prayer .lead { margin: 0 auto 2rem; color: var(--plum); }

/* ---------- Past studies ---------- */
.past { background: var(--white); }
.past .lead { margin-bottom: 2.5rem; }
.past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; align-items: start; }
.past-card {
  background: var(--cream-hi); border: 1px solid var(--hairline); border-radius: var(--radius-md);
  padding: 1.75rem 1.6rem 1.4rem; position: relative; overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.past-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--pink), var(--champagne)); }
.past-card:hover { border-color: var(--blush-deep); box-shadow: var(--shadow-soft); }
.past-date { font-family: var(--font-ui); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mauve); margin-bottom: .5rem; }
.past-title { font-size: 1.55rem; margin-bottom: .4rem; }
.past-scripture { font-style: italic; color: var(--pink-ink); margin-bottom: .75rem; }
.past-desc { font-size: 1.02rem; color: var(--plum); }
.past-details { border-top: 1px solid var(--hairline); margin-top: 1rem; }
.past-details summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0 .4rem; font-family: var(--font-ui); font-weight: 600; color: var(--pink-ink); font-size: 1rem;
  min-height: 48px;
}
.past-details summary::-webkit-details-marker { display: none; }
.past-details summary::after {
  content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-3px); transition: transform .3s ease;
}
.past-details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.past-details[open] summary .summary-closed { display: none; }
.past-body { padding: .5rem 0 .5rem; }
.past-body h4 { font-family: var(--font-ui); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rosewood); margin: 1rem 0 .4rem; }
.past-body ul, .past-body ol { margin: 0; padding-left: 1.25rem; }
.past-body li { margin: .25rem 0; font-size: 1.02rem; }
.past-body li::marker { color: var(--pink); }
@media (prefers-reduced-motion: no-preference) {
  .past-details[open] .past-body { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
}

/* ---------- Stay connected ---------- */
.connect { background: var(--cream); }
.connect .lead { margin-bottom: 2.5rem; }
.connect-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.connect-item {
  height: 100%; display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem 1.4rem;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-md);
  text-decoration: none; color: var(--plum); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.connect-item:hover { border-color: var(--blush-deep); transform: translateY(-2px); box-shadow: var(--shadow-soft); color: var(--plum); }
.connect-icon {
  width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--blush); margin-bottom: .75rem;
  fill: none; stroke: var(--pink-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.connect-label { font-family: var(--font-display); font-size: 1.25rem; color: var(--rosewood); }
.connect-value { font-family: var(--font-ui); font-size: .95rem; color: var(--mauve); word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rosewood); color: #F6E4E3; text-align: center; padding: clamp(3.5rem, 8vw, 5rem) 0 2.5rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-mark { width: 76px; height: 76px; object-fit: contain; padding: 12px 14px; margin-bottom: 1.1rem; background: var(--cream); border-radius: 50%; }
.footer-name { font-family: var(--font-display); font-size: 1.75rem; color: var(--white); margin-bottom: .35rem; }
.footer-pillars { font-family: var(--font-ui); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blush-deep); margin-bottom: 2rem; }
.footer-pillars span { color: var(--champagne); margin: 0 .35em; }
.footer-legal { font-family: var(--font-ui); font-size: .9rem; color: #E9CBD1; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-top { font-family: var(--font-ui); font-size: .9rem; color: var(--white); }
.footer-top:hover { color: var(--blush-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split-intro { position: static; }
  .connect-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --header-h: 62px; }
  body { font-size: 1.0625rem; }
  .study-head { grid-template-columns: 1fr; text-align: left; }
  .date-block {
    display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto auto;
    column-gap: .9rem; row-gap: .15rem; align-items: center; justify-items: start; text-align: left;
    min-width: 0; padding: .85rem 1.25rem .85rem 1rem;
  }
  .date-day { grid-row: 1 / 4; grid-column: 1; font-size: 3.8rem; margin: 0; }
  .date-month { grid-column: 2; font-size: .9rem; align-self: end; }
  .date-weekday { grid-column: 2; }
  .date-year { grid-column: 2; margin: 0; align-self: start; }
  .next-pill { border-radius: 22px; flex-direction: column; gap: .45rem; padding: .7rem 1.4rem .8rem; }
  .meeting-details { grid-template-columns: 1fr; }
  .meeting-item, .meeting-item + .meeting-item { padding: 1.05rem 0; border-left: 0; }
  .meeting-item + .meeting-item { border-top: 1px solid var(--hairline); }
  .study-columns { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .study-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .study-cta .btn, .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; max-width: 360px; margin: 0 auto; }
  .brand-name { font-size: 1rem; }
}

@media (max-width: 480px) {
  .connect-grid { grid-template-columns: 1fr; }
  .connect-item { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 1rem; padding: 1.1rem 1.2rem; }
  .connect-icon { margin: 0; }
  .connect-item .connect-label { flex: 1; }
  .connect-item .connect-value { flex-basis: 100%; padding-left: calc(46px + 1rem); margin-top: -.6rem; }
  .choices .choice { flex: 1 1 auto; }
  .choices .choice span { width: 100%; }
  .footer-pillars { letter-spacing: .08em; font-size: .74rem; }
  .footer-pillars span { margin: 0 .2em; }
}

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

@media print {
  .site-header, .hero-actions, .rsvp, .reflection, .prayer .btn, .connect, .hero-shape { display: none !important; }
  body { background: #fff; }
}
