/* Visual refresh. Public page only; existing editor and API contracts retained. */
:root[data-theme="light"] { --paper:#f7f4ee; --surface:#fffdf9; --ink:#213b45; --muted:#53636a; --ridge:#193e4b; --ridge-2:#2d5a65; --brass:#865b23; --brass-soft:#efe2cb; --line:#deded4; --wrap:1240px; color-scheme:light; }
.wrap { padding-inline:clamp(22px,4vw,56px); }
.site-header { background:#fffdf9f5; backdrop-filter:blur(14px); overflow:visible; }
.header-row { overflow:visible; }
.brand { overflow:visible; }
.header-row { min-height:90px; }
.brand-name { font-size:1.4rem; }
.brand-sub { margin-top:6px; font-size:.7rem; }
.nav { gap:10px; flex-wrap:wrap; justify-content:flex-end; }

.gmc-logo-link { display:inline-flex; align-items:center; padding:4px 0; line-height:0; }
.brand-cluster { display:flex; align-items:center; gap:18px; flex:none; margin-right:auto; min-width:0; }
.header-row .brand { gap:14px; }
.header-row .brand-gmc { flex:none; margin:0; padding:0; align-self:center; }
/* Header icons: chapel mark + Global same visual height, even gaps */
.header-row .chapel-mark,
.header-row .brand-gmc .gmc-logo { height:48px; width:auto; max-width:none; object-fit:contain; object-position:center; display:block; }
.gmc-logo-link:hover { opacity:.92; }
.gmc-logo { display:block; height:56px; width:auto; border-radius:4px; }
.nav .gmc-logo-link { padding:8px 10px; }
.nav .gmc-logo { height:48px; }
.footer-gmc { margin-top:0; }
.footer-gmc .gmc-logo { height:64px; }
.gmc-about-link { margin-top:18px; }
.gmc-about-link .gmc-logo { height:72px; }
@media(max-width:920px) {
  .nav .gmc-logo { height:56px; }
  .gmc-about-link .gmc-logo { height:64px; }
}


/* Nav buttons — raised white pills matching approved header look */
.nav { align-items:center; gap:10px; flex-wrap:nowrap; flex-shrink:0; }
.nav-buttons {
  display:flex; flex-wrap:nowrap; align-items:center; gap:6px;
  padding:0; background:transparent; border:0; box-shadow:none;
  white-space:nowrap;
}
.nav-btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:38px; padding:8px 12px;
  border-radius:10px;
  font:700 .88rem/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  letter-spacing:-.01em;
  color:var(--ridge);
  text-decoration:none;
  background:#ffffff;
  border:1px solid #d5d5d0;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 1px 2px rgba(25,62,75,.08),
    0 2px 6px rgba(25,62,75,.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.nav-btn:hover {
  color:#123039;
  background:#fffdf9;
  border-color:#c8c8c0;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 2px 4px rgba(25,62,75,.1),
    0 6px 14px rgba(25,62,75,.1);
  transform: translateY(-1px);
}
.nav-btn:active {
  transform: translateY(0);
  background:#f3efe6;
  box-shadow: inset 0 1px 3px rgba(25,62,75,.12);
}
.nav-btn:focus-visible {
  outline:2px solid var(--brass);
  outline-offset:3px;
}
.nav-buttons { order:1; }
.nav .social-mini { order:2; }
.nav #give-btn { order:3; }
@media (max-width:920px) {
  .nav-buttons {
    flex-direction:column; align-items:stretch; width:100%; gap:8px;
  }
  .nav-btn {
    min-height:48px; width:100%; justify-content:flex-start; padding:14px 18px;
    font-size:1.05rem; border-radius:10px;
  }
}

.hero { background:#173b4c url('hero-chapel.jpg') 72% 42%/100% auto no-repeat; background-color:#173b4c; }
.hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(10,32,44,.9),rgba(10,32,44,.6) 45%,rgba(10,32,44,.08)); }
.hero-art { opacity:.22; height:170px; }
.hero-inner { grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr); align-items:center; gap:64px; padding-block:100px 110px; min-height:680px; }
.hero .eyebrow { color:#ecd6af; font-size:.73rem; letter-spacing:.16em; }
.location-kicker { color:#d9e4e4; font-size:.9rem; margin:26px 0 12px; }
.hero h1 { color:#fffdf9; font-size:clamp(3rem,5.1vw,4.5rem); letter-spacing:-.045em; line-height:1.12; }
.hero h1 em { color:#f1d2a0; font-weight:400; }
.hero-welcome { color:#ecf0ee; font-size:1.15rem; max-width:49ch; line-height:1.7; margin-top:24px; }
.btn { border-radius:7px; padding:15px 22px; transition:transform .2s,background .2s; }
.btn:hover { transform:translateY(-2px); }
.hero-actions .btn-primary { background:#efd09a; color:#203841; }
.hero-actions .btn-primary:hover { background:#ffe4b6; }
.hero-actions .btn-ghost { color:#fff; border-color:#c4d4d8; }
.hero-actions .btn-ghost:hover { background:#ffffff18; }
.times-card { background:#fffdf9f5; border:0; border-top:5px solid #d0a05b; border-radius:4px 4px 20px 4px; padding:30px; box-shadow:0 20px 70px #001b2c50; gap:20px; }
.sunday-label { color:#795426; text-transform:uppercase; letter-spacing:.14em; font-size:.7rem; font-weight:700; }
.times-card h2 { font-size:1.75rem; color:var(--ridge); }
.time-row { grid-template-columns:1fr; gap:4px; }
.time-row .t { font-size:2.3rem; }
.time-row .l { font-size:1rem; }
.time-row .addr { font-size:.9rem; font-weight:400; }
.times-card > .addr { font-size:.95rem; }
.times-card .btn { width:100%; font-size:.95rem; }
.welcome-strip { background:#193e4b; color:#fff; }
.welcome-strip .wrap { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:26px; }
.welcome-strip .wrap > span { font:1.5rem var(--display); color:#f1d2a0; }
.welcome-strip p { font-size:1rem; color:#e0e8e8; }
.welcome-strip a { color:#f1d2a0; font-size:1rem; white-space:nowrap; }
.section { padding-block:90px; }
.section-head { margin-bottom:42px; gap:16px; }
h2 { font-size:clamp(2rem,3.6vw,3rem); letter-spacing:-.035em; }
.eyebrow { font-size:.75rem; letter-spacing:.16em; }
#visit { background:var(--paper); border:0; }
.faq { gap:20px; }
.faq > div { background:var(--surface); border:1px solid #e7e3db; border-radius:5px; padding:28px; gap:13px; box-shadow:0 5px 16px #233e4905; transition:transform .2s,box-shadow .2s; }
.faq > div:hover { transform:translateY(-4px); box-shadow:0 10px 26px #233e4910; }
.visit-icon { display:grid; place-items:center; width:48px; height:48px; background:#edf1ed; color:#32616a; border-radius:50%; margin-bottom:6px; }
.visit-icon svg { width:25px; height:25px; }
.faq > div:nth-child(2n) .visit-icon { background:#f4e9d7; color:#866334; }
.faq p { font-size:1rem; line-height:1.7; }
#sermons { background:var(--surface); }
.sermon-feature { border-radius:8px; background:radial-gradient(ellipse at 90% 20%,#3f6a72,transparent 65%),#193e4b; position:relative; overflow:hidden; min-height:240px; }

.sermon-yt { display:grid; gap:16px; }
.sermon-yt-frame { position:relative; width:100%; aspect-ratio:16/9; background:#000; border-radius:8px; overflow:hidden; }
.sermon-yt-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.sermon-yt-meta h3 { font-size:clamp(1.25rem, 2.4vw, 1.6rem); margin:4px 0 8px; }
.sermon-yt-meta .meta a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
#sermons .empty { background:linear-gradient(110deg,#193e4b,#376773); color:#f9f4e8; border:0; padding:56px 32px; font:1.35rem/1.7 var(--display); text-align:left; }
.events { gap:24px; }
.event { background:var(--surface); padding:24px; border:1px solid var(--line); border-radius:7px; margin-top:14px; }
.date-chip { border:0; background:#193e4b; padding:10px 0 12px; border-radius:4px; }
.date-chip .dow { color:#ead3ad; margin-bottom:6px; }
.date-chip .day { color:white; font-size:2.1rem; }
.empty { background:var(--surface); border:1px solid var(--line); text-align:left; }
#photos { background:#eaf0ed; }
.gallery { gap:18px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gallery button { border-radius:5px; }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#about { background:var(--surface); }
.about-grid { gap:70px; }
.about-grid > div:last-child { padding:32px; background:#f3efe7; border-top:3px solid #c49758; border-radius:5px; }
.beliefs p { font-size:1rem; }
.beliefs strong { display:block; margin-bottom:4px; }
.about-contact { margin-top:56px; padding-top:48px; border-top:1px solid var(--line); }
.about-contact h3 { font-family:var(--serif, "Young Serif", Georgia, serif); font-size:clamp(1.6rem, 2.4vw, 2.1rem); margin:0 0 8px; }
form.card { border-radius:7px; box-shadow:0 12px 38px #183e4910; border-top:4px solid #c49758; }
.contact-list dd { overflow-wrap:anywhere; }
.site-footer { background:#14343f; }
.site-footer .wrap { padding-block:50px; }
.site-footer p:not(.brand-name), .footer-links { font-size:.95rem; }
.site-footer .brand-name { font-size:1.8rem; margin-bottom:16px; color:#f1d2a0; }
body > .sr-only:focus { position:fixed; z-index:100; width:auto; height:auto; clip:auto; padding:14px; background:#fff; color:#193e4b; }
@media(min-width:921px) and (max-width:1150px) { .header-row { flex-wrap:nowrap; justify-content:space-between; padding-block:10px; gap:12px; } .header-row .chapel-mark, .header-row .brand-gmc .gmc-logo { height:44px; } .brand-cluster { gap:14px; } .nav-btn { padding:8px 10px; font-size:.82rem; } }
@media(max-width:920px) { .header-row { min-height:78px; } .nav a { padding:14px 12px; } .hero-inner { gap:30px; padding-block:65px; } }
@media(max-width:820px) { .hero-inner { grid-template-columns:1fr; } .hero-inner > div { max-width:630px; } .times-card { max-width:520px; width:100%; } .time-row { grid-template-columns: auto 1fr; gap:16px; } .hero { background-position:72% 42%; background-size:100% auto; } .hero::before { background:#0d2d40b8; } .welcome-strip .wrap { flex-wrap:wrap; gap:12px 24px; } .section { padding-block:64px; } .about-grid { gap:30px; } }
@media(max-width:460px) { .brand-name { font-size:1.1rem; } .brand-sub { font-size:.6rem; } .hero h1 { font-size:2.7rem; } .hero .eyebrow { letter-spacing:.07em; font-size:.66rem; } .times-card { padding:24px; } .time-row .t { font-size:1.8rem; } .hero-actions { flex-direction:column; } .faq > div { padding:24px; } }
/* The scenic artwork replaces the original decorative ridge drawing. */
.hero-art { display:none; }

.chapel-mark { flex:none; height:48px; width:auto; max-width:none; object-fit:contain; object-position:center; display:block; }
.facebook-updates { font-weight:700; width:fit-content; }
@media(max-width:460px) { .chapel-mark { height:40px; width:auto; max-width:none; } }
/* Reference-inspired visitor journey: image, service strip, welcome, next steps. */
.hero-inner { display:block; min-height:720px; padding-block:100px 105px; }
.hero-inner > div { max-width:800px; }
.hero h1 { font-size:clamp(3rem,6.5vw,5.4rem); }
.hero .location-kicker { margin:0 0 28px; font-size:.85rem; }
.hero .eyebrow { margin-bottom:10px; }
.hero-intro { color:#f2f3ed; font-size:1.2rem; margin-top:24px; }
.sunday-band { background:#193e4b; color:#fffdf9; }
.sunday-band .times-card { display:grid; grid-template-columns:1.1fr 1fr 1fr 1.35fr; gap:12px 32px; background:none; border:0; box-shadow:none; padding:32px 0; border-radius:0; align-items:center; }
.sunday-label { grid-column:1; grid-row:1; color:#e8c88e; align-self:end; }
.times-card h2 { grid-column:1; grid-row:2; color:#fffdf9; font-size:1.55rem; align-self:start; }
.times-card .time-row { grid-row:1 / 3; border-left:1px solid #ffffff30; padding-left:28px; }
.times-card .time-row:nth-of-type(1) { grid-column:2; }
.times-card .time-row:nth-of-type(2) { grid-column:3; }
.times-card .time-row .t { color:#f1d2a0; font-size:2rem; }
.times-card .time-row .addr { color:#dbe4e4; }
.times-card > .addr { grid-column:4; grid-row:1; color:#e8eded; font-size:.85rem; }
.times-card #directions { grid-column:4; grid-row:2; color:#fff; border-color:#728e97; min-height:42px; padding:10px; }
.times-card #directions:hover { background:#ffffff15; }
.time-sep { display:none; }
.welcome-section { background:var(--surface); }
.welcome-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; }
.welcome-grid h2 { margin:15px 0 22px; }
.welcome-grid .lede { font-size:1.1rem; line-height:1.8; }
.welcome-visual { position:relative; aspect-ratio:1; border-radius:3px 75px 3px 3px; overflow:hidden; background:#eaf0ed; }
.welcome-visual img { width:100%; height:100%; object-fit:contain; object-position:center; }
.text-link { display:inline-block; font-weight:700; margin-top:25px; }
.next-section { background:#eee9df; }
.next-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.next-card { display:flex; flex-direction:column; min-height:370px; padding:32px; color:#fff; background:#193e4b; text-decoration:none; border-radius:4px; position:relative; overflow:hidden; transition:transform .2s; }
.next-card:hover { transform:translateY(-5px); }
.next-card::after { content:""; width:180px; height:180px; position:absolute; top:-90px; right:-80px; border:30px solid #ffffff0d; border-radius:50%; pointer-events:none; }
.next-number { font-size:.8rem; text-transform:uppercase; letter-spacing:.14em; color:#f1d2a0; }
.next-card h3 { font-size:2rem; margin-top:35px; }
.next-card p { font-size:1rem; color:#e0e8e8; margin:20px 0 28px; }
.next-action { margin-top:auto; display:flex; justify-content:space-between; border-top:1px solid #ffffff40; padding-top:18px; font-weight:700; font-size:.95rem; }
.next-action b { font-size:1.25rem; }
.next-listen { background:#365d61; }
.next-connect { background:#725533; }
.next-connect .next-number,.next-connect p { color:#fff0d9; }
#visit { background:#fffdf9; }
.faq { grid-template-columns:1fr 1fr; align-items:start; gap:0 40px; }
.visit-question { border-bottom:1px solid #d8dcd6; padding:20px 0; }
.visit-question summary { cursor:pointer; font-weight:700; color:var(--ridge); min-height:32px; font-size:1.1rem; }
.visit-question p { padding:14px 0 8px; font-size:1rem; }
#sermons { background:var(--paper); padding-top:36px; padding-bottom:72px; scroll-margin-top:100px; }
#sermons .section-head { margin-bottom:28px; }
.closing-invite { text-align:center; color:#fff; background:linear-gradient(#12323dcc,#12323de8),url('hero-chapel-960.jpg') center 45%/cover; padding-block:80px; }
.closing-invite .eyebrow { color:#edc992; }
.closing-invite h2 { color:#fff; font-size:clamp(2.5rem,5vw,4rem); margin:20px 0 30px; }
.closing-invite .btn { color:#193e4b; background:#efd09a; }
@media(max-width:1000px) { .sunday-band .times-card { grid-template-columns:1fr 1fr; gap:20px; } .sunday-label { grid-column:1; grid-row:1; } .times-card h2 { grid-column:1; grid-row:2; } .times-card .time-row:nth-of-type(1) { grid-column:1; grid-row:3; } .times-card .time-row:nth-of-type(2) { grid-column:2; grid-row:3; } .times-card > .addr { grid-column:2; grid-row:1; } .times-card #directions { grid-column:2; grid-row:2; } .times-card .time-row { border:0; padding:0; } .next-card { padding:26px; } .welcome-grid { gap:32px; } }
@media(max-width:820px) { .hero-inner { min-height:560px; padding-block:80px; } .sunday-band .times-card { max-width:none; } .times-card .time-row { grid-template-columns:1fr; gap:4px; } .next-grid { grid-template-columns:1fr; } .next-card { min-height:280px; } .next-card h3 { margin-top:24px; } .next-card h3 br { display:none; } .welcome-grid { grid-template-columns:1fr; } .welcome-visual { max-height:380px; aspect-ratio:1.5; } .faq { grid-template-columns:1fr; } }
@media(max-width:460px) { .hero h1 { font-size:2.85rem; } .hero-inner { padding-block:60px; min-height:0; } .times-card .time-row .t { font-size:1.7rem; } .times-card h2 { font-size:1.3rem; } .sunday-band .times-card { gap:16px; } .sunday-label { font-size:.62rem; } .visual-caption { font-size:1.5rem; left:24px; bottom:24px; } }
@media(max-width:460px) {
 .sunday-label { grid-column:1 / -1; grid-row:1; }
 .times-card h2 { grid-column:1 / -1; grid-row:2; }
 .times-card > .addr { grid-column:1 / -1; grid-row:4; margin-top:8px; }
 .times-card #directions { grid-column:1 / -1; grid-row:5; }
}
/* Sermon-linked Bible reading, with independent passage lookup. */
.sermon-reading-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:30px; align-items:start; }
.sermon-audio-column { min-width:0; }
.sermon-reading-grid .sermon-feature { grid-template-columns:1fr; gap:24px; }
.sermon-reading-grid .sermon-list li { grid-template-columns:minmax(0,1fr) auto; }
.sermon-reading-grid .sermon-date { grid-column:1 / -1; }
.bible-reader { padding:28px; background:var(--surface); border:1px solid var(--line); border-top:4px solid #c49758; border-radius:7px; scroll-margin-top:110px; }
.bible-reader h3 { font-size:1.8rem; margin:8px 0 12px; }
#bible-form { display:grid; gap:12px; margin:20px 0; }
.bible-quick { display:grid; gap:8px; margin-bottom:4px; }
.bible-quick-label { margin:0; font-weight:700; color:var(--ink); }
.bible-quick-row { display:grid; gap:12px; grid-template-columns:1fr; align-items:end; }
.bible-quick-row label { font-size:.9rem; min-width:0; }
.bible-quick-row .btn { justify-self:stretch; }
@media(min-width:701px) {
  .bible-quick-row { grid-template-columns:minmax(10rem,1.6fr) minmax(5rem,.7fr) minmax(6rem,.9fr) auto; }
  .bible-quick-row .btn { justify-self:start; padding-inline:22px; min-height:2.75rem; }
}

#bible-form label { font-size:.9rem; }
.bible-controls { display:flex; align-items:end; gap:12px; }
.bible-controls label { flex:1; min-width:0; }
.bible-controls .btn { padding-inline:18px; }
.bible-passage { max-height:560px; overflow:auto; overscroll-behavior:contain; line-height:1.9; margin-block:18px; }
.bible-passage:empty { margin:0; }
.bible-passage h4 { margin:0 0 16px; font:1.35rem var(--display); }
.bible-passage p { margin-bottom:12px; }
.bible-passage sup { color:var(--brass); font-weight:700; font-size:.75rem; }

.bible-listen { display:grid; gap:10px; margin:16px 0 4px; }
.bible-speak-btn { width:100%; min-height:60px; font-size:1.25rem; font-weight:700; letter-spacing:.01em; }
.bible-stop-btn { width:100%; min-height:52px; font-size:1.125rem; }
.bible-listen .hint { margin:0; }
.bible-speak-btn:disabled { opacity:.55; cursor:not-allowed; }
@media(min-width:701px) {
  .bible-listen { grid-template-columns:1fr auto; align-items:center; }
  .bible-speak-btn { width:auto; min-width:280px; justify-self:start; }
  .bible-stop-btn { width:auto; min-width:160px; }
  .bible-listen .hint { grid-column:1 / -1; }
}
#bible-external { display:inline-block; font-size:.9rem; margin-top:16px; }
.bible-credit { font-size:.75rem; color:var(--muted); margin-top:12px; }
@media(max-width:900px) { .sermon-reading-grid { grid-template-columns:1fr; } .bible-reader { padding:24px; } }
/* Comfortable reading for the congregation: 20px body, 18px supporting text. */
body { font-size:1.25rem; line-height:1.75; }
.lede,.welcome-grid .lede,.hero-welcome,.hero-intro,
.faq p,.visit-question p,.next-card p,.beliefs p,
.contact-list dd,.sermon-title,.event h4 { font-size:1.25rem; line-height:1.75; }
.nav a,.btn,.menu-btn,.next-action,.text-link,.feed-links,
.sermon-date,.sermon-sub,.event .when,.repeat-tag,.hint,
.contact-list dt,.copy-btn,.chip,.social-row a,
.site-footer p:not(.brand-name),.footer-links,
#bible-form label,#bible-external,.bible-credit { font-size:1.125rem; line-height:1.5; }
.eyebrow,.hero .eyebrow,.sunday-label,.next-number { font-size:1.125rem; line-height:1.5; letter-spacing:.035em; text-transform:none; }
.hero .location-kicker { font-size:1.125rem; line-height:1.5; }
.brand-name { font-size:1.6rem; }
.brand-sub { font-size:1rem; line-height:1.4; letter-spacing:0; }
.times-card .time-row .l,.times-card .time-row .addr,.times-card > .addr { font-size:1.125rem; line-height:1.5; }
.times-card .time-row .t { font-size:2.35rem; }
.times-card h2 { font-size:1.8rem; }
.times-card #directions { font-size:1.125rem; min-height:52px; }
.visit-question summary { font-size:1.3rem; min-height:48px; padding-block:8px; line-height:1.5; }
.btn,.menu-btn,.copy-btn,.chip { min-height:52px; }
input,textarea,select { font-size:1.25rem; line-height:1.5; min-height:54px; }
.bible-passage { font-size:1.375rem; line-height:1.85; }
.bible-passage sup { font-size:1rem; }
.bible-passage h4 { font-size:1.6rem; line-height:1.5; }
.bible-credit { margin-top:18px; }
.next-card { min-height:440px; }
.next-action { gap:14px; }
.date-chip .dow { font-size:1rem; }
.date-chip .day { font-size:2.2rem; }
:root[data-theme="light"] { --muted:#43575e; }
html { scroll-padding-top:120px; }
@media(max-width:1250px) {
 .header-row { flex-wrap:nowrap; justify-content:space-between; min-height:90px; padding-block:12px; }
 .menu-btn { display:inline-flex; align-items:center; }
 .nav { display:none; position:absolute; left:0; right:0; top:100%; flex-direction:column; align-items:stretch; background:var(--surface); border-bottom:1px solid var(--line); padding:12px 24px; max-height:75vh; overflow-y:auto; }
 .nav.open { display:flex; }
 .nav a { padding:14px 12px; }
 .nav .btn { margin:8px 0 0; }
 .social-mini { margin:6px 0 0; }
}
@media(min-width:1001px) and (max-width:1150px) {
 .sunday-band .times-card { grid-template-columns:1fr 1fr; gap:20px; }
 .sunday-label { grid-column:1; grid-row:1; }
 .times-card h2 { grid-column:1; grid-row:2; }
 .times-card .time-row:nth-of-type(1) { grid-column:1; grid-row:3; }
 .times-card .time-row:nth-of-type(2) { grid-column:2; grid-row:3; }
 .times-card > .addr { grid-column:2; grid-row:1; }
 .times-card #directions { grid-column:2; grid-row:2; }
 .times-card .time-row { border:0; padding:0; }
}
@media(max-width:700px) {
 .sunday-band .times-card { grid-template-columns:1fr; gap:18px; }
 .sunday-label,.times-card h2,.times-card .time-row:nth-of-type(1),.times-card .time-row:nth-of-type(2),.times-card > .addr,.times-card #directions { grid-column:1; grid-row:auto; }
 .times-card .time-row { padding-block:16px; border-top:1px solid #ffffff40; }
 .next-card { min-height:0; }
 .bible-controls { flex-direction:column; align-items:stretch; }
 .bible-controls .btn { width:100%; }
}
@media(max-width:460px) {
 .header-row .chapel-mark,
 .header-row .brand-gmc .gmc-logo { height:40px; width:auto; max-width:none; }
 .header-row { gap:12px; }
 .brand-cluster { gap:12px; }
 .brand { gap:10px; }
 .brand-name { font-size:1.3rem; }
 .brand-sub { font-size:1rem; max-width:190px; }
 .menu-btn { padding-inline:12px; }
 .hero .eyebrow { font-size:1.125rem; letter-spacing:.035em; }
 .sunday-label { font-size:1.125rem; }
 .times-card h2 { font-size:1.8rem; }
 .times-card .time-row .t { font-size:2.35rem; }
}
@media(max-width:360px) {
 .header-row { flex-wrap:wrap; }
 .header-row .brand-cluster { flex:1 1 100%; }
 .hero h1 { font-size:2.4rem; }
}

/* Demo notice */
.demo-notice{background:#f1d2a0;color:#14343f;text-align:center;font-size:.85rem;line-height:1.4;padding:6px 12px;font-weight:700;letter-spacing:.01em}
.site-footer .demo-foot{opacity:.8;font-size:.85rem}

/* New guest connect card */
.guest-connect { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:40px; align-items:start; margin-top:56px; scroll-margin-top:90px; }
.guest-intro h3 { font-size:2rem; margin:6px 0 12px; }
.guest-perks { margin:18px 0 0; padding-left:1.2em; display:grid; gap:8px; }
.guest-fields { display:grid; gap:16px; }
.guest-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.guest-interests { border:1px solid var(--line); border-radius:7px; padding:14px 18px; margin:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:10px 18px; }
.guest-interests legend { font-weight:700; padding:0 6px; }
.guest-thanks { display:grid; gap:12px; justify-items:start; padding:12px 0; }
.guest-thanks h3 { font-size:1.8rem; }
@media(max-width:820px) { .guest-connect { grid-template-columns:1fr; gap:24px; } }
@media(max-width:560px) { .guest-row { grid-template-columns:1fr; } }
.guest-thanks[hidden], .guest-fields[hidden] { display:none; }
.guest-row { align-items:end; }


/* Bulletin under Events — one current PDF */
.bulletin-card {
  margin-top:0; margin-bottom:36px; padding:28px 32px; border:1px solid var(--line); border-radius:10px;
  background:var(--surface); display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px 28px;
}
.bulletin-card h3 { margin:6px 0 10px; font-size:1.55rem; }
.bulletin-card .lede { margin:0; max-width:52ch; }
.bulletin-card .hint { margin:10px 0 0; }
.bulletin-card .btn { flex:none; }
@media(max-width:560px) {
  .bulletin-card { padding:22px; }
  .bulletin-card .btn { width:100%; justify-content:center; }
}

/* Google Map on About / contact */
.about-map-wrap { margin-top:28px; display:grid; gap:14px; }
.about-map {
  display:block; width:100%; height:320px; border:0;
  border-radius:7px; box-shadow:0 12px 38px #183e4910;
  background:#e8e4dc;
}
.about-map-directions { width:fit-content; }
@media (max-width:820px) { .about-map { height:280px; } }


/* Call/email notes replacing PII forms */
.guest-contact-note, .prayer-contact-note { display:grid; gap:14px; align-content:start; }
.guest-contact-actions { display:flex; flex-wrap:wrap; gap:12px; margin:0; }
.footer-contact a { color:inherit; text-decoration:underline; text-underline-offset:3px; }

/* ========== Mobile / tablet polish (phones first) ========== */
/* Prevent sideways scroll WITHOUT clipping vertical page scroll (overflow-x alone
   forces overflow-y to clip in CSS, which can hide Sermons/YouTube on phones). */
html, body {
  overflow-x: hidden;
  overflow-y: auto;
}
img, iframe, video, svg { max-width: 100%; }
.about-map { max-width: 100%; width: 100%; }
.sermon-yt-frame, .sermon-feature, .welcome-visual, .gallery, .next-card, .bulletin-card, .times-card { min-width: 0; }
.site-header .wrap.header-row { max-width: 100%; }
.guest-contact-actions .btn { max-width: 100%; overflow-wrap: anywhere; white-space: normal; text-align: center; }

/* Tablet: keep hamburger already at ≤1250; tighten header marks */
@media (max-width: 920px) {
  .header-row { position: relative; }
  .brand-cluster { flex: 1 1 auto; min-width: 0; }
  .brand { min-width: 0; }
  .brand-name { overflow-wrap: anywhere; }
  .nav { z-index: 20; box-shadow: 0 18px 40px rgba(20,40,60,.12); }
  .nav .social-mini { width: 100%; }
  .nav #give-btn { width: 100%; justify-content: center; }
  .menu-btn { flex: none; min-width: 52px; min-height: 52px; }
  .hero { background-size: cover; background-position: 68% 40%; }
  .hero-inner { min-height: 0; padding-block: 56px 64px; }
  .section { padding-block: 56px; }
  .about-grid > div:last-child { padding: 24px; }
  .closing-invite { padding-block: 56px; }
  .closing-invite h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .welcome-visual { aspect-ratio: 1; max-height: none; width: min(100%, 420px); margin-inline: auto; border-radius: 4px 56px 4px 4px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .event { grid-template-columns: 4rem minmax(0, 1fr); gap: 14px; padding: 18px; }
  .copy-btn { min-height: 44px; padding: 8px 14px; }
  .guest-contact-actions { flex-direction: column; align-items: stretch; }
  .guest-contact-actions .btn { width: 100%; justify-content: center; }
  .about-map-directions { width: 100%; justify-content: center; }
  .bulletin-card { flex-direction: column; align-items: stretch; }
  .footer-links { gap: 10px 16px; }
  .footer-gmc .gmc-logo { height: 48px; }
}

/* Phones ~≤640px */
@media (max-width: 640px) {
  .wrap { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
  .header-row {
    min-height: 64px;
    padding-block: 8px;
    gap: 8px 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  /* Flatten cluster so Menu stays top-right; GMC wraps to its own row */
  .brand-cluster {
    display: contents;
  }
  .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }
  .brand-name {
    font-size: 1.15rem;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .brand-sub {
    display: none;
  }
  .header-row .chapel-mark {
    height: 36px;
    width: auto;
  }
  .menu-btn {
    order: 2;
    flex: none;
    margin-left: 0;
    font-size: 1rem;
    padding-inline: 14px;
  }
  .brand-gmc {
    order: 3;
    flex: 1 1 100%;
    margin: 0;
    padding: 0 0 4px;
  }
  .header-row .brand-gmc .gmc-logo {
    height: 32px;
    width: auto;
    max-width: min(220px, 100%);
  }
  .nav {
    order: 4;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
  }
  .nav-btn {
    min-height: 52px;
    font-size: 1.1rem;
  }
  .demo-notice { font-size: .8rem; padding: 8px 12px; }
  .hero-inner { padding-block: 48px 52px; }
  .hero h1 {
    font-size: clamp(2.15rem, 9vw, 2.75rem);
    letter-spacing: -.03em;
  }
  .hero .eyebrow,
  .hero .location-kicker,
  .hero-intro { font-size: 1.05rem; }
  .hero-intro { margin-top: 16px; }
  .sunday-band .times-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }
  .sunday-label,
  .times-card h2,
  .times-card .time-row:nth-of-type(1),
  .times-card .time-row:nth-of-type(2),
  .times-card > .addr,
  .times-card #directions {
    grid-column: 1;
    grid-row: auto;
  }
  .times-card .time-row {
    border-left: 0;
    padding-left: 0;
    padding-block: 12px;
    border-top: 1px solid #ffffff40;
  }
  .times-card .time-row .t { font-size: 2rem; }
  .times-card h2 { font-size: 1.45rem; }
  .times-card #directions { width: 100%; }
  .welcome-grid { gap: 28px; }
  .welcome-grid h2 br { display: none; }
  .welcome-visual { width: 100%; max-width: 360px; }
  .next-card { padding: 24px; min-height: 0; }
  .next-card h3 { font-size: 1.55rem; margin-top: 18px; }
  .faq { gap: 0; }
  .visit-question summary { font-size: 1.15rem; padding-right: 8px; }
  .sermon-yt-meta h3 { font-size: 1.25rem; }
  .sermon-tools { flex-direction: column; align-items: stretch; }
  .sermon-tools input { max-width: none; width: 100%; flex: none; }
  .bible-reader { padding: 20px; }
  .bible-speak-btn, .bible-stop-btn { width: 100%; min-width: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery button { min-height: 44px; }
  .event {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .date-chip { width: fit-content; min-width: 4.5rem; padding-inline: 12px; }
  .lightbox-cap { flex-wrap: wrap; justify-content: center; }
  .lightbox-btn { min-width: 52px; min-height: 52px; }
  .about-map { height: 240px; }
  .contact-list dd a { overflow-wrap: anywhere; }
  .site-footer .wrap { flex-direction: column; gap: 28px; padding-block: 40px; }
  .site-footer .brand-name { font-size: 1.45rem; }
  .announcement .wrap { flex-direction: column; gap: 4px; }
  .announcement strong { white-space: normal; }
}

/* Very small phones */
@media (max-width: 380px) {
  .brand-name { font-size: 1.05rem; }
  .header-row .chapel-mark { height: 32px; }
  .header-row .brand-gmc .gmc-logo { height: 28px; }
  .hero h1 { font-size: 2rem; }
  .gallery { gap: 8px; }
}


/* YouTube Live preview image — explicit thumbnail so desktop always shows the picture */
.sermon-yt { display: grid; gap: 16px; min-width: 0; width: 100%; }
.sermon-yt-frame,
.sermon-yt-poster {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  background: #0b1c22; border-radius: 8px; overflow: hidden; min-height: 180px;
  text-decoration: none; color: #fff;
}
.sermon-yt-poster:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.sermon-yt-poster img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  max-width: none; object-fit: cover; object-position: center; display: block;
}
.sermon-yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 50px; border-radius: 14px;
  background: #c00; box-shadow: 0 8px 24px rgba(0,0,0,.35);
  pointer-events: none;
}
.sermon-yt-play::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid; border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}
.sermon-yt-poster:hover .sermon-yt-play { background: #e00; transform: translate(-50%, -50%) scale(1.04); }
.sermon-yt-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  max-width: none; border: 0;
}
.youtube-live-cta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin: 0 0 20px;
}
.youtube-live-cta .btn { min-height: 52px; }
.sermon-yt-meta .meta a.youtube-text-link,
a.youtube-text-link {
  color: var(--ridge); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
/* Keep meta primary buttons looking like buttons (override .meta a underline) */
.sermon-yt-meta .meta a.btn {
  color: var(--on-ridge, #fff); text-decoration: none; display: inline-flex;
}
@media (max-width: 640px) {
  .youtube-live-cta { flex-direction: column; align-items: stretch; }
  .youtube-live-cta .btn { width: 100%; justify-content: center; }
  .sermon-yt-poster, .sermon-yt-frame { min-height: 200px; }
  .sermon-yt-meta .btn { width: 100%; justify-content: center; min-height: 52px; }
  .sermon-yt-play { width: 64px; height: 44px; border-radius: 12px; }
}


/* ---------- Mobile sticky actions + no blank scroll-reveal feel ---------- */
.mobile-sticky-actions { display: none; }

@media (max-width: 640px) {
  /* Skip delayed reveal / keep content immediately visible on phones */
  .section, .welcome-section, .next-section, .sunday-band, .closing-invite,
  .sermon-yt, .welcome-grid, .next-grid, .gallery, .faq, .about-grid {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
  /* Avoid a tall empty cream block while the welcome image settles */
  .welcome-section { padding-block: 40px; }
  .welcome-visual {
    max-height: 280px;
    aspect-ratio: 1;
    background: transparent;
  }
  .welcome-visual img { object-fit: contain; }
  .section { padding-block: 44px; }

  .mobile-sticky-actions {
    display: flex;
    position: fixed;
    z-index: 40;
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
  }
  .mobile-sticky-actions[hidden] { display: none !important; }
  .mobile-sticky-visit,
  .mobile-sticky-top {
    pointer-events: auto;
    min-height: 48px;
    border-radius: 999px;
    font: 700 1rem/1.1 var(--body);
    box-shadow: 0 10px 28px rgba(20, 40, 60, .22);
  }
  .mobile-sticky-visit {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    text-decoration: none;
  }
  .mobile-sticky-top {
    flex: none;
    min-width: 52px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    background: #fffdf9;
    color: var(--ridge);
    cursor: pointer;
  }
  .mobile-sticky-top:hover { background: #fff; }
  /* Keep page content clear of the sticky bar */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-sticky-actions { transition: none; }
}


/* Hero tap-to-call + directions */
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-actions .btn {
  min-height: 52px;
  padding: 14px 20px;
  font-weight: 700;
  text-decoration: none;
}
.hero-actions .btn-primary {
  background: #efd09a;
  color: #203841;
  border-color: transparent;
}
.hero-actions .btn-primary:hover { background: #ffe4b6; }
.hero-actions .btn-ghost {
  color: #fff;
  border: 2px solid #c4d4d8;
  background: transparent;
}
.hero-actions .btn-ghost:hover { background: #ffffff18; }
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 22px;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* ---------- Footer: three clean columns ---------- */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 36px 48px;
  align-items: start;
  padding-block: 52px;
}
.footer-brand,
.footer-nav,
.footer-aside {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-col-label {
  margin: 0 0 4px;
  font-size: .8rem !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f1d2a0;
  opacity: .95;
}
.footer-nav .footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  align-content: start;
}
.footer-nav .footer-links a {
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
}
.footer-nav .footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-height: 1.5em;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid #ffffff33;
  border-radius: 999px;
  min-height: 44px;
}
.footer-social a:hover {
  background: #ffffff12;
  text-decoration: none;
}
.footer-aside .footer-gmc {
  display: inline-flex;
  margin-top: 6px;
  padding: 0;
  line-height: 0;
}
.footer-aside .footer-gmc .gmc-logo {
  height: 56px;
  width: auto;
  max-width: 100%;
  display: block;
}
.site-footer .footer-brand .brand-name {
  margin-bottom: 4px;
}
.site-footer .footer-brand p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px;
  }
  .footer-brand { grid-column: auto; }
  .footer-nav .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  .footer-aside .footer-gmc .gmc-logo { height: 48px; }
}
