/* ============================================================
   Trinity & Virgil — custom gospel songs
   Clean & big, warm, church-friendly. Built for older eyes.
   One stylesheet, no framework.
   ============================================================ */

:root {
  /* palette */
  --white:      #ffffff;
  --cream:      #fbf8f2;   /* warm off-white section band */
  --cream-deep: #f4ecdd;   /* slightly deeper warm band */
  --ink:        #1a1a1a;   /* near-black body text */
  --ink-soft:   #4a463f;   /* secondary text, warm gray */
  --green:      #2f6b4f;   /* accent / buttons / links */
  --green-dark: #245640;   /* button hover */
  --gold:       #b8862f;   /* hairline + small church accents */
  --line:       #e6ddcd;   /* soft warm border */
  --navy:       #2c3d50;   /* dark buy button + update box */

  /* type */
  --font: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* rhythm */
  --wrap: 1080px;
  --wrap-narrow: 760px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(26, 22, 15, 0.10);
  --shadow-soft: 0 4px 16px rgba(26, 22, 15, 0.07);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 20px;             /* big base for older eyes */
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1em; }

a { color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

/* visible focus for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--wrap-narrow); margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* anchor targets land clear of the sticky header */
[id] { scroll-margin-top: 96px; }

/* the hidden attribute always wins, even over display rules below */
[hidden] { display: none !important; }

/* section rhythm */
section { padding: 84px 0; }
.band-cream { background: var(--cream); }
.band-deep  { background: var(--cream-deep); }

/* a small gold divider motif */
.rule {
  width: 64px; height: 3px; background: var(--gold);
  border: 0; margin: 0 0 28px; border-radius: 2px;
}
.center .rule { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-size: .95rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 14px;
}

.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- buttons (big, easy to tap) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 60px; padding: 0 34px;
  font-family: var(--font); font-size: 1.15rem; font-weight: 800;
  color: var(--white); background: var(--green);
  border: 0; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background .15s ease, transform .05s ease;
  box-shadow: var(--shadow-soft);
}
.btn:hover { background: var(--green-dark); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent; color: var(--green);
  box-shadow: none; border: 2px solid var(--green);
}
.btn--ghost:hover { background: var(--green); color: var(--white); }
.btn--full { width: 100%; }
.btn--big { min-height: 66px; font-size: 1.25rem; padding: 0 40px; }
.btn--dark { background: var(--navy); letter-spacing: .04em; }
.btn--dark:hover { background: #22303f; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--green); color: var(--white);
  text-align: center; font-weight: 700; font-size: 1.02rem;
  padding: 12px 16px;
}
.announce a { color: var(--white); text-decoration: underline; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 20px;
}
.brand {
  font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand .amp { color: var(--gold); }
.brand small {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 12px 16px; border-radius: 8px;
  font-weight: 700; font-size: 1.05rem; color: var(--ink); text-decoration: none;
}
.nav-links a:hover { background: var(--cream); color: var(--green-dark); }
.nav-links a.cta { background: var(--green); color: var(--white); }
.nav-links a.cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--line);
  border-radius: 8px; padding: 10px 14px; font-size: 1rem; font-weight: 800;
  color: var(--ink); cursor: pointer; align-items: center; gap: 8px;
}

/* ---------- hero ---------- */
.hero { position: relative; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: clamp(420px, 60vh, 640px); object-fit: cover;
  object-position: center 30%;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,10,.25) 0%, rgba(20,16,10,.72) 100%);
}
.hero-copy {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; color: var(--white); padding: 0 24px 56px;
}
.hero-copy h1 { color: var(--white); max-width: 16ch; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-copy p { color: #f4efe6; font-size: 1.25rem; max-width: 44ch; margin-bottom: 26px;
  text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-stars { margin-top: 18px; font-weight: 700; color: #f4efe6; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- offer block (photo left, offer + form in one buy column right) ---------- */
.offer-grid {
  display: grid; grid-template-columns: 2fr 3fr; gap: 56px; align-items: start;
}
.offer-photo { position: sticky; top: 102px; }
.offer-photo img {
  border-radius: var(--radius); box-shadow: var(--shadow); width: 100%;
  aspect-ratio: 4/5; object-fit: cover;
}
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 4px; }
.price-was { color: var(--ink-soft); text-decoration: line-through; font-size: 1.3rem; }
.price-now { color: var(--green); font-weight: 800; font-size: 2.2rem; }
.price-off { background: var(--cream-deep); color: var(--green-dark); font-weight: 800;
  padding: 4px 12px; border-radius: 999px; font-size: 1rem; }
.fine { color: var(--ink-soft); font-size: 1rem; }
.tag-note { color: var(--gold); font-weight: 700; }

/* ---------- meet the family ---------- */
.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.person {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft);
}
.person img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 18%; }
.person .body { padding: 26px 28px 30px; }
.person .genre { color: var(--gold); font-weight: 800; font-size: 1rem; letter-spacing: .02em; margin: 2px 0 12px; }
/* demo player on each person card */
.demo {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
}
.demo-label {
  display: block; font-weight: 800; color: var(--green-dark);
  font-size: 1.05rem; margin-bottom: 10px;
}
.demo audio {
  width: 100%; height: 46px; padding: 0; border: 0; background: transparent;
}
.demo audio::-webkit-media-controls-panel { background: var(--cream); }

/* ---------- video reviews (dark band, split cards) ---------- */
.video-reviews { background: var(--navy); color: #fff; }
.video-reviews h2 { color: #fff; }
.vr-intro { color: #cfd8e3; max-width: 58ch; margin: 0 auto; font-size: 1.05rem; }
.vr-list {
  max-width: 780px; margin: 44px auto 0; padding: 0 24px;
  display: grid; gap: 36px;
}
.vr-card {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border-radius: 12px; overflow: hidden;
  min-height: 300px; box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
}
.vr-lyric {
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 30px 20px 54px; position: relative;
}
.vr-lyric p { color: var(--ink); font-size: 1.12rem; line-height: 1.55; margin: 0; }
.vr-brand {
  position: absolute; bottom: 18px; left: 0; right: 0;
  font-style: italic; font-weight: 600; color: var(--ink-soft); font-size: .95rem;
}
.vr-brand .amp { color: var(--gold); font-style: normal; }
.vr-media { position: relative; background: #1f2c3a; }
.vr-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.vr-play {
  position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  padding-left: 6px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.vr-play:hover { background: #22303f; }
.vr-soon {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2;
  text-align: center; color: #fff; font-size: .95rem; font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}

/* ---------- story (the goodbye) ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%;
  aspect-ratio: 1/1; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--wrap-narrow); margin: 40px auto 0; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 8px 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 44px 18px 4px; position: relative;
  font-weight: 800; font-size: 1.2rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; font-weight: 700; color: var(--green); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 4px 18px; color: var(--ink-soft); }

/* ---------- newsletter ---------- */
.news { text-align: center; }
.news form { display: flex; gap: 12px; max-width: 520px; margin: 26px auto 0; flex-wrap: wrap; }
.news input[type=email] { flex: 1; min-width: 220px; }

/* ---------- forms ---------- */
.field { margin-bottom: 30px; }
.field label { display: block; font-weight: 800; font-size: 1.18rem; margin-bottom: 4px; }
.field .hint { display: block; color: var(--ink-soft); font-size: 1.02rem; font-weight: 400; margin-bottom: 12px; }
input, textarea, select {
  width: 100%; font-family: var(--font); font-size: 1.1rem; color: var(--ink);
  padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--white);
}
input:focus, textarea:focus, select:focus { border-color: var(--green); }
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.qnum {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff;
  font-weight: 800; font-size: 1.05rem; margin-right: 12px; flex: none;
}
.q { display: flex; align-items: flex-start; }
.q .qbody { flex: 1; }
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 40px; box-shadow: var(--shadow-soft); margin-top: 36px;
}
.form-reassure { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 30px; }
.big-box { min-height: 240px; }
.opt { font-weight: 400; color: var(--ink-soft); }

/* ---------- buy block: icons, urgency, delivery, payment ---------- */
.pay-icons {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px; margin-top: 18px;
}
.pay-icons svg, .pay-chip {
  height: 34px; padding: 4px 8px; background: var(--white);
  border: 1px solid #d9d9d9; border-radius: 6px; box-sizing: content-box;
}
.pay-chip {
  display: inline-flex; align-items: center; box-sizing: border-box; height: 42px;
  font-weight: 800; font-size: .82rem; letter-spacing: .02em; padding: 4px 10px;
}
.pay-chip--amex { background: #1f72cd; border-color: #1f72cd; color: #fff; }
.pay-chip--discover { color: #1a1a1a; }
.disc-dot {
  width: 12px; height: 12px; border-radius: 50%; background: #f68121;
  display: inline-block; margin: 0 1px;
}
.update-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--navy); color: #fff; border-radius: 12px;
  padding: 20px 22px; margin-top: 18px; font-size: 1.02rem; line-height: 1.5;
}
.update-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--navy); font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.spots-line { margin-top: 8px; }
.blink { animation: blink 1.2s infinite; margin-right: 6px; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .15; } }
.delivery-note {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 18px 0 0; font-size: 1.02rem;
}
.delivery-dot { width: 12px; height: 12px; border-radius: 50%; background: #9aa3ad; flex: none; }
.payment-area { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.pay-divider {
  display: flex; align-items: center; gap: 14px; color: var(--ink-soft);
  font-size: .95rem; margin: 18px 0 14px;
}
.pay-divider::before, .pay-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
#card-container { min-height: 92px; margin-bottom: 16px; }
#google-pay-button { margin-top: 12px; }
.apple-pay-btn {
  display: block; width: 100%; height: 52px; border: 0; border-radius: var(--radius);
  cursor: pointer; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: buy;
  -apple-pay-button-style: black;
}
.form-part { font-weight: 800; font-size: 1.25rem; margin: 0 0 24px; }
.form-error {
  margin-top: 16px; padding: 14px 18px; border-radius: var(--radius);
  background: #fdf3f0; border: 2px solid #c0563a; color: #7c3020; font-size: 1.02rem;
}
.form-success { font-weight: 700; color: var(--green-dark); font-size: 1.1rem; }
/* honeypot: invisible to people, present for bots */
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.step { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.step .n { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 8px; }

/* thank-you confirmation */
.thanks {
  display: none; text-align: center; background: var(--cream);
  border: 2px solid var(--green); border-radius: 14px; padding: 44px 32px; margin-top: 36px;
}
.thanks.show { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #e9e4da; padding: 60px 0 40px; }
.site-footer a { color: #e9e4da; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { font-weight: 800; font-size: 1.3rem; color: var(--white); }
.footer-brand .amp { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-tagline { max-width: 34ch; color: #cfc9bd; margin-top: 12px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; color: #b7b1a5; font-size: .95rem; }

/* generic page header */
.page-head { padding: 72px 0 20px; }
.page-head .rule { margin-top: 20px; }

/* sticky bottom call-to-action, phones only */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(26, 22, 15, 0.12);
}

/* utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 19px; }
  section { padding: 56px 0; }
  .offer-grid, .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .offer-photo { position: static; }
  .family-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .vr-list { padding: 0 16px; gap: 24px; }
  .vr-card { min-height: 250px; }
  .vr-lyric { padding: 22px 12px 46px; }
  .vr-lyric p { font-size: .98rem; }
  .vr-brand { font-size: .85rem; bottom: 14px; }
  .vr-play { width: 50px; height: 50px; font-size: 1.05rem; }
  .person img { aspect-ratio: 4/5; object-position: center 22%; }
  .offer-photo { order: -1; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px; font-size: 1.15rem; border-radius: 8px; }
  .nav-links a.cta { text-align: center; margin-top: 8px; }
  .site-header .nav { position: relative; }
  .hero-copy { padding-bottom: 40px; }
  .sticky-cta:not([hidden]) { display: block; }

  /* the form owns the full width on phones */
  .form-card { padding: 22px 18px; }
  .q { display: block; }
  .qnum { width: 30px; height: 30px; font-size: .95rem; margin: 0 0 8px; }
  .field { margin-bottom: 26px; }
  .field label { font-size: 1.1rem; }
  .field .hint { font-size: .98rem; }
  input, textarea, select { padding: 14px 14px; }
  .big-box { min-height: 200px; }
  .announce { font-size: .95rem; padding: 10px 14px; }
  .btn--big { min-height: 62px; font-size: 1.12rem; padding: 0 18px; }
  .update-box { padding: 16px; gap: 12px; font-size: .98rem; }
  .update-icon { width: 34px; height: 34px; font-size: 1.1rem; }
  .price-now { font-size: 1.9rem; }
  /* keep the last screen readable above the sticky bar */
  .site-footer { padding-bottom: 130px; }
}
