:root {
  --ink: #17373e;
  --deep: #103944;
  --deep-2: #092b35;
  --teal: #2d7372;
  --sage: #b8cbb1;
  --sage-soft: #e9f0e5;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --gold: #d3a85a;
  --coral: #c96f5a;
  --muted: #66777a;
  --line: #dbe3df;
  --shadow: 0 24px 60px rgba(16, 57, 68, .12);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: .75rem 1rem; color: white; background: var(--deep); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 40; height: 80px; display: flex; align-items: center; gap: 2rem; padding: 0 clamp(1rem, 4vw, 4.5rem); background: rgba(255,253,248,.93); border-bottom: 1px solid rgba(23,55,62,.08); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--deep); border: 1px solid rgba(16,57,68,.18); border-radius: 50%; }
.brand-mark img { width: 31px; height: 31px; object-fit: contain; filter: saturate(.9) contrast(1.08); }
.brand strong { display: block; font-family: var(--serif); font-size: 1.42rem; line-height: 1; letter-spacing: -.02em; }
.brand small { display: block; margin-top: .18rem; color: var(--teal); font-size: .7rem; letter-spacing: .2em; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(.8rem, 2vw, 1.8rem); flex: 1; }
.desktop-nav a { position: relative; padding: 1.7rem 0; color: #435d61; font-size: .86rem; font-weight: 600; letter-spacing: .01em; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 1.25rem; left: 0; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.desktop-nav a.active { color: var(--deep); }
.nav-group { position: relative; display: flex; align-items: center; }
.nav-submenu { position: absolute; top: calc(100% - .4rem); left: 50%; min-width: 190px; padding: .55rem; visibility: hidden; opacity: 0; background: white; border: 1px solid var(--line); border-radius: .85rem; box-shadow: var(--shadow); transform: translate(-50%, -4px); transition: .18s ease; }
.nav-group:hover .nav-submenu, .nav-group:focus-within .nav-submenu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.desktop-nav .nav-submenu a { display: block; padding: .55rem .7rem; color: var(--ink); border-radius: .55rem; font-size: .82rem; }
.desktop-nav .nav-submenu a::after { display: none; }
.desktop-nav .nav-submenu a:hover { background: var(--sage-soft); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--deep); background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.icon-button:hover { background: var(--sage-soft); }
.icon-button svg { width: 21px; height: 21px; }
.language-wrap { position: relative; }
.language-trigger { display: flex; align-items: center; gap: .42rem; height: 42px; padding: 0 .65rem; color: var(--deep); background: transparent; border: 0; border-radius: 2rem; cursor: pointer; }
.language-trigger:hover { background: var(--sage-soft); }
.language-trigger svg { width: 18px; height: 18px; }
.language-trigger .chevron { width: 12px; }
.current-language { font-size: .78rem; font-weight: 700; }
.language-menu { position: absolute; top: calc(100% + .7rem); right: 0; width: 190px; padding: .5rem; visibility: hidden; opacity: 0; background: white; border: 1px solid var(--line); border-radius: .8rem; box-shadow: var(--shadow); transform: translateY(-5px); transition: .18s ease; }
.language-menu.open { visibility: visible; opacity: 1; transform: none; }
.language-menu button { display: flex; justify-content: space-between; width: 100%; padding: .65rem .75rem; color: var(--ink); background: transparent; border: 0; border-radius: .5rem; cursor: pointer; text-align: left; }
.language-menu button:hover, .language-menu button.active { background: var(--sage-soft); }
.language-menu small { color: var(--muted); }
.menu-trigger { display: none; }
.mobile-panel { position: fixed; z-index: 35; top: 80px; right: 0; left: 0; max-height: 0; overflow: hidden; background: var(--paper); box-shadow: 0 20px 35px rgba(16,57,68,.1); transition: max-height .3s ease; }
.mobile-panel.open { max-height: calc(100vh - 80px); }
.mobile-nav { display: grid; padding: 1rem 1.5rem 2rem; }
.mobile-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; }
.mobile-nav .mobile-sub-link { padding: .45rem 0 .65rem 1.2rem; color: var(--teal); font-family: var(--sans); font-size: .98rem; font-weight: 700; }

main { min-height: 70vh; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-sm { padding: 3.5rem 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--teal); font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.07; letter-spacing: -.025em; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.2rem, 7vw, 6.8rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2.4rem, 4.2vw, 4.25rem); }
h3 { font-size: 1.55rem; }
.lead { max-width: 670px; color: #536b6e; font-size: clamp(1rem, 1.6vw, 1.22rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .75rem 1.25rem; font-weight: 700; background: transparent; border: 1px solid var(--deep); border-radius: 999px; cursor: pointer; transition: .2s ease; }
.button svg { width: 18px; height: 18px; transition: transform .2s; }
.button:hover svg { transform: translateX(3px); }
.button-primary { color: white; background: var(--deep); }
.button-primary:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); }
.button-light { color: var(--deep); background: var(--paper); border-color: var(--paper); }
.button-ghost { border-color: var(--line); }
.button-danger { color: #8e382c; border-color: #e5b8b0; }
.button-small { min-height: 40px; padding: .45rem .9rem; font-size: .85rem; }

.hero { position: relative; min-height: calc(100vh - 80px); display: grid; align-items: center; overflow: hidden; background: var(--cream); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .38; background-image: radial-gradient(circle at 1px 1px, rgba(16,57,68,.14) 1px, transparent 0); background-size: 28px 28px; mask-image: linear-gradient(to right, black, transparent 75%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
.hero-copy { max-width: 730px; }
.hero h1 span { color: var(--teal); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-art { position: relative; min-height: 570px; }
.spiritual-aura { position: absolute; top: 3%; right: -3%; width: min(42vw, 530px); aspect-ratio: 1; border: 1px solid rgba(211,168,90,.25); border-radius: 50%; box-shadow: 0 0 0 45px rgba(45,115,114,.035), 0 0 0 90px rgba(211,168,90,.025); }
.spiritual-aura::before, .spiritual-aura::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.spiritual-aura::before { inset: 14%; background: radial-gradient(circle at 50% 42%, rgba(255,241,196,.92), rgba(221,184,100,.18) 32%, transparent 64%); }
.spiritual-aura::after { inset: -8%; background: conic-gradient(from 20deg, transparent, rgba(255,255,255,.55), transparent 28%, rgba(211,168,90,.18), transparent 53%); opacity: .55; }
.spiritual-art-frame { position: absolute; z-index: 2; top: 3%; right: -2%; width: min(41vw, 520px); aspect-ratio: 1; display: grid; place-items: center; }
.spiritual-artwork { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(25,48,52,.18)) saturate(.82) sepia(.05); }
.verse-card { position: absolute; z-index: 3; right: 48%; bottom: 5%; width: 280px; padding: 1.4rem; background: rgba(255,253,248,.96); border: 1px solid rgba(16,57,68,.1); border-radius: 1rem; box-shadow: var(--shadow); }
.verse-card svg { width: 24px; color: var(--gold); }
.verse-card p { margin: .65rem 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.4; }
.verse-card small { color: var(--teal); font-weight: 700; }
.scroll-cue { position: absolute; z-index: 2; bottom: 1.4rem; left: 50%; color: var(--muted); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; transform: translateX(-50%); }

.pillars { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2 { max-width: 650px; margin-bottom: 0; }
.section-heading .lead { max-width: 430px; margin: 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pillar-card { position: relative; min-height: 365px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 1.6rem; border-radius: 1.2rem; transition: transform .25s ease, box-shadow .25s ease; }
.pillar-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.pillar-card::before { content: ""; position: absolute; inset: 0; opacity: .75; background: linear-gradient(135deg, transparent 45%, rgba(255,255,255,.6)); }
.pillar-card > * { position: relative; z-index: 1; }
.pillar-card .number { position: absolute; top: 1.3rem; right: 1.4rem; color: rgba(16,57,68,.4); font-family: var(--serif); font-size: 3rem; }
.pillar-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: auto; background: rgba(255,255,255,.5); border-radius: 50%; }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar-card h3 { margin-bottom: .45rem; font-size: 2.3rem; }
.pillar-card p { margin-bottom: 1.3rem; color: #415b5f; font-size: .92rem; }
.pillar-card .card-link { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pillar-card.bible { background: #d9e5dc; }
.pillar-card.love { background: #ead8cf; }
.pillar-card.faith { background: #d9e1ea; }
.pillar-card.hope { background: #eadfbf; }

.verse-feature { overflow: hidden; color: white; background: var(--deep); }
.verse-feature .container { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 6rem; }
.verse-reference { display: grid; place-items: center; width: 300px; aspect-ratio: 1; margin: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.verse-reference::before, .verse-reference::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.verse-reference::before { width: 390px; height: 390px; }
.verse-reference::after { width: 480px; height: 480px; }
.verse-reference span { font-family: var(--serif); font-size: 4.5rem; }
.verse-copy blockquote { margin: 1.5rem 0 2rem; font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 4.5rem); line-height: 1.12; }
.verse-copy p { color: #bfd0cb; }

.insights { background: var(--cream); }
.insight-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 1rem; }
.insight-card { min-height: 330px; padding: 1.6rem; background: var(--paper); border: 1px solid rgba(16,57,68,.08); border-radius: 1rem; }
.insight-card.featured { position: relative; display: flex; flex-direction: column; justify-content: end; overflow: hidden; color: white; background: linear-gradient(145deg, #274e53, #0d303a); }
.insight-card.featured::before { content: ""; position: absolute; top: -25%; right: -20%; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.03), 0 0 0 100px rgba(255,255,255,.025); }
.insight-card > * { position: relative; z-index: 1; }
.insight-card .tag { display: inline-flex; width: max-content; margin-bottom: auto; padding: .3rem .6rem; color: var(--teal); background: var(--sage-soft); border-radius: 2rem; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.insight-card.featured .tag { color: white; background: rgba(255,255,255,.13); }
.insight-card h3 { margin-bottom: .7rem; font-size: 2rem; }
.insight-card p { color: var(--muted); }
.insight-card.featured p { color: #c3d3d0; }
.meta { display: flex; align-items: center; gap: .7rem; color: var(--muted); font-size: .78rem; }
.insight-card.featured .meta { color: #c3d3d0; }

.sacred-media { position: relative; overflow: hidden; color: #f7f4ec; background: linear-gradient(145deg, #082b34, #174952 65%, #315f5f); }
.sacred-media::before { content: ""; position: absolute; top: -320px; right: -180px; width: 720px; height: 720px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.022), 0 0 0 150px rgba(255,255,255,.018); }
.sacred-media .container { position: relative; z-index: 1; }
.sacred-media .section-heading .lead { color: #bed0cc; }
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.media-grid.single { grid-template-columns: minmax(0, 760px); }
.media-card { position: relative; min-height: 350px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.3rem); color: white; border: 1px solid rgba(255,255,255,.15); border-radius: 1.2rem; box-shadow: 0 24px 50px rgba(0,0,0,.16); isolation: isolate; transition: transform .25s ease, border-color .25s ease; }
.media-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.45); }
.media-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(145deg, rgba(10,37,44,.35), rgba(4,24,30,.92)); }
.media-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .38; background: radial-gradient(circle at 78% 20%, var(--media-glow), transparent 38%), linear-gradient(135deg, transparent 30%, rgba(255,255,255,.06)); }
.tone-dawn { --media-glow: #f2bb72; }
.tone-blue { --media-glow: #77b9d7; }
.tone-gold { --media-glow: #f1d17a; }
.tone-rose { --media-glow: #db8e7b; }
.tone-green { --media-glow: #94c7a0; }
.media-watermark { position: absolute; z-index: -1; top: -15%; right: -9%; width: 290px; height: 290px; opacity: .11; transform: rotate(6deg); }
.media-watermark img { width: 100%; height: 100%; object-fit: contain; }
.media-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: auto; color: #fff4cb; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; backdrop-filter: blur(8px); }
.media-icon svg { width: 31px; height: 31px; }
.media-card .eyebrow { color: #e2c77e; }
.media-card h3 { max-width: 520px; margin: .8rem 0 .65rem; font-size: clamp(2rem, 4vw, 3.25rem); }
.media-card p { max-width: 550px; margin-bottom: 1.4rem; color: #c4d5d1; }
.media-action { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

.brand-story { overflow: hidden; color: white; background: #061b22; }
.brand-story-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.brand-story-art { position: relative; min-height: 560px; display: grid; place-items: center; }
.brand-story-art::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(231,188,97,.2); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.018); }
.brand-light { position: absolute; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(241,190,86,.32), rgba(39,111,124,.12) 45%, transparent 70%); border-radius: 50%; filter: blur(18px); }
.brand-glass-logo { position: relative; z-index: 2; width: min(100%, 510px); filter: drop-shadow(0 35px 38px rgba(0,0,0,.42)) saturate(.84); }
.brand-world-mark { position: absolute; z-index: 3; right: -3%; bottom: 2%; width: 180px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 22px 45px rgba(0,0,0,.35); }
.brand-story-copy .eyebrow { color: #e6c270; }
.brand-story-copy h2 { margin: .8rem 0; color: #fff4d8; font-size: clamp(4rem, 8vw, 7.5rem); letter-spacing: .08em; }
.brand-translation { display: flex; flex-wrap: wrap; gap: 1.5rem; color: #e7c675; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.brand-story-copy .lead { color: #bdceca; }
.brand-story-copy blockquote { margin: 2rem 0 .6rem; padding-left: 1.4rem; color: #f7f0df; border-left: 1px solid #d3a85a; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.3; }
.brand-story-copy small { color: #8ea7a2; }

.worship-preview { color: white; background: #173f45; }
.worship-preview .section-heading .lead { color: #bed0cc; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 3rem 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.preview-note { margin-top: -1rem; color: #d6e4df; font-size: .86rem; }
.stat { padding: 2rem; color: inherit; background: transparent; border: 0; border-right: 1px solid rgba(255,255,255,.15); cursor: pointer; text-align: left; transition: .2s ease; }
.stat:last-child { border: 0; }
.stat:hover, .stat:focus-visible { background: rgba(255,255,255,.07); transform: translateY(-2px); }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 4.2rem); font-weight: 400; line-height: 1; }
.stat span { display: block; margin-top: .5rem; color: #b9ceca; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.stat small { display: block; margin-top: .55rem; color: #e6c270; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.trend-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trend-panel { padding: 1.5rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; }
.bar-row { display: grid; grid-template-columns: 145px 1fr 35px; align-items: center; gap: .8rem; width: 100%; margin: 1rem 0; padding: .2rem; color: inherit; background: transparent; border: 0; border-radius: .55rem; cursor: pointer; font-size: .82rem; text-align: left; transition: .2s ease; }
.bar-row:hover, .bar-row:focus-visible { background: rgba(255,255,255,.07); }
.bar-track { height: 7px; overflow: hidden; background: rgba(255,255,255,.1); border-radius: 1rem; }
.bar-fill { height: 100%; background: var(--gold); border-radius: 1rem; }

.newsletter { background: var(--sage-soft); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
.newsletter-form { display: flex; padding: .4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.newsletter-form input { min-width: 0; flex: 1; padding: .8rem 1rem; background: transparent; border: 0; outline: 0; }
.newsletter-form button { border: 0; }

.page-hero { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) 0 5rem; background: var(--cream); }
.page-hero::after { content: ""; position: absolute; top: -200px; right: -100px; width: 520px; height: 520px; border: 1px solid rgba(16,57,68,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(16,57,68,.025), 0 0 0 140px rgba(16,57,68,.02); }
.page-hero h1 { max-width: 900px; font-size: clamp(3.5rem, 7vw, 7rem); }
.page-hero .lead { max-width: 760px; }
.breadcrumb { margin-bottom: 2rem; color: var(--muted); font-size: .8rem; }
.breadcrumb span { margin: 0 .5rem; color: var(--line); }

.search-panel { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: .6rem; max-width: 850px; margin-top: 2.5rem; padding: .5rem; background: white; border: 1px solid var(--line); border-radius: .9rem; box-shadow: 0 15px 35px rgba(16,57,68,.08); }
.search-panel input { min-width: 0; padding: .8rem 1rem; border: 0; outline: 0; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.content-card { display: flex; flex-direction: column; min-height: 280px; padding: 1.5rem; background: white; border: 1px solid var(--line); border-radius: 1rem; transition: .2s ease; }
.content-card:hover { border-color: var(--sage); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(16,57,68,.08); }
.content-card .tag { width: max-content; margin-bottom: auto; padding: .3rem .6rem; color: var(--teal); background: var(--sage-soft); border-radius: 2rem; font-size: .7rem; font-weight: 700; }
.content-card h3 { margin-top: 2rem; }
.content-card p { color: var(--muted); }
.content-card .card-link { margin-top: auto; color: var(--teal); font-weight: 700; font-size: .85rem; }
.empty-state { grid-column: 1 / -1; padding: 3rem; text-align: center; color: var(--muted); background: var(--cream); border-radius: 1rem; }

.bible-reader-entry { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.reader-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.reader-card { display: flex; flex-direction: column; min-height: 280px; padding: 1.35rem; background: white; border: 1px solid var(--line); border-radius: 1rem; transition: .2s ease; }
.reader-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-5px); }
.reader-card .tag { width: max-content; margin-bottom: auto; padding: .28rem .58rem; color: var(--teal); background: var(--sage-soft); border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.reader-card h3 { margin: 1.8rem 0 .6rem; font-size: 1.75rem; }
.reader-card p { color: var(--muted); font-size: .9rem; }
.reader-card .card-link { margin-top: auto; color: var(--teal); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

.module-intro { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; }
.feature-list { display: grid; gap: 1rem; }
.feature-item { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.feature-item:first-child { border-top: 0; }
.feature-item .index { color: var(--teal); font-family: var(--serif); font-size: 1.7rem; }
.feature-item h3 { margin-bottom: .4rem; }
.feature-item p { margin-bottom: 0; color: var(--muted); }

.dashboard-shell { background: #f2f5f1; }
.worship-hero { background: radial-gradient(circle at 82% 8%, rgba(211,168,90,.22), transparent 28%), var(--cream); }
.dashboard-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.filters { display: flex; gap: .6rem; }
.filters select { min-height: 44px; padding: .5rem 2rem .5rem .8rem; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: .6rem; }
.dashboard-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.dash-card { padding: 1.4rem; background: white; border: 1px solid var(--line); border-radius: .9rem; }
.dash-card h3 { margin-bottom: 1.3rem; font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .02em; }
.dash-metric { grid-column: span 3; text-align: left; cursor: pointer; transition: .2s ease; }
.dash-metric:hover, .dash-metric.active { border-color: var(--gold); box-shadow: 0 16px 34px rgba(16,57,68,.08); transform: translateY(-2px); }
.dash-metric strong { display: block; font-family: var(--serif); font-size: 3rem; font-weight: 400; line-height: 1; }
.dash-metric span { color: var(--muted); font-size: .78rem; }
.dash-metric small { display: block; margin-top: .4rem; color: var(--teal); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dash-chart { grid-column: span 7; min-height: 360px; }
.dash-list { grid-column: span 5; }
.dash-sermons { grid-column: span 12; }
.data-note { margin: -1rem 0 1.5rem; padding: .85rem 1rem; color: #315b63; background: #e7efec; border: 1px solid #d2dfda; border-radius: .8rem; font-size: .9rem; }
.globe-card { grid-column: span 8; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 1rem; overflow: hidden; color: #f7f4ec; background: radial-gradient(circle at 74% 40%, rgba(211,168,90,.24), transparent 28%), linear-gradient(145deg, #092b35, #174952); border-color: rgba(255,255,255,.08); }
.globe-card h3 { color: white; }
.globe-card p { margin: 0; color: #bed0cc; }
.church-globe { display: grid; place-items: center; min-height: 420px; }
.globe-sphere { position: relative; width: min(100%, 430px); aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 35% 28%, #69b9b8, #236f7a 45%, #0b2f3b 78%); border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: inset -38px -28px 80px rgba(0,0,0,.38), inset 18px 18px 35px rgba(255,255,255,.18), 0 32px 70px rgba(0,0,0,.28); }
.globe-sphere::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.035), 0 0 0 96px rgba(255,255,255,.022); }
.globe-sphere::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 18%, rgba(255,255,255,.55), transparent 24%), linear-gradient(115deg, transparent 45%, rgba(255,255,255,.08)); pointer-events: none; }
.earth-map { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .78; filter: drop-shadow(0 2px 1px rgba(0,0,0,.18)); }
.earth-map path { fill: #8fb27e; stroke: rgba(255,255,255,.22); stroke-width: .35; }
.globe-grid { position: absolute; inset: 0; opacity: .26; background-image: repeating-linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,.25) 12.2% 12.4%, transparent 12.6% 24%), repeating-linear-gradient(0deg, transparent 0 16%, rgba(255,255,255,.22) 16.2% 16.4%, transparent 16.6% 32%); border-radius: 50%; pointer-events: none; }
.earth-region { position: absolute; z-index: 3; display: grid; place-items: center; min-width: 34px; height: 26px; padding: 0 .45rem; color: #fff8dc; background: rgba(5,30,38,.42); border: 1px solid rgba(255,255,255,.36); border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,.18); cursor: pointer; transform: translate(-50%, -50%); backdrop-filter: blur(6px); transition: .2s ease; }
.earth-region span { font-size: .65rem; font-weight: 900; letter-spacing: .08em; }
.earth-region:hover, .earth-region.active { color: #17373e; background: #ffe08a; border-color: white; transform: translate(-50%, -50%) scale(1.08); }
.globe-marker { position: absolute; z-index: 2; width: 24px; height: 24px; padding: 0; background: transparent; border: 0; border-radius: 50%; cursor: pointer; transform: translate(-50%, -50%); }
.globe-marker span { position: absolute; inset: 6px; background: #ffe08a; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,224,138,.18), 0 0 18px rgba(255,224,138,.95); transition: .2s ease; }
.globe-marker:hover span, .globe-marker.active span { inset: 3px; background: #ffcf52; box-shadow: 0 0 0 9px rgba(255,224,138,.22), 0 0 24px rgba(255,224,138,1); }
.church-detail { grid-column: span 4; }
.church-detail-card { display: grid; gap: .8rem; }
.church-seal { display: grid; place-items: center; width: 58px; height: 58px; background: #061b22; border-radius: 50%; box-shadow: 0 10px 25px rgba(16,57,68,.12); }
.church-seal img { width: 42px; height: 42px; object-fit: contain; }
.church-detail-card h4 { margin: .4rem 0 0; font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.1; }
.church-detail-card p { margin-bottom: .4rem; color: var(--muted); }
.church-detail-card dl { display: grid; gap: .7rem; margin: .5rem 0 1rem; }
.church-detail-card dl div { padding-top: .7rem; border-top: 1px solid var(--line); }
.church-detail-card dt { color: var(--teal); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.church-detail-card dd { margin: .15rem 0 0; color: var(--ink); }
.empty-state.compact { padding: 1.5rem; }
.chart-bars { display: flex; align-items: end; gap: 1rem; height: 260px; padding: 1rem 0 2.2rem; border-bottom: 1px solid var(--line); }
.chart-column { position: relative; flex: 1; height: var(--height); min-height: 20px; padding: 0; background: linear-gradient(to top, var(--teal), #8eb5a9); border: 0; border-radius: .35rem .35rem 0 0; cursor: pointer; transition: .2s ease; }
.chart-column:hover, .chart-column.active { filter: saturate(1.25); box-shadow: 0 0 0 3px rgba(211,168,90,.24); transform: translateY(-4px); }
.chart-column span { position: absolute; right: 50%; bottom: -2rem; width: 80px; color: var(--muted); font-size: .68rem; text-align: center; transform: translateX(50%); }
.chart-column small { position: absolute; top: -1.35rem; right: 50%; color: var(--teal); font-weight: 800; transform: translateX(50%); }
.rank-list { display: grid; }
.rank-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: .7rem; width: 100%; padding: .8rem 0; color: inherit; background: transparent; border: 0; border-top: 1px solid var(--line); cursor: pointer; text-align: left; }
.rank-item:first-child { border-top: 0; }
.rank-item:hover, .rank-item.active { color: var(--deep); background: linear-gradient(90deg, rgba(211,168,90,.1), transparent); }
.rank-item .rank { color: var(--teal); font-family: var(--serif); font-size: 1.3rem; }
.rank-item small { display: block; color: var(--muted); }
.insight-records { grid-column: span 12; }
.records-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.records-heading h3 { margin: .4rem 0 0; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 500; }
.records-heading small { color: var(--muted); font-weight: 700; }
.record-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.record-card { display: grid; grid-template-columns: 42px 1fr auto; gap: .9rem; align-items: start; padding: 1rem; background: var(--cream); border: 1px solid rgba(16,57,68,.08); border-radius: .75rem; }
.record-card .rank { color: var(--teal); font-family: var(--serif); font-size: 1.35rem; line-height: 1; }
.record-card .tag { display: inline-flex; margin-bottom: .35rem; padding: .22rem .5rem; color: var(--teal); background: var(--sage-soft); border-radius: 999px; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.record-card h4 { margin: 0 0 .25rem; font-size: 1.2rem; }
.record-card p, .record-card small { display: block; margin: 0; color: var(--muted); font-size: .8rem; }
.record-card a { display: grid; place-items: center; width: 34px; height: 34px; color: var(--deep); background: white; border: 1px solid var(--line); border-radius: 50%; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th { color: var(--muted); font-size: .7rem; text-align: left; text-transform: uppercase; letter-spacing: .07em; }
th, td { padding: .9rem .7rem; border-bottom: 1px solid var(--line); }
.status { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .55rem; color: #36714e; background: #e7f3e9; border-radius: 2rem; font-size: .7rem; font-weight: 700; }
.status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }

.admin-banner { padding: .85rem 0; color: #594914; background: #fbefc8; font-size: .84rem; text-align: center; }
.review-list { display: grid; gap: 1rem; }
.review-card { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 1.4rem; background: white; border: 1px solid var(--line); border-radius: .9rem; }
.review-card h3 { margin-bottom: .5rem; }
.review-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--muted); font-size: .78rem; }
.review-actions { display: flex; align-items: center; gap: .5rem; }
.confidence { display: inline-flex; margin-top: 1rem; color: var(--teal); font-size: .78rem; font-weight: 700; }

.site-footer { padding: 5rem clamp(1rem, 4vw, 4.5rem) 1.5rem; color: #d5e0dc; background: var(--deep-2); }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; max-width: 1180px; margin: 0 auto 4rem; }
.brand.inverse .brand-mark { color: white; border-color: rgba(255,255,255,.3); }
.brand.inverse .brand-mark img { filter: saturate(.95) brightness(1.06); }
.brand.inverse small { color: var(--sage); }
.footer-brand p { max-width: 430px; margin-top: 1.5rem; color: #9db4af; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-links h3 { color: white; font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; }
.footer-links a { display: block; margin: .55rem 0; color: #a9bdb8; font-size: .88rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; max-width: 1180px; margin: auto; padding-top: 1.5rem; color: #78908c; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; }

.search-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: start center; padding-top: 12vh; visibility: hidden; opacity: 0; transition: opacity .2s; }
.search-modal.open { visibility: visible; opacity: 1; }
.search-backdrop { position: absolute; inset: 0; background: rgba(4,27,33,.72); backdrop-filter: blur(5px); }
.search-dialog { position: relative; z-index: 1; width: min(760px, calc(100% - 2rem)); padding: 2.5rem; background: var(--paper); border-radius: 1.2rem; box-shadow: var(--shadow); }
.search-close { position: absolute; top: 1rem; right: 1rem; font-size: 1.8rem; }
.search-dialog h2 { margin: .7rem 0 1.5rem; font-size: 3rem; }
.global-search-form { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: .5rem .5rem .5rem 1rem; border: 1px solid var(--line); border-radius: .8rem; }
.global-search-form svg { width: 20px; }
.global-search-form input { min-width: 0; padding: .7rem; border: 0; outline: 0; }
.global-search-form button { padding: .7rem 1rem; color: white; background: var(--deep); border: 0; border-radius: .55rem; cursor: pointer; }
.search-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; color: var(--muted); font-size: .78rem; }
.search-suggestions button { padding: .3rem .6rem; color: var(--teal); background: var(--sage-soft); border: 0; border-radius: 2rem; cursor: pointer; }
.toast { position: fixed; z-index: 120; right: 1.5rem; bottom: 1.5rem; max-width: 340px; padding: .9rem 1.1rem; visibility: hidden; opacity: 0; color: white; background: var(--deep); border-radius: .7rem; box-shadow: var(--shadow); transform: translateY(10px); transition: .2s; }
.toast.show { visibility: visible; opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .menu-trigger { display: grid; }
  .site-header { height: 72px; }
  .mobile-panel { top: 72px; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-art { min-height: 480px; }
  .spiritual-aura, .spiritual-art-frame { right: 7%; width: 440px; }
  .verse-card { right: 50%; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .reader-card-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .insight-card.featured { grid-column: 1 / -1; }
  .dash-metric { grid-column: span 6; }
  .dash-chart, .dash-list, .globe-card, .church-detail { grid-column: span 12; }
  .globe-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { padding: 0 1rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 1.2rem; }
  .search-trigger { display: none; }
  .hero-inner { padding-top: 4rem; }
  .hero-art { min-height: 370px; }
  .spiritual-aura, .spiritual-art-frame { top: 3%; right: -7%; width: 355px; }
  .verse-card { right: auto; bottom: 0; left: 0; width: 245px; padding: 1rem; }
  .scroll-cue { display: none; }
  .section-heading, .newsletter-inner, .module-intro { display: block; }
  .section-heading .lead { margin-top: 1rem; }
  .pillar-grid, .content-grid, .trend-preview, .insight-grid, .media-grid, .media-grid.single, .record-list, .reader-card-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 300px; }
  .insight-card.featured { grid-column: auto; }
  .verse-feature .container { grid-template-columns: 1fr; gap: 4rem; }
  .brand-story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand-story-art { min-height: 410px; }
  .brand-world-mark { right: 0; width: 125px; }
  .verse-reference { width: 210px; }
  .verse-reference::before { width: 270px; height: 270px; }
  .verse-reference::after { width: 330px; height: 330px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .newsletter-form { margin-top: 2rem; }
  .dashboard-toolbar { align-items: start; flex-direction: column; }
  .filters { width: 100%; overflow-x: auto; }
  .dash-metric { grid-column: span 12; }
  .church-globe { min-height: 315px; }
  .globe-sphere { width: min(100%, 315px); }
  .review-card { grid-template-columns: 1fr; gap: 1rem; }
  .review-actions { flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { align-items: start; flex-direction: column; gap: .5rem; }
  .search-dialog { padding: 2rem 1rem 1.5rem; }
  .global-search-form { grid-template-columns: auto 1fr; }
  .global-search-form button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
