
:root {
  --navy: #003B5C;
  --navy-deep: #002F49;
  --gold: #d89b1c;
  --gold-light: #f4b531;
  --red: #d71920;
  --text: #12213a;
  --muted: #5d6a7c;
  --line: #d8dee8;
  --soft: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(0, 59, 92, 0.13);
  --radius: 16px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Noto Sans", Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link { position:absolute; left:-999px; top:0; background:#fff; padding:10px; z-index:1000; }
.skip-link:focus { left:10px; top:10px; }
.topbar { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.nav-wrap { max-width: var(--max); margin: 0 auto; min-height: 96px; padding: 0 28px; display: flex; align-items: center; gap: 36px; }
.brand { display:flex; align-items:center; gap:14px; min-width: 308px; flex: 0 0 308px; color:#fff; }
.brand-mark { width:70px; height:65px; flex:0 0 70px; object-fit:contain; }
.brand-copy { display:flex; flex-direction:column; line-height:1; }
.brand-name { font-size:27px; line-height:.96; letter-spacing:-.035em; font-weight:400; color:#fff; }
.brand-name sup { font-size:.34em; top:-.7em; position:relative; margin-left:1px; }
.brand-sub { margin-top:8px; font-size:12px; letter-spacing:.03em; color:rgba(255,255,255,.82); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 800; white-space: nowrap; margin-left: auto; letter-spacing:.03em; }
.nav-links a { opacity: .95; padding: 34px 0; border-bottom: 3px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.menu-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 8px 10px; font-weight: 800; }
.hero { position: relative; min-height: 540px; display: flex; align-items: center; background-image: var(--hero-image); background-size: cover; background-position: center; color: #fff; overflow:hidden; }
.hero::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,47,73,.64), rgba(0,47,73,.22) 54%, rgba(0,47,73,.04)); }
.hero.short { min-height: 370px; }
.hero .inner { position:relative; z-index:1; max-width: var(--max); margin: 0 auto; padding: 88px 28px; width: 100%; }
.hero-panel { max-width: 720px; padding: 28px 32px; border-left: 5px solid var(--gold-light); border-radius: 0 18px 18px 0; background: rgba(0, 47, 73, .58); backdrop-filter: blur(5px); box-shadow: 0 18px 42px rgba(0,0,0,.20); }
.hero.short .hero-panel { max-width: 660px; }
.eyebrow { color: var(--gold-light); font-weight: 900; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.03; margin: 0 0 18px; max-width: 780px; }
.hero p { max-width: 680px; font-size: 19px; color: rgba(255,255,255,.94); margin: 0 0 28px; }
.hero-actions { display:flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items:center; justify-content:center; gap: 10px; border-radius: 999px; padding: 13px 22px; font-weight: 900; letter-spacing:.02em; border: 2px solid transparent; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.btn-gold { background: var(--gold); color:#101820; }
.btn-outline { border-color: rgba(255,255,255,.75); color:#fff; }
.btn-navy { background: var(--navy); color:#fff; }
.btn-red { background: var(--red); color:#fff; border-radius: 12px; }
.service-strip { background:#fff; border-bottom:1px solid var(--line); box-shadow: var(--shadow); }
.service-grid { max-width: var(--max); margin:0 auto; display:grid; grid-template-columns: repeat(3, 1fr); gap:0; }
.service-item { padding:22px 28px; border-right:1px solid var(--line); }
.service-item:last-child { border-right:0; }
.service-item strong { display:block; color:var(--navy); font-size:15px; text-transform:uppercase; letter-spacing:.11em; }
.section { max-width: var(--max); margin:0 auto; padding: 72px 28px; }
.section.tight { padding-top: 48px; padding-bottom: 48px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:28px; }
.section-title { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin:0; color:var(--navy-deep); }
.section-kicker { color: var(--gold); font-weight: 900; letter-spacing: .13em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.lead { font-size: 18px; color:#303a48; max-width: 820px; }
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 10px; color: var(--navy-deep); font-size: 22px; }
.card p { color: var(--muted); margin:0 0 16px; }
.icon { width:46px; height:46px; border-radius:50%; background:rgba(216,155,28,.16); color:var(--navy); display:flex; align-items:center; justify-content:center; font-weight:900; margin-bottom:16px; }
.learn-link, .view-link { color: var(--navy); font-weight:900; }
.learn-link:hover, .view-link:hover { color: var(--red); }
.quick-links { background: linear-gradient(180deg,#f7f9fc,#fff); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.quick-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick-grid .btn-red { width:100%; min-height:58px; text-align:center; }
.video-embed { position: relative; width: 100%; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.sermon-feature { background: linear-gradient(135deg, #f7f9fc, #ffffff); border:1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.sermon-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.sermon-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }
.sermon-card .video-embed { border-radius: 0; box-shadow:none; max-width:none; }
.sermon-card-body { padding:18px; }
.sermon-card-body h3 { margin:0 0 6px; color:var(--navy-deep); font-size:20px; }
.sermon-card-body p { margin:0; color:var(--muted); font-size:14px; }
.hero-home { --hero-image: url('/assets/images/hero-home.webp'); background-position:center 45%; }
.hero-im-new { --hero-image: url('/assets/images/hero-im-new.webp'); background-position:center 48%; }
.hero-about { --hero-image: url('/assets/images/hero-about.webp'); background-position:center; }
.hero-beliefs { --hero-image: url('/assets/images/hero-beliefs.webp'); background-position:center; }
.hero-history { --hero-image: url('/assets/images/raleigh-church-inside.webp'); background-position:center; }
.hero-ministries { --hero-image: url('/assets/images/hero-ministries.webp'); background-position:center; }
.hero-prison { --hero-image: url('/assets/images/hero-prison.webp'); background-position:center; }
.hero-pathfinders { --hero-image: url('/assets/images/hero-pathfinders.webp'); background-position:center; }
.hero-sermons { --hero-image: url('/assets/images/hero-sermons.webp'); background-position:center; }
.hero-calendar { --hero-image: url('/assets/images/hero-calendar.webp'); background-position:center; }
.hero-bulletins { --hero-image: url('/assets/images/hero-bulletins.webp'); background-position:center; }
.hero-contact { --hero-image: url('/assets/images/hero-contact.webp'); background-position:center; }
.hero-resources { --hero-image: url('/assets/images/hero-resources.webp'); background-position:center; }
.hero-privacy { --hero-image: url('/assets/images/hero-privacy.webp'); background-position:center; }
.photo-frame { border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); background:#fff; margin:0; }
.photo-frame figcaption { padding:10px 14px; color:var(--muted); font-size: 14px; text-align:center; }
.timeline { position:relative; display:grid; gap:18px; margin-top:28px; }
.timeline-item { display:grid; grid-template-columns: 120px 1fr; gap:20px; align-items:start; background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px; }
.timeline-year { color:var(--red); font-weight:900; font-size:22px; }
.form { display:grid; gap:16px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
.form label { font-weight:800; color:var(--navy); }
.form input, .form textarea, .form select { width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 14px; font:inherit; }
.form textarea { min-height:140px; }
.bulletin-current { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color:#fff; border-radius: var(--radius); padding:32px; display:flex; justify-content:space-between; gap:24px; align-items:center; box-shadow:var(--shadow); }
.bulletin-current h2 { margin:0 0 8px; }
.bulletin-list { display:grid; gap:14px; }
.bulletin-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 20px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.map-embed { border:0; width:100%; height:420px; border-radius:var(--radius); box-shadow:var(--shadow); }
.footer { background:#282828; color:#fff; padding: 56px 28px 24px; }
.footer-grid { max-width:var(--max); margin:0 auto; display:grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap:34px; }
.footer-brand-lockup { display:flex; flex-direction:column; align-items:flex-start; gap:12px; margin-bottom:18px; color:#fff; }
.footer-brand-mark { width:92px; height:86px; object-fit:contain; }
.footer-brand-copy { display:flex; flex-direction:column; line-height:1; }
.footer-brand-name { font-size:28px; line-height:1.03; letter-spacing:-.035em; font-weight:400; color:#fff; }
.footer-brand-name sup { font-size:.34em; top:-.7em; position:relative; margin-left:1px; }
.footer-brand-sub { margin-top:12px; font-size:14px; letter-spacing:.03em; color:rgba(255,255,255,.82); }
.footer h3 { color:var(--gold-light); margin:0 0 14px; font-size:15px; text-transform:uppercase; letter-spacing:.14em; }
.footer p, .footer li { color:rgba(255,255,255,.82); }
.footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer a { color:#fff; }
.socials { display:flex; gap:10px; margin-top:16px; }
.socials a { width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(255,255,255,.12); color:#fff; font-weight:900; }
.footer-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.footer-actions a { border:1px solid rgba(255,255,255,.32); border-radius:999px; padding:7px 11px; color:#fff; font-weight:800; font-size:13px; background:rgba(255,255,255,.07); }
.footer-actions a:hover { border-color:var(--gold-light); color:var(--gold-light); }
.footer-bottom { max-width:var(--max); margin:36px auto 0; padding-top:20px; border-top:1px solid rgba(255,255,255,.16); display:flex; justify-content:space-between; gap:20px; color:rgba(255,255,255,.72); font-size:13px; }
.badge { display:inline-block; padding:6px 10px; border-radius:999px; background:rgba(216,155,28,.18); color:var(--navy); font-weight:900; font-size:13px; }
@media (max-width: 980px) {
  .nav-wrap { min-height: 84px; }
  .brand { min-width:260px; flex-basis:260px; gap:12px; }
  .brand-mark { width:58px; height:54px; flex-basis:58px; }
  .brand-name { font-size:23px; }
  .menu-toggle { display:block; }
  .nav-links { display:none; position:absolute; top:84px; left:0; right:0; background:var(--navy-deep); flex-direction:column; align-items:flex-start; gap:0; padding:10px 28px 18px; }
  .nav-links.open { display:flex; }
  .nav-links a { padding:12px 0; width:100%; }
  .service-grid, .two-col, .cards, .cards.four, .quick-grid, .footer-grid, .sermon-grid { grid-template-columns:1fr 1fr; }
  .hero { min-height:430px; }
}
@media (max-width: 680px) {
  .brand { min-width:215px; flex-basis:215px; gap:10px; }
  .brand-mark { width:48px; height:46px; flex-basis:48px; }
  .brand-name { font-size:19px; }
  .brand-sub { font-size:10px; margin-top:6px; }
  .service-grid, .two-col, .cards, .cards.four, .quick-grid, .footer-grid, .sermon-grid { grid-template-columns:1fr; }
  .service-item { border-right:0; border-bottom:1px solid var(--line); }
  .section { padding:48px 20px; }
  .hero .inner { padding:62px 20px; }
  .hero-panel { padding:22px; }
  .bulletin-current, .bulletin-row, .section-heading, .footer-bottom { flex-direction:column; align-items:flex-start; }
  .timeline-item { grid-template-columns:1fr; }
}

.highlight-card{display:grid;grid-template-columns:1.4fr .8fr;gap:28px;align-items:center;padding:32px;border-radius:22px;background:linear-gradient(135deg,#fff7e6,#ffffff);border:1px solid var(--line);box-shadow:var(--shadow)}
.highlight-card h2{margin:6px 0 12px;font-size:clamp(1.8rem,3vw,2.6rem);color:var(--navy)}
.button-stack{display:flex;flex-direction:column;gap:14px;align-items:stretch}
.button-stack .btn{text-align:center}
@media(max-width:760px){.highlight-card{grid-template-columns:1fr}.button-stack{align-items:flex-start}.button-stack .btn{width:100%}}
