/* RCCG All Saints' Assembly Grimsby — public website design system */
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/fonts/playfair-display-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('/fonts/cinzel-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fonts/nunito-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('/fonts/cinzel-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy-950: #070f22; --navy-900: #0b1730; --navy-800: #0e1b3a; --navy-700: #18295a; --navy-600: #24397a; --navy-100: #e7ebf5;
  --gold-600: #86661c; --gold-500: #c9a54a; --gold-300: #e6cf8f; --gold-100: #f7efd9;
  --cream: #faf7f0; --paper: #ffffff; --ink: #1b2232; --muted: #5a6376; --line: #e7e2d6; --line-strong: #d6cfbd;
  --ok: #1f7a4d; --ok-bg: #e6f4ec; --warn: #9a5b00; --warn-bg: #fff3dc; --bad: #b42318; --bad-bg: #fde8e7;
  --radius: 14px; --radius-sm: 9px; --shadow: 0 1px 2px rgba(11,23,48,.06), 0 8px 24px rgba(11,23,48,.08);
  --shadow-lg: 0 20px 50px rgba(11,23,48,.18);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-brand: 'Cinzel', 'Playfair Display', Georgia, serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
mark.ph { background: #fff1c2; color: #6b4b00; border-radius: 4px; padding: 0 4px; font-size: .92em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.eyebrow { font-family: var(--font-brand); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 700; color: var(--gold-600); margin-bottom: .6rem; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.25em; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-300); color: var(--navy-950); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); }
.btn-light:hover { background: #fff; color: var(--navy-900); }
.btn-yt { background: #c4302b; color: #fff; }
.btn-yt:hover { background: #a82722; color: #fff; }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: .92rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Header */
.topbar { background: var(--navy-950); color: #cfd6e6; font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar-parent { display: flex; align-items: center; gap: 8px; color: #e6e9f2; text-decoration: none; font-family: var(--font-brand); letter-spacing: .08em; font-size: .72rem; }
.topbar-parent img { width: 24px; height: 24px; }
.topbar-links { display: none; gap: 16px; }
.topbar-links a { color: #cfd6e6; text-decoration: none; }
@media (min-width: 720px) { .topbar-links { display: flex; } }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.brand img { height: 66px; width: auto; }
@media (min-width: 1080px) { .site-header .wrap { min-height: 100px; } .brand img { height: 84px; } .brand-text strong { font-size: 1.2rem; } .brand-text span { font-size: .8rem; } }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-brand); font-size: 1.05rem; letter-spacing: .06em; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; background: var(--navy-800); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font: 600 .95rem var(--font-body); cursor: pointer; min-height: 44px; }
.nav-toggle svg { width: 20px; height: 20px; }
.main-nav { display: none; }
.main-nav.open { display: block; position: fixed; inset: 122px 0 0 0; background: var(--paper); overflow-y: auto; padding: 8px 16px 40px; border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { border-bottom: 1px solid var(--line); }
.main-nav a { display: block; padding: 14px 4px; color: var(--navy-900); text-decoration: none; font-weight: 600; }
.main-nav a[aria-current="page"] { color: var(--gold-600); }
.main-nav .sub a { padding: 9px 4px 9px 18px; font-weight: 500; color: var(--muted); }
.main-nav .nav-cta { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 18px; }
.main-nav .nav-cta a { display: inline-flex; padding: .7em 1.2em; }
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .main-nav, .main-nav.open { display: block; position: static; padding: 0; border: 0; overflow: visible; background: none; }
  .main-nav > ul { display: flex; align-items: center; gap: 2px; }
  .main-nav > ul > li { border: 0; position: relative; }
  .main-nav > ul > li > a { padding: 10px 11px; font-size: .95rem; border-radius: 8px; white-space: nowrap; }
  .main-nav > ul > li > a:hover { background: var(--cream); color: var(--navy-900); }
  .main-nav .has-sub > a::after { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 7px; opacity: .55; }
  .main-nav .sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; }
  .main-nav li:nth-last-child(-n+2) > .sub { left: auto; right: 0; } /* menus near the right edge open leftwards */
  .main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .main-nav .sub a { padding: 9px 12px; border-radius: 8px; color: var(--navy-900); font-weight: 500; }
  .main-nav .sub a:hover { background: var(--cream); }
  .main-nav .nav-cta { display: none; }
}
.header-yt { display: none; }
@media (min-width: 1080px) { .header-yt { display: inline-flex; } }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero-bg.is-brand { background:
  radial-gradient(ellipse 60% 70% at 78% 18%, rgba(230,207,143,.35), transparent 60%),
  repeating-conic-gradient(from 200deg at 78% 18%, rgba(230,207,143,.10) 0deg 3deg, transparent 3deg 14deg),
  linear-gradient(160deg, #18295a 0%, #0e1b3a 45%, #070f22 100%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,15,34,.88) 0%, rgba(7,15,34,.55) 55%, rgba(7,15,34,.25) 100%); }
.hero .wrap { padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(56px, 10vw, 120px); }
.hero-inner { max-width: 720px; }
.hero .eyebrow { color: var(--gold-300); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #e3e8f3; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-logo { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: min(26vw, 300px); opacity: .95; display: none; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }
@media (min-width: 900px) { .hero-logo { display: block; } }
.page-hero { background: linear-gradient(160deg, #18295a, #0b1730); color: #fff; padding: clamp(40px, 7vw, 76px) 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; background: repeating-conic-gradient(rgba(230,207,143,.10) 0 3deg, transparent 3deg 14deg); border-radius: 50%; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #d7deec; margin: .6em 0 0; max-width: 680px; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--gold-300); }
.crumbs { font-size: .88rem; margin-bottom: 10px; }
.crumbs a { color: #c9d2e6; }

/* Sections */
.section { padding: clamp(48px, 8vw, 92px) 0; }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy-900); color: #e3e8f3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 620px; }
.prose { max-width: 760px; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
a.card, .card a.card-link { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.card-media { aspect-ratio: 16/10; background: var(--navy-100); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.22rem; }
.card-body p { margin: 0; color: var(--muted); font-size: .97rem; }
.card-meta { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.card-foot { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--navy-600); font-size: .95rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .03em; padding: 3px 10px; border-radius: 999px; background: var(--gold-100); color: #6b5212; }
.tag-red { background: var(--bad-bg); color: var(--bad); }
.tag-navy { background: var(--navy-100); color: var(--navy-700); }

/* Placeholder image */
.ph-img { width: 100%; height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: #c9d2e6; background:
  repeating-conic-gradient(from 0deg at 50% 38%, rgba(230,207,143,.12) 0 4deg, transparent 4deg 16deg),
  linear-gradient(160deg, var(--accent, #24397a), #0b1730); padding: 16px; }
.ph-img img { width: 64px; height: auto; opacity: .9; }
.ph-img span { font-size: .78rem; letter-spacing: .04em; color: #dfe5f2; background: rgba(0,0,0,.25); padding: 3px 10px; border-radius: 999px; }

/* Home specifics */
.service-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.service-strip .wrap { display: grid; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
@media (min-width: 820px) { .service-strip .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }
.service-strip h2 { font-size: 1.15rem; margin: 0; font-family: var(--font-brand); letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); }
.service-times { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .97rem; }
.service-times div { display: flex; gap: 8px; align-items: baseline; }
.service-times div::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); flex: none; transform: translateY(-2px); }
.vm { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 640px) { .vm { grid-template-columns: 1fr 1fr; } }
.vm div { background: var(--cream); border-left: 4px solid var(--gold-500); padding: 16px 18px; border-radius: 0 12px 12px 0; }
.vm strong { display: block; font-family: var(--font-brand); letter-spacing: .1em; font-size: .78rem; color: var(--gold-600); margin-bottom: 4px; }
.feature-panel { border-radius: 22px; overflow: hidden; position: relative; min-height: 320px; background: var(--navy-800); }
.feature-panel > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.brand-panel { display: grid; place-items: center; padding: 36px; background: linear-gradient(160deg,#18295a,#0b1730); }
.brand-panel .brand-panel-inner { text-align: center; color: #dfe5f2; position: relative; }
.brand-panel .brand-panel-inner img { width: 170px; height: auto; margin: 0 auto 18px; }
.games-band { background: radial-gradient(circle at 96% 8%, rgba(255,209,102,.9) 0 34px, transparent 35px), radial-gradient(circle at 4% 96%, rgba(6,214,160,.85) 0 26px, transparent 27px), radial-gradient(circle at 62% 92%, rgba(239,71,111,.8) 0 12px, transparent 13px), linear-gradient(135deg, #3a3fb8, #5b2a9e); color: #fff; border-radius: 26px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .games-band { grid-template-columns: 1.4fr 1fr; } }
.games-band h2 { color: #fff; font-family: 'Nunito', var(--font-body); font-weight: 900; }
.games-band p { color: #ece9ff; font-size: 1.08rem; }
.games-emoji { font-size: clamp(3.4rem, 10vw, 6rem); text-align: center; line-height: 1.1; letter-spacing: .1em; }
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 48px); display: grid; gap: 20px; align-items: center; }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #d8deeb; margin: 0; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.quote::before { content: '“'; position: absolute; top: -6px; left: 18px; font: 700 4.4rem/1 var(--font-head); color: var(--gold-300); }
.quote h3 { margin-top: 18px; font-size: 1.12rem; }
.quote p { color: var(--muted); }
.quote footer { font-weight: 600; color: var(--navy-700); font-size: .92rem; }

/* Events */
.event-row { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.event-row:hover { color: inherit; border-color: var(--gold-300); }
.datebox { background: var(--navy-800); color: #fff; border-radius: 12px; text-align: center; padding: 8px 4px; line-height: 1.1; }
.datebox b { display: block; font: 700 1.7rem/1 var(--font-head); }
.datebox span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-300); }
.event-row h3 { margin: 0 0 4px; font-size: 1.15rem; }
.is-cancelled h3 { text-decoration: line-through; color: var(--muted); }
.cal { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; table-layout: fixed; }
.cal th { background: var(--navy-800); color: #fff; font-size: .8rem; padding: 8px 2px; font-weight: 600; }
.cal td { border: 1px solid var(--line); vertical-align: top; height: 86px; padding: 4px; font-size: .78rem; }
.cal td.muted { background: #f6f4ee; color: #aaa; }
.cal td.today { background: var(--gold-100); }
.cal .d { font-weight: 700; color: var(--navy-800); }
.cal a { display: block; background: var(--navy-100); color: var(--navy-800); border-radius: 5px; padding: 2px 4px; margin-top: 3px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .cal td { height: 54px; } .cal a { font-size: 0; height: 8px; padding: 0; background: var(--gold-500); } }

/* Lists & filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.filters input, .filters select { min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .96rem; background: #fff; }
.filters input[type=search] { flex: 1 1 220px; }
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.empty { text-align: center; padding: 48px 20px; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.empty strong { display: block; color: var(--navy-800); font-size: 1.1rem; margin-bottom: 4px; }
.list-row { display: flex; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.list-row .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--bad-bg); color: var(--bad); display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.list-row h3 { margin: 0; font-size: 1.08rem; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .list-row { flex-wrap: wrap; } .list-row .actions { width: 100%; justify-content: flex-start; } }
.pdf-frame { width: 100%; height: 75vh; min-height: 480px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.meta-list { display: grid; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.meta-list div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: .96rem; }
.meta-list dt, .meta-list .k { color: var(--muted); font-weight: 600; }

/* Forms */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy-900); }
.field .hint { font-size: .88rem; color: var(--muted); margin: -2px 0 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=url], .field input[type=date], .field input[type=time], .field input[type=number], .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 14px; font: inherit; background: #fff; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(36,57,122,.18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--navy-700); flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; border: 1px solid; }
.alert-ok { background: var(--ok-bg); border-color: #b9e0c9; color: #0f5132; }
.alert-bad { background: var(--bad-bg); border-color: #f5c2bd; color: #7a1a12; }
.alert-info { background: var(--navy-100); border-color: #cbd4ea; color: var(--navy-800); }

/* Giving */
.give-card { background: var(--paper); border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(24px, 5vw, 44px); max-width: 640px; margin: 0 auto; text-align: center; }
.give-card .btn { margin-top: 10px; }
.bank-details { margin-top: 26px; text-align: left; display: grid; gap: 10px; }
.bank-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.bank-row .k { font-size: .82rem; color: var(--muted); font-weight: 600; }
.bank-row .v { font-size: 1.12rem; font-weight: 700; color: var(--navy-900); word-break: break-word; font-variant-numeric: tabular-nums; }
.copy-btn { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 8px 14px; font: 600 .88rem var(--font-body); cursor: pointer; color: var(--navy-800); min-height: 40px; flex: none; }
.copy-btn.done { background: var(--ok-bg); border-color: #b9e0c9; color: var(--ok); }

/* People & gallery */
.person { text-align: center; }
.person .avatar { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; border: 4px solid var(--paper); box-shadow: var(--shadow); background: var(--navy-100); }
.person .avatar img, .person .avatar .ph-img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--gold-600); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy-100); position: relative; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery-grid figcaption { font-size: .82rem; padding: 6px 8px; color: var(--muted); background: var(--paper); }
.video-link { aspect-ratio: 1; display: grid; place-items: center; background: #111; color: #fff; text-decoration: none; position: relative; }
.video-link img { position: absolute; inset: 0; opacity: .7; }
.video-link span { position: relative; background: #c4302b; padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.ministry-accent { height: 6px; background: var(--accent, var(--gold-500)); }
.map-embed { width: 100%; height: 360px; border: 0; border-radius: var(--radius); background: var(--navy-100); }

/* Footer */
.site-footer { background: var(--navy-950); color: #b9c2d6; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #dfe5f2; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer-brand img { height: 96px; width: auto; }
.footer-brand .rccg { height: 80px; }
.site-footer h3 { color: #fff; font-family: var(--font-brand); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }


/* ---------- Home: sliding photo hero ---------- */
.hs { min-height: clamp(580px, 90vh, 880px); display: flex; flex-direction: column; justify-content: center; background: var(--navy-950); }
.hs::after { display: none; }
.hs-brand { background: radial-gradient(ellipse 60% 70% at 78% 18%, rgba(230,207,143,.35), transparent 60%), linear-gradient(160deg, #18295a 0%, #0e1b3a 45%, #070f22 100%); }
.hs-slides { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hs-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.8s ease, visibility 0s linear 1.8s; }
.hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.8s ease; }
.hs-slide img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transform-origin: 60% 40%; will-change: transform; }
.hs-slide.f-top img { object-position: center 18%; }
.hs-slide.f-bottom img { object-position: center 85%; }
.hs-fill { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(30px) brightness(.45) saturate(1.15); display: none; }
.hs-slide.is-active img { animation: hs-kb1 13s ease-out both; }
.hs-slide:nth-child(3n+2).is-active img { animation-name: hs-kb2; }
.hs-slide:nth-child(3n+3).is-active img { animation-name: hs-kb3; }
.hs-slide.is-active .hs-fill { animation: hs-drift 13s ease-out both; }
@keyframes hs-kb1 { from { transform: scale(1.16) translate(1.5%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes hs-kb2 { from { transform: scale(1.03) translate(-1%, 0); } to { transform: scale(1.15) translate(1.5%, -1.5%); } }
@keyframes hs-kb3 { from { transform: scale(1.14) translate(-1.5%, 1.5%); } to { transform: scale(1.03) translate(1%, -1%); } }
@keyframes hs-drift { from { transform: scale(1.1); } to { transform: scale(1.25); } }
@media (min-width: 900px) {
  .hs-slide.is-portrait .hs-fill { display: block; }
  .hs-slide.is-portrait img { left: auto; width: min(48%, 660px); object-position: center 14%; transform-origin: 50% 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
}
.hs-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,15,34,.93) 0%, rgba(7,15,34,.74) 36%, rgba(7,15,34,.28) 68%, rgba(7,15,34,.12) 100%),
              linear-gradient(0deg, rgba(7,15,34,.9) 0%, rgba(7,15,34,0) 34%); }
@media (max-width: 719px) { .hs-shade { background: linear-gradient(0deg, rgba(7,15,34,.96) 8%, rgba(7,15,34,.66) 52%, rgba(7,15,34,.42) 100%); } }
.hs-rays { position: absolute; z-index: -1; pointer-events: none; width: 1100px; height: 1100px; right: -380px; top: -420px; border-radius: 50%; opacity: .5;
  background: repeating-conic-gradient(rgba(230,207,143,.10) 0deg 2.5deg, transparent 2.5deg 12deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 68%); mask-image: radial-gradient(circle, #000 0, transparent 68%);
  animation: hs-spin 160s linear infinite; }
@keyframes hs-spin { to { transform: rotate(360deg); } }
.hs-motes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hs-motes i { position: absolute; bottom: -12px; left: calc(var(--k) * 7% + 2%); width: calc(3px + var(--s, 2) * 1px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff6d8 0, #e6cf8f 45%, transparent 70%); opacity: 0;
  animation: hs-float calc(14s + var(--k) * .9s) linear infinite; animation-delay: calc(var(--k) * -1.7s); }
@keyframes hs-float { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .85; } 70% { opacity: .6; } 100% { transform: translate(40px, -92vh); opacity: 0; } }
.hs-content { position: relative; padding-top: clamp(96px, 14vh, 150px) !important; padding-bottom: clamp(130px, 17vh, 180px) !important; will-change: transform, opacity; }
.hs .hero-inner { max-width: 760px; }
.hs-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 .78rem/1.3 var(--font-brand); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); animation: hs-up .8s .1s both; }
.hs-eyebrow .bar { width: 38px; height: 2px; background: var(--gold-500); flex: none; transform-origin: left; animation: hs-grow .9s .25s both; }
.hs-title { color: #fff; font-size: clamp(2.6rem, 7.2vw, 5.2rem); line-height: 1.04; letter-spacing: -.01em; margin: .28em 0 .32em; perspective: 900px; text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.hs-title .hw { display: inline-block; transform-origin: 50% 100%; animation: hs-word 1s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(.3s + var(--i) * .1s); }
.hs-title .accent { font-style: italic; font-weight: 500; color: var(--gold-300); padding-right: .06em;
  background: linear-gradient(100deg, #c9a54a 0%, #f3e2ad 30%, #e6cf8f 50%, #c9a54a 70%, #f3e2ad 100%); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: hs-word 1s cubic-bezier(.2,.75,.2,1) both, hs-shine 7s linear infinite; animation-delay: calc(.3s + var(--i) * .1s), 2s; }
@keyframes hs-word { from { opacity: 0; transform: translateY(.55em) rotateX(-75deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hs-shine { to { background-position: -220% center; } }
@keyframes hs-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hs-grow { from { transform: scaleX(0); } }
.hs-lead { color: #e3e8f3 !important; font-size: clamp(1.05rem, 2.1vw, 1.28rem) !important; max-width: 600px; animation: hs-up .9s .85s both; }
.hs-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; }
.hs-tags li { border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: .92rem; color: #fff; animation: hs-up .7s both; animation-delay: calc(1s + var(--i) * .09s); }
.hs-actions { animation: hs-up .9s 1.25s both; }
.hs-yt-line { margin-top: 14px; color: #c9d2e6; font-size: .95rem; animation: hs-up .9s 1.35s both; }
.hs-controls { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; animation: hs-up .9s 1.5s both; }
@media (min-width: 720px) { .hs-controls { padding: 0 28px; bottom: 30px; } }
.hs-caption { display: none; align-items: baseline; gap: 8px; color: #fff; min-width: 0; }
@media (min-width: 720px) { .hs-caption { display: flex; } }
.hs-caption .n { font: 700 1.6rem/1 var(--font-head); color: var(--gold-300); }
.hs-caption .of { font-size: .85rem; color: #c9d2e6; }
.hs-caption .t { margin-left: 10px; font: italic 500 1.05rem var(--font-head); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .5s, transform .5s; }
.hs-caption .t.swap { opacity: 0; transform: translateY(8px); }
.hs-dots { display: flex; gap: 4px; }
.hs-dot { background: none; border: 0; padding: 12px 3px; cursor: pointer; }
.hs-dot span { display: block; width: 34px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hs-dot span::after { content: ''; position: absolute; inset: 0; background: var(--gold-300); transform: scaleX(0); transform-origin: left; }
.hs-dot.is-active span::after { animation: hs-fill var(--dur, 7s) linear forwards; }
.hs.is-paused .hs-dot.is-active span::after, .hs-dot.is-active.done span::after { animation: none; transform: scaleX(1); }
@keyframes hs-fill { to { transform: scaleX(1); } }
.hs-btns { display: flex; gap: 8px; margin-left: auto; }
.hs-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(7,15,34,.35); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, transform .2s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hs-btn:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); transform: translateY(-2px); }
.hs-pause { font-size: .72rem; letter-spacing: -.1em; }
.hs-scroll { display: none; position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; z-index: 2; }
.hs-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-300); animation: hs-wheel 1.8s ease-in-out infinite; }
@keyframes hs-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1000px) { .hs-scroll { display: block; } }

/* ---------- Home: "Join us" service cards ---------- */
.svc-section { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.center-head { text-align: center; max-width: 660px; margin: 0 auto 34px; }
.center-head h2 { margin: .25em 0 .25em; }
.center-head p { color: var(--muted); margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: #0f7a56; }
.kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.svc-card { flex: 0 1 196px; min-height: 168px; border-radius: 18px; padding: 16px 18px 18px; color: #fff; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  box-shadow: 0 14px 30px -14px rgba(11,23,48,.55); transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.svc-card:hover { --lift: -6px; box-shadow: 0 22px 40px -16px rgba(11,23,48,.6); }
.svc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.22) 46%, transparent 60%); transform: translateX(-120%); transition: transform .9s ease; }
.svc-card:hover::before { transform: translateX(120%); }
.svc-card::after { content: ''; position: absolute; z-index: -1; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); }
.c-green { background: linear-gradient(150deg, #11825c 0%, #09563e 100%); }
.c-orange { background: linear-gradient(150deg, #c2510e 0%, #933805 100%); }
.c-navy { background: linear-gradient(150deg, #34449a 0%, #141b4d 100%); }
.c-gold { background: linear-gradient(150deg, #93701f 0%, #614811 100%); }
.c-purple { background: linear-gradient(150deg, #6a4bd6 0%, #3e2a96 100%); }
.c-red { background: linear-gradient(150deg, #c0263a 0%, #8a1325 100%); }
.svc-day { font: 800 .7rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; min-height: 1.3em; }
.svc-day mark.ph, .svc-card p mark.ph { letter-spacing: 0; text-transform: none; font-weight: 600; }
.svc-time { margin-top: auto; padding-top: 22px; display: flex; align-items: baseline; gap: 5px; }
.svc-time b { font: 700 2.35rem/1 var(--font-head); letter-spacing: -.01em; }
.svc-time small { font: 800 .78rem/1 var(--font-body); }
.svc-time .tbc { font: italic 500 1.2rem/1.1 var(--font-head); }
.svc-card h3 { color: #fff; font: 700 1rem/1.25 var(--font-body); margin: 8px 0 3px; }
.svc-card p { font-size: .8rem; line-height: 1.4; margin: 0; }
.svc-more { text-align: center; margin: 28px 0 0; }

/* ---------- Gentle reveal on scroll (only when JavaScript is on) ---------- */
.js-reveal [data-reveal] { opacity: 0; translate: 0 30px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.js-reveal .svc-card[data-reveal] { translate: 0 44px; scale: .94; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.7,.2,1), scale .8s cubic-bezier(.2,.7,.2,1), transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s; }
.js-reveal [data-reveal].in { opacity: 1; translate: none; scale: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .topbar, .site-footer, .no-print { display: none !important; } body { background: #fff; } }
@media (max-width: 480px) { .svc-grid { gap: 12px; } .svc-card { flex-basis: calc(50% - 6px); min-height: 150px; padding: 14px 14px 16px; } .svc-time b { font-size: 1.9rem; } }

/* ---------- Home: Vision & Mission card ---------- */
.vm-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; padding: clamp(24px, 4vw, 38px); color: #dfe5f2;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(230,207,143,.18), transparent 60%), linear-gradient(160deg, #18295a 0%, #0b1730 100%);
  box-shadow: 0 24px 50px -24px rgba(11,23,48,.6); }
.vm-card::before { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -250px; top: -250px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(230,207,143,.10) 0deg 2.5deg, transparent 2.5deg 12deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 70%); mask-image: radial-gradient(circle, #000 0, transparent 70%); animation: hs-spin 180s linear infinite; }
.vm-mark { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 4px; margin-bottom: 14px; }
.vm-kicker { display: block; font: 700 .72rem/1.4 var(--font-brand); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); }
.vm-card h2 { color: #fff; margin: .3em 0 .7em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.vm-list { list-style: none; counter-reset: vm; margin: 0; padding: 0; display: grid; gap: 12px; }
.vm-list li { counter-increment: vm; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: .98rem; line-height: 1.5; }
.vm-list li::before { content: counter(vm); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 .95rem/1 var(--font-body);
  color: var(--navy-950); background: linear-gradient(150deg, #f3e2ad, #c9a54a); box-shadow: 0 4px 12px rgba(201,165,74,.35); }
.vm-list li + li { border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }

/* ---------- Sermon videos: YouTube picture with a play button (opens YouTube) ---------- */
.video-card, .video-thumb { display: block; position: relative; overflow: hidden; background: #000; isolation: isolate; }
.video-card { aspect-ratio: 16 / 9; border-radius: 16px; margin-bottom: 22px; box-shadow: var(--shadow); }
.video-card img, .video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.video-card:hover img, .video-thumb:hover img { transform: scale(1.04); filter: brightness(.82); }
.video-card .play, .video-thumb .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 76px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); transition: scale .25s ease; }
.video-card .play svg, .video-thumb .play svg { display: block; width: 100%; height: auto; }
.video-card:hover .play, .video-thumb:hover .play, .video-card:focus-visible .play { scale: 1.12; }
.video-card .vc-label { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(7,15,34,.78); color: #fff; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.video-card .vc-label svg { width: 1.1em; height: 1.1em; color: #ff3b30; }
.video-thumb.row-video { width: 104px; aspect-ratio: 16 / 9; border-radius: 10px; flex: none; }
.video-thumb.row-video .play { width: 34px; }
.sermon-card { display: flex; flex-direction: column; }
.sermon-card > .card-body { display: block; color: inherit; text-decoration: none; flex: 1; }
.video-thumb.card-video { aspect-ratio: 16 / 9; }
.feature-panel > .ph-img { position: absolute; inset: 0; }
.video-card img.failed, .video-thumb img.failed { visibility: hidden; }
@media (min-width: 900px) { .split.split-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.split-side aside .btn { white-space: normal; text-align: center; }

/* ---------- Uploaded pictures: shown whole, never cropped ---------- */
.photo-frame { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; background: var(--navy-800); margin: 0 0 28px; display: flex; justify-content: center; align-items: center; box-shadow: var(--shadow); }
.photo-frame .pf-fill { position: absolute; inset: -40px; z-index: -1; background-size: cover; background-position: center; filter: blur(28px) brightness(.55) saturate(1.1); }
.photo-frame img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(78vh, 680px); }
