/* =========================================================
   Tuviah Christian Ministries — Site Styles
   Brand: royal purple + gold, crowned lion crest
   Palette: #3B0066 / #6A0DAD / #A569BD / #C8A2C8 / #FFD700 / #DAA520 / #E8A87C
   Fonts: Cinzel (display), Manrope (body)
   ========================================================= */

:root {
  --purple-dark: #3b0066;
  --purple: #6a0dad;
  --purple-light: #a569bd;
  --lilac: #c8a2c8;
  --gold: #ffd700;          /* bright — dark surfaces only */
  --gold-deep: #c9a227;     /* antique — light surfaces */
  --gold-mid: #daa520;
  --sunset: #e8a87c;
  --ink: #241333;
  --plum-black: #1d0433;
  --gray-700: #4d4258;
  --gray-500: #8d8398;
  --gray-200: #e9e2ef;
  --cream: #faf7fc;
  --white: #ffffff;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cinzel", "Times New Roman", serif;
  --shadow-sm: 0 1px 3px rgba(59, 0, 102, 0.1);
  --shadow-md: 0 8px 28px rgba(59, 0, 102, 0.14);
  --radius: 12px;
  --max-w: 1140px;
}

/* Sips, Dips & Sides sub-brand accents */
.page-sds {
  --accent: #f4a825;
  --accent-2: #ff6f61;
  --accent-3: #2a9d8f;
  --accent-4: #2e9bff;
  --cream: #fff8f0;
  --purple-dark: #3d2a18;
  --purple: #c45c26;
  --gold-deep: #d4890a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--purple-dark);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-mid));
  border-radius: 2px;
  margin-top: 14px;
}

.section-title.center { text-align: center; }
.section-title.center::after { margin-left: auto; margin-right: auto; }

.lead { font-size: 19px; color: var(--gray-700); }

.scripture-ref {
  font-style: italic;
  color: var(--purple-light);
  font-size: 15px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-mid), var(--gold-deep));
  color: var(--purple-dark);
}
.btn-gold:hover { filter: brightness(1.06); color: var(--purple-dark); transform: translateY(-1px); }

.cta-banner .btn-gold,
.section-dark .btn-gold,
.site-header .btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-mid));
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--purple-dark); }

.btn-outline-dark {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline-dark:hover { background: var(--purple); color: var(--white); }

/* ---------- Top bar ---------- */

.top-bar {
  background: var(--plum-black);
  color: var(--lilac);
  font-size: 14px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.top-bar a { color: var(--gold); font-weight: 600; }
.top-bar a:hover { color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  background: linear-gradient(180deg, var(--purple-dark), #4a0b7e);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
}

.logo { display: flex; align-items: center; }
.logo .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--gold);
  line-height: 1.2;
}
.logo .logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lilac);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 13px;
  color: #eaddf5;
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
}

.main-nav a:hover { color: var(--gold); }
.main-nav a.active { color: var(--gold); }

.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-mid));
  color: var(--purple-dark);
  margin-left: 8px;
  padding: 10px 20px;
}
.main-nav .nav-cta:hover { filter: brightness(1.06); color: var(--purple-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  color: var(--white);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 4, 51, 0.35), rgba(59, 0, 102, 0.48));
}

.hero .container {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
  max-width: 880px;
}

.hero-kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(29, 4, 51, 0.6);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 19px;
  max-width: 640px;
  margin: 0 auto 30px;
  color: #f0e7f8;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero.hero-sub .container { padding-top: 84px; padding-bottom: 84px; }

.hero-light::before {
  background: linear-gradient(180deg, rgba(29, 4, 51, 0.22), rgba(59, 0, 102, 0.34));
}

/* Homepage: crest as poster — full art visible, no crop fight */
.hero-crest-poster {
  background: #4a1a6e;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

.hero-crest-poster img {
  width: 100%;
  max-width: 1400px;
  max-height: min(78vh, 820px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Legacy class kept if referenced */
.hero-crest {
  min-height: auto;
  background-color: #4a1a6e;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
}

.hero-crest::before {
  display: none;
}

.hero-crest .container {
  display: none;
}

/* Inner pages: compact masthead — atmosphere without crest fight */
.hero-soft {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 50% -30%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 60% at 110% 120%, rgba(106, 13, 173, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 55% at -10% 90%, rgba(165, 105, 189, 0.18), transparent 50%),
    linear-gradient(168deg, #fcf9fe 0%, #f0e6f7 42%, #e2d0ef 100%);
  color: var(--ink);
  text-align: center;
}

.hero-soft::before {
  display: none;
}

.hero-soft::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(220px, 42%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), var(--gold-mid), var(--gold-deep), transparent);
  border-radius: 2px;
}

.hero.hero-sub.hero-soft .container {
  padding-top: 56px;
  padding-bottom: 60px;
  max-width: 720px;
}

.hero-soft .hero-kicker {
  color: var(--gold-deep);
  margin-bottom: 8px;
  letter-spacing: 0.2em;
}

.hero-soft .hero-kicker::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-mid));
  border-radius: 1px;
}

.hero-soft h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.16;
  color: var(--purple-dark);
  text-shadow: none;
  margin-bottom: 12px;
  margin-top: 14px;
}

.hero-soft h1 em {
  color: var(--purple);
  font-style: normal;
}

.hero-soft p {
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 36em;
  margin: 0 auto;
  color: var(--gray-700);
}

/* SDS: natural logo plate — sky bleeds, no stretched empty banner */
.sds-brand-plate {
  background: linear-gradient(180deg, #78b4f4 0%, #5596e8 55%, #4a8bde 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 20px;
}

.sds-brand-plate img {
  width: min(100%, 680px);
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(20, 60, 120, 0.22);
}

.sds-intro {
  text-align: center;
  padding: 48px 0 56px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(244, 168, 37, 0.14), transparent 55%),
    var(--cream);
}

.sds-intro .dial-119 {
  margin-bottom: 10px !important;
}

.sds-intro .section-title {
  margin-bottom: 12px;
}

.sds-intro .lead {
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.page-sds .dial-119 {
  text-shadow: none;
  color: var(--accent);
}

.page-sds .cta-banner {
  background: linear-gradient(120deg, #2a6f9e, #1e5a82);
}

.page-sds .quote-banner {
  background: linear-gradient(120deg, #c45c26, #e08a3a);
}

.page-sds .quote-banner blockquote {
  color: #fff8e8;
}

.page-sds .site-footer {
  background: #2a2118;
}

.dial-119 {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 auto 14px !important;
  text-shadow: 0 2px 14px rgba(29, 4, 51, 0.45);
}

.cash-tag {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--purple-dark);
  margin: 8px 0 0;
}

.cash-tag a {
  color: inherit;
}

.cash-tag a:hover {
  color: var(--purple);
}

.give-intro-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(165deg, var(--cream), #f8f1e8);
  border: 1px solid rgba(91, 45, 130, 0.1);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px);
  box-shadow: var(--shadow-sm);
}

.give-intro-card .lead {
  margin-top: 14px;
}

.give-intro-card p:not(.lead):not(.scripture-ref) {
  margin-top: 16px;
  color: var(--gray-700);
  line-height: 1.75;
}

.give-scripture {
  margin-top: 24px !important;
  font-size: 15px;
}

.give-give-panel {
  max-width: 680px;
  text-align: center;
}

.give-note {
  margin-top: 18px;
  font-size: 17px;
}

.give-offer-grid {
  margin-top: 32px;
}

.give-offer-grid .offer {
  border-left-color: var(--purple-soft);
  font-weight: 600;
}

.media-placeholder {
  min-height: 320px;
  border-radius: var(--radius);
  border: 2px dashed var(--lilac);
  background: linear-gradient(160deg, var(--cream), #f3eaf8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 28px;
  color: var(--gray-500);
}

.media-placeholder span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.media-placeholder p {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--purple-dark);
  margin: 0;
}

.sds-logo-feature {
  max-width: 420px;
  margin: 0 auto;
  box-shadow: none;
  background: var(--white);
}

/* ---------- Quote banner ---------- */

.quote-banner {
  background: linear-gradient(120deg, var(--purple-dark), var(--purple));
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.quote-banner blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--gold);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.4;
}

.quote-banner cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lilac);
}

.quote-banner .section-label { color: var(--lilac); }

.quote-banner .section-title {
  color: var(--white);
  margin-bottom: 22px;
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }
.section-alt { background: var(--cream); }
.section-dark {
  background: linear-gradient(160deg, var(--plum-black), var(--purple-dark));
  color: #eaddf5;
}
.section-dark .section-title, .section-dark h3 { color: var(--white); }
.section-dark p { color: #d9c8e8; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

/* Five ministry lanes — wrap so the last row centers cleanly */
.lanes-five {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 40px;
}

.lanes-five .lane-card {
  flex: 1 1 280px;
  max-width: 340px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.card-img { width: 100%; height: 210px; object-fit: cover; }

.card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 21px; }
.card-body p { color: var(--gray-700); flex: 1; }
.card-body .btn { align-self: flex-start; }

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--gold-deep);
  box-shadow: var(--shadow-md);
  padding: 30px;
}

.info-card h3 { font-size: 20px; margin-bottom: 8px; }
.info-card p { color: var(--gray-700); }

.info-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Ministry lane cards */
.lane-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
  border-top: 5px solid var(--purple);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lane-card.gold-top { border-top-color: var(--gold-deep); }
.lane-card.sunset-top { border-top-color: var(--sunset); }
.lane-card.lilac-top { border-top-color: var(--purple-light); }

.lane-card h3 { font-size: 21px; }

.lane-sub {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lane-card p { color: var(--gray-700); flex: 1; }

.lane-tone {
  font-size: 14px;
  font-style: italic;
  color: var(--purple-light);
}

.lane-card .card-link { font-weight: 800; }

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Portrait / phone-style graphics — never full desktop width */
.media-portrait {
  display: block;
  max-width: min(100%, 520px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.media-portrait-wrap {
  max-width: 520px;
  margin: 32px auto 0;
}

.media-portrait-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.split-img.portrait-slot {
  display: flex;
  justify-content: center;
}

.split-img.portrait-slot img {
  max-width: 420px;
  width: 100%;
}

.split.prayer-pair {
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 36px;
  margin-top: 32px;
  align-items: start;
}

.split.prayer-pair > .split-img {
  width: 100%;
  margin: 0;
  flex-direction: column;
  align-items: center;
}

.prayer-slot-label {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Crest presentation — soft plate so uneven source lighting sits evenly */
.split-img.crest-plate {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(255, 215, 0, 0.18), transparent 58%),
    linear-gradient(160deg, #4a0a7a 0%, var(--purple-dark) 48%, #2a0548 100%);
  box-shadow: var(--shadow-md);
}

.split-img.crest-plate img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: none;
  filter: brightness(1.08) contrast(0.92) saturate(1.04);
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ---------- Stats / pillars ---------- */

.stat-row { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }

.stat h4 {
  font-size: 34px;
  color: var(--purple);
  font-family: var(--font-display);
}

.stat span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.pillar {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.pillar .icon { color: var(--gold); margin-bottom: 12px; display: inline-flex; }
.pillar h3 { font-size: 19px; color: var(--white); margin-bottom: 6px; }
.pillar p { font-size: 15px; }

/* ---------- Values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.values-interactive {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.value-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.value-panel[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
}

.value-tile {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  text-align: center;
  padding: 28px 14px;
}

.value-panel > .value-tile {
  list-style: none;
  cursor: pointer;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 26px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.value-panel > .value-tile::-webkit-details-marker { display: none; }

.value-panel > .value-tile:hover {
  background: linear-gradient(180deg, #faf7fc, #f3ebf8);
}

.value-panel[open] > .value-tile {
  background: linear-gradient(180deg, #f7f0fb, #efe4f7);
  border-bottom: 1px solid var(--gray-200);
}

.value-tile .icon { color: var(--gold-deep); display: inline-flex; margin-bottom: 10px; }
.value-panel > .value-tile .icon { margin-bottom: 4px; }
.value-tile h3 { font-size: 17px; }

.value-hint {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-light);
}

.value-panel[open] .value-hint {
  font-size: 0;
}

.value-panel[open] .value-hint::after {
  content: "Close";
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.value-body {
  padding: 0 20px 22px;
  text-align: left;
}

.value-body p {
  color: var(--gray-700);
  font-size: 15px;
  margin-top: 14px;
  line-height: 1.7;
}

.value-body .scripture-ref {
  margin-top: 14px;
  font-size: 14px;
}

/* Homepage Names of God feature */
.names-home {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.names-home-copy p {
  color: var(--gray-700);
  margin-top: 14px;
}

.names-home-art {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.names-home-art:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(59, 0, 102, 0.2);
}

.names-home-art img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 800px) {
  .names-home {
    grid-template-columns: 1fr;
  }

  .names-home-art {
    order: -1;
  }
}

/* ---------- Timeline (story sections) ---------- */

.story-block { max-width: 780px; margin: 0 auto 54px; }
.story-block:last-child { margin-bottom: 0; }

.story-block .story-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-block h2 { font-size: clamp(24px, 3vw, 32px); margin: 6px 0 14px; }
.story-block p { color: var(--gray-700); }

/* ---------- Charts ---------- */

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 420px));
  gap: 28px;
  margin-top: 40px;
  justify-content: center;
  width: 100%;
}

.chart-grid img {
  display: block;
  width: 100%;
  max-width: 420px;
  min-width: 0;
  height: auto;
  aspect-ratio: 1290 / 1749;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

/* ---------- Dedication / long-form ---------- */

.longform {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--gray-700);
}

.longform p { margin-bottom: 20px; }

.seven-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
  width: 100%;
  counter-reset: point;
}

.seven-points li {
  counter-increment: point;
  flex: 0 1 calc(25% - 10px);
  max-width: 220px;
  background: var(--white);
  border: 1px solid rgba(106, 13, 173, 0.12);
  border-top: 3px solid var(--gold-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 8px 12px;
  min-width: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.25;
  color: var(--purple-dark);
}

@media (max-width: 640px) {
  .seven-points li {
    flex-basis: calc(50% - 10px);
    max-width: none;
  }
}

.seven-points li::before {
  content: counter(point);
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.longform .drop p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 54px;
  float: left;
  line-height: 0.9;
  padding-right: 10px;
  color: var(--gold-deep);
}

.longform .signature {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--purple);
  text-align: right;
}

.dedication-intro {
  text-align: center;
  margin-bottom: 40px;
}

.dedication-intro .vol {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-500);
}

details.read-more { margin-top: 8px; }

details.read-more summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--purple);
  list-style: none;
  display: inline-block;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  margin-bottom: 24px;
}

details.read-more summary::-webkit-details-marker { display: none; }

/* ---------- Offer list ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.offer {
  background: var(--white);
  border-radius: 10px;
  border-left: 4px solid var(--accent, var(--gold-deep));
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
}

.page-sds .offer:nth-child(4n + 2) { border-left-color: var(--accent-2); }
.page-sds .offer:nth-child(4n + 3) { border-left-color: var(--accent-3); }
.page-sds .offer:nth-child(4n + 4) { border-left-color: var(--accent-4); }

.honeywell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.honeywell-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 4px solid var(--gold-deep);
  height: 100%;
}

.honeywell-card-logo {
  height: 52px;
  display: flex;
  align-items: center;
}

.honeywell-card-logo img {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.honeywell-card-logo .logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.honeywell-card h3 {
  font-size: 19px;
  margin: 0;
}

.honeywell-card p {
  color: var(--gray-700);
  font-size: 15px;
  margin: 0;
  flex: 1;
}

.honeywell-card a.card-link {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.honeywell-card.is-static .card-link {
  color: var(--gray-500);
  pointer-events: none;
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
}

.workshop-frame {
  margin: 48px auto 8px;
  max-width: 860px;
  padding: 16px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(106, 13, 173, 0.14);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.55), var(--shadow-md);
}

.workshop-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* ---------- Compass verse ---------- */

.compass-verse {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold-deep);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(106, 13, 173, 0.06));
  border-radius: 0 var(--radius) var(--radius) 0;
}

.compass-verse p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--purple-dark);
  font-style: italic;
  margin: 0;
}

.compass-verse cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

/* ---------- Names of God ---------- */

.names-of-god {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(200, 162, 200, 0.28), transparent 55%),
    linear-gradient(180deg, #f7f2fb 0%, var(--white) 42%, #faf7fc 100%);
}

.names-intro {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.names-intro p {
  color: var(--gray-700);
  margin-top: 14px;
}

.names-glance {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 36px;
}

.name-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 16px 10px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(106, 13, 173, 0.12);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.name-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 162, 39, 0.45);
  color: inherit;
}

.name-chip strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--purple-dark);
}

.name-chip span {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.35;
}

.names-faith,
.names-honor {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--gray-700);
}

.names-honor {
  margin-top: 12px;
  margin-bottom: 42px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--purple-dark);
  font-style: italic;
}

.names-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.name-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  border: 1px solid rgba(106, 13, 173, 0.1);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold-deep);
}

.name-card-num {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.name-card h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 4px;
}

.name-card-meaning {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--purple);
  margin-bottom: 14px;
  font-size: 16px;
}

.name-card p {
  color: var(--gray-700);
  margin-top: 10px;
  font-size: 15.5px;
}

.name-card .scripture-ref {
  margin-top: 16px;
  font-size: 14px;
}

.names-revelation {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
}

.names-revelation h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 12px;
}

.names-revelation > p {
  color: var(--gray-700);
}

.names-need-list {
  list-style: none;
  margin: 24px auto 0;
  max-width: 520px;
  text-align: left;
}

.names-need-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.names-need-list li:last-child { border-bottom: none; }

.names-need-list strong { color: var(--purple-dark); }

.names-one-god {
  margin-top: 22px !important;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--purple-dark);
}

.names-declaration {
  margin-top: 40px;
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, var(--plum-black) 0%, var(--purple-dark) 55%, #4a1578 100%);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.names-declaration h3 {
  color: var(--gold);
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 18px;
}

.names-declaration blockquote p {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 8px;
}

.names-declaration cite {
  display: block;
  margin-top: 18px;
  font-style: italic;
  color: var(--gold);
  font-size: 16px;
}

@media (max-width: 900px) {
  .names-glance {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .names-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .names-glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Link lists (Honeywell / study links) ---------- */

.link-list { list-style: none; margin-top: 26px; }

.link-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.link-list li strong { font-size: 17px; }
.link-list li span { color: var(--gray-500); font-size: 15px; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(165, 105, 189, 0.35), transparent 55%),
    linear-gradient(135deg, var(--plum-black) 0%, var(--purple-dark) 48%, var(--purple) 100%);
  color: var(--white);
  text-align: center;
  padding: 84px 0;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 12px;
}

.cta-banner p { max-width: 560px; margin: 0 auto 28px; color: #ecdff7; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--purple-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #f3e8ff;
  border: 1px solid var(--purple-light);
  color: var(--purple-dark);
  font-weight: 600;
}

.form-status.visible { display: block; }

.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--plum-black);
  color: #cbb8dc;
  padding-top: 64px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer-logo img { height: 64px; margin-bottom: 14px; }

.site-footer h4 {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-weight: 800;
}

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #cbb8dc; }
.site-footer a:hover { color: var(--gold); }

.footer-scripture {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 215, 0, 0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.footer-social { display: flex; gap: 12px; margin-top: 18px; }

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.footer-social a:hover { background: var(--gold); color: var(--purple-dark); }

.footer-bottom {
  border-top: 1px solid rgba(200, 162, 200, 0.18);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: #9d87b3;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 34px; direction: ltr; }
  .split.prayer-pair { grid-template-columns: minmax(0, 420px); justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 12px 10px; }
  .main-nav .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }

  .hero-crest-poster img {
    max-height: none;
  }

  .hero-crest {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    height: auto;
    padding: 16px 12px 20px;
    background-size: contain;
    background-position: center center;
  }

  .sds-brand-plate {
    padding: 18px 14px;
  }

  .sds-brand-plate img {
    width: min(100%, 520px);
    border-radius: 6px;
  }

  .lanes-five .lane-card {
    max-width: none;
  }

  .split-img { overflow: hidden; }

  .logo .logo-text { font-size: 16px; }
}

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero .container { padding-top: 84px; padding-bottom: 84px; }
  .hero.hero-sub.hero-soft .container { padding-top: 44px; padding-bottom: 48px; }
  .hero-crest-poster {
    padding: 8px 0 12px;
  }
  .sds-intro { padding: 36px 0 44px; }
  .section { padding: 60px 0; }
  .top-bar .top-links { display: none; }
  .cash-tag { font-size: clamp(28px, 10vw, 48px); }
  .logo .logo-text small { display: none; }
}
