/*
Theme Name: Unleashed Gospel
Theme URI: https://thegospelunleashed.com/
Author: The Gospel Unleashed
Description: A bold, responsive custom theme for sharing the Gospel with a new generation.
Version: 1.0.5
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: unleashed-gospel
*/

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Oswald:wght@500;600;700&display=swap");
@import "tailwindcss";

:root {
  --paper: #f1eee7;
  --paper-2: #faf8f2;
  --ink: #151614;
  --muted: #62645f;
  --sage: #587164;
  --sage-deep: #344d42;
  --terra: #d6684e;
  --acid: #d6e353;
  --line: rgba(21, 22, 20, 0.17);
}

:root[data-theme="dark"] {
  --paper: #181a17;
  --paper-2: #20231f;
  --ink: #f3efe5;
  --muted: #b8b9b3;
  --line: rgba(243, 239, 229, 0.2);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(rgba(21, 22, 20, .055) .7px, transparent .7px),
    var(--paper);
  background-size: 5px 5px;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  transition: background .3s ease, color .3s ease;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }

.section-shell { width: min(1420px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; z-index: 50; top: 12px; width: min(1420px, calc(100% - 24px));
  height: 70px; margin: 12px auto -82px; padding: 0 12px 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  background: color-mix(in srgb, var(--paper-2) 82%, transparent);
  border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0,0,0,.07);
}
.brand { display: flex; align-items: center; gap: 9px; font: 700 11px/1 "Oswald"; letter-spacing: .08em; }
.brand-mark {
  display: grid; place-items: center; width: 38px; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--paper); font: 700 13px "Oswald";
}
.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .menu-button {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.theme-toggle { font-size: 19px; }
.menu-button { display: grid; place-content: center; gap: 5px; }
.menu-button span { width: 17px; height: 1.5px; background: currentColor; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 99px; cursor: pointer;
  font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.pill-small { display: none; min-height: 43px; background: var(--terra); color: #fff; }
.pill-dark { background: var(--ink); color: var(--paper); }
.pill-light { background: #f4f0e6; color: #171813; }
.pill span { font-size: 17px; }
.kicker {
  margin: 0 0 16px; font: 600 11px "DM Sans"; letter-spacing: .16em; text-transform: uppercase;
}
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px color-mix(in srgb, var(--terra) 18%, transparent); }

.hero {
  min-height: 880px; padding-top: 120px; display: grid; gap: 12px;
  grid-template-rows: auto 410px auto;
}
.hero-copy { padding: 54px 8px 24px; }
.hero-copy h1, .section-heading h2, .story-intro h2, .paths-heading h2, .signup h2 {
  margin: 0; font: 600 clamp(3.7rem, 12vw, 8.7rem)/.86 "Oswald", sans-serif;
  letter-spacing: -.045em; text-transform: uppercase;
}
.hero-copy h1 { max-width: 840px; }
.hero-copy h1 em, .paths-heading em, .signup h2 em {
  font-family: "Fraunces", serif; font-weight: 600; text-transform: lowercase; color: var(--terra);
}
.hero-lede { max-width: 570px; margin: 30px 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.text-button { border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 700; }
.play { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: 9px; border: 1px solid var(--line); border-radius: 50%; font-size: 9px; }
.hero-visual { position: relative; overflow: hidden; min-height: 410px; border-radius: 24px; background: #292c27; }
.hero-visual:after, .spotlight-image:after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(9,11,9,.62)), repeating-radial-gradient(rgba(255,255,255,.05) 0 1px, transparent 1px 4px);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.hero-stamp { position: absolute; z-index: 1; top: 20px; left: 20px; color: #f5f1e8; }
.hero-stamp span { display: block; font: 500 12px "Oswald"; letter-spacing: .16em; }
.hero-stamp strong { font: 600 34px "Oswald"; }
.image-note { position: absolute; z-index: 1; bottom: 20px; left: 20px; margin: 0; color: #fff; font-family: "Fraunces"; font-size: 17px; }
.hero-aside { padding: 24px; border-radius: 22px; background: var(--acid); color: #1b2018; }
.hero-aside p { margin: 0 0 2px; font-size: 12px; }
.hero-aside strong { display: block; font: 600 25px "Fraunces"; }
.hero-aside a { display: flex; justify-content: space-between; margin-top: 35px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.25); font-size: 12px; font-weight: 700; }

.menu-overlay, .modal-backdrop {
  position: fixed; z-index: 100; inset: 0; padding: 28px;
  background: #1d241f; color: #f7f2e8;
}
.close-button {
  position: absolute; z-index: 2; top: 24px; right: 24px; width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: #fff;
  font-size: 30px; cursor: pointer;
}
.menu-overlay { display: flex; flex-direction: column; justify-content: center; }
.menu-overlay nav { margin: 30px 0; }
.menu-overlay nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.18);
  font: 600 clamp(2.5rem, 12vw, 5rem)/1 "Oswald"; text-transform: uppercase;
}
.menu-overlay nav a span { font: 500 11px "DM Sans"; color: #d6e353; }
.menu-overlay > p { max-width: 440px; color: #b9c0b8; }
.modal-backdrop { display: grid; place-items: center; background: rgba(13,15,13,.91); backdrop-filter: blur(12px); }
.video-card { width: min(850px, 100%); }
.video-grain { min-height: 420px; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 24px; background: linear-gradient(135deg, rgba(214,104,78,.85), rgba(52,77,66,.85)), url("assets/images/quiet-reflection.jpg") center/cover; }
.video-grain h2 { max-width: 680px; margin: 6px 0 14px; font: 600 clamp(2.6rem, 7vw, 5.8rem)/.92 "Oswald"; text-transform: uppercase; }
.video-grain p:last-child { max-width: 500px; }
.play-large { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: auto; border-radius: 50%; background: #f4f0e6; color: #111; }
.video-card > button { margin-top: 14px; }

.real-talk { padding: 130px 0 100px; overflow: hidden; }
.section-heading { display: flex; flex-direction: column; gap: 26px; margin-bottom: 42px; }
.section-heading h2 span { color: var(--terra); }
.section-heading > p { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.6; }
.question-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  overflow: visible;
  padding-bottom: 14px;
}
.question-track > .question-card { width: 100%; }
.question-card {
  position: relative; min-height: 390px; padding: 24px; overflow: hidden; border: 0; border-radius: 22px;
  text-align: left; scroll-snap-align: start; cursor: pointer; transition: transform .25s ease;
}
.question-card:hover { transform: translateY(-4px); }
.question-1 { background: var(--sage-deep); color: #f5f0e8; }
.question-2 { background: var(--terra); color: #fff8ef; }
.question-3 { background: #d7decd; color: #172019; }
.question-number { font: 600 12px "Oswald"; letter-spacing: .15em; }
.question-card h3 { max-width: 420px; margin: 64px 0 30px; font: 600 clamp(2.4rem, 5vw, 4.7rem)/.98 "Fraunces"; }
.tap-cue { position: absolute; left: 24px; bottom: 24px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.question-answer {
  position: absolute; inset: 0; padding: 34px; display: flex; flex-direction: column; justify-content: center;
  background: #151814; color: #f5f0e8; transform: translateY(101%); transition: transform .35s cubic-bezier(.22,.75,.25,1);
}
.question-answer > span { font: 600 23px/1.38 "Fraunces"; margin-bottom: 22px; }
.question-answer strong { color: var(--acid); font: 600 12px "DM Sans"; letter-spacing: .16em; }
.question-card.active .question-answer { transform: translateY(0); }

.story { padding: 80px 0 130px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.story > * { min-width: 0; max-width: 100%; }
.story-intro { width: 100%; padding: 20px 6px 60px; }
.story-card { width: 100%; }
.story-card h3 { overflow-wrap: anywhere; }
.story-intro h2 em { font-family: "Fraunces"; color: var(--sage); white-space: nowrap; }

@media (max-width: 699px) {
  .story-intro h2 { font-size: clamp(2.2rem, 12.25vw, 4rem); overflow-wrap: normal; word-break: normal; }
}
.story-intro > p:last-child { max-width: 380px; margin-top: 28px; color: var(--muted); }
.story-card { min-height: 390px; padding: 28px; border-radius: 22px; overflow: hidden; }
.story-card > span, .story-card div > span { font: 600 11px "DM Sans"; letter-spacing: .15em; }
.story-card h3 { margin: 22px 0 16px; font: 600 clamp(2.5rem, 6vw, 5rem)/.95 "Oswald"; text-transform: uppercase; }
.story-card p { max-width: 460px; line-height: 1.6; }
.story-card b { display: block; margin-top: 50px; font: 600 11px "DM Sans"; letter-spacing: .15em; }
.origin { background: var(--acid); color: #172019; }
.rift { position: relative; padding: 0; min-height: 500px; color: white; }
.rift img { position: absolute; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.7); }
.rift div { position: absolute; z-index: 1; inset: auto 28px 28px; }
.rescue { background: var(--terra); color: #fff6ea; }
.cross { float: right; font: 300 88px/1 "DM Sans"; }
.renewal { display: flex; flex-direction: column; justify-content: space-between; background: var(--sage); color: #fff; }
.renewal a { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.35); font-size: 12px; font-weight: 700; }

.spotlight { padding: 12px; display: grid; gap: 12px; background: #111411; color: #f4efe7; }
.spotlight > div { min-height: 410px; border-radius: 22px; }
.spotlight-image { position: relative; overflow: hidden; }
.spotlight-image img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-image span { position: absolute; z-index: 1; bottom: 20px; left: 20px; font-size: 10px; letter-spacing: .14em; }
.verse { padding: 36px 24px; display: flex; flex-direction: column; justify-content: center; background: #1b201c; }
.verse blockquote { margin: 20px 0 36px; font: 600 clamp(2rem, 5vw, 4.6rem)/1.05 "Fraunces"; }
.verse cite { color: #b8c0b8; font-size: 10px; font-style: normal; letter-spacing: .15em; }
.listen-card { padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--acid); color: #161b15; }
.listen-card p { font-size: 12px; }
.listen-card h3 { margin: 6px 0 25px; font: 600 58px/.9 "Oswald"; text-transform: uppercase; }
.listen-card button { padding: 14px 0; display: flex; justify-content: space-between; border: 0; border-top: 1px solid rgba(0,0,0,.28); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.equalizer { display: flex; align-items: end; gap: 4px; height: 35px; margin-bottom: auto; }
.equalizer i { width: 4px; height: 15px; background: #1a2118; animation: bounce .8s infinite alternate; }
.equalizer i:nth-child(2) { height: 32px; animation-delay: -.3s; }
.equalizer i:nth-child(3) { height: 22px; animation-delay: -.6s; }
.equalizer i:nth-child(4) { height: 29px; animation-delay: -.1s; }
@keyframes bounce { to { height: 8px; } }

.paths { padding: 130px 0; }
.path-grid { display: grid; gap: 12px; }
.path-card { min-height: 410px; padding: 28px; display: flex; flex-direction: column; border-radius: 22px; }
.path-card.sage { background: var(--sage-deep); color: #fff; }
.path-card.cream { background: #ddd7c9; color: #1b1c19; }
.path-card.terra { background: var(--terra); color: #fff; }
.path-top { display: flex; justify-content: space-between; }
.path-top span, .path-top small { font: 600 10px "DM Sans"; letter-spacing: .14em; text-transform: uppercase; }
.path-card h3 { margin: auto 0 14px; font: 600 clamp(2.6rem, 5vw, 5rem)/.95 "Fraunces"; }
.path-card p { max-width: 400px; min-height: 70px; line-height: 1.55; }
.path-card a { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid currentColor; font-size: 12px; font-weight: 700; }

.signup { padding: 80px 24px; display: grid; gap: 50px; border-radius: 28px; background: var(--acid); color: #171a15; }
.signup h2 em { color: var(--sage-deep); }
.signup form { align-self: end; }
.signup label { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.signup form > div { display: flex; padding-bottom: 8px; border-bottom: 2px solid #1e241c; }
.signup input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 18px; color: #171a15; }
.signup form button { padding: 12px 16px; border: 0; border-radius: 99px; background: #171a15; color: #f4f0e6; font-size: 11px; font-weight: 700; cursor: pointer; }
.signup form small { display: block; margin-top: 12px; opacity: .65; }
.signup-success { align-self: end; }
.signup-success > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #1b2018; color: #fff; font-size: 24px; }
.signup-success h3 { margin: 16px 0 6px; font: 600 36px "Fraunces"; }

.site-footer { margin-top: 18px; padding: 70px 24px 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 35px; background: #151714; color: #f2ede3; border-radius: 28px 28px 0 0; }
.site-footer > * { min-width: 0; max-width: 100%; }
.footer-brand { display: flex; align-items: start; gap: 18px; min-width: 0; }

@media (max-width: 359px) {
  .footer-brand { gap: 12px; }
  .footer-brand .brand-mark { width: 34px; flex: 0 0 34px; }
  .footer-brand h2 { font-size: clamp(2.55rem, 14vw, 3rem); overflow-wrap: anywhere; }
}
.footer-brand .brand-mark { background: var(--acid); color: #151714; }
.footer-brand h2 { margin: 0; font: 600 clamp(3.3rem, 9vw, 8rem)/.82 "Oswald"; }
.site-footer > p { max-width: 360px; color: #abb0aa; }
.footer-links { display: grid; gap: 10px; font-size: 13px; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #4b4e49; border-radius: 50%; font-size: 10px; font-weight: 700; }
.site-footer > small { color: #777b75; }

@media (min-width: 700px) {
  .pill-small { display: inline-flex; }
  .question-track { grid-auto-columns: 52%; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .path-card:last-child { grid-column: 1 / -1; }
  .signup { grid-template-columns: 1.3fr 1fr; padding: 80px; }
  .site-footer { grid-template-columns: 1.5fr 1fr 1fr; padding: 90px 6vw 28px; }
  .footer-brand, .site-footer > small { grid-column: 1 / -1; }
}

@media (min-width: 1000px) {
  .site-header { padding-left: 24px; }
  .desktop-nav { display: flex; gap: 34px; font-size: 12px; font-weight: 600; }
  .desktop-nav a { opacity: .7; transition: opacity .2s; }
  .desktop-nav a:hover { opacity: 1; }
  .menu-button { display: none; }
  .hero { min-height: 840px; padding-top: 112px; grid-template-columns: 1.35fr .85fr .38fr; grid-template-rows: 1fr; }
  .hero-copy { padding: 11vh 3vw 6vh 0; align-self: center; }
  .hero-copy h1 { font-size: clamp(5.1rem, 8.2vw, 9.4rem); }
  .hero-visual { min-height: 700px; }
  .hero-aside { align-self: end; min-height: 260px; }
  .section-heading { flex-direction: row; align-items: end; justify-content: space-between; }
  .question-track { grid-auto-flow: initial; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .question-card:nth-child(2) { transform: translateY(38px); }
  .question-card:nth-child(2):hover { transform: translateY(32px); }
  .story { grid-template-columns: 1fr 1fr; }
  .story-intro { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; }
  .story-intro > p:last-child { margin-bottom: 10px; }
  .story-card { min-height: 470px; }
  .rift { grid-row: span 2; min-height: 952px; }
  .renewal { grid-column: 1 / -1; min-height: 360px; flex-direction: row; gap: 50px; align-items: end; }
  .renewal a { width: 300px; }
  .spotlight { grid-template-columns: .85fr 1.5fr .75fr; padding: 22px; }
  .spotlight > div { min-height: 660px; }
  .verse { padding: 60px; }
  .path-grid { grid-template-columns: repeat(3, 1fr); }
  .path-card:last-child { grid-column: auto; }
  .signup { margin-bottom: 20px; }
}

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