/* Greater Harvest Church Ministries: public website (ghcm.church). Option A, Bold & Cinematic. */
:root {
  --red-950: #2e0804; --red-900: #3f0c06; --red-800: #4d1008; --red-700: #621309; --red-600: #801c0f; --red-500: #9e2a17;
  --gold: #e2c241; --gold-2: #f1d77a; --gold-100: #fbf3d6;
  --cream: #f7f2ea; --cream-2: #efe6d8; --paper: #fff;
  --ink: #2a1a17; --ink-2: #4e3b36; --muted: #6f5f5a; --line: #e8ddd0; --line-2: #d9cab9;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1280px; --pad: 40px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red-600); text-underline-offset: 3px; }
a:hover { color: var(--red-700); }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.03em; font-weight: 900; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--red-800); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.ic { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font: 700 17px/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--red-800); }
.btn-gold:hover { background: #ebcf5c; color: var(--red-800); }
.btn-red { background: var(--red-700); color: #fff; }
.btn-red:hover { background: var(--red-600); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-light:hover { border-color: #fff; color: #fff; }
.btn-line { border-color: var(--line-2); color: var(--red-700); background: transparent; }
.btn-line:hover { border-color: var(--red-600); color: var(--red-600); }
.btn-dark { background: var(--red-800); color: #fff; }
.btn-dark:hover { background: var(--red-900); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 18px 34px; font-size: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ff4d3d; flex: none; }
.live .dot { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Bars above the header */
.preview-bar { background: #1d4f8a; color: #fff; font-size: 15px; }
.preview-bar .wrap { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.preview-bar a { color: #fff; font-weight: 700; }
.announce { background: var(--gold); color: var(--red-800); font-weight: 500; }
.announce .wrap { padding-top: 11px; padding-bottom: 11px; text-align: center; }
.announce a { color: var(--red-800); font-weight: 700; }

/* Header */
.s-head { position: relative; z-index: 20; background: var(--red-950); }
body.home .s-head { position: absolute; left: 0; right: 0; background: transparent; }
.s-head .wrap { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.s-logo img { width: 230px; height: auto; }
.s-nav { display: flex; gap: 26px; flex: 1; justify-content: center; align-items: center; }
.s-nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.s-nav a:hover, .s-nav a.on { color: #fff; border-bottom-color: var(--gold); }
.s-tools { display: flex; gap: 12px; align-items: center; }
.s-tools .lang { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; font-weight: 500; }
.s-tools .lang:hover { color: #fff; }
.s-tools .btn { padding: 10px 18px; font-size: 14px; }
.s-live { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(224,53,43,.9); }
.s-live:hover { color: #fff; background: #e0352b; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; place-items: center; cursor: pointer; }
.menu-btn .ic { width: 24px; height: 24px; }
.nav-drawer-only { display: none; }

/* Hero */
.hero { position: relative; background: var(--red-950); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 75% 30%, rgba(122,26,13,.95) 0%, rgba(98,19,9,.55) 40%, rgba(46,8,4,0) 75%); z-index: 1; }
.hero.has-media::before { background: linear-gradient(90deg, rgba(46,8,4,.92) 0%, rgba(46,8,4,.6) 55%, rgba(46,8,4,.35) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 220px; padding-bottom: 210px; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .18em; color: var(--red-600); text-transform: uppercase; }
.hero .eyebrow, .dark .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(64px, 9vw, 120px); line-height: .95; letter-spacing: -.035em; max-width: 900px; }
.hero p.lead { max-width: 640px; font-size: 22px; line-height: 1.5; color: rgba(255,255,255,.86); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page header (inner pages) */
.page-hero { background: var(--red-950); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 85% 10%, rgba(122,26,13,.95), rgba(46,8,4,0) 70%); }
.page-hero .wrap { position: relative; padding-top: 70px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 76px); max-width: 900px; }
.page-hero p { max-width: 680px; font-size: 20px; color: rgba(255,255,255,.85); }

/* Service times card */
.times { position: relative; z-index: 3; margin-top: -110px; }
.times-card { background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(62,18,10,.18); padding: 32px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 28px; }
.times-card .t { display: flex; flex-direction: column; gap: 4px; }
.times-card .t span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--red-600); text-transform: uppercase; }
.times-card .t strong { font-size: 26px; font-weight: 900; }
.times-card .t span:last-child { color: var(--muted); }
.times-card .where { display: flex; flex-direction: column; gap: 8px; justify-content: center; font-weight: 700; }

/* Sections */
.sec { padding: 100px 0; }
.sec-tight { padding: 70px 0; }
.sec.alt { background: var(--cream-2); }
.sec.white { background: #fff; }
.dark { background: var(--red-950); color: #fff; }
.h2 { font-size: clamp(36px, 4.2vw, 52px); }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.head-row .stack { max-width: 680px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.lead2 { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.dark .lead2 { color: rgba(255,255,255,.8); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.split.top { align-items: start; }
.small { font-size: 14px; }
.muted { color: var(--muted); }

/* Video player */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #1d0603; box-shadow: 0 30px 60px rgba(62,18,10,.25); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .poster { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-decoration: none; background: radial-gradient(60% 80% at 50% 40%, #621309, #1d0603); background-size: cover; background-position: center; border: 0; width: 100%; cursor: pointer; font: inherit; padding: 0; }
.player .poster.has-thumb::before { content: ""; position: absolute; inset: 0; background: rgba(29,6,3,.35); }
.player .play { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .15s; }
.player .poster:hover .play { transform: scale(1.06); }
.player .play svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--red-800); }
.player .badge { position: absolute; left: 18px; top: 18px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: #e0352b; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.player .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font-weight: 700; text-align: left; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.msgs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.msgs a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.msgs a:hover strong { color: var(--red-600); }
.msgs span:last-child { color: var(--muted); flex: none; }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.vid { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.vid img { border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--cream-2); }
.vid strong { line-height: 1.35; }
.vid:hover strong { color: var(--red-600); }
.vid.on img { outline: 3px solid var(--gold); outline-offset: 3px; }
.episodes { display: flex; flex-direction: column; gap: 12px; }
.episode { background: #fff; border-radius: 16px; padding: 18px 20px; display: grid; gap: 10px; }
.episode audio { width: 100%; }

/* Lists with numbers */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--red-700); color: var(--gold); display: grid; place-items: center; font-weight: 900; }
.steps p { color: var(--ink-2); }

/* Forms */
.form { background: #fff; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 50px rgba(62,18,10,.12); }
.form.on-red { background: var(--red-700); color: #fff; box-shadow: none; }
.form h3 { font-size: 24px; letter-spacing: -.02em; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.on-red .field, .on-red legend { color: #fff; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; font: 400 16px/1.4 var(--font); color: var(--ink); background: #fff; min-height: 48px; }
.on-red .field input, .on-red .field select, .on-red .field textarea { border-color: transparent; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(226,194,65,.4); }
.field textarea { min-height: 110px; resize: vertical; }
.field .err { color: #b42318; font-weight: 500; }
.on-red .field .err { color: var(--gold-2); }
.field.bad input, .field.bad textarea, .field.bad select { border-color: #b42318; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.form legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.radio { display: flex; gap: 10px; align-items: center; font-size: 16px; cursor: pointer; }
.radio input { width: 20px; height: 20px; accent-color: var(--gold); margin: 0; }
.form .note { font-size: 13px; color: var(--muted); }
.on-red .note { color: rgba(255,255,255,.75); }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecea; color: #b42318; border-radius: 12px; padding: 12px 14px; font-weight: 500; }

/* Ministries */
.mins { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.min { background: var(--red-800); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; color: #fff; text-decoration: none; transition: transform .15s; }
.min:hover { transform: translateY(-3px); color: #fff; }
.min .ph { height: 200px; background: linear-gradient(135deg, var(--red-600), var(--red-800)); background-size: cover; background-position: center; position: relative; }
.min .ph .ages { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(46,8,4,.75); font-size: 13px; font-weight: 700; }
.min .bd { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.min h3 { font-size: 24px; }
.min p { color: rgba(255,255,255,.8); line-height: 1.55; }
.min .go { margin-top: auto; font-weight: 700; color: var(--gold); }
.min-detail .ph { border-radius: 24px; min-height: 320px; background: linear-gradient(135deg, var(--red-600), var(--red-800)); background-size: cover; background-position: center; }
.pill { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--gold-100); color: #6b4f00; font-weight: 700; font-size: 14px; }

/* Pastors */
.pastors-ph { border-radius: 28px; background: radial-gradient(80% 80% at 50% 30%, var(--red-600), var(--red-800)); padding-top: 40px; overflow: hidden; }
.pastors-ph img { width: 100%; }
.board { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; background: #fff; border-radius: 16px; }
.board strong { font-size: 13px; letter-spacing: .12em; color: var(--red-600); }
.board p { line-height: 1.8; color: var(--ink-2); }

/* Events */
.evs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.ev { display: flex; gap: 16px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); }
.ev:hover { border-color: var(--line-2); color: var(--ink); box-shadow: 0 10px 30px rgba(62,18,10,.08); }
.ev .d { flex: none; width: 64px; border-radius: 12px; overflow: hidden; text-align: center; border: 1px solid var(--line); align-self: start; }
.ev .d span { display: block; background: var(--red-700); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 0; text-transform: uppercase; }
.ev .d strong { display: block; font-size: 26px; padding: 6px 0; }
.ev .i { display: flex; flex-direction: column; gap: 4px; }
.ev .i strong { font-size: 18px; line-height: 1.25; }
.ev .i span { color: var(--muted); font-size: 15px; }
.day-head { font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); margin: 34px 0 12px; }
.day-head:first-child { margin-top: 0; }
.ev-list { display: flex; flex-direction: column; gap: 12px; }
.ev-detail { background: #fff; border-radius: 22px; padding: 36px; display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.ev-detail .meta { display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 18px; }

/* Prayer wall */
.pray-list { display: flex; flex-direction: column; gap: 12px; }
.pray { background: #fff; border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.pray .who { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.pray p { line-height: 1.55; white-space: pre-wrap; }
.pray form { margin: 0; }
.pray button { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--red-700); font: 700 14px var(--font); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.pray button:hover { border-color: var(--red-600); }
.pray button[disabled] { background: var(--gold-100); border-color: #ecd98c; color: #6b4f00; cursor: default; }

/* Cards: app & give */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.duo > div { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.duo h2 { font-size: 36px; line-height: 1.08; letter-spacing: -.02em; }
.app-card { background: #fff; }
.give-card { background: var(--gold); color: var(--red-800); }
.give-card .eyebrow { color: var(--red-800); }
.stores { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.store { display: inline-flex; flex-direction: column; padding: 8px 18px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; line-height: 1.15; }
.store:hover { color: #fff; background: #000; }
.store span { font-size: 11px; }
.store strong { font-size: 17px; }

/* Rich text (About) */
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 760px; }
.prose h2 { color: var(--ink); font-size: 32px; margin-top: 24px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border-radius: 16px; padding: 18px 22px; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* Thanks page */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.thanks .check { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--red-800); }
.thanks .check svg { width: 40px; height: 40px; }

/* Footer */
.s-foot { background: var(--red-950); color: rgba(255,255,255,.8); }
.s-foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 70px; padding-bottom: 40px; }
.s-foot .col { display: flex; flex-direction: column; gap: 8px; }
.s-foot strong { color: #fff; }
.s-foot a { color: rgba(255,255,255,.8); text-decoration: none; }
.s-foot a:hover { color: var(--gold); }
.s-foot img { width: 220px; }
.s-foot .base { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 36px; font-size: 13px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }

/* Phones and tablets: the header switches to a menu button below 1100 px (tablets, small laptops). */
@media (max-width: 1100px) {
  .s-head .wrap { gap: 12px; }
  .menu-btn { display: grid; order: 3; }
  .s-tools { margin-left: auto; }
  .s-tools .lang, .s-tools .member { display: none; }
  .s-nav { display: none; position: absolute; left: 12px; right: 12px; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; background: var(--red-900); border-radius: 18px; padding: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.4); max-width: 420px; margin-left: auto; }
  .s-nav.open { display: flex; }
  .s-nav a { padding: 14px 16px; border-radius: 12px; border: 0; font-size: 17px; }
  .s-nav a:hover, .s-nav a.on { background: rgba(255,255,255,.08); }
  .nav-drawer-only { display: block; }
}
@media (max-width: 960px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .s-head .wrap { padding-top: 14px; padding-bottom: 14px; }
  .s-logo img { width: 180px; }
  .s-live span:not(.dot) { display: none; }
  .s-live { padding: 10px; }
  .hero .wrap { padding-top: 140px; padding-bottom: 150px; gap: 20px; }
  .hero p.lead { font-size: 18px; }
  .times { margin-top: -80px; }
  .times-card { padding: 24px; gap: 18px; }
  .times-card .t strong { font-size: 22px; }
  .sec { padding: 64px 0; }
  .sec-tight { padding: 48px 0; }
  .split { gap: 36px; }
  .form { padding: 24px; }
  .duo > div { padding: 28px; }
  .duo h2 { font-size: 28px; }
  .player .play { width: 68px; height: 68px; }
  .page-hero .wrap { padding-top: 40px; padding-bottom: 54px; }
}
@media (max-width: 600px) {
  .cta-row .btn { flex: 1 1 100%; }
  .s-nav { left: 8px; right: 8px; max-width: none; }
  .s-tools .btn { padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
