/* The City of Refuge Christian Church of Washington State
   Palette: black / charcoal / silver / white, with a warm gold accent. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #09090a;
  --ink: #0f1012;
  --charcoal: #17181b;
  --charcoal-2: #1f2124;
  --line: #2c2f33;
  --silver: #c9ccd1;
  --silver-2: #9aa0a8;
  --white: #f5f6f7;
  --gold: #d4b26a;
  --gold-2: #e6c98a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --header-h: 68px;
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9dce0 38%, #8e949b 52%, #e4e6e9 70%, #b9bec4 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--gold-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--white); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--silver-2); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: #111; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.icon-lg { width: 1.6rem; height: 1.6rem; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--chrome); color: #111; box-shadow: 0 4px 18px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255,255,255,.7); }
.btn-primary:hover { color: #000; box-shadow: 0 6px 24px rgba(212, 178, 106, .25); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--white); border-color: rgba(201, 204, 209, .45); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(212, 178, 106, .06); }
.btn-lg { min-height: 56px; padding: 1rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 10, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); min-width: 0; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201, 204, 209, .35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.brand-sub { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-2); margin-top: 3px; }

.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  color: var(--silver); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: color .2s, background-color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="true"], .site-nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .07); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line); cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--white); border-radius: 2px;
  transform: translateX(-50%); transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #0b0b0c; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.5);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: .5rem 1.25rem 1rem; gap: 0; }
  .site-nav a { padding: .9rem .5rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1.05rem; }
  .site-nav li:last-child a { border-bottom: 0; }
  /* Without JS, keep nav usable */
  .no-js .site-nav { display: block; position: static; background: none; border: 0; }
  .no-js .nav-toggle { display: none; }
  .no-js .header-inner { height: auto; flex-wrap: wrap; padding: .5rem 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(ellipse 60% 55% at 50% 38%, rgba(201, 204, 209, .10), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(212, 178, 106, .07), transparent 70%),
    var(--black);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo img {
  width: min(440px, 80vw); height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}
.motto {
  display: inline-flex; align-items: center; gap: .9rem; margin: .75rem 0 .35rem;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1rem, 2.4vw, 1.3rem); letter-spacing: .32em; color: var(--gold-2);
  padding-left: .32em; /* balance trailing letter-spacing */
}
.motto-line { width: clamp(28px, 6vw, 56px); height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.motto-line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-title { margin: .1rem 0 .5rem; }
.tagline {
  display: inline-block;
  font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; letter-spacing: .01em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { color: var(--silver); max-width: 62ch; text-wrap: balance; margin: 0 auto .5rem; font-size: 1.05rem; }
.hero-vision {
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--silver-2); margin: .35rem auto 0; max-width: 70ch; line-height: 1.7; text-wrap: balance;
}
.hero-vision span { white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 1.75rem; }
.hero-next { margin: 1.5rem 0 0; color: var(--silver-2); font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 178, 106, .18); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-head { margin-bottom: 2.5rem; }
.eyebrow {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .22em;
  font-size: .8rem; font-weight: 700; color: var(--gold); margin-bottom: .75rem;
}
.lead { font-size: 1.2rem; color: var(--white); line-height: 1.6; }

/* ---------- About ---------- */
.about { background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-head h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin-top: 1rem; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.about-head .lead { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.55; margin-top: 1.25rem; }
.about-body { padding-top: .35rem; }
.about-body p { font-size: 1.08rem; padding-left: 1.25rem; border-left: 2px solid var(--line); margin-bottom: 1.5rem; }
.about-body p:last-child { margin-bottom: 0; }
.about-cta {
  margin-top: clamp(2.5rem, 6vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap;
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(212, 178, 106, .10), transparent 70%),
    linear-gradient(180deg, var(--charcoal-2), var(--charcoal));
  border: 1px solid rgba(212, 178, 106, .35); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow);
}
.about-cta-text { margin: 0; flex: 1 1 420px; color: var(--silver); font-size: 1.08rem; text-wrap: pretty; }
.about-cta-strong {
  display: block; margin-top: .4rem;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.25;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-cta .btn { flex: none; }
@media (max-width: 600px) {
  .about-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .about-cta-text { flex-basis: auto; }
  .about-cta .btn { width: 100%; }
}

/* ---------- Pastors ---------- */
/* Background matches the photo's studio backdrop (~#16171a) so the edges blend in. */
.pastors { background: var(--charcoal); border-top: 1px solid rgba(255, 255, 255, .05); }
.pastors-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.pastors-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.pastors-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  /* Feather all four edges into the section background (no cropping). */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 80%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-composite: intersect;
}
.pastors-text h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.pastors-text h2 span { white-space: nowrap; }
.pastors-text h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin-top: 1rem; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.pastors-text { padding-top: clamp(0rem, 3vw, 2.5rem); }
.pastors-bio { max-width: 62ch; margin-top: 1.5rem; }
.pastors-bio p { margin-bottom: 1.15em; line-height: 1.75; }
.pastors-bio p:first-child { font-size: 1.14rem; color: var(--white); }
.pastors-bio p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .pastors-grid { grid-template-columns: 1fr; justify-items: center; }
  .pastors-photo { width: min(100%, 440px); position: static; }
  .pastors-text { padding-top: 0; width: 100%; max-width: 62ch; }
  .pastors-text .eyebrow, .pastors-text h2 { text-align: center; }
  .pastors-text h2::after { margin-inline: auto; }
}

/* ---------- Vision ---------- */
.vision {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(212, 178, 106, .08), transparent 70%),
    linear-gradient(180deg, var(--black), #0d0d0f);
  border-block: 1px solid rgba(255, 255, 255, .06);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.vision-statement {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem;
  margin: .5rem auto 0; max-width: 1000px;
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, 4.2vw, 2.9rem); line-height: 1.2; letter-spacing: .02em;
  color: var(--white);
}
.vision-item { white-space: nowrap; }
.vision-item .one {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vision h2::after {
  content: ""; display: block; width: 56px; height: 2px; margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
}
.mv-grid { display: flex; flex-direction: column; align-items: center; gap: 2.25rem; margin-top: 2.5rem; }
.mv-block { margin: 0; width: 100%; }
.mv-label {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .22em;
  font-size: .82rem; font-weight: 700; color: var(--silver-2); margin-bottom: 1rem;
}
.mission-statement { margin: 0 auto; max-width: 820px; position: relative; padding: 0 1rem; }
.mission-statement::before {
  content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem; line-height: .6; color: var(--gold); opacity: .8; margin-bottom: .6rem;
}
.mission-statement p {
  margin: 0; font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.5; color: var(--white);
}
.vision-rule {
  display: block; width: 90px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Service cards ---------- */
.services { background: var(--charcoal); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--charcoal-2), #18191c);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(201, 204, 209, .4); }
.card-featured { border-color: rgba(212, 178, 106, .55); }
.card-featured::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.card-day { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--silver-2); margin-bottom: .4rem; }
.card-title { margin-bottom: .35rem; }
.card-time { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: .9rem; letter-spacing: -.01em; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.badge {
  display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: rgba(255, 255, 255, .06); color: var(--silver); border: 1px solid var(--line);
}
.badge-online { color: var(--gold-2); border-color: rgba(212, 178, 106, .45); background: rgba(212, 178, 106, .08); }
.card-link { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--gold-2); }
.card-link:hover { color: #fff; }

/* ---------- Visit ---------- */
.visit { background: var(--ink); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
.address-block {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; margin-top: 1.25rem; color: var(--white); line-height: 1.55;
}
.address-block .icon-lg { margin-top: .15rem; }
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--charcoal); aspect-ratio: 4 / 3;
  position: relative;
}
.map-wrap::before {
  content: "Loading map\2026"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--silver-2); font-size: .95rem;
}
.map-wrap iframe { position: relative; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Online ---------- */
.online { background: linear-gradient(180deg, var(--charcoal) 0%, var(--ink) 100%); }
.online-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(201, 204, 209, .07), transparent 60%),
    var(--charcoal-2);
  border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.75rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
}
@media (max-width: 900px) { .online-panel { grid-template-columns: 1fr; } }
.online-intro .btn { margin-top: .5rem; }
.zoom-details { margin: 0; display: grid; gap: .75rem; }
.zoom-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: rgba(0, 0, 0, .28); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem 1.1rem;
}
.zoom-row dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--silver-2); font-weight: 600; }
.zoom-row dd { margin: 0; display: flex; align-items: center; gap: .75rem; color: var(--white); flex-wrap: wrap; justify-content: flex-end; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: .98rem; letter-spacing: .02em; }
.zoom-row dd a { color: var(--white); overflow-wrap: anywhere; }
.zoom-row dd a:hover { color: var(--gold-2); }
.dial-list { flex-direction: column; align-items: flex-end !important; gap: .2rem !important; }
.copy-btn {
  font: 600 .78rem/1 var(--font-body); padding: .45rem .7rem; min-height: 32px; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--silver); border: 1px solid var(--line);
}
.copy-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.copy-btn.copied { border-color: var(--gold); color: var(--gold-2); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); border-top: 1px solid rgba(255,255,255,.05); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.email-line { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.5rem; }
.email-line a { font-weight: 600; font-size: 1.1rem; word-break: break-all; }
.contact-form {
  background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--white); margin-bottom: .4rem; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--white);
  background: #0c0d0f; border: 1px solid #3a3e44; border-radius: 10px; padding: .8rem .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 178, 106, .25); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 1rem 0 0; font-size: .9rem; color: var(--silver-2); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid rgba(255, 255, 255, .07); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { border-radius: 50%; border: 1px solid rgba(201, 204, 209, .3); }
.footer-name { color: var(--white); font-family: var(--font-head); font-weight: 600; margin: 0 0 .2rem; line-height: 1.35; }
.footer-tagline span { white-space: nowrap; }
.footer-tagline { color: var(--gold); margin: 0; font-size: .9rem; letter-spacing: .04em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 600px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--silver-2); margin-bottom: .6rem; font-weight: 700; }
.footer-cols p, .footer-cols address { margin: 0 0 .5rem; color: var(--silver); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .07);
  color: var(--silver-2); font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.to-top { color: var(--silver); text-decoration: none; }

/* ---------- Simple pages (404 / thanks) ---------- */
.simple-page { min-height: 100vh; display: flex; flex-direction: column; }
.simple-main { flex: 1; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.simple-main img { margin: 0 auto 1.5rem; border-radius: 50%; border: 1px solid rgba(201,204,209,.3); }
.simple-main .big { font-family: var(--font-head); font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; line-height: 1; margin: 0 0 .5rem;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.simple-main .btn-row { justify-content: center; }

@media (max-width: 600px) {
  .vision-statement { flex-direction: column; align-items: center; gap: .15rem; font-size: 1.85rem; }
}
@media (max-width: 480px) {
  .brand-name { font-size: .9rem; }
  .brand-sub { font-size: .66rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .online-intro .btn { width: 100%; }
  .zoom-row { flex-direction: column; align-items: flex-start; }
  .zoom-row dd { justify-content: flex-start; }
  .dial-list { align-items: flex-start !important; }
}
.simple-page .site-footer { padding-top: 0; }
.simple-page .footer-bottom { margin-top: 0; border-top: 0; }

/* ---------- Worship With Us (gallery) ---------- */
.gallery-section { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .05); }
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  /* Column/row ratios chosen so each photo shows (almost) uncropped. */
  grid-template-columns: 402fr 254fr 456fr;
  grid-template-rows: 1.987fr 1fr;
  aspect-ratio: 1.708;
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--charcoal); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.g-link { display: block; width: 100%; height: 100%; }
.g-link picture { display: block; width: 100%; height: 100%; }
.g-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-tall .g-link img { object-position: 50% 45%; }
.g-link::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .3));
}
.g-link:hover img, .g-link:focus-visible img { transform: scale(1.03); }
.g-link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
@media (max-width: 760px) {
  /* Wide photo on top; portrait on the left beside the two smaller photos. */
  .gallery { grid-template-columns: 156fr 182fr; grid-template-rows: auto; aspect-ratio: auto; gap: 10px; }
  .g-item { border-radius: var(--radius); }
  .g-wide { grid-column: 1 / -1; grid-row: 1; }
  .g-tall { grid-column: 1; grid-row: 2 / span 2; }
  .g-tall .g-link { position: absolute; inset: 0; }
  .g-link img { height: auto; }
  .g-tall .g-link img { height: 100%; }
}

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0; background: transparent;
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; overflow: hidden;
}
.lightbox::backdrop { background: rgba(5, 5, 6, .93); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-figure { margin: 0; padding: 4.5rem 5rem; display: grid; place-items: center; width: 100%; height: 100%; }
.lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; padding: 0 0 4px;
  background: rgba(23, 24, 27, .9); color: var(--white); border: 1px solid rgba(201, 204, 209, .35);
  font-size: 2rem; line-height: 1;
}
.lightbox-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox-figure { padding: 4.5rem .75rem 5.5rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1.25rem; transform: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}

/* ---------- Youth page ---------- */
.page-hero {
  position: relative; isolation: isolate; text-align: center; overflow: hidden;
  padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(4.5rem, 10vw, 7rem);
  background: var(--black); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.youth-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(9, 9, 10, .55) 0%, rgba(9, 9, 10, .72) 60%, var(--black) 100%),
    radial-gradient(ellipse 70% 70% at 50% 45%, rgba(9, 9, 10, .25), rgba(9, 9, 10, .75)),
    url("../img/youth-archery-1-1350.jpg");
  background-image:
    linear-gradient(180deg, rgba(9, 9, 10, .55) 0%, rgba(9, 9, 10, .72) 60%, var(--black) 100%),
    radial-gradient(ellipse 70% 70% at 50% 45%, rgba(9, 9, 10, .25), rgba(9, 9, 10, .75)),
    image-set(url("../img/youth-archery-1-1350.webp") type("image/webp"), url("../img/youth-archery-1-1350.jpg") type("image/jpeg"));
  background-size: cover; background-position: center, center, 50% 35%; background-repeat: no-repeat;
}
.page-hero-inner { display: flex; flex-direction: column; align-items: center; }
.page-title {
  font-size: clamp(3.2rem, 10vw, 6rem); font-weight: 800; letter-spacing: .02em; margin: .2rem 0 .4rem;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .55));
}
.page-lede { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--white); margin: 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.youth-intro { background: var(--ink); }
.youth-intro h2::after {
  content: ""; display: block; width: 56px; height: 2px; margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
}
.youth-photos-section { background: var(--charcoal); }
.youth-photos { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1000px; }
.y-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--charcoal-2); }
.y-item .g-link img { aspect-ratio: 3 / 4; height: auto; }
@media (max-width: 700px) { .youth-photos { grid-template-columns: 1fr; gap: 12px; } }
.youth-connect { background: var(--ink); }
.connect-cta { align-items: center; }
.connect-text { flex: 1 1 420px; }
.connect-text h2 { margin-bottom: .6rem; }
.connect-text p { margin: 0; color: var(--silver); }
.connect-text a { word-break: break-word; }
.connect-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 600px) {
  .connect-text { flex-basis: auto; }
  .connect-actions { flex-direction: column; }
  .connect-actions .btn { width: 100%; }
}

/* ---------- Youth events (camp + fundraiser) ---------- */
.camp { --accent: #b8f03c; --accent-soft: rgba(184, 240, 60, .12); --accent-line: rgba(184, 240, 60, .45);
  background: radial-gradient(ellipse 60% 70% at 85% 20%, rgba(184, 240, 60, .06), transparent 70%), var(--ink); }
.pie { --accent: #ffcd2e; --accent-soft: rgba(255, 205, 46, .12); --accent-line: rgba(255, 205, 46, .45);
  background: radial-gradient(ellipse 60% 70% at 15% 20%, rgba(255, 205, 46, .06), transparent 70%), var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, .05); }
.event-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.event-grid-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.event-grid-reverse .event-flyer { order: 2; }
.event-flyer { margin: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.event-flyer .g-link { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--accent-line); box-shadow: var(--shadow); position: relative; }
.event-flyer .g-link img { height: auto; }
.event-flyer figcaption { margin-top: .6rem; text-align: center; font-size: .85rem; color: var(--silver-2); }
.event-eyebrow { color: var(--accent); }
.event-body h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .35rem; }
.event-theme { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--white); margin-bottom: 1.5rem; }
.event-theme-name { color: var(--accent); letter-spacing: .04em; }
.event-theme-verse { color: var(--silver); font-weight: 500; }
.event-facts { margin: 0 0 1.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.event-facts > div { background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: .8rem 1rem; }
.event-facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--silver-2); font-weight: 700; margin-bottom: .2rem; }
.event-facts dd { margin: 0; color: var(--white); font-weight: 600; line-height: 1.45; }
.event-sub { display: block; font-weight: 400; font-size: .9rem; color: var(--silver); margin-top: .15rem; }
.event-dot { color: var(--accent); margin: 0 .3rem; }
.pie .event-facts { grid-template-columns: 1fr; }
.event-h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; color: var(--white); margin-bottom: .8rem; }
.event-chips { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.event-chips li { padding: .4rem .85rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--white); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.event-accents { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0 0 .4rem; font-family: var(--font-head); font-weight: 700; font-style: italic; color: var(--silver); }
.event-accents span::before { content: "\2014\00a0"; color: var(--accent); }
.event-shout {
  display: inline-block; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--accent); transform: rotate(-2deg); margin: .4rem 0 .25rem;
}
.btn-accent { background: var(--accent); color: #0b0b0c; box-shadow: 0 6px 22px var(--accent-soft); }
.btn-accent:hover { color: #000; filter: brightness(1.08); }
.golden-pie {
  background: linear-gradient(135deg, rgba(255, 205, 46, .16), rgba(255, 205, 46, .05));
  border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.25rem;
}
.golden-pie-title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 .2rem; }
.golden-pie p:last-child { margin: 0; color: var(--white); font-weight: 600; }
.event-note { margin: 0; color: var(--silver); }
.event-note a { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) {
  .event-grid, .event-grid-reverse { grid-template-columns: 1fr; justify-items: center; }
  .event-grid-reverse .event-flyer { order: 0; }
  .event-flyer { position: static; width: min(100%, 420px); }
  .event-body { width: 100%; }
}
@media (max-width: 520px) {
  .event-facts { grid-template-columns: 1fr; }
  .event .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Sunday Service banner (above Service Times cards) ---------- */
.service-banner {
  margin: 0 auto 2.5rem; max-width: 1137px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--black);
}
.service-banner img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .service-banner { border-radius: var(--radius); margin-bottom: 1.75rem; } }

/* ---------- Watch on YouTube ---------- */
.watch { background: var(--charcoal); border-top: 1px solid rgba(255, 255, 255, .05); }
.yt-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1.15fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.yt-more { display: grid; gap: 1rem; align-content: space-between; }
.yt-card { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
.yt-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.yt-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--black); box-shadow: var(--shadow);
}
.yt-featured .yt-thumb { border-radius: var(--radius-lg); }
.yt-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.86); transition: transform .35s ease, filter .35s ease; }
.yt-card:hover .yt-thumb img, .yt-card:focus-visible .yt-thumb img { transform: scale(1.03); filter: brightness(1); }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.yt-play svg { width: 68px; height: 48px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .55)); transition: transform .2s ease; }
.yt-small .yt-play svg { width: 40px; height: 28px; }
.yt-card:hover .yt-play svg, .yt-card:focus-visible .yt-play svg { transform: scale(1.08); }
.yt-dur {
  position: absolute; right: 8px; bottom: 8px; padding: .12rem .45rem; border-radius: 6px;
  background: rgba(0, 0, 0, .82); color: #fff; font-size: .76rem; font-weight: 600; letter-spacing: .02em;
}
.yt-meta { display: block; padding: .75rem .15rem 0; }
.yt-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.yt-title { display: block; margin-top: .2rem; font-family: var(--font-head); font-weight: 600; color: var(--white); line-height: 1.3; }
.yt-featured .yt-title { font-size: 1.25rem; }
.yt-card:hover .yt-title { color: var(--gold-2); }
.yt-small { display: grid; grid-template-columns: 56% 1fr; gap: .85rem; align-items: center; }
.yt-small .yt-meta { padding: 0; }
.yt-small .yt-title { font-size: .95rem; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; margin-top: 2.5rem; }
.tt-logo { width: 1.3em; height: 1.3em; flex: none; }
.fb-logo { width: 1.3em; height: 1.3em; flex: none; }
.footer-fb .fb-logo { width: 1.3em; height: 1.15em; }
.footer-tt .tt-logo { width: 1.3em; height: 1.1em; color: var(--white); }
.yt-logo { width: 1.55em; height: 1.55em; flex: none; }
.footer-yt { display: inline-flex; align-items: center; gap: .45rem; vertical-align: top; }
.footer-yt .yt-logo { width: 1.3em; height: 1.2em; }
@media (max-width: 860px) {
  .yt-grid { grid-template-columns: 1fr; }
  .yt-small { grid-template-columns: 44% 1fr; }
}
@media (max-width: 600px) { .yt-cta .btn { width: 100%; } }
