/* ════════════════════════════════════════════════════════════════
   RADIANT CITY CHURCH — SHARED SITE STYLES
   Tokens, type, buttons, header, menu, footer, tapes, lightbox, reveal
   and the building blocks used by every inner page.
   ════════════════════════════════════════════════════════════════ */
:root {
  --ink: #07121d;
  --ink-2: #0e2031;
  --ink-3: #16304a;
  --cream: #f6f1e4;
  --paper: #fffaf0;
  --teal: #0c545a;
  --teal-hi: #19a6a0;
  --gold: #fdac17;
  --yellow: #ffd21f;
  --red: #e2382b;
  --sky: #3aa6ff;
  --navy: #1b3a9c;
  --white: #fff;

  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-marker: 'Permanent Marker', 'Comic Sans MS', cursive;
  --f-body: 'Manrope', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--ink);
  font: 500 17px/1.6 var(--f-body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 99px; font-weight: 800; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; position: relative; z-index: 2; }

/* ── Type helpers ───────────────────────────────────────────── */
.marker { font-family: var(--f-marker); font-weight: 400; color: var(--yellow); letter-spacing: 0; text-transform: none; position: relative; display: inline-block; }
.marker::after { /* brush underline */
  content: ''; position: absolute; left: -2%; right: -4%; bottom: -.08em; height: .16em;
  background: currentColor; clip-path: url(#brush); transform: rotate(-2deg); opacity: .9;
}
.marker--ink { color: var(--ink); }
.marker--teal { color: var(--teal); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 12px/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--yellow);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; background: currentColor; border-radius: 3px; }
.eyebrow--ink { color: var(--ink); }
.eyebrow--gold { color: var(--gold); }
.eyebrow--red { color: var(--red); }
.eyebrow--sky { color: var(--sky); }
.eyebrow--teal { color: var(--teal); }
.eyebrow--yellow { color: var(--yellow); }

.sec-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.sec-title { font: 900 clamp(34px, 6vw, 76px)/.98 var(--f-display); letter-spacing: -.035em; text-transform: uppercase; }
.sec-title--light { color: var(--white); }
.sec-sub { margin-top: 18px; font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; opacity: .8; }
.hl { padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl--yellow { background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 88%, transparent 88%); color: var(--ink); }
.hl--red { background: linear-gradient(transparent 12%, var(--red) 12%, var(--red) 88%, transparent 88%); color: var(--white); }
.hl--sky { background: linear-gradient(transparent 12%, var(--sky) 12%, var(--sky) 88%, transparent 88%); color: var(--ink); }

/* ── Pills ──────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 99px; border: 2px solid transparent;
  font: 800 14px/1 var(--f-body); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.pill:hover { transform: translateY(-2px) rotate(-1deg); }
.pill--lg { padding: 16px 26px; font-size: 15px; }
.pill--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 #b58f00; }
.pill--yellow:hover { box-shadow: 0 8px 0 #b58f00; }
.pill--ink { background: var(--ink); color: var(--yellow); }
.pill--teal { background: var(--teal); color: var(--white); }
.pill--ghost { color: var(--white); border-color: rgba(255,255,255,.25); }
.pill--ghost:hover { border-color: var(--white); }
.pill--outline { color: var(--white); border-color: var(--white); }
.pill--outline:hover { background: var(--white); color: var(--ink); }
.pill--outline-ink { color: var(--ink); border-color: var(--ink); background: transparent; }
.pill--outline-ink:hover { background: var(--ink); color: var(--yellow); }

/* ═══════════════════════ HEADER ═══════════════════════ */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gutter);
  transition: background .35s, padding .35s, box-shadow .35s;
}
.hdr.is-solid { background: rgba(7, 18, 29, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 10px; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.hdr-logo img { width: clamp(130px, 14vw, 170px); height: auto; }
.hdr-nav { display: flex; gap: 4px; }
.hdr-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.hdr-nav a:hover { color: var(--ink); background: var(--yellow); }
.hdr-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--yellow); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--yellow); color: var(--ink);
  padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 900 clamp(30px, 9vw, 52px)/1.12 var(--f-display); text-transform: uppercase; letter-spacing: -.03em; text-decoration: none; display: flex; align-items: baseline; gap: 14px; }
.menu nav a i { font: 700 12px var(--f-body); font-style: normal; opacity: .55; }
.menu .pill--yellow { background: var(--ink); color: var(--yellow); box-shadow: none; align-self: flex-start; }
.menu-foot { font-weight: 700; font-size: 14px; opacity: .7; }

@media (max-width: 1080px) {
  .hdr-nav, .hdr-cta .pill--ghost { display: none; }
  .burger { display: block; }
}
@media (max-width: 460px) { .hdr-cta .pill--yellow { display: none; } }

/* ═══════════════════════ TAPES ═══════════════════════ */
.tapes { position: relative; height: 150px; background: var(--ink); overflow: hidden; z-index: 3; }
.tape { position: absolute; left: -5%; right: -5%; top: 50%; padding: 14px 0; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.tape--yellow { background: var(--yellow); color: var(--ink); transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.tape--teal { background: var(--teal); color: var(--white); transform: translateY(-50%) rotate(2.5deg); }
.tape-track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font: 900 clamp(16px, 2vw, 22px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.tape-track--rev { animation-direction: reverse; animation-duration: 46s; }
.tape-track b { color: var(--red); }
.tape--teal b { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(4,10,17,.94); color: var(--white);
  display: none; align-items: center; justify-content: center; }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(4,10,17,.9); }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: min(92vw, 1400px); }
.lb-fig img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border: 8px solid var(--paper); border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: var(--ink-3); }
.lb-fig figcaption { margin-top: 16px; display: flex; gap: 14px; align-items: baseline; }
.lb-fig figcaption span { font: 400 24px var(--f-marker); color: var(--yellow); }
.lb-fig figcaption small { font-weight: 700; font-size: 13px; letter-spacing: .12em; opacity: .7; }
.lb-btn { position: absolute; border: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 900 28px/1 var(--f-body); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.4); transition: transform .2s; }
.lb-btn:hover { transform: scale(1.08); }
.lb-close { top: 18px; right: 18px; font-size: 20px; background: var(--white); }
.lb-prev { left: 18px; top: 50%; margin-top: -26px; }
.lb-next { right: 18px; top: 50%; margin-top: -26px; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 22px; margin: 0; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } .lb-fig img { max-height: 70vh; border-width: 5px; } }

/* ═══════════════════════ FOOTER ═══════════════════════ */
.ftr { position: relative; background: var(--ink); color: rgba(255,255,255,.75); padding: clamp(80px, 10vw, 130px) 0 34px; overflow: hidden; font-size: 15px; }
.ftr-sky { position: absolute; inset: 0; z-index: 0; }
.ftr-sky img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.ftr-sky::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(7,18,29,.4) 40%, var(--ink) 100%); }
.ftr-shout { font-size: clamp(38px, 8vw, 112px); line-height: 1; margin-bottom: clamp(50px, 7vw, 90px); text-align: center; }
.ftr-shout .marker { transform: rotate(-3deg); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.ftr-grid > div { display: flex; flex-direction: column; gap: 8px; }
.ftr-logo { width: 190px; height: auto; margin-bottom: 10px; }
.ftr h4 { font: 800 12px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--yellow); }
.ftr-times { line-height: 1.9; }
.socials { display: flex; flex-direction: column; gap: 8px; }
.ftr-copy { margin-top: 44px; font-size: 13px; opacity: .6; text-align: center; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════ REVEAL ═══════════════════════ */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ═══════════════════════ NAV: CURRENT PAGE ═══════════════════════ */
.hdr-nav a[aria-current="page"] { color: var(--yellow); background: rgba(255,255,255,.08); }
.menu nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
@media (max-width: 560px) { .tapes { height: 120px; } }

/* ═══════════════════════ INNER-PAGE BUILDING BLOCKS ═══════════════════════
   .page-hero   dark banner at the top of every inner page (set --bg to a photo)
   .sec         a section; colour with .sec--cream/.sec--paper/.sec--ink/.sec--ink2/.sec--yellow/.sec--teal
   .grid-2/3/4  responsive grids · .split two-column · .card (+ --ink, --ink2, --yellow, --teal)
   .polaroid · .arch-photo · .tag · .cta-band · .field / .form-grid · .stat
   ════════════════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  padding: clamp(130px, 16vw, 190px) 0 clamp(64px, 9vw, 110px);
  background: radial-gradient(110% 90% at 90% 0%, #0f3a4a 0%, transparent 55%), radial-gradient(80% 70% at 0% 100%, #2a1830 0%, transparent 60%), var(--ink);
}
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg, none) center/cover no-repeat; opacity: .3; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(7,18,29,.88) 45%, rgba(7,18,29,.55) 100%), linear-gradient(180deg, transparent 60%, var(--ink) 100%); }
.crumbs { display: flex; gap: 8px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.page-title { font: 900 clamp(46px, 8.4vw, 124px)/.9 var(--f-display); letter-spacing: -.05em; text-transform: uppercase; max-width: 14ch; }
.page-title .marker { font-size: 1.05em; transform: rotate(-3deg); }
.page-sub { margin-top: 24px; max-width: 580px; font-size: clamp(16px, 1.7vw, 20px); color: rgba(255,255,255,.82); }
.page-hero .hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.sec { position: relative; padding: clamp(72px, 9vw, 130px) 0; overflow: hidden; }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec--cream { background: var(--cream); color: var(--ink); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec--ink2 { background: var(--ink-2); color: var(--white); }
.sec--yellow { background: var(--yellow); color: var(--ink); }
.sec--teal { background: var(--teal); color: var(--white); }
.sec--ink .sec-title, .sec--ink2 .sec-title, .sec--teal .sec-title { color: var(--white); }
.sec--ink .sec-sub, .sec--ink2 .sec-sub, .sec--teal .sec-sub { color: rgba(255,255,255,.8); opacity: 1; }
.lead { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.6; }
.prose p + p { margin-top: 1em; }
.prose p { font-size: clamp(16px, 1.5vw, 18px); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .split, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { position: relative; background: var(--white); color: var(--ink); border-radius: var(--r); padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 2px 0 rgba(7,18,29,.06), 0 18px 40px rgba(7,18,29,.07); transition: transform .3s var(--ease), box-shadow .3s; }
a.card { text-decoration: none; display: block; }
a.card:hover, .card--lift:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 26px 50px rgba(7,18,29,.14); }
.card h3 { font: 800 clamp(19px, 2vw, 24px)/1.15 var(--f-display); letter-spacing: -.02em; margin-bottom: 10px; }
.card p { font-size: 15.5px; opacity: .8; }
.card--ink { background: var(--ink); color: var(--white); }
.card--ink p { color: rgba(255,255,255,.78); opacity: 1; }
.card--ink2 { background: rgba(255,255,255,.05); color: var(--white); border: 1px solid rgba(255,255,255,.1); box-shadow: none; }
.card--ink2 p { color: rgba(255,255,255,.75); opacity: 1; }
.card--yellow { background: var(--yellow); }
.card--teal { background: var(--teal); color: var(--white); }
.card--teal p { color: rgba(255,255,255,.82); opacity: 1; }
.card-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--yellow); color: var(--ink); margin-bottom: 18px; }
.card-num { font: 900 13px var(--f-display); letter-spacing: .06em; color: var(--red); margin-bottom: 12px; display: block; }

.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 99px; background: var(--ink); color: var(--yellow); }
.tag--teal { background: var(--teal); color: var(--white); }
.tag--red { background: var(--red); color: var(--white); }
.tag--yellow { background: var(--yellow); color: var(--ink); }
.tag--sky { background: var(--sky); color: var(--ink); }
.tag--navy { background: var(--navy); color: var(--white); }

.polaroid { margin: 0; background: var(--paper); padding: 10px 10px 44px; border-radius: 4px; box-shadow: 0 24px 44px rgba(0,0,0,.3); transform: rotate(var(--r, -3deg)); position: relative; }
.polaroid img { width: 100%; border-radius: 2px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 11px; text-align: center; font: 400 17px var(--f-marker); color: var(--ink); }
.polaroid::before { content: ''; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; margin-left: -45px; background: rgba(255,210,31,.85); transform: rotate(-4deg); }
.arch-photo { margin: 0; border-radius: 999px 999px 22px 22px; overflow: hidden; border: 6px solid var(--gold); box-shadow: 0 0 0 10px rgba(253,172,23,.14), 0 30px 60px rgba(0,0,0,.35); aspect-ratio: 3 / 4; }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; }

.cta-band { position: relative; overflow: hidden; background: var(--yellow); color: var(--ink); padding: clamp(64px, 8vw, 110px) 0 clamp(110px, 12vw, 160px); text-align: center; }
.cta-band::before { content: ''; position: absolute; width: 70%; height: 150px; background: var(--ink); clip-path: url(#brush); left: -14%; bottom: -40px; transform: rotate(-6deg); opacity: .95; }
.cta-band .sec-title { max-width: 16ch; margin: 0 auto 18px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; font-weight: 600; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 2; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select { font: 500 16px var(--f-body); color: var(--ink); background: var(--paper); border: 2px solid rgba(7,18,29,.15); border-radius: 14px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,210,31,.55); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.stat b { display: block; font: 900 clamp(38px, 5vw, 64px)/1 var(--f-display); letter-spacing: -.04em; color: var(--yellow); }
.stat span { font-weight: 700; font-size: 14px; opacity: .8; }
.pill--red { background: var(--red); color: var(--white); }
.pill--white { background: var(--white); color: var(--ink); }

.cta-band .pill--outline-ink { background: var(--yellow); }
.cta-band .pill--outline-ink:hover { background: var(--ink); }
