/* ServeFit — global stylesheet v2 (locked May 2026 from Claude Design)
   Editorial creative-agency energy applied to ministry content.
   Brand-locked colors and type. Two weights only: 400 + 500.
*/

:root {
  /* Brand */
  --sf-turquoise:       #12705f;
  --sf-turquoise-deep:  #194c42;
  --sf-gray-green:      #6a997e;
  --sf-gray-green-warm: #80956d;
  --sf-gray-turquoise:  #79b3a9;
  --sf-orange:          #9f674c;
  --sf-cream:           #f8f7f2;
  --sf-cream-2:         #f1efe6;
  --sf-text:            #222222;
  --sf-rule:            rgba(34,34,34,0.14);
  --sf-rule-soft:       rgba(34,34,34,0.07);

  --italic-color:       var(--sf-orange);
  --marquee-dur:        38s;

  /* System fonts — matching design exactly */
  --ff-display: "Times New Roman", Georgia, serif;
  --ff-sans:    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-mono:    "Menlo", "Courier New", monospace;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-sans);
  font-weight: 400;
  color: var(--sf-text);
  background: var(--sf-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--sf-turquoise); color: var(--sf-cream); }

/* Italic accent — used for "your" word in tagline, etc. */
.ital, .italic-accent {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  color: var(--italic-color);
}

/* Editorial container */
.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Editorial eyebrow */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--sf-turquoise-deep);
}
.eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--sf-rule);
  padding-top: 18px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(34,34,34,0.55);
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), background 220ms, color 220ms, border-color 220ms;
}
.pill[disabled] { opacity: 0.45; pointer-events: none; }
.pill-orange { background: var(--sf-orange); color: var(--sf-cream); }
.pill-orange:hover { background: #8a5740; }
.pill-deep { background: var(--sf-turquoise-deep); color: var(--sf-cream); }
.pill-deep:hover { background: #133b34; }
.pill-ghost {
  background: transparent;
  color: var(--sf-turquoise-deep);
  border: 1px solid var(--sf-rule);
}
.pill-ghost:hover { background: rgba(25,76,66,0.06); }
.pill .arrow { transition: transform 240ms cubic-bezier(.2,.8,.2,1); display: inline-block; }
.pill:hover .arrow { transform: translateX(4px); }

/* Large editorial CTA */
.cta-large {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  color: var(--sf-turquoise-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid var(--sf-turquoise-deep);
  padding: 0 0 6px;
  background: none;
  text-decoration: none;
}
.cta-large[disabled] { opacity: 0.45; cursor: not-allowed; }
.cta-large .arrow { display: inline-block; transition: transform 320ms cubic-bezier(.2,.8,.2,1); }
.cta-large:hover:not([disabled]) .arrow { transform: translateX(8px); }
.cta-meta { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(34,34,34,0.5); text-transform: lowercase; }

/* Header */
.sf-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--sf-cream);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, background 200ms;
}
.sf-header.scrolled { border-bottom-color: var(--sf-rule); }
.sf-header-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.sf-logo {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--sf-turquoise-deep);
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer;
}
.sf-logo .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sf-orange);
  display: inline-block; transform: translateY(-7px);
}

.sf-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--sf-text);
  justify-self: start;
  padding-left: 12px;
}
.sf-status .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sf-turquoise);
  position: relative;
  flex-shrink: 0;
}
.sf-status .pulse::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: var(--sf-turquoise);
  opacity: 0.45;
  animation: sf-pulse 2.4s ease-in-out infinite;
}
@keyframes sf-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(2.4); opacity: 0; }
}
.sf-nav { display: inline-flex; gap: 10px; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--sf-rule);
  border-bottom: 1px solid var(--sf-rule);
  padding: 22px 0;
  background: var(--sf-cream);
}
.marquee-track {
  display: inline-flex;
  gap: 80px;
  white-space: nowrap;
  animation: sf-marquee var(--marquee-dur) linear infinite;
  font-family: var(--ff-display);
  font-size: clamp(28px, 5vw, 56px);
  font-style: normal;
  font-weight: 400;
  color: var(--sf-turquoise-deep);
  align-items: baseline;
}
.marquee-track .sep {
  color: var(--sf-orange);
  font-style: normal;
}
.marquee-track .recruit {
  font-style: italic;
  color: var(--sf-gray-green);
}
@keyframes sf-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .sf-status .pulse::after { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(.2,.8,.2,1), transform 900ms cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.sf-footer {
  border-top: 1px solid var(--sf-rule);
  padding: 80px 0 60px;
  background: var(--sf-cream);
}
.sf-footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: end;
}
.sf-footer .signature {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--sf-gray-green);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.sf-footer .signature .sig-img {
  height: 34px;
  width: auto;
  display: block;
  transform: rotate(2.5deg);
  opacity: 0.95;
}
.sf-footer .meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: rgba(34,34,34,0.5);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  text-align: right;
}

/* ============================================================
   LANDING
============================================================ */
.hero {
  padding: 40px 0 80px;
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-tag-row {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--sf-rule);
  padding-top: 18px;
  margin-bottom: clamp(40px, 8vw, 100px);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(34,34,34,0.55);
}
.hero-headline {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: clamp(80px, 17vw, 260px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--sf-turquoise-deep);
  margin: 0;
}
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: sf-rise 800ms cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-headline .word.w1 { animation-delay: 100ms; }
.hero-headline .word.w2 { animation-delay: 230ms; }
.hero-headline .word.w3 { animation-delay: 360ms; }
.hero-headline .word.w4 { animation-delay: 490ms; }
.hero-headline .word.w5 { animation-delay: 620ms; }
.hero-headline .word.w6 { animation-delay: 750ms; }
.hero-headline .ital {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  color: var(--italic-color);
  letter-spacing: -0.02em;
}
@keyframes sf-rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero-foot {
  margin-top: clamp(40px, 8vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  border-top: 1px solid var(--sf-rule);
  padding-top: 28px;
}
.hero-sub {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  color: var(--sf-text);
  max-width: 32ch;
  margin: 0;
}
.hero-cta-wrap {
  justify-self: end;
  text-align: right;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
}

/* Section block */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--sf-rule);
}
.section-eyebrow-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(40px, 6vw, 80px);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(34,34,34,0.55);
}
.section-eyebrow-row .num { color: var(--sf-turquoise-deep); }
.section-headline {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--sf-turquoise-deep);
  margin: 0 0 clamp(48px, 6vw, 80px);
  max-width: 18ch;
}
.section-headline .ital {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  color: var(--sf-gray-green);
  letter-spacing: -0.015em;
}

/* How it works steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--sf-rule);
}
.step {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--sf-rule);
  position: relative;
}
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step .num {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--sf-orange);
  text-transform: lowercase;
}
.step h3 {
  font-family: var(--ff-display); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  color: var(--sf-turquoise-deep);
  margin: 36px 0 16px;
  letter-spacing: -0.01em;
}
.step p {
  font-family: var(--ff-sans); font-size: 16px; line-height: 1.55;
  color: var(--sf-text);
  margin: 0;
  max-width: 34ch;
}

/* FAQ */
.faq-list { border-top: 1px solid var(--sf-rule); }
.faq-item { border-bottom: 1px solid var(--sf-rule); }
.faq-q {
  width: 100%;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 32px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--sf-turquoise-deep);
  text-align: left;
  gap: 32px;
}
.faq-plus {
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-size: 36px;
  color: var(--sf-orange);
  transition: transform 360ms cubic-bezier(.2,.8,.2,1);
  font-style: normal;
  line-height: 1;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms cubic-bezier(.2,.8,.2,1), opacity 360ms;
  opacity: 0;
}
.faq-item.open .faq-a { max-height: 480px; opacity: 1; }
.faq-a-inner {
  padding: 0 0 36px 0;
  max-width: 64ch;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--sf-gray-green);
}

/* ============================================================
   ASSESSMENT
============================================================ */
.assess-shell {
  min-height: calc(100vh - 90px);
  display: flex; flex-direction: column;
}
.assess-progress {
  height: 2px;
  background: var(--sf-rule-soft);
  position: sticky; top: 79px;
  z-index: 4;
}
.assess-progress .fill {
  height: 100%; background: var(--sf-turquoise);
  transition: width 480ms cubic-bezier(.2,.8,.2,1);
}
.assess-meta {
  display: flex; justify-content: space-between;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(34,34,34,0.55); text-transform: lowercase;
  padding: 24px 0;
  border-bottom: 1px solid var(--sf-rule);
}
.identity-form {
  max-width: 720px; margin: 80px auto;
  display: grid; gap: 32px;
}
.identity-form h1 {
  font-family: var(--ff-sans); font-weight: 500;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.025em;
  color: var(--sf-turquoise-deep); margin: 0;
}
.identity-form h1 .ital {
  font-family: var(--ff-display); font-style: italic;
  color: var(--italic-color); font-weight: 400;
}
.identity-form .lede {
  font-family: var(--ff-display); font-style: italic; font-size: 22px;
  color: var(--sf-text); max-width: 50ch; margin: 0;
  line-height: 1.4;
}
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: lowercase; color: rgba(34,34,34,0.6);
}
.field input, .field select, .field textarea {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sf-rule);
  padding: 12px 0;
  font: 400 18px var(--ff-sans);
  color: var(--sf-text);
  outline: none;
  border-radius: 0;
  width: 100%;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--sf-turquoise-deep);
}
.field .help {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: lowercase;
  color: rgba(34,34,34,0.5);
}
.q-screen {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 60px 0 80px;
}
.q-counter {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--sf-turquoise-deep); text-transform: lowercase;
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--sf-rule);
  padding-top: 18px;
  margin-bottom: clamp(40px, 8vw, 90px);
}
.q-prompt {
  font-family: var(--ff-sans); font-weight: 500;
  font-size: clamp(28px, 4vw, 56px); line-height: 1.05;
  color: var(--sf-turquoise-deep);
  max-width: 36ch;
  margin: 0 0 60px;
  letter-spacing: -0.025em;
}
.q-options { display: grid; gap: 24px; max-width: 880px; }
.q-opt {
  appearance: none;
  text-align: left;
  background: var(--sf-cream);
  border: 1px solid var(--sf-rule);
  padding: 36px 40px;
  cursor: pointer;
  display: flex; align-items: baseline; gap: 24px;
  transition: background 220ms, border-color 220ms, transform 220ms cubic-bezier(.2,.8,.2,1), color 220ms;
  font-family: var(--ff-sans); color: var(--sf-text);
  width: 100%;
}
.q-opt:hover { background: var(--sf-cream-2); border-color: var(--sf-turquoise-deep); transform: translateX(4px); }
.q-opt.selected { background: var(--sf-turquoise-deep); color: var(--sf-cream); border-color: var(--sf-turquoise-deep); }
.q-opt .key {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--sf-orange); flex-shrink: 0; min-width: 18px;
}
.q-opt.selected .key { color: var(--sf-cream); opacity: 0.7; }
.q-opt .text {
  font-family: var(--ff-sans); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; font-weight: 400;
}
.q-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
  padding-top: 60px;
  border-top: 1px solid var(--sf-rule);
}

/* ============================================================
   RESULTS
============================================================ */
.results-hero {
  padding: 60px 0 40px;
}
.greeting-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 60px;
  border-top: 1px solid var(--sf-rule);
  padding-top: 18px;
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: lowercase;
  color: rgba(34,34,34,0.55);
}
.church-logo {
  width: 44px; height: 44px;
  border: 1px solid var(--sf-rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--sf-turquoise-deep);
  flex-shrink: 0;
  overflow: hidden;
}
.church-logo img { width: 100%; height: 100%; object-fit: contain; }
.results-headline {
  font-family: var(--ff-sans); font-weight: 500;
  font-size: clamp(56px, 9vw, 140px); line-height: 0.92; letter-spacing: -0.03em;
  color: var(--sf-turquoise-deep); margin: 0 0 32px;
}
.results-headline .ital {
  font-family: var(--ff-display); font-style: italic; color: var(--italic-color); font-weight: 400;
}
.results-lede {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.4;
  color: var(--sf-text); max-width: 56ch; margin: 0 0 60px;
}

/* Bar chart */
.bar-chart {
  display: grid;
  grid-template-columns: 220px 1fr 80px;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--sf-rule);
  padding: 0;
}
.bar-row {
  display: contents;
}
.bar-row > * {
  padding: 24px 0;
  color: var(--sf-text);
}
.bar-row .bar-label,
.bar-row .bar-value {
  border-bottom: 1px solid var(--sf-rule);
}
.bar-row .bar-track-cell {
  border-bottom: 1px solid var(--sf-rule);
}
.bar-label {
  font-family: var(--ff-sans); font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.01em;
  color: var(--sf-turquoise-deep);
}
.bar-track {
  position: relative; height: 28px;
}
.bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  border-radius: 4px;
  transition: width 1400ms cubic-bezier(.2,.8,.2,1);
}
.bar-value {
  font-family: var(--ff-mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--sf-text); text-align: right;
}

/* Role cards */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--sf-rule);
  padding-top: 32px;
}
.role-card {
  padding: 32px 28px;
  border: 1px solid var(--sf-rule);
  background: var(--sf-cream);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 360ms cubic-bezier(.2,.8,.2,1), border-color 360ms, background 360ms;
}
.role-card:hover { transform: translateY(-6px); border-color: var(--sf-turquoise-deep); background: var(--sf-cream-2); }
.role-card .rank {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--sf-orange); text-transform: lowercase;
  display: flex; justify-content: space-between;
}
.role-card .cat {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: lowercase; padding-top: 8px;
  color: var(--sf-turquoise);
}
.role-card .title {
  font-family: var(--ff-sans); font-weight: 500;
  font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--sf-turquoise-deep); margin: 0;
}
.role-card .desc {
  font-family: var(--ff-sans); font-size: 15px; line-height: 1.55;
  color: var(--sf-text); max-width: 32ch; margin: 0;
}
.role-card .descriptors {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.role-card .desc-chip {
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.06em;
  padding: 6px 10px;
  border: 1px solid var(--sf-rule);
  text-transform: lowercase;
}

.closing-message {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(24px, 2.6vw, 36px); line-height: 1.4;
  color: var(--sf-turquoise-deep);
  max-width: 30ch; margin: 0;
}

/* Sign-up form (results page) */
.signup-form {
  border-top: 1px solid var(--sf-rule);
  padding-top: 32px;
}
.signup-options {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.signup-option {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--sf-rule);
  background: var(--sf-cream);
  cursor: pointer;
  transition: background 200ms, border-color 200ms;
}
.signup-option:hover { background: var(--sf-cream-2); border-color: var(--sf-turquoise-deep); }
.signup-option input[type="checkbox"] {
  margin: 4px 0 0;
  accent-color: var(--sf-turquoise);
  cursor: pointer;
}
.signup-option .name {
  font-family: var(--ff-sans);
  font-weight: 500;
  color: var(--sf-turquoise-deep);
  font-size: 16px;
}
.signup-option .cat {
  font-family: var(--ff-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: lowercase;
  color: var(--sf-gray-green); margin-top: 2px;
}
.signup-confirm {
  font-family: var(--ff-display); font-style: italic;
  color: var(--sf-gray-green);
  font-size: 18px;
  padding: 14px 0;
  display: none;
}
.signup-confirm.is-shown { display: block; }

/* ============================================================
   AUTH (register / login)
============================================================ */
.auth-shell {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-art {
  background: var(--sf-turquoise-deep);
  color: var(--sf-cream);
  padding: 60px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-art .lede {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(40px, 5vw, 80px); line-height: 1.05; letter-spacing: -0.015em;
  max-width: 14ch; margin: 0;
}
.auth-art .lede .accent { color: var(--sf-orange); }
.auth-art .meta {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: lowercase; opacity: 0.55;
  display: flex; justify-content: space-between;
  color: var(--sf-cream);
}
.auth-form-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
}
.auth-form { width: 100%; max-width: 440px; display: grid; gap: 28px; }
.auth-form h1 {
  font-family: var(--ff-sans); font-weight: 500;
  font-size: clamp(36px, 4vw, 52px); line-height: 1; letter-spacing: -0.025em;
  color: var(--sf-turquoise-deep); margin: 0 0 8px;
}
.auth-form .small {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: lowercase; color: rgba(34,34,34,0.55);
}
.auth-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; border-top: 1px solid var(--sf-rule); padding-top: 24px;
}
.form-error {
  font-family: var(--ff-mono); font-size: 12px;
  letter-spacing: 0.04em; color: var(--sf-orange);
  padding: 12px 14px;
  border: 1px solid var(--sf-rule);
  display: none;
}
.form-success {
  font-family: var(--ff-display); font-style: italic;
  color: var(--sf-gray-green); font-size: 17px;
  padding: 14px 0;
  display: none;
}
.form-error.is-shown, .form-success.is-shown { display: block; }

@media (max-width: 760px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-art { padding: 40px 32px; min-height: 240px; }
  .auth-form-wrap { padding: 40px 32px; }
}

/* ============================================================
   DASHBOARD (church admin + system admin)
============================================================ */
.dash {
  background: var(--sf-cream);
  min-height: calc(100vh - 90px);
}
.dash-head {
  border-bottom: 1px solid var(--sf-rule);
  padding: 60px 0 32px;
}
.dash-head h1 {
  font-family: var(--ff-sans); font-weight: 500;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1; letter-spacing: -0.025em;
  color: var(--sf-turquoise-deep); margin: 0 0 12px;
}
.dash-head .sub {
  font-family: var(--ff-display); font-style: italic;
  font-size: 20px; color: var(--sf-gray-green);
}
.dash-head-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
}

.tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--sf-rule);
  margin: 0;
  padding: 0;
  overflow-x: auto;
}
.tabs button {
  appearance: none; border: 0; background: transparent;
  padding: 18px 24px 18px 0;
  margin-right: 24px;
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(34,34,34,0.5);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.tabs button:hover { color: var(--sf-turquoise-deep); }
.tabs button.active { color: var(--sf-turquoise-deep); }
.tabs button.active::after {
  content: "";
  position: absolute; left: 0; right: 24px; bottom: -1px;
  height: 1px; background: var(--sf-turquoise-deep);
}
.tabs button .num { color: var(--sf-orange); margin-right: 8px; }
.tabs button .badge {
  background: var(--sf-orange); color: var(--sf-cream);
  font-size: 9.5px; padding: 2px 7px; margin-left: 6px;
  border-radius: 999px; min-width: 20px; text-align: center;
  display: inline-block;
}

.tab-panel { padding: 60px 0; display: none; }
.tab-panel.is-active { display: block; }

/* Settings two-column */
.settings-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
}
.settings-grid .label-col h3 {
  font-family: var(--ff-display); font-style: italic; font-weight: 400;
  font-size: 24px; color: var(--sf-turquoise-deep); margin: 0 0 8px;
}
.settings-grid .label-col p {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: lowercase; color: rgba(34,34,34,0.55);
  line-height: 1.5;
}
.settings-section {
  border-top: 1px solid var(--sf-rule);
  padding: 36px 0;
}
.settings-section:first-child { border-top: 0; }
@media (max-width: 760px) {
  .settings-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Logo upload */
.logo-upload {
  display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap;
}
.logo-preview {
  width: 80px; height: 80px;
  border: 1px solid var(--sf-rule);
  background: var(--sf-cream-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-empty {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.04em;
  color: rgba(34,34,34,0.45); text-align: center; padding: 6px;
  text-transform: lowercase;
}

/* Role availability grid */
.role-availability {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--sf-rule);
}
.role-cat {
  padding: 28px 0;
  border-right: 1px solid var(--sf-rule);
  padding-right: 32px;
}
.role-cat:nth-child(2n) { border-right: 0; padding-right: 0; padding-left: 32px; }
.role-cat h4 {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: lowercase; margin: 0 0 18px;
  display: flex; justify-content: space-between;
  color: var(--sf-orange);
}
.role-toggle {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--sf-rule-soft);
}
.role-toggle:last-child { border-bottom: 0; }
.role-toggle .name { font-family: var(--ff-sans); font-size: 15px; color: var(--sf-text); }
.role-toggle.off .name { color: rgba(34,34,34,0.4); text-decoration: line-through; text-decoration-thickness: 1px; }
@media (max-width: 760px) {
  .role-availability { grid-template-columns: 1fr; }
  .role-cat { border-right: 0; padding: 28px 0 !important; }
}

.toggle {
  appearance: none;
  width: 36px; height: 20px;
  border-radius: 999px;
  background: rgba(34,34,34,0.15);
  position: relative;
  cursor: pointer;
  border: 0;
  flex-shrink: 0;
  transition: background 220ms;
}
.toggle::after {
  content: "";
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--sf-cream);
  border-radius: 50%;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
.toggle.on { background: var(--sf-turquoise); }
.toggle.on::after { transform: translateX(16px); }

/* Editorial table */
.dtable {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ff-sans);
  font-size: 14px;
}
.dtable th {
  text-align: left;
  padding: 14px 16px 14px 0;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: lowercase; color: rgba(34,34,34,0.5);
  font-weight: 400;
  border-bottom: 1px solid var(--sf-rule);
}
.dtable td {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--sf-rule-soft);
  color: var(--sf-text);
  vertical-align: top;
}
.dtable tr:hover td { background: rgba(25,76,66,0.025); }
.dtable .name { font-weight: 500; color: var(--sf-turquoise-deep); }
.dtable .small { font-family: var(--ff-mono); font-size: 11px; color: rgba(34,34,34,0.55); }
.dtable select {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--sf-rule);
  background: transparent;
  font: 400 13px var(--ff-mono);
  letter-spacing: 0.04em;
  color: var(--sf-turquoise-deep);
  padding: 4px 16px 4px 0;
  cursor: pointer;
  text-transform: lowercase;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--sf-rule);
}
.stat {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--sf-rule);
  border-bottom: 1px solid var(--sf-rule);
}
.stat:last-child { border-right: 0; }
.stat:nth-child(n+2) { padding-left: 28px; }
.stat .label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(34,34,34,0.55); text-transform: lowercase;
  margin-bottom: 32px;
}
.stat .value {
  font-family: var(--ff-display); font-style: italic; font-weight: 400;
  font-size: clamp(48px, 5vw, 80px); line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--sf-turquoise-deep);
}
.stat .delta {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--sf-gray-green); text-transform: lowercase;
  margin-top: 12px;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: lowercase;
  padding: 5px 10px;
  border: 1px solid var(--sf-rule);
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.status-pill.live    .dot { background: var(--sf-turquoise); }
.status-pill.pending .dot { background: var(--sf-orange); }
.status-pill.draft   .dot, .status-pill.suspended .dot { background: rgba(34,34,34,0.3); }

/* Activity feed */
.feed { border-top: 1px solid var(--sf-rule); }
.feed-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 120px;
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--sf-rule-soft);
  font-family: var(--ff-sans); font-size: 14px;
  align-items: baseline;
}
.feed-row .when {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.04em;
  color: rgba(34,34,34,0.5);
}
.feed-row .what { color: var(--sf-turquoise-deep); font-weight: 500; }
.feed-row .who  { color: var(--sf-text); }
.feed-row .where {
  font-family: var(--ff-mono); font-size: 11px;
  color: rgba(34,34,34,0.55); text-align: right;
}

/* Approval queue */
.approval {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--sf-rule);
  align-items: center;
}
.approval .ch-name {
  font-family: var(--ff-sans); font-weight: 500; font-size: 22px;
  color: var(--sf-turquoise-deep); letter-spacing: -0.01em;
}
.approval .ch-meta {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.04em;
  color: rgba(34,34,34,0.55);
}
.approval .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.approval input[type="text"] {
  font: 400 12px var(--ff-mono);
  letter-spacing: 0.04em;
  color: var(--sf-turquoise-deep);
  padding: 8px 12px;
  background: var(--sf-cream);
  border: 1px solid var(--sf-rule);
  outline: none;
  min-width: 240px;
}
.approval input[type="text"]:focus { border-color: var(--sf-turquoise-deep); }

/* Responsive scaffolding */
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .sf-header-inner { padding: 14px 20px; gap: 16px; grid-template-columns: auto auto; }
  .sf-status { display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-cta-wrap { justify-self: start; align-items: flex-start; text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding: 28px 0; border-top: 1px solid var(--sf-rule); }
  .step + .step { padding-left: 0; }
  .role-grid { grid-template-columns: 1fr; }
  .bar-chart { grid-template-columns: 110px 1fr 50px; gap: 12px; }
  .feed-row { grid-template-columns: 80px 1fr; }
  .feed-row .where { display: none; }
  .approval { grid-template-columns: 1fr; }
}
