/* ---------------------------------------------------
   The Scriptures Are Real — design tokens
--------------------------------------------------- */
:root {
  --navy: #221c4b;
  --navy-deep: #171334;
  --gold: #d79a4f;
  --gold-light: #ecc78d;
  --cream: #f5f1e6;
  --cream-2: #ece5d3;
  --slate: #5d637b;
  --ink: #221c4b;
  --white: #ffffff;

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --measure: 62ch;
  --radius: 6px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

a { color: inherit; }

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

/* ---------------------------------------------------
   Hero
--------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 50% -10%, #2c2560 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--cream);
  overflow: hidden;
  padding: 88px 0 96px;
}

.hero__watermark {
  position: absolute;
  inset: 0;
  background: url('assets/scarab.png') 85% center / contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: 108px;
  height: 108px;
  margin-bottom: 28px;
}

.hero__eyebrow {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  max-width: 16ch;
}

.hero__byline {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--gold-light);
}

.hero__tagline {
  margin: 26px 0 0;
  max-width: 46ch;
  font-size: 1.08rem;
  color: #d9d5ec;
}

.hero__actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--gold:hover { background: var(--gold-light); }

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 241, 230, 0.45);
}
.btn--outline:hover { border-color: var(--cream); }

.btn--navy {
  background: var(--navy);
  color: var(--cream);
  width: 100%;
  margin-top: 18px;
}
.btn--navy:hover { background: var(--navy-deep); }

.btn--copy {
  font-family: var(--sans);
}

/* ---------------------------------------------------
   About
--------------------------------------------------- */
.about {
  padding: 84px 0;
}

.about__inner {
  max-width: 720px;
  display: flex;
  gap: 28px;
}

.about__rule {
  flex: none;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.about__content {
  flex: 1 1 auto;
  min-width: 0;
}

.about__text {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.6;
  color: var(--navy);
}

.about__edit-note {
  margin: 14px 0 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--slate);
  font-style: italic;
}

/* ---------------------------------------------------
   Section headings shared
--------------------------------------------------- */
.section__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  text-align: center;
  color: var(--cream);
}
.section__title--dark {
  color: var(--navy);
}

.section__sub {
  margin: 12px auto 0;
  max-width: 46ch;
  text-align: center;
  color: #cfc9e6;
}
.section__sub--dark {
  color: var(--slate);
}

/* ---------------------------------------------------
   Listen / Connect — seal rows
--------------------------------------------------- */
.listen, .connect {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 76px 0;
}

.seal-row {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  justify-content: center;
}

.seal-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
}

.seal-link__label {
  font-size: 0.92rem;
  font-weight: 500;
}

.seal {
  --seal-size: 74px;
  width: var(--seal-size);
  height: var(--seal-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: transform 0.15s ease;
}
.seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.55;
}
.seal-link:hover .seal,
.support-card:hover .seal {
  transform: translateY(-3px);
}

.seal--on-navy {
  color: var(--gold-light);
  border: 1.5px solid var(--gold-light);
  background: rgba(215, 154, 79, 0.08);
}

.seal--youtube,
.seal--apple,
.seal--spotify {
  color: #fff;
  border-width: 3px;
  border-color: var(--gold-light);
  font-weight: 700;
}
.seal--youtube::before,
.seal--apple::before,
.seal--spotify::before {
  display: none;
}
.seal--youtube { background: #ff0000; }
.seal--apple { background: #9933cc; }
.seal--spotify { background: #1db954; }

.seal__icon {
  width: 34px;
  height: 34px;
}

.seal--on-cream {
  color: var(--navy);
  border: 1.5px solid var(--navy);
  background: rgba(34, 28, 75, 0.05);
  margin: 0 auto;
}

/* ---------------------------------------------------
   Support
--------------------------------------------------- */
.support {
  background: var(--cream-2);
  padding: 84px 0 96px;
}

.support-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.support-card {
  background: var(--white);
  border: 1px solid rgba(34, 28, 75, 0.12);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-card__name {
  margin: 18px 0 4px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.support-card__handle {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate);
  word-break: break-word;
}

.support-card__note {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--slate);
}

.support-fallback {
  margin: 40px 0 0;
  text-align: center;
  color: var(--slate);
}
.support-fallback a {
  color: var(--navy);
  font-weight: 600;
}

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */
.footer {
  background: var(--navy-deep);
  color: #b9b3d6;
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer__logo {
  opacity: 0.85;
  margin-bottom: 4px;
}

.footer__contact a {
  color: var(--gold-light);
  text-decoration: none;
}
.footer__contact a:hover { text-decoration: underline; }

.footer__copy {
  font-size: 0.82rem;
  color: #837cae;
}

/* ---------------------------------------------------
   Toast (copy confirmation)
--------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: var(--navy-deep);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------------------------------------------
   Responsive
--------------------------------------------------- */
@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Fallback spacing for older browsers without flexbox `gap` support */
@supports not (gap: 1px) {
  .seal-row > li:not(:last-child),
  .hero__actions > *:not(:last-child) {
    margin-right: 20px;
  }
}

@media (max-width: 640px) {
  .hero { padding: 72px 0 76px; }
  .about__inner { flex-direction: column; gap: 14px; }
  .about__rule { width: 100%; height: 3px; }
  .seal-row { gap: 30px; }
  .support-grid { grid-template-columns: 1fr; }
  .btn--outline, .btn--gold { width: 100%; }
  .hero__actions { flex-direction: column; width: 100%; }
}
