/* ==========================================================================
   Jill Hatter — Songs of Hope, Faith & Encouragement
   Homepage stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --green-950: #24390f;
  --green-900: #2c4614;
  --green-800: #33511f;
  --green-700: #3e6126;
  --gold:      #c9a24b;
  --gold-soft: #d8bc72;
  --parchment-50:  #f2ecdb;
  --parchment-100: #efe7d2;
  --parchment-200: #ebe2c9;
  --parchment-300: #e5dbbf;
  --parchment-400: #dfd4b4;
  --sage-100:  #b7c795;  /* medium sage (light) */
  --sage-200:  #a5ba81;  /* medium sage green */
  --card:      #f6f1e2;
  --ink:       #33402a;
  --ink-soft:  #4a5540;
  --heading:   #2e4b1f;
  --line:      #c9bd9a;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "EB Garamond", Georgia, "Times New Roman", serif;
  --font-script:  "Great Vibes", cursive;

  --shadow-card: 0 2px 6px rgba(60, 50, 20, 0.14), 0 10px 24px rgba(60, 50, 20, 0.10);
  --shadow-soft: 0 1px 3px rgba(60, 50, 20, 0.12);

  --wrap: 1200px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 115%; /* +15% text size site-wide */ }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--parchment-100);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0 0 1em; }
a { color: var(--green-800); }

.wrap {
  width: min(var(--wrap), 92%);
  margin-inline: auto;
}

/* Subtle parchment texture applied per-section */
.textured {
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(255, 252, 240, 0.5), transparent 60%),
    radial-gradient(ellipse 70% 55% at 85% 90%, rgba(140, 120, 70, 0.08), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85em 1.9em;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-solid {
  background-color: var(--green-800);
  color: #f3edd9;
  box-shadow: inset 0 0 0 1px rgba(216, 188, 114, 0.55), var(--shadow-soft);
}
.btn-solid:hover { background-color: var(--green-700); }

.btn-outline {
  background-color: rgba(255, 253, 245, 0.7);
  color: var(--heading);
  border-color: #b4a980;
}
.btn-outline:hover {
  border-color: var(--green-800);
  background-color: #fffdf3;
}
.btn-light {
  background-color: #f6f1e2;
  color: var(--heading);
  border-color: #d9cfa9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.btn-light:hover {
  background-color: #fffdf3;
  border-color: var(--gold);
}
.heart-cta,
.quote-cta { text-align: center; margin-top: 1.6rem; }

.btn-solid .play-tri {
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #f3edd9;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Section ribbon labels  (—◆— LABEL —◆—) ---------- */
.ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 2.2rem;
}
.ribbon::before,
.ribbon::after {
  content: "";
  width: 56px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 10'%3E%3Cline x1='0' y1='5' x2='20' y2='5' stroke='%23a2966f' stroke-width='1'/%3E%3Crect x='24' y='1' width='8' height='8' transform='rotate(45 28 5)' fill='%23a2966f'/%3E%3Cline x1='36' y1='5' x2='56' y2='5' stroke='%23a2966f' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Tighter ribbon spacing inside compressed sections */
.from-the-heart .ribbon { margin-bottom: 1.7rem; }
.testimonials .ribbon { margin-bottom: 1.15rem; }
.videos .ribbon { margin-bottom: 1rem; }
.contact .ribbon { margin-bottom: 1.8rem; }
.contact-lede {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.5rem;
}

/* ---------- Dark green sections: light text + tuned details ---------- */
.featured-music,
.from-the-heart,
.testimonials { color: #ede7d2; }

.featured-music .ribbon,
.from-the-heart .ribbon,
.testimonials .ribbon { color: #e8e0c4; }

.featured-music .ribbon::before,
.featured-music .ribbon::after,
.from-the-heart .ribbon::before,
.from-the-heart .ribbon::after,
.testimonials .ribbon::before,
.testimonials .ribbon::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 10'%3E%3Cline x1='0' y1='5' x2='20' y2='5' stroke='%23c9a24b' stroke-width='1'/%3E%3Crect x='24' y='1' width='8' height='8' transform='rotate(45 28 5)' fill='%23c9a24b'/%3E%3Cline x1='36' y1='5' x2='56' y2='5' stroke='%23c9a24b' stroke-width='1'/%3E%3C/svg%3E");
}

.why-jesus h2 { color: #f2ecd8; }
.why-jesus h2::after { background-color: var(--gold); }

/* parchment texture wash reads chalky on dark green — replace with a deep vignette */
.featured-music.textured,
.from-the-heart.textured,
.testimonials.textured {
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 8%, rgba(255, 250, 225, 0.07), transparent 60%),
    radial-gradient(ellipse 75% 60% at 85% 95%, rgba(0, 0, 0, 0.22), transparent 65%),
    linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 48%, var(--green-950) 100%);
}

/* engraved divider: swap the cream highlight for gold on dark sections */
/* Green sections share one parchment-coloured frame — no gold edging.
   The !important guards against any older edging rule still in a cached
   stylesheet or added later. */
.featured-music,
.from-the-heart,
.testimonials,
.collection,
.order-note,
.album-sample,
.testimonial-page {
  border: 7px solid var(--parchment-100) !important;
  box-shadow: none !important;
  outline: none !important;
}
.featured-music.section-divide,
.from-the-heart.section-divide,
.testimonials.section-divide,
.collection.section-divide,
.order-note.section-divide,
.album-sample.section-divide,
.testimonial-page.section-divide {
  border: 7px solid var(--parchment-100);
  box-shadow: none;
}

/* cards get stronger presence on the dark green ground */
.featured-music .cd-card,
.from-the-heart .blog-card,
.testimonials .quote-card { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); }

/* ---------- About: branches flanking the paragraph ---------- */
.about-para {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 1.2vw, 1rem);
  width: 100%;
}
.about-para p { margin: 0.75rem 0 1.05rem; }
.about-branch {
  width: clamp(68px, 9vw, 124px);
  height: auto;
  flex: none;
  align-self: center;
  opacity: 0.9;
}

/* ---------- Branches flanking content (Videos, Contact) ----------
   In the flow beside the cards/form, so they sit right next to the
   content instead of drifting out to the section edges. */
.flanked-row {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.2vw, 1rem);
}
.flanked-row > .video-grid,
.flanked-row > .contact-grid { flex: 1 1 auto; min-width: 0; }
.flank-branch {
  flex: none;
  width: clamp(40px, 5.5vw, 88px);
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 3px 4px rgba(50, 45, 20, 0.16));
}

.videos .videos .contact 
/* ---------- Decorated boxes & section divisions ---------- */
/* Cards get a fine double frame: outer border + inset gold keyline,
   plus small corner accents for an engraved, stationery-like finish. */
.cd-card,
.blog-card,
.quote-card {
  position: relative;
}
.cd-card::before,
.blog-card::before,
.quote-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 162, 75, 0.45);   /* inner gold keyline */
  border-radius: 2px;
  pointer-events: none;
}
.cd-card::after,
.blog-card::after,
.quote-card::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  /* corner accents drawn as four tiny L-shapes */
  background:
    linear-gradient(var(--gold), var(--gold)) top    left  / 12px 1px,
    linear-gradient(var(--gold), var(--gold)) top    left  / 1px 12px,
    linear-gradient(var(--gold), var(--gold)) top    right / 12px 1px,
    linear-gradient(var(--gold), var(--gold)) top    right / 1px 12px,
    linear-gradient(var(--gold), var(--gold)) bottom left  / 12px 1px,
    linear-gradient(var(--gold), var(--gold)) bottom left  / 1px 12px,
    linear-gradient(var(--gold), var(--gold)) bottom right / 12px 1px,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1px 12px;
  background-repeat: no-repeat;
  opacity: 0.8;
}

/* Ornate rule between sections: hairline + soft shadow + gold midline */
.section-divide {
  border-top: 1px solid rgba(122, 108, 66, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 253, 240, 0.55),
              inset 0 8px 14px -12px rgba(60, 50, 20, 0.5);
}

/* ---------- Decorative sprigs ---------- */
.sprig {
  position: absolute;
  width: clamp(60px, 7vw, 110px);
  pointer-events: none;
  user-select: none;
  opacity: 0.9;
}
.sprig.flip-x { transform: scaleX(-1); }
.sprig,



/* ---------- Play button overlay ---------- */
.play-overlay {
  position: relative;
  display: block;
}
.play-overlay .play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(44, 70, 20, 0.88);
  border: 2px solid rgba(243, 237, 217, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.play-overlay .play-btn::after {
  content: "";
  margin-left: 5px;
  width: 0; height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid #f3edd9;
}
.play-overlay:hover .play-btn {
  transform: scale(1.08);
  background-color: rgba(62, 97, 38, 0.92);
}

/* ==========================================================================
   Header / Footer bar
   ========================================================================== */
.site-header,
.site-footer {
  background-color: var(--green-900);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.10));
  color: #efe8d2;
}

.bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;      /* centers the tagline under the logo */
  text-decoration: none;
  line-height: 1;
}
.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.brand-name {
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.brand-sprig { width: 58px; height: auto; flex: none; }
.brand-sprig-left,
.brand-sprig-right { opacity: 0.95; }
.brand-tag {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: #ded4b4;
  margin-top: 0.35rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.1rem);
}
.site-nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  color: #efe8d2;
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover { color: var(--gold-soft); }
.site-nav a.active {
  color: #fff;
  border-bottom-color: var(--gold);
}
.cart-link { display: inline-flex; }
.cart-link svg { width: 24px; height: 24px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(239, 232, 210, 0.5);
  border-radius: 4px;
  color: #efe8d2;
  padding: 0.4rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--parchment-100);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0 auto 0 0;
  left: 12.6%;         /* photo panel shifted right by 30% of its width */
  width: 42%;
  height: 100%;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 52%, transparent 96%);
          mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 52%, transparent 96%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  min-height: clamp(152px, 16.3vw, 198px);
}

.hero-copy {
  grid-column: 2;
  align-self: center;
  text-align: center;
  padding: 1.05rem clamp(1rem, 3vw, 3rem);
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 700;
  color: var(--heading);
  display: block;
  line-height: 1.05;
  margin-bottom: -0.12em;   /* pull "Hope, Faith," up toward "Songs of" */
}
.hero-title {
  font-size: clamp(2.1rem, 3.95vw, 3.3rem);
  font-weight: 700;
  color: var(--green-950);
  text-shadow: 0.02em 0.02em 0 rgba(36, 57, 15, 0.35); /* optically heavier */
  margin: 0;
}
.hero-title .line-2 {
  display: block;
  font-size: 0.62em;
  font-weight: 700;
}

.hero-lede {
  max-width: 42ch;
  margin: 0.62rem auto 0.95rem;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.4vw, 1rem);
  flex-wrap: nowrap;        /* keeps the right branch beside the buttons */
}
.cta-buttons {
  display: flex;
  flex-direction: column;   /* the two buttons stack */
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
}
.cta-buttons .btn { width: 100%; justify-content: center; }

.hero-script {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.82rem;
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  color: var(--green-800);
}
.hero-script .script-leaf { width: clamp(34px, 3.4vw, 52px); }



/* Branches flanking the hero buttons */
.hero-ctas .cta-branch {
  width: clamp(38px, 4.4vw, 62px);
  height: auto;
  flex: none;
  opacity: 0.9;
}

.hero .sprig-right {
  right: clamp(8px, 2.5vw, 40px);
  top: 50%;
  translate: 0 -50%;
}

/* ==========================================================================
   Featured Music
   ========================================================================== */
.featured-music {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 48%, var(--green-950) 100%);
  padding: 1.95rem 0 2.25rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;      /* row 1 = headings, row 2 = content */
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
/* Both columns share the grid's rows, so the heading row is the same height
   in each and the video box lines up with the CD boxes. */
.why-jesus,
.featured-cds {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
}
.why-jesus > h2,
.featured-cds > .ribbon { align-self: end; }

.why-jesus h2 {
  display: inline-block;      /* underline hugs the headline's full width */
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  margin-bottom: 1.1rem;
}
.why-jesus h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.5rem;
  background-color: var(--gold);
}
.why-jesus .play-overlay {
  border: 6px solid #fffdf6;
  box-shadow: var(--shadow-card);
  border-radius: 2px;
  overflow: hidden;
}
.why-jesus img { width: 100%; height: auto; }

.featured-music .ribbon { margin-top: 0.25rem; margin-bottom: 1.25rem; }

.cd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.cd-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  padding: 1rem 1rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.cd-card .cd-art {
  background-color: #fffdf6;
  padding: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.cd-card .cd-art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 300 / 258;      /* keeps all three thumbnails identical */
}
.cd-card .cd-art img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  outline: 1px solid rgba(122, 108, 66, 0.3);
}
.cd-card .cd-art img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}
.cd-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-top: 0.1rem;
}
.cd-card .cd-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
}
.cd-card .btn { padding: 0.6em 1em; font-size: 0.72rem; }

/* ==========================================================================
   About Jill
   ========================================================================== */
.about {
  position: relative;
  background-color: var(--parchment-200);
  overflow: hidden;
}

.about-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 44%;
  height: 100%;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  -webkit-mask-image: linear-gradient(to left, #000 60%, transparent 98%);
          mask-image: linear-gradient(to left, #000 60%, transparent 98%);
}

.about-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  min-height: clamp(210px, 21vw, 258px);
}

.about-copy {
  grid-column: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;      /* heading, paragraph, branches and button share one centre line */
  text-align: center;
  padding: 1.66rem clamp(1rem, 2.5vw, 2.5rem);
}
.about-copy h2 {
  display: inline-block;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
}
.about-copy h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.55rem;
  background-color: var(--gold);
}
.about-copy p {
  max-width: 56ch;
  margin: 0.75rem 0 1.05rem;
  color: var(--ink-soft);
  text-align: left;      /* body copy reads left-aligned */
}


/* ==========================================================================
   From the Heart (blog)
   ========================================================================== */
.from-the-heart {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 48%, var(--green-950) 100%);
  padding: 2.5rem 0 2.95rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}

.blog-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 1rem;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  padding: 1rem;
}
.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  border-radius: 2px;
}
.blog-card h3 {
  font-size: 1.06rem;
  margin-bottom: 0.45rem;
}
.blog-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.read-more {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--heading);
}
.read-more:hover { color: var(--green-700); }

/* ==========================================================================
   Videos
   ========================================================================== */
.videos {
  position: relative;
  background-color: var(--parchment-100);
  padding: 1.45rem 0 1.79rem;
  overflow: hidden;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.video-card { text-align: center; }
.video-card .play-overlay {
  border: 5px solid #fffdf6;
  outline: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.video-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.video-card h3 {
  font-size: 1.28rem;
  margin: 0.5rem 0 0.25rem;
}
.video-card p {
  max-width: 30ch;
  margin-inline: auto;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.videos-cta {
  text-align: center;
  margin-top: 1.05rem;
}


/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  position: relative;
  background-image: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 48%, var(--green-950) 100%);
  padding: 1.55rem 0 1.85rem;
  overflow: hidden;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.2rem);   /* tighter gap = wider cards */
}

.quote-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.15rem 0.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.quote-card {
  display: grid;
  grid-template-columns: auto 1fr;   /* quote mark beside the text, not above */
  column-gap: 0.55rem;
}
.quote-card .quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.72;
  color: var(--gold);
  grid-column: 1;
  grid-row: 1;
}
.quote-card blockquote {
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.quote-card cite { grid-column: 2; grid-row: 2; }
.quote-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font-display);
  color: var(--heading);
}


/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  position: relative;
  background-color: var(--parchment-50);
  padding: 1.4rem 0 1.9rem;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-intro p {
  max-width: 34ch;
  color: var(--ink-soft);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background-color: #fffdf6;
  border: 1px solid #bdb28a;
  border-radius: 3px;
  padding: 0.75rem 0.9rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8d8666; }
.contact-form textarea {
  min-height: 77px;
  resize: vertical;
}
.contact-form .form-actions {
  text-align: center;
  margin-top: 1.2rem;
}

.form-status {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.form-status.ok    { color: var(--green-700); }
.form-status.error { color: #8a3324; }


/* Honeypot field for spam bots — visually hidden */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer .bar-inner { padding: 1.1rem 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr; }
  .why-jesus { max-width: 560px; margin-inline: auto; text-align: center; }
  .why-jesus h2::after { margin-inline: auto; }
  .blog-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 50;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.8rem 0 1.2rem;
    background-color: var(--green-900);
    box-shadow: 0 12px 20px rgba(0,0,0,0.25);
    display: none;
  }
  .site-nav.open { display: flex; }
  /* header stays sticky on mobile too */

  .hero-photo {
    position: relative;
    width: 100%;
    height: 115px;
  }
  .hero-photo img {
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    object-position: 62% 20%;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    grid-column: 1;
    padding: 0 1.2rem 1.7rem;
    margin-top: -2.5rem;
  }


  .hero .sprig-right { display: none; }

  .about-photo {
    position: relative;
    width: 100%;
    height: 187px;
  }
  .about-photo img {
    -webkit-mask-image: linear-gradient(to top, #000 65%, transparent 100%);
            mask-image: linear-gradient(to top, #000 65%, transparent 100%);
  }
  .about-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-ctas .cta-branch { width: 34px; }
  .flank-branch { display: none; }

  .about-copy { padding: 0 1.4rem 1.7rem; text-align: center; }
  .about-copy h2::after { margin-inline: auto; }
  .about-copy p { margin-inline: auto; text-align: left; }

  .cd-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .video-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .quote-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-intro { text-align: center; }
  .contact-intro p { margin-inline: auto; }
  .sprig { display: none; }
  .brand-sprig { width: 40px; }
  .about-para { gap: 0.35rem; }
  .about-branch { width: 52px; }
  .hero-script .script-leaf { width: 30px; }
  .bar-inner { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card img { max-height: 210px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =========================================================================
   INNER PAGES
   ========================================================================= */

/* ---------- Page banner ---------- */
.page-banner {
  position: relative;
  background-color: var(--parchment-100);
  padding: 1.9rem 0 1.7rem;
  text-align: center;
  overflow: hidden;
}
.banner-branch {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(48px, 6vw, 96px);
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}
.banner-branch-left  { left: clamp(4px, 3vw, 60px); }
.banner-branch-right { right: clamp(4px, 3vw, 60px); }
.banner-kicker {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  color: var(--gold-dark);
}
.banner-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 700;
  color: var(--green-950);
  margin: 0.1em 0 0;
}
.banner-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 2px;
  margin: 0.5rem auto 0;
  background-color: var(--gold);
}
.banner-lede {
  max-width: 52ch;
  margin: 0.8rem auto 0;
  color: var(--ink-soft);
}

.section-intro {
  max-width: 62ch;
  margin: 0 auto 1.6rem;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- Responsive video frames ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #1d2a14;
  border: 5px solid #fffdf6;
  outline: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- About page ---------- */
.about-page { background-color: var(--parchment-200); }
.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);   /* video gets the larger share */
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  padding: 2rem 0;
}
.video-caption {
  margin: 0.6rem 0 0;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.about-page-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  color: var(--heading);
  display: inline-block;
}
.about-page-copy h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.5rem;
  background-color: var(--gold);
}
.about-page-copy p { margin: 0.9rem 0; color: var(--ink-soft); }
.signature {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--gold-dark);
}

.collection {
  background-image: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 48%, var(--green-950) 100%);
  padding: 2rem 0 2.4rem;
  color: #ede7d2;
}
.collection .ribbon { color: #e8e0c4; margin-bottom: 1.4rem; }
.collection-figure {
  margin: 0 auto;
  max-width: 620px;
  background-color: #fffdf6;
  padding: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(0,0,0,0.38);
}
.collection-figure img { width: 100%; height: auto; display: block; }
.collection-cta {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* ---------- From the Heart ---------- */
.heart-toc { background-color: var(--parchment-200); padding: 1.8rem 0 2rem; }
.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}
.toc-item {
  display: block;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.toc-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.toc-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading);
}
.toc-excerpt {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.posts { background-color: var(--parchment-50); padding: 2rem 0 2.4rem; }
.posts-wrap { max-width: 760px; }
.post { margin-bottom: 3rem; scroll-margin-top: 90px; }
.post:last-child { margin-bottom: 0; }
.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--heading);
  text-align: center;
}
.post-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin: 0.5rem auto 1.2rem;
  background-color: var(--gold);
}
.post-figure {
  margin: 0 0 1.3rem;
  background-color: #fffdf6;
  padding: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.post-figure img { width: 100%; height: auto; display: block; }
.post-body p { margin: 0 0 1.05rem; color: var(--ink-soft); }
.verse {
  margin: 1.4rem 0;
  padding: 0.9rem 1.2rem;
  border-left: 3px solid var(--gold);
  background-color: rgba(201, 162, 75, 0.08);
  font-style: italic;
}
.verse p { margin: 0 0 0.4rem; }
.verse cite {
  font-style: normal;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  font-size: 0.9rem;
}
.back-to-top {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  text-decoration: none;
}
.back-to-top:hover { text-decoration: underline; }

/* ---------- Music hub ---------- */
.music-hub { background-color: var(--parchment-200); padding: 1.9rem 0 2.2rem; }
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
  align-items: start;
}
.album-card {
  position: relative;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1rem 1rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.album-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: 2px;
  pointer-events: none;
}
.album-art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 400 / 344;      /* one box size for every cover */
  background-color: #fffdf6;
  padding: 7px;
  border: 1px solid var(--line);
}
.album-art img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; }
.album-tag {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-script);
  font-size: 1.15rem;
  color: var(--gold-dark);
}
.album-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--heading);
  margin: 0.1rem 0 0.4rem;
}
.album-blurb { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 0.7rem; }
.album-peek {
  list-style: none;
  margin: 0 0 0.7rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.album-peek li { padding: 0.12rem 0; }
.album-peek .more { font-style: italic; color: var(--gold-dark); }
.album-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.7rem;
}
.album-actions { display: flex; flex-direction: column; gap: 0.45rem; }
.album-actions .btn { width: 100%; justify-content: center; }

.order-note {
  background-image: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 48%, var(--green-950) 100%);
  color: #ede7d2;
  padding: 1.8rem 0 2rem;
}
.order-note .ribbon { color: #e8e0c4; }
.order-note .section-intro { color: #e2dcc4; }

/* ---------- Album detail ---------- */
.album-detail { background-color: var(--parchment-100); padding: 2rem 0 2.2rem; }
.album-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.album-detail-art { text-align: center; }
.album-detail-art figure {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 400 / 344;      /* matches the other two album pages */
  margin: 0 0 0.9rem;
  background-color: #fffdf6;
  padding: 9px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.album-detail-art figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; }
.album-detail-art .btn { width: 100%; justify-content: center; }
.track-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0.9rem 1rem;
  text-align: left;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.track-list li {
  display: flex;
  gap: 0.6rem;
  padding: 0.28rem 0;
  border-bottom: 1px dotted rgba(122, 108, 66, 0.28);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.track-list li:last-child { border-bottom: 0; }
.track-list .tn {
  min-width: 1.4em;
  font-family: var(--font-display);
  color: var(--gold-dark);
}
.album-detail-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.3vw, 2.05rem);
  color: var(--heading);
  display: inline-block;
}
.album-detail-copy h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.5rem;
  background-color: var(--gold);
}
.album-detail-copy p { margin: 0.9rem 0; color: var(--ink-soft); }

.album-sample {
  background-image: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 48%, var(--green-950) 100%);
  padding: 1.8rem 0 2rem;
  color: #ede7d2;
}
.album-sample .ribbon { color: #e8e0c4; margin-bottom: 1.3rem; }
.album-sample-frame { max-width: 680px; margin-inline: auto; }

.other-albums { background-color: var(--parchment-200); padding: 1.7rem 0 1.9rem; }
.other-album-row {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  flex-wrap: wrap;
}
.other-album {
  display: block;
  width: 190px;
  text-align: center;
  text-decoration: none;
}
.other-album img {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 344;
  object-fit: contain;
  display: block;
  background-color: #fffdf6;
  padding: 6px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease;
}
.other-album:hover img { transform: translateY(-3px); }
.other-album span {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  color: var(--heading);
}

/* ---------- Videos page ---------- */
.video-page { background-color: var(--parchment-100); padding: 1.9rem 0 2.2rem; }
.video-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2rem);
}
.video-item { text-align: center; }
.video-item h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--heading);
  margin: 0.7rem 0 0.3rem;
}
.video-item p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Testimonials page ---------- */
.testimonial-page {
  background-image: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 48%, var(--green-950) 100%);
  padding: 1.9rem 0 2.2rem;
  color: #ede7d2;
}
.testimonial-page .ribbon { color: #e8e0c4; }
.testimonial-stack {
  display: grid;
  gap: 1.1rem;
  max-width: 820px;
  margin-inline: auto;
}
.testimonial-full {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  margin: 0;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}
.testimonial-full::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: 2px;
  pointer-events: none;
}
.testimonial-full .quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.72;
  color: var(--gold);
}
.testimonial-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--heading);
  margin: 0 0 0.5rem;
}
.testimonial-body p { margin: 0 0 0.8rem; color: var(--ink-soft); font-size: 0.96rem; }
.testimonial-body figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--green-900);
}

/* ---------- Contact page ---------- */
.contact-page { background-color: var(--parchment-50); padding: 2rem 0 2.4rem; }

/* ---------- Legal pages ---------- */
.legal { background-color: var(--parchment-50); padding: 2rem 0 2.4rem; }
.legal-wrap { max-width: 720px; }
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--heading);
  margin: 1.6rem 0 0.5rem;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 0.9rem; color: var(--ink-soft); }
.legal-updated {
  margin-top: 1.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  font-style: italic;
}


/* ---------- Inner-page responsive ---------- */
@media (max-width: 880px) {
  .about-page-grid,
  .album-detail-grid { grid-template-columns: 1fr; }
  .album-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .banner-branch { display: none; }
  .toc-grid { grid-template-columns: 1fr; }
}

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-stuck {
  box-shadow: 0 4px 18px rgba(20, 32, 8, 0.38);
}
.site-header.is-stuck .brand-name { font-size: clamp(1.4rem, 1.9vw, 1.7rem); }
.site-header.is-stuck .brand-sprig { width: 40px; }
.site-header.is-stuck .brand-tag { display: none; }
.site-header.is-stuck .bar-inner { padding-top: 0.4rem; padding-bottom: 0.4rem; }
/* anchor links shouldn't hide under the fixed bar */
:target { scroll-margin-top: 96px; }

/* ---------- Snippet player ---------- */
.player-hint {
  margin: 1.1rem 0 0.4rem;
  text-align: center;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.track-list .track {
  align-items: center;
  cursor: pointer;
  padding: 0.34rem 0.15rem;
  border-radius: 3px;
  transition: background-color 0.15s ease;
}
.track-list .track:hover { background-color: rgba(201, 162, 75, 0.14); }
.track-list .track.no-clip { cursor: default; }
.track-play {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--green-800);
  border-radius: 50%;
  background-color: var(--green-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.track-play .tri {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 7px solid #f4efdd;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.track:hover .track-play { transform: scale(1.06); }
.track-name { flex: 1 1 auto; }
.track-time { flex: none; font-size: 0.85rem; color: var(--gold-dark); }

.track.is-playing { background-color: rgba(201, 162, 75, 0.2); }
.track.is-playing .track-name { font-weight: 600; color: var(--heading); }
.track.is-playing .track-play { background-color: var(--gold-dark); border-color: var(--gold-dark); }
/* play triangle becomes a pause bar pair */
.track.is-playing .track-play .tri {
  margin-left: 0;
  width: 8px;
  height: 10px;
  border: 0;
  background: linear-gradient(90deg, #fffdf3 0 3px, transparent 3px 5px, #fffdf3 5px 8px);
}
.track.is-loading .track-play { opacity: 0.6; }
.track.has-error .track-name { color: #8a5a2b; font-style: italic; }

/* ---------- 404 ---------- */
.notfound {
  background-color: var(--parchment-100);
  padding: 2.6rem 0 3rem;
  text-align: center;
}
.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  margin: 0 0 0.3rem;
}
.notfound h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--heading);
  margin: 0 0 0.8rem;
}
.notfound-links {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

/* ---------- Footer copyright ---------- */
.footer-copyright {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(222, 212, 180, 0.22);
  text-align: center;
  font-size: 0.86rem;
  color: #ded4b4;
}
.copyright-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #c3ba9a;
}
.footer-legal {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: 0;
}

/* ---------- Footer fine print (single combined line) ---------- */
.footer-fineprint {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(222, 212, 180, 0.22);
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #cfc6a6;
}
.footer-fineprint a {
  color: #e2d9b8;
  text-decoration: none;
  white-space: nowrap;
}
.footer-fineprint a:hover { text-decoration: underline; }
.footer-fineprint .sep { margin: 0 0.4rem; opacity: 0.6; }
.footer-fineprint a:first-of-type { margin-left: 0.35rem; }

/* ---------- Click-to-play video embeds ---------- */
.video-embed {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}
.video-embed img { display: block; width: 100%; height: auto; }
.video-embed.is-playing { cursor: default; }
.video-embed .embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video-embed .embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Video thumbnails (videos page) ---------- */
.video-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  cursor: pointer;
  background-color: #1d2a14;
  border: 5px solid #fffdf6;
  outline: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.video-thumb:hover img { transform: scale(1.03); }
.video-thumb .play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background-color: rgba(44, 70, 20, 0.88);
  border: 2px solid rgba(243, 237, 217, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.video-thumb .play-btn::after {
  content: "";
  margin-left: 5px;
  width: 0; height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid #f3edd9;
}
.video-thumb:hover .play-btn {
  transform: scale(1.08);
  background-color: rgba(62, 97, 38, 0.92);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2.5rem);
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(14, 22, 8, 0.88);
  backdrop-filter: blur(2px);
}
.lightbox-panel {
  position: relative;
  width: min(1100px, 100%);
  max-height: 100%;
}
.lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  background-color: #000;
  border: 6px solid #fffdf6;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox-title {
  margin: 0.7rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #f0e9d2;
}
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(243, 237, 217, 0.9);
  background-color: var(--green-900);
  color: #f3edd9;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover { background-color: var(--green-700); transform: scale(1.06); }
body.lightbox-open { overflow: hidden; }

@media (max-width: 880px) {
  .video-page-grid { grid-template-columns: 1fr; }
  .lightbox-close { top: -10px; right: -6px; width: 36px; height: 36px; font-size: 1.35rem; }
}

/* Video thumbnails/embeds are links (so they still work without JS) —
   these keep them looking exactly as they did when they were buttons. */
a.video-thumb,
a.video-embed {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.video-thumb:focus-visible,
a.video-embed:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.noscript-note {
  max-width: 60ch;
  margin: 0 auto 1.2rem;
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.92rem;
  background-color: rgba(255, 253, 246, 0.9);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
}

/* Thumbnail safety net: a dark green field behind every video thumbnail, so a
   slow or missing YouTube image still reads as a video rather than a gap. */
.video-thumb {
  background-color: #1d2a14;
  background-image: linear-gradient(160deg, #2c4614, #16220c);
}
.video-thumb img { background-color: #1d2a14; }

/* Spam honeypot — must never be visible to a human, but must stay in the DOM
   for Formspree to see it. Not display:none, which some bots detect. */
.hp-field,
input[name="_gotcha"] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.video-item { scroll-margin-top: 100px; }   /* clears the sticky header */
