/* =====================================================================
   BuildYourSnow Church Outreach — "Break of Day" shared theme
   Flat, borderless, warm. Gradient is reserved for the hero only;
   every other surface is a solid colour. Shared by all outreach
   content pages (apply, impact, donate, volunteer, faq, contact).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  --plum: #2e0f33;
  --wine: #6e1e4e;
  --rose: #c23e63;
  --coral: #ec6a4e;
  --amber: #f7b34d;
  --halo: #ffe6ae;

  --ivory: #fbf6ef;
  --ivory-2: #f4ead9;
  --ink: #34212f;
  --ink-soft: #715a66;
  --gold: #d98a24;
  --white: #ffffff;
  --line: rgba(52, 33, 47, 0.12);

  --dawn:
    radial-gradient(135% 118% at 83% 20%, rgba(255, 233, 178, 0.96) 0%, rgba(247, 179, 77, 0.55) 15%, rgba(240, 122, 75, 0.32) 33%, rgba(110, 30, 78, 0) 58%),
    radial-gradient(120% 120% at 9% -6%, rgba(46, 15, 51, 0.94) 0%, rgba(46, 15, 51, 0) 56%),
    radial-gradient(150% 120% at 55% 120%, rgba(240, 122, 75, 0.4) 0%, rgba(240, 122, 75, 0) 52%),
    linear-gradient(146deg, #2e0f33 0%, #5c1a46 26%, #a5325a 52%, #e06a43 80%, #f7b34d 100%);

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-ui: 'Hanken Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;

  --r-pill: 999px;
  --shadow-glow: 0 18px 44px -16px rgba(236, 106, 78, 0.5);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ivory); }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, calc(100% - 44px)); margin-inline: auto; }
.container-narrow { width: min(760px, calc(100% - 44px)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--coral);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* Type helpers ---------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
}
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.07;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--rose); }
.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.6;
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -16px rgba(236, 106, 78, 0.6); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid rgba(52, 33, 47, 0.26); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-3px); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* Top bar (transparent over hero, frosts on scroll) --------------------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.topbar.is-scrolled {
  background: rgba(37, 12, 42, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.7);
}
.topbar-inner {
  width: min(1120px, calc(100% - 44px));
  min-height: var(--nav-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; white-space: nowrap; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--coral);
  box-shadow: 0 8px 20px -8px rgba(236, 106, 78, 0.7);
  flex: none;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand .brand-mark,
.footer-brand .brand-mark {
  display: none;
}
.brand-word { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-word span { color: var(--amber); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.9rem;
  font-weight: 600;
}
.nav a { color: rgba(255, 255, 255, 0.82); padding: 8px 2px; position: relative; transition: color 0.2s var(--ease); }
.nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .btn-back {
  margin-left: 4px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 26px -12px rgba(236, 106, 78, 0.7);
}
.nav .btn-back::after { display: none; }
.nav .btn-back:hover { transform: translateY(-2px); }

/* Temporarily hidden until these outreach sections are ready to show again. */
.nav a[href="impact.html"],
.nav a[href="donate.html"],
.nav a[href="volunteer.html"],
.nav a[href="faq.html"],
.footer-nav a[href="impact.html"],
.footer-nav a[href="donate.html"],
.footer-nav a[href="volunteer.html"],
.footer-nav a[href="faq.html"] {
  display: none !important;
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.nav-toggle-bar { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Page hero (gradient — the one place a gradient lives) ------------------ */
.page-hero {
  position: relative;
  background: var(--dawn);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.page-hero-inner {
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 60px) 0 clamp(96px, 13vw, 168px);
  position: relative;
  z-index: 2;
}
.page-hero .kicker,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--halo);
}
.page-hero .kicker::before,
.hero-kicker::before {
  content: '';
  width: 26px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: 0.7;
}
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.page-hero h1 em { font-style: italic; color: var(--halo); }
.page-hero .lead {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.86);
}
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(64px, 8vw, 116px);
  z-index: 3;
  display: block;
}

/* Generic section rhythm ------------------------------------------------ */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head.center { text-align: center; }

/* Flat stat metrics ----------------------------------------------------- */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(40px, 8vw, 100px);
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.5rem, 12vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--coral);
}
.stat-label {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Flat list rows (partners, ledgers) ------------------------------------ */
.flat-list { display: flex; flex-direction: column; }
.flat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.flat-row:first-child { border-top: 1px solid var(--line); }
.flat-row-name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.flat-row-meta { margin-top: 3px; color: var(--ink-soft); font-size: 0.95rem; }
.flat-row-link {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--rose);
  transition: gap 0.22s var(--ease);
}
.flat-row-link::after { content: '→'; transition: transform 0.22s var(--ease); }
.flat-row:hover .flat-row-link { color: var(--coral); }
.flat-row:hover .flat-row-link::after { transform: translateX(4px); }

/* Feature columns (flat) ------------------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}
.feature { display: flex; flex-direction: column; }
.feature-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(236, 106, 78, 0.12);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon .stroke { fill: none; stroke: var(--rose); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.feature p { margin: 0; color: var(--ink-soft); }

/* Forms (flat controls) ------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.label { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(236, 106, 78, 0.16);
}
.input::placeholder, .textarea::placeholder { color: rgba(52, 33, 47, 0.4); }
.help-text { font-size: 0.86rem; color: var(--ink-soft); }
.form-status { font-weight: 600; }

/* ======================================================================
   Unique page treatments: Apply, FAQ, Contact
   ====================================================================== */
.page-apply {
  background:
    linear-gradient(90deg, rgba(236, 106, 78, 0.045) 0 1px, transparent 1px 100%) 0 0 / 72px 72px,
    linear-gradient(180deg, #fbf6ef, #f8efe1 48%, #fbf6ef);
}

.page-apply .page-hero {
  text-align: left;
  background:
    radial-gradient(70% 90% at 84% 18%, rgba(255, 230, 174, 0.86), rgba(255, 230, 174, 0) 46%),
    radial-gradient(60% 90% at 18% 88%, rgba(86, 196, 166, 0.28), rgba(86, 196, 166, 0) 58%),
    linear-gradient(128deg, #24102a 0%, #513052 38%, #8a4854 70%, #ec6a4e 100%);
}

.page-apply .page-hero-inner {
  width: min(1120px, calc(100% - 44px));
}

.page-apply .page-hero .lead {
  margin-inline: 0;
  max-width: 520px;
}

.page-apply .apply-notes .section-head,
.page-apply .apply-form-section .section-head {
  text-align: left;
  margin-inline: 0;
}

.page-apply .apply-form-section .container-narrow {
  width: min(920px, calc(100% - 44px));
}

.page-apply .steps3 {
  align-items: start;
}

.page-apply .apply-notes .steps3 {
  gap: clamp(24px, 4vw, 56px);
}

.page-apply .apply-notes .numbered {
  display: grid;
  gap: 12px;
  --note-accent: var(--rose);
  --note-wash: rgba(236, 106, 78, 0.12);
}

.page-apply .apply-notes .numbered:nth-child(2) {
  --note-accent: #8f5be8;
  --note-wash: rgba(143, 91, 232, 0.13);
}

.page-apply .apply-notes .numbered:nth-child(3) {
  --note-accent: #c98a2f;
  --note-wash: rgba(201, 138, 47, 0.14);
}

.page-apply .apply-notes .numbered h3 {
  width: fit-content;
  padding-bottom: 0.12em;
  background: linear-gradient(var(--note-wash), var(--note-wash)) 0 88% / 100% 0.42em no-repeat;
  text-wrap: balance;
}

.page-apply .numbered {
  position: relative;
  min-width: 0;
}

.page-apply .apply-flow .numbered .n {
  color: rgba(236, 106, 78, 0.9);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  letter-spacing: -0.06em;
}

.page-apply .numbered h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.page-apply .apply-flow {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(236, 106, 78, 0.14), rgba(236, 106, 78, 0) 56%),
    #f4ead9;
}

.page-apply .apply-flow::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(46, 15, 51, 0.06), rgba(46, 15, 51, 0));
  pointer-events: none;
}

.page-apply .apply-flow .section-head {
  margin-inline: 0;
  text-align: left;
}

.page-apply .steps4 {
  position: relative;
  align-items: start;
}

.page-apply .steps4::before {
  content: '';
  position: absolute;
  top: 1.65rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(236, 106, 78, 0.9), rgba(236, 106, 78, 0.08));
}

.page-apply .steps4 .numbered {
  padding-top: 3.2rem;
}

.page-apply .steps4 .numbered::before {
  content: '';
  position: absolute;
  top: 1.34rem;
  left: 0;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 9px rgba(236, 106, 78, 0.12);
}

.page-apply #churchOutreachForm,
.page-contact #contactForm {
  gap: clamp(24px, 4vw, 36px);
}

.page-apply .input,
.page-apply .textarea,
.page-apply .select,
.page-contact .input,
.page-contact .textarea {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 12px 0 14px;
  box-shadow: inset 0 -1.5px 0 rgba(52, 33, 47, 0.2);
}

.page-apply .input:focus,
.page-apply .textarea:focus,
.page-apply .select:focus,
.page-contact .input:focus,
.page-contact .textarea:focus {
  box-shadow: inset 0 -2px 0 var(--coral);
}

.page-apply .textarea,
.page-contact .textarea {
  min-height: 118px;
}

.page-apply .help-text,
.page-contact .help-text {
  margin: 0;
}

.page-faq {
  background:
    radial-gradient(60% 60% at 12% 8%, rgba(247, 179, 77, 0.13), rgba(247, 179, 77, 0) 62%),
    #fbf6ef;
}

.page-faq .page-hero {
  background:
    radial-gradient(52% 80% at 78% 26%, rgba(255, 230, 174, 0.72), rgba(255, 230, 174, 0) 54%),
    linear-gradient(135deg, #20112d 0%, #2e0f33 46%, #79415b 100%);
}

.page-faq .page-hero::after {
  content: '?';
  position: absolute;
  right: clamp(22px, 12vw, 170px);
  bottom: clamp(64px, 8vw, 112px);
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: clamp(9rem, 22vw, 18rem);
  line-height: 0.8;
  z-index: 1;
}

.page-faq .faq-answers-section .container-narrow {
  width: min(980px, calc(100% - 44px));
}

.page-faq .faq-search {
  max-width: none;
  margin-inline: 0;
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: end;
}

.page-faq .faq-search-label {
  margin: 0;
  color: var(--rose);
}

.page-faq .faq-search-field {
  align-items: center;
  box-shadow: inset 0 -1.5px 0 rgba(52, 33, 47, 0.2);
}

.page-faq .faq-search-input {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 12px 0 14px !important;
  box-shadow: none !important;
}

.page-faq .faq-search-input:focus {
  box-shadow: none !important;
}

.page-faq .faq-search-field:focus-within {
  box-shadow: inset 0 -2px 0 var(--coral);
}

.page-faq .faq-search-clear {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 0 12px 14px !important;
}

.page-faq .faq-search-meta {
  grid-column: 2;
}

.page-faq .faq-container,
.page-faq .faq-item {
  border: 0 !important;
}

.page-faq .faq-container {
  counter-reset: faq;
}

.page-faq .faq-item {
  counter-increment: faq;
  position: relative;
  display: grid;
  grid-template-columns: clamp(3.6rem, 8vw, 5.6rem) minmax(0, 1fr);
  column-gap: clamp(18px, 4vw, 44px);
  padding: clamp(22px, 4vw, 34px) 0;
}

.page-faq .faq-item::before {
  content: counter(faq, decimal-leading-zero);
  color: rgba(194, 62, 99, 0.62);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1;
}

.page-faq .faq-item:nth-child(even) {
  background: linear-gradient(90deg, rgba(244, 234, 217, 0.72), rgba(244, 234, 217, 0));
}

.page-faq .faq-summary {
  padding: 0;
  font-size: clamp(1.24rem, 2.5vw, 1.8rem);
}

.page-faq .faq-content {
  grid-column: 2;
  padding: 12px 0 0;
}

.page-contact {
  background:
    radial-gradient(50% 60% at 84% 18%, rgba(86, 196, 166, 0.16), rgba(86, 196, 166, 0) 62%),
    #fbf6ef;
}

.page-contact .page-hero {
  text-align: left;
  background:
    radial-gradient(70% 80% at 78% 20%, rgba(255, 230, 174, 0.76), rgba(255, 230, 174, 0) 55%),
    radial-gradient(54% 70% at 12% 84%, rgba(236, 106, 78, 0.34), rgba(236, 106, 78, 0) 60%),
    linear-gradient(130deg, #190d25 0%, #2e0f33 42%, #31545a 100%);
}

.page-contact .page-hero-inner {
  width: min(1120px, calc(100% - 44px));
}

.page-contact .page-hero .lead {
  margin-inline: 0;
  max-width: 470px;
}

.page-contact .contact-grid {
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 110px);
}

.page-contact .contact-grid > .reveal:first-child {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
}

.page-contact .contact-methods {
  gap: 24px;
  margin-top: 34px;
}

.page-contact .method-item {
  align-items: flex-start;
  gap: 18px;
  padding: 0;
}

.page-contact .icon-circle {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--coral);
}

.page-contact .method-item:hover .icon-circle {
  background: transparent;
  color: var(--rose);
}

.page-contact .method-text .label {
  color: var(--rose);
}

.page-contact .method-text .value {
  font-size: clamp(1.28rem, 2.5vw, 1.8rem);
  line-height: 1.15;
}

.page-contact .btn-submit-modern {
  width: fit-content;
  min-width: 13rem;
}

.page-faq .btn-outline,
.page-contact .btn-outline,
.page-apply .btn-outline {
  border: 0;
  padding-inline: 0;
  color: var(--rose);
  background: transparent;
  box-shadow: inset 0 -1.5px 0 rgba(194, 62, 99, 0.42);
}

/* FAQ accordion (flat) -------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  background: none; border: 0; cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
}
.faq-q::after {
  content: '+';
  flex: none;
  font-family: var(--font-ui);
  font-size: 1.6rem;
  color: var(--coral);
  transition: transform 0.25s var(--ease);
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; color: var(--ink-soft); max-width: 760px; }

/* Solid verse band ------------------------------------------------------ */
.verse-band {
  padding: clamp(72px, 11vw, 140px) 0;
  background: var(--plum);
  color: #fff;
  text-align: center;
}
.verse-mark { font-family: var(--font-display); font-size: clamp(3.4rem, 9vw, 7rem); line-height: 0.4; color: var(--halo); opacity: 0.6; }
.verse-band blockquote { width: min(920px, calc(100% - 44px)); margin: 0 auto; }
.verse-band p {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1.24;
  color: #fff;
  text-wrap: balance;
}
.verse-band cite {
  display: inline-block;
  margin-top: 26px;
  font-style: normal;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--halo);
}

/* Footer ---------------------------------------------------------------- */
.footer { padding: clamp(30px, 4vw, 44px) 0 max(26px, env(safe-area-inset-bottom)); background: #24102a; color: rgba(255, 255, 255, 0.64); text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; line-height: 1; }
.footer-brand .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
.footer-brand .brand-mark svg { width: 15px; height: 15px; }
.footer-brand span { color: var(--amber); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 0.82rem; font-weight: 650; }
.footer-nav a { color: rgba(255, 255, 255, 0.62); transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--amber); }
.footer-verse { max-width: 520px; margin-top: 2px; }
.footer-verse-text { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 0.9rem; line-height: 1.45; color: rgba(255, 255, 255, 0.74); }
.footer-copy { margin: 2px 0 0; font-size: 0.74rem; color: rgba(255, 255, 255, 0.46); }

/* Reveal ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.active { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

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

/* Responsive ------------------------------------------------------------ */
@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .page-apply .page-hero-inner,
  .page-contact .page-hero-inner,
  .page-apply .apply-form-section .container-narrow {
    width: min(100% - 32px, 1120px);
  }
  .page-apply .steps4::before {
    display: none;
  }
  .page-apply .steps4 .numbered {
    padding-top: 2rem;
  }
  .page-apply .steps4 .numbered::before {
    top: 0;
  }
  .page-faq .faq-search {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .page-faq .faq-search-meta {
    grid-column: 1;
  }
  .page-contact .contact-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .contact-grid > .reveal:first-child {
    position: static;
  }
  .topbar-inner {
    width: min(100% - 32px, 1120px);
    min-height: 74px;
    position: relative;
  }
  .topbar-row {
    width: 100%;
    flex: 1;
  }
  .brand {
    max-width: calc(100% - 68px);
    min-height: 46px;
    padding: 0 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-pill);
    background: rgba(46, 15, 51, 0.24);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px -26px rgba(0, 0, 0, 0.8);
  }
  .brand-word,
  .brand > span {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    line-height: 1;
  }
  .nav-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    margin-left: auto;
    border-radius: 18px;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 34px -24px rgba(0, 0, 0, 0.8);
  }
  .nav-toggle-bar {
    width: 21px;
    height: 2px;
  }
  .nav {
    position: absolute;
    top: calc(100% + 8px); right: 0; left: auto;
    width: min(18rem, calc(100vw - 32px));
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(37, 12, 42, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 12px; border-radius: 12px; }
  .nav a::after { display: none; }
  .nav a:hover { background: rgba(255, 255, 255, 0.08); }
  .nav .btn-back { margin: 8px 0 0; text-align: center; justify-content: center; }
}

@media (max-width: 560px) {
  .container, .container-narrow, .topbar-inner, .page-hero-inner { width: min(100% - 32px, 1120px); }
  .page-apply .page-hero,
  .page-contact .page-hero {
    text-align: left;
  }
  .page-faq .page-hero::after {
    right: -0.2rem;
    opacity: 0.72;
  }
  .page-apply .steps3,
  .page-apply .steps4 {
    gap: 30px;
  }
  .page-apply .apply-notes .section-head,
  .page-apply .apply-flow .section-head,
  .page-apply .apply-form-section .section-head {
    margin-bottom: 30px;
  }
  .page-apply .apply-flow {
    padding: 64px 0 70px;
    background:
      radial-gradient(84% 52% at 100% 0%, rgba(255, 230, 174, 0.18), rgba(255, 230, 174, 0) 62%),
      radial-gradient(80% 66% at 0% 100%, rgba(236, 106, 78, 0.26), rgba(236, 106, 78, 0) 64%),
      #2e0f33;
    color: #fff;
  }
  .page-apply .apply-flow::before {
    height: 100%;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 100%) 0 0 / 52px 52px;
    opacity: 0.5;
  }
  .page-apply .apply-flow .eyebrow {
    color: var(--halo);
  }
  .page-apply .apply-flow .section-title {
    max-width: 18rem;
    color: #fff;
  }
  .page-apply .apply-flow .container {
    width: min(100% - 32px, 32rem);
    position: relative;
    z-index: 1;
  }
  .page-apply .apply-flow .section-head {
    margin-bottom: 34px;
  }
  .page-apply .apply-flow .steps4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 28rem;
  }
  .page-apply .apply-flow .reveal {
    opacity: 1;
    transform: none;
  }
  .page-apply .apply-flow .steps4::before {
    display: block;
    top: 0.62rem;
    bottom: 0.85rem;
    left: 0.46rem;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--halo), rgba(255, 230, 174, 0.16));
  }
  .page-apply .apply-flow .numbered {
    display: grid;
    grid-template-columns: 3.55rem minmax(0, 1fr);
    column-gap: 14px;
    padding: 0 0 30px;
    align-items: start;
  }
  .page-apply .apply-flow .numbered:last-child {
    padding-bottom: 0;
  }
  .page-apply .apply-flow .numbered::before {
    top: 0.36rem;
    left: 0.1rem;
    width: 0.82rem;
    height: 0.82rem;
    background: var(--halo);
    box-shadow: 0 0 0 8px rgba(255, 230, 174, 0.1), 0 0 30px rgba(255, 230, 174, 0.36);
  }
  .page-apply .apply-flow .numbered .n {
    grid-row: 1 / span 2;
    margin: 0;
    color: rgba(255, 230, 174, 0.92);
    font-size: 1.24rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-align: right;
    padding-right: 0.2rem;
  }
  .page-apply .apply-flow .numbered h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.34rem;
    line-height: 1.08;
  }
  .page-apply .apply-flow .numbered p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.48;
  }
  .page-faq .faq-answers-section .container-narrow {
    width: min(100% - 32px, 980px);
  }
  .page-faq .faq-item {
    grid-template-columns: 3.1rem minmax(0, 1fr);
    column-gap: 14px;
    padding: 22px 0;
  }
  .page-faq .faq-summary {
    font-size: 1.17rem;
    line-height: 1.22;
  }
  .page-faq .faq-content {
    font-size: 0.96rem;
  }
  .page-contact .contact-methods {
    margin-top: 26px;
  }
  .page-contact .method-item {
    gap: 13px;
  }
  .page-contact .method-text .value {
    font-size: 1.22rem;
  }
  .page-contact .btn-submit-modern {
    width: 100%;
  }
  .flat-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-row { gap: 44px; }

  .footer {
    padding: 2rem 0 max(1.5rem, env(safe-area-inset-bottom));
    background: #24102a;
  }
  .footer > .container,
  .footer-inner {
    width: min(100% - 32px, 28rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.82rem;
    margin-inline: auto;
  }
  .footer-brand {
    min-height: 0;
    margin: 0;
    padding: 0;
    gap: 0.12rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
  }
  .footer-nav {
    width: min(100%, 21rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.38rem 0.95rem;
    margin: 0;
  }
  .footer-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
  }
  .footer-verse {
    width: min(100%, 21rem);
    max-width: none;
    margin: 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .footer-verse-text {
    font-size: 0.84rem;
    line-height: 1.42;
    color: rgba(255, 255, 255, 0.72);
  }
  .footer-copy {
    max-width: 18rem;
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.72rem;
    line-height: 1.4;
  }
}
