/* ════════════════════════════════════════════════════════
   Think Love of God — shared stylesheet
   Used across index.html, about.html, news.html,
   music.html, and store.html
   ════════════════════════════════════════════════════════ */

    :root {
      --teal: #1aa7c8;
      --teal-mid: #138aa6;
      --teal-dim: rgba(26,167,200,0.12);
      --teal-line: rgba(26,167,200,0.22);
      --ink: #080a0c;
      --ink-1: #0e1114;
      --ink-2: #141720;
      --surface: #0d1015;
      --rule: rgba(255,255,255,0.07);
      --cream: #e8e2d6;
      --muted: rgba(232,226,214,0.52);
      --faint: rgba(232,226,214,0.22);
      --nav-h: 60px;
      --max: 1080px;
      --pad: clamp(1.25rem, 5vw, 2.5rem);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body { background: var(--ink); color: var(--cream); font-family: 'DM Sans', sans-serif; font-weight: 300; line-height: 1.65; overflow-x: hidden; }

    /* ── UTILITIES ─────────────────────────────────────── */
    .container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
    .label {
      font-family: 'DM Sans', sans-serif; font-size: 0.83rem; font-weight: 500;
      letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal);
    }
    .h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.08; color: var(--cream); }
    .h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.53rem, 2.8vw, 2.1rem); line-height: 1.15; color: var(--cream); }
    .h3 { font-family: 'DM Serif Display', serif; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.25; color: var(--cream); }
    .body-text { font-size: 0.93rem; color: var(--muted); line-height: 1.5; }
    .rule { width: 100%; height: 1px; background: var(--rule); }
    .teal-rule { width: 32px; height: 1px; background: var(--teal); display: block; }

    /* ── REVEAL ─────────────────────────────────────────── */
    .r { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .r.on { opacity: 1; transform: none; }
    .r.d1 { transition-delay: 0.1s; } .r.d2 { transition-delay: 0.2s; }
    .r.d3 { transition-delay: 0.3s; } .r.d4 { transition-delay: 0.4s; }

    /* ── STICKY NAV ─────────────────────────────────────── */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      height: var(--nav-h);
      display: flex; align-items: center;
      padding: 0 var(--pad);
      background: rgba(8,10,12,0.88);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--rule);
      transition: border-color 0.3s;
    }
    .nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max); margin: 0 auto; }
    .nav-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
    .nav-brand img { width: 45px; height: 45px; object-fit: contain; border-radius: 4px; }
    .nav-brand-text { font-family: 'DM Sans', sans-serif; font-size: 0.55rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); }
    .nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
    .nav-links a {
      font-size: 0.68rem; font-weight: 400; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--muted); text-decoration: none;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--cream); }
    .nav-links .nav-accent { color: var(--teal); }
    .nav-links .nav-accent:hover { color: #22c4ea; }

    /* ── ANNOUNCEMENT BAR ────────────────────────────────── */
    .announce-bar {
      background: var(--teal-dim);
      border-bottom: 1px solid var(--teal-line);
      margin-top: var(--nav-h);
      overflow: hidden;
      white-space: nowrap;
      position: relative;
    }
    .announce-bar::before,
    .announce-bar::after {
      content: '';
      position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2;
      pointer-events: none;
    }
    .announce-bar::before { left: 0; background: linear-gradient(to right, rgba(26,167,200,0.12), transparent); }
    .announce-bar::after  { right: 0; background: linear-gradient(to left, rgba(26,167,200,0.12), transparent); }
    .announce-ticker {
      display: inline-block;
      animation: ticker-scroll 40s linear infinite;
    }
    .announce-ticker:hover { animation-play-state: paused; }
    .announce-item {
      display: inline-flex; align-items: center;
      padding: 0.65rem 3rem;
      font-size: 0.76rem; color: var(--cream); line-height: 1.5;
      white-space: nowrap;
    }
    .announce-item .sep { color: var(--teal); opacity: 0.4; margin: 0 1.5rem; }
    .announce-item strong { color: var(--teal); font-weight: 500; }
    .announce-item a { color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--teal-line); transition: border-color 0.2s; }
    .announce-item a:hover { border-color: var(--teal); }
    @keyframes ticker-scroll {
      0%   { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }

    /* ── HERO ─────────────────────────────────────────────── */
    .hero {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 4rem;
      padding: 2.5rem var(--pad) 2.5rem;
      max-width: var(--max);
      margin: 0 auto;
    }
    .hero-text { display: flex; flex-direction: column; gap: 1.25rem; }
    .hero-text .label { margin-bottom: 0.1rem; }
    .hero-title { }
    .hero-title em { font-style: italic; color: var(--teal); }
    .hero-body { font-size: 0.93rem; color: var(--muted); max-width: 420px; }
    .hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; padding-top: 0.25rem; }
    .hero-visual {
      display: flex; align-items: center; justify-content: center;
    }

    /* ── BUTTONS ─────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.6rem 1.4rem; border-radius: 2px;
      font-family: 'DM Sans', sans-serif; font-size: 0.7rem;
      font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
      text-decoration: none; white-space: nowrap;
      transition: all 0.2s ease; cursor: pointer; border: none;
    }
    .btn svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
    .btn-solid { background: var(--teal); color: var(--ink); }
    .btn-solid:hover { background: #22c4ea; }
    .btn-ghost { border: 1px solid var(--teal-line); color: var(--cream); background: transparent; }
    .btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
    .btn-yt { background: #c4302b; color: #fff; }
    .btn-yt:hover { background: #a82723; }

    /* ── ABOUT ── newspaper wrap ────────────────────────── */
    .about-wrap { }
    .about-heading-float {
      float: left;
      width: 280px;
      margin: 0 2.5rem 0.5rem 0;
      flex-shrink: 0;
    }
    .about-heading-float .h2 { line-height: 1.1; }
    .about-heading-float .teal-rule { margin-top: 1rem; }
    .about-body-flow { font-size: 0.93rem; color: var(--muted); line-height: 1.85; }
    .about-body-flow p + p { margin-top: 0.9rem; }
    .about-body-flow::after { content: ''; display: table; clear: both; }
    .section { padding: 5rem var(--pad); }
    .section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
    .section-head.center { align-items: center; text-align: center; }
    .section-head.center .body-text { max-width: 560px; }

    /* ── HORIZONTAL RULE WITH LABEL ─────────────────────── */
    .section-divider {
      display: flex; align-items: center; gap: 1rem;
      margin-bottom: 3rem;
    }
    .section-divider .rule { flex: 1; }
    .section-divider .label { flex-shrink: 0; }

    /* ── NEWS / BLOG SECTION ─────────────────────────────── */
    .news-section { background: var(--ink-1); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--rule); }
    .news-card {
      background: var(--ink-1);
      padding: 2rem;
      display: flex; flex-direction: column; gap: 0.75rem;
      transition: background 0.2s;
    }
    .news-card:hover { background: var(--ink-2); }
    .news-card .date { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
    .news-card .news-title { font-family: 'DM Serif Display', serif; font-size: 1.05rem; color: var(--cream); line-height: 1.3; }
    .news-card .news-body { font-size: 0.883rem; color: var(--muted); line-height: 1.75; }
    .news-card .news-tag {
      display: inline-block; font-size: 0.58rem; letter-spacing: 0.18em;
      text-transform: uppercase; padding: 0.2rem 0.6rem;
      border: 1px solid var(--teal-line); color: var(--teal);
      border-radius: 1px; align-self: flex-start;
    }
    .news-featured {
      background: var(--surface);
      border: 1px solid var(--teal-line);
      padding: 2.5rem;
      display: flex; flex-direction: column; gap: 1rem;
    }
    .news-featured:hover { background: var(--ink-2); }
    .news-featured .news-title { font-size: 1.3rem; }
    .news-featured-body {
      overflow: hidden;
    }
    .news-featured-body::after { content: ''; display: table; clear: both; }
    .news-featured-heading-float {
      float: left;
      width: 260px;
      margin: 0 2rem 0.5rem 0;
      flex-shrink: 0;
    }
    @media (max-width: 600px) {
      .news-featured-inner { grid-template-columns: 1fr; }
      .news-featured-inner > div:last-child { align-self: start; }
      .news-featured-heading-float {
        float: none;
        width: 100%;
        margin: 0 0 1rem 0;
      }
    }

    /* ── MUSIC SECTION ───────────────────────────────────── */
    .music-section { background: var(--ink); }
    .album-layout {
      display: grid; grid-template-columns: 200px 1fr;
      gap: 3rem; align-items: start;
    }
    .album-cover {
      aspect-ratio: 1/1;
      background: var(--ink-2);
      border: 1px solid var(--rule);
      border-radius: 1px;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 1rem;
    }
    .album-art {
      width: 100%;
    }
    .album-art img { width: 100%; height: auto; display: block; border-radius: 1px; }
    .album-cover-inner { text-align: center; }
    .album-cover-icon { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; opacity: 0.7; }
    .album-cover-title { font-family: 'DM Serif Display', serif; font-size: 0.95rem; color: var(--cream); }
    .album-cover-sub { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }
    .album-info { display: flex; flex-direction: column; gap: 1.5rem; }
    .album-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }
    .album-meta-item { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
    .album-meta-item strong { color: var(--muted); font-weight: 400; display: block; margin-top: 0.15rem; font-size: 0.85rem; letter-spacing: 0; text-transform: none; }
    .album-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.8; }
    .music-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }

    /* Streaming grid */
    .streaming-section { padding: 2.5rem 0 0; border-top: 1px solid var(--rule); margin-top: 0.5rem; }
    .streaming-label { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
    .streaming-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .platform-btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.5rem 1rem; border: 1px solid var(--rule);
      border-radius: 1px; text-decoration: none;
      font-size: 0.68rem; font-weight: 400; letter-spacing: 0.08em;
      color: var(--muted); background: transparent;
      transition: all 0.2s; cursor: pointer;
    }
    .platform-btn:hover, .platform-btn.active { border-color: var(--teal-line); color: var(--cream); }
    .platform-btn svg { width: 14px; height: 14px; fill: currentColor; opacity: 0.7; flex-shrink: 0; }
    .platform-btn .badge {
      font-size: 0.52rem; letter-spacing: 0.1em; text-transform: uppercase;
      padding: 0.1rem 0.35rem; background: var(--teal-dim);
      color: var(--teal); border-radius: 1px;
    }

    /* ── SCRIPTURE SECTION ───────────────────────────────── */
    .scripture-section { background: var(--ink-1); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .scripture-feature {
      display: grid; grid-template-columns: 1px 1fr;
      gap: 2rem; align-items: start;
      max-width: 700px;
    }
    .scripture-feature .accent-line { background: var(--teal); height: 100%; min-height: 80px; }
    .scripture-quote { font-family: 'Spectral', serif; font-size: clamp(1rem, 2.5vw, 1.35rem); font-style: italic; font-weight: 300; color: var(--cream); line-height: 1.7; }
    .scripture-ref { margin-top: 1rem; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); }

    /* ── REFLECTIONS HORIZONTAL SCROLL ──────────────────── */
    .reflections-section { background: var(--ink); padding: 3rem 0; }
    .reflections-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 var(--pad); max-width: var(--max); margin: 0 auto 1.25rem;
    }
    .reflections-scrollbar-wrap {
      padding: 0 var(--pad); max-width: var(--max); margin: 0 auto 1.5rem;
    }
    .reflections-scrollbar-track {
      width: 100%; height: 3px; background: var(--rule); border-radius: 2px; position: relative; cursor: pointer;
    }
    .reflections-scrollbar-thumb {
      height: 100%; background: var(--teal); border-radius: 2px;
      position: absolute; top: 0; left: 0;
      transition: width 0.1s;
    }
    .reflections-track-wrap {
      overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
    }
    .reflections-track-wrap::-webkit-scrollbar { display: none; }
    .reflections-track {
      display: flex; gap: 1px;
      padding: 0 var(--pad);
      width: max-content;
    }
    .reflection-card {
      width: 500px; flex-shrink: 0;
      background: var(--ink-1); border: 1px solid var(--rule);
      padding: 1.25rem 1.75rem;
      display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
      transition: background 0.2s, border-color 0.2s;
    }
    .reflection-card:hover { background: var(--ink-2); border-color: var(--teal-line); }
    .reflection-card.featured { border-color: var(--teal-line); }
    .thought-text { font-family: 'Spectral', serif; font-style: italic; font-weight: 300; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
    .thought-source { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); }

    /* ── SHOP SECTION ────────────────────────────────────── */
    .shop-section { background: var(--ink-1); border-top: 1px solid var(--rule); }
    .shop-inner {
      display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
    }
    .shop-text { display: flex; flex-direction: column; gap: 1.25rem; }
    .shop-visual {
      border: 1px solid var(--rule); padding: 3rem 2rem;
      display: flex; flex-direction: column; align-items: center;
      gap: 1rem; text-align: center;
    }
    .shop-visual .shop-icon { font-size: 2.2rem; opacity: 0.5; }
    .shop-visual .shop-status {
      font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
      padding: 0.3rem 0.9rem; border: 1px solid var(--teal-line); color: var(--teal);
    }
    .shop-visual .shop-desc { font-size: 0.82rem; color: var(--faint); max-width: 260px; }

    /* ── SOCIAL SECTION ──────────────────────────────────── */
    .social-section { background: var(--ink); border-top: 1px solid var(--rule); }
    .social-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
    .social-card {
      display: flex; align-items: center; gap: 1rem;
      padding: 1.25rem 1.75rem;
      border: 1px solid var(--rule); text-decoration: none;
      transition: border-color 0.2s, background 0.2s;
      flex: 1; min-width: 220px;
    }
    .social-card:hover { border-color: var(--teal-line); background: var(--teal-dim); }
    .social-card svg { width: 20px; height: 20px; fill: var(--teal); flex-shrink: 0; }
    .social-card-text { }
    .social-card-name { font-size: 0.78rem; font-weight: 500; color: var(--cream); letter-spacing: 0.08em; }
    .social-card-handle { font-size: 0.68rem; color: var(--muted); margin-top: 0.1rem; }
    .social-card-count { font-size: 0.62rem; letter-spacing: 0.12em; color: var(--teal); margin-top: 0.2rem; }

    /* ── FOOTER ──────────────────────────────────────────── */
    footer {
      background: var(--ink-1); border-top: 1px solid var(--rule);
      padding: 3rem var(--pad);
    }
    .footer-inner {
      max-width: var(--max); margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem;
      align-items: start;
    }
    .footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
    .footer-brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 3px; }
    .footer-brand-name { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
    .footer-brand-desc { font-size: 0.78rem; color: var(--faint); line-height: 1.7; }
    .footer-col h4 { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
    .footer-col ul a { font-size: 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
    .footer-col ul a:hover { color: var(--cream); }
    .footer-bottom {
      max-width: var(--max); margin: 2.5rem auto 0;
      padding-top: 1.5rem; border-top: 1px solid var(--rule);
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    }
    .footer-bottom p { font-size: 0.7rem; color: var(--faint); }
    .footer-verse { font-family: 'Spectral', serif; font-style: italic; font-size: 0.78rem; color: var(--faint); max-width: 360px; text-align: right; line-height: 1.6; }

    /* ── RESPONSIVE ──────────────────────────────────────── */
    @media (max-width: 680px) {
      .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
      .hero-visual { order: -1; }
      .logo-frame { width: min(200px, 55vw); }
      .about-heading-float { float: none; width: 100%; margin: 0 0 1.25rem 0; }
      .album-layout { grid-template-columns: 1fr; }
      .album-art { width: 200px; }
      .reflection-card { width: 340px; }
      .reflection-card.featured { width: 340px; }
      .shop-inner { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
    }
    /* ── HAMBURGER MENU ─────────────────────────────────── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px; height: 36px;
      background: none; border: none; cursor: pointer; padding: 4px;
    }
    .nav-hamburger span {
      display: block; width: 100%; height: 1.5px;
      background: var(--cream); border-radius: 1px;
      transition: all 0.25s ease;
    }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    .nav-mobile-menu {
      display: none;
      position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 199;
      background: rgba(8,10,12,0.97);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--teal-line);
      padding: 1.25rem var(--pad) 1.5rem;
      flex-direction: column; gap: 0;
    }
    .nav-mobile-menu.open { display: flex; }
    .nav-mobile-menu a {
      display: block; padding: 0.75rem 0;
      font-size: 0.75rem; font-weight: 400; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--muted); text-decoration: none;
      border-bottom: 1px solid var(--rule);
      transition: color 0.2s;
    }
    .nav-mobile-menu a:last-child { border-bottom: none; }
    .nav-mobile-menu a:hover { color: var(--cream); }
    .nav-mobile-menu .nav-accent { color: var(--teal); }

    @media (max-width: 600px) {
      .nav-links { display: none; }
      .nav-hamburger { display: flex; }
      .hero { padding-top: 1.5rem; }
      .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
      .footer-verse { text-align: left; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
      .section { padding: 3rem var(--pad); }
      .news-featured-heading-float { float: none; width: 100%; margin: 0 0 1rem 0; }
    }

    /* ── ACTIVE NAV STATE (current page indicator) ──────── */
    .nav-links a.active,
    .nav-mobile-menu a.active {
      color: var(--cream);
    }
    .nav-links a.active { border-bottom: 1px solid var(--teal); padding-bottom: 4px; }

    /* ── SUBPAGE TOP OFFSET ───────────────────────────────
       On the Home page, the announcement bar's margin-top
       clears the fixed nav. Standalone pages (About, News,
       Music, Store) have no announcement bar, so their first
       section needs the same offset or it renders underneath
       the fixed header. */
    .page-top-offset { margin-top: var(--nav-h); }

    /* ── ERROR / DOWNTIME PAGE ────────────────────────────── */
    .error-section {
      min-height: calc(100vh - var(--nav-h));
      display: flex; align-items: center;
    }
    .error-wrap { text-align: center; max-width: 560px; margin: 0 auto; }
    .error-code {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(4.5rem, 16vw, 7.5rem);
      line-height: 1; color: var(--teal); opacity: 0.85;
      margin-bottom: 0.25rem;
    }
    .error-label { display: block; margin-bottom: 0.5rem; }
    .error-heading {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(1.7rem, 4vw, 2.5rem);
      color: var(--cream); margin: 0.5rem 0 1.1rem;
    }
    .error-body {
      font-size: 0.95rem; color: var(--muted); line-height: 1.75;
      max-width: 440px; margin: 0 auto 2.25rem;
    }
    .error-actions {
      display: flex; gap: 0.9rem; justify-content: center;
      flex-wrap: wrap; margin-bottom: 2.75rem;
    }
    .error-quicklinks {
      font-size: 0.83rem; color: var(--faint);
      display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap;
    }
    .error-quicklinks a { color: var(--muted); text-decoration: none; }
    .error-quicklinks a:hover { color: var(--teal); }
    .error-quicklinks .sep { color: var(--faint); }
    @media (max-width: 600px) {
      .error-quicklinks { flex-direction: column; gap: 0.5rem; }
    }
