/*
Theme Name: St. Mark Lutheran
Theme URI: https://www.stmarklj.org/
Description: One-page theme for St. Mark Lutheran Church & Preschool, Lake Jackson, Texas (LCMS). Includes the welcome, worship times, latest YouTube service, events, Facebook feed, staff & leadership, preschool and contact sections.
Version: 2026.10.28.1
Requires at least: 6.0
Requires PHP: 7.4
Author: St. Mark Lutheran Church
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stmark
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root{
  --cream:      #f4f1ea;
  --cream-alt:  #ece6d9;
  --paper:      #ffffff;
  --ink:        #22312f;
  --ink-soft:   #4a5854;

  --teal-900:   #023e47;   /* deep brand teal (headings) */
  --teal-700:   #0e5f6c;
  --teal-500:   #1a7c8a;   /* logo teal / accents */
  --teal-100:   #dcebed;

  --burgundy:   #7c2b3b;   /* the cross in the logo */
  --burgundy-d: #611f2c;
  --burgundy-100:#f0e2e4;

  --gold:       #c79a3c;

  --line:       rgba(2,62,71,.14);
  --shadow-sm:  0 2px 8px rgba(2,62,71,.06);
  --shadow-md:  0 10px 30px rgba(2,62,71,.10);
  --shadow-lg:  0 24px 60px rgba(2,62,71,.16);

  --radius:     16px;
  --radius-lg:  26px;
  --maxw:       1140px;
  --header-h:   76px;

  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans:  "Alegreya Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

/* =========================================================
   2. Reset / base
   ========================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 12px); }
body{
  margin:0;
  font-family:var(--sans);
  font-size:1.075rem;
  line-height:1.7;
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--teal-700); text-decoration:none; transition:color .18s ease; }
a:hover{ color:var(--burgundy); }
h1,h2,h3,h4{ font-family:var(--serif); color:var(--teal-900); line-height:1.15; margin:0 0 .5em; font-weight:800; letter-spacing:.2px; }
h2{ font-size:clamp(1.8rem,3.4vw,2.7rem); }
h3{ font-size:1.4rem; font-weight:700; }
p{ margin:0 0 1.1em; }
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:24px; }

/* Section rhythm */
.section{ padding:clamp(56px,8vw,104px) 0; }
.section--cream{ background:var(--cream); }
.section--alt{ background:var(--cream-alt); }
.section--paper{ background:var(--paper); }
.section--teal{ background:var(--teal-900); color:#eaf4f4; }
.section--teal h2,.section--teal h3{ color:#fff; }
.section--teal p{ color:#cfe4e6; }

.eyebrow{
  font-family:var(--sans);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-weight:700;
  font-size:.78rem;
  color:var(--burgundy);
  margin:0 0 .8rem;
}
.section--teal .eyebrow{ color:var(--gold); }
.section-head{ max-width:720px; margin:0 auto clamp(32px,5vw,54px); text-align:center; }
.section-head p{ color:var(--ink-soft); font-size:1.12rem; }
.section--teal .section-head p{ color:#bfd8da; }

/* =========================================================
   3. Buttons
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--sans); font-weight:700; font-size:1rem;
  letter-spacing:.02em;
  padding:.82em 1.6em; border-radius:999px;
  border:2px solid transparent; cursor:pointer;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  line-height:1;
}
.btn:hover{ transform:translateY(-2px); }
.btn--primary{ background:var(--burgundy); color:#fff; box-shadow:var(--shadow-sm); }
.btn--primary:hover{ background:var(--burgundy-d); color:#fff; box-shadow:var(--shadow-md); }
.btn--teal{ background:var(--teal-500); color:#fff; }
.btn--teal:hover{ background:var(--teal-700); color:#fff; box-shadow:var(--shadow-md); }
.btn--ghost{ background:transparent; color:var(--teal-900); border-color:var(--teal-900); }
.btn--ghost:hover{ background:var(--teal-900); color:#fff; }
.btn--light{ background:#fff; color:var(--teal-900); }
.btn--light:hover{ background:var(--cream); color:var(--burgundy); }
.btn--on-dark{ background:transparent; color:#fff; border-color:rgba(255,255,255,.6); }
.btn--on-dark:hover{ background:#fff; color:var(--teal-900); }

/* =========================================================
   4. Header
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(244,241,234,.9);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header__bar{
  height:var(--header-h);
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand img{ height:52px; width:auto; }
.brand__text{ font-family:var(--serif); font-weight:800; color:var(--teal-900); font-size:1.15rem; line-height:1.05; }
.brand__text small{ display:block; font-family:var(--sans); font-weight:600; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--burgundy); }

.primary-nav{ display:flex; align-items:center; gap:6px; }
.primary-nav ul{ list-style:none; display:flex; align-items:center; gap:4px; margin:0; padding:0; }
.primary-nav a{
  font-family:var(--sans); font-weight:600; font-size:1rem; color:var(--teal-900);
  padding:.55em .8em; border-radius:10px;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a{ color:var(--burgundy); background:rgba(124,43,59,.07); }
.primary-nav .header-cta .btn{ color:#fff; border-radius:999px; border-bottom:2px solid transparent; }
.primary-nav .header-cta .btn:hover{ color:#fff; }
.header-cta{ display:flex; align-items:center; gap:10px; margin-left:8px; }

.nav-toggle{
  display:none; align-items:center; justify-content:center;
  width:46px; height:46px; border:1px solid var(--line); border-radius:12px;
  background:#fff; cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:22px; height:2px; background:var(--teal-900); position:relative; transition:.25s;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }
body.nav-open .nav-toggle span{ background:transparent; }
body.nav-open .nav-toggle span::before{ top:0; transform:rotate(45deg); }
body.nav-open .nav-toggle span::after{ top:0; transform:rotate(-45deg); }

@media (max-width:960px){
  .primary-nav{
    position:fixed; inset:var(--header-h) 0 auto 0;
    background:var(--cream); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:stretch; gap:0;
    padding:12px 24px 22px; box-shadow:var(--shadow-md);
    transform:translateY(-140%); transition:transform .3s ease; z-index:99;
  }
  body.nav-open .primary-nav{ transform:translateY(0); }
  .primary-nav ul{ flex-direction:column; align-items:stretch; gap:2px; width:100%; }
  .primary-nav a{ display:block; padding:.8em .4em; font-size:1.1rem; border-bottom:1px solid var(--line); border-radius:0; }
  .header-cta{ margin:14px 0 0; }
  .header-cta .btn{ flex:1; justify-content:center; }
  .nav-toggle{ display:inline-flex; }
}

/* =========================================================
   5. Hero
   ========================================================= */
.hero{ position:relative; color:#fff; isolation:isolate; }
.hero__bg{ position:absolute; inset:0; z-index:-2; overflow:hidden; }
.hero__bg img{ width:100%; height:100%; object-fit:cover; }
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(2,42,49,.62) 0%, rgba(2,42,49,.72) 55%, rgba(2,42,49,.86) 100%);
}
.hero__inner{ padding:clamp(84px,13vw,150px) 0 clamp(64px,9vw,110px); max-width:760px; }
.hero .synod{ font-family:var(--sans); font-weight:700; letter-spacing:.2em; text-transform:uppercase; font-size:.76rem; color:var(--gold); margin-bottom:1rem; }
.hero h1{ color:#fff; font-size:clamp(2.6rem,6vw,4.6rem); line-height:1.02; margin-bottom:.35em; text-shadow:0 2px 30px rgba(0,0,0,.25); }
.hero__tagline{ font-family:var(--serif); font-style:italic; font-size:clamp(1.25rem,2.6vw,1.7rem); color:#f3e7d6; margin-bottom:1.8em; max-width:34ch; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero__times{
  display:inline-flex; align-items:center; gap:14px; margin-top:34px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25);
  backdrop-filter:blur(6px); padding:14px 20px; border-radius:14px; font-family:var(--sans);
}
.hero__times strong{ display:block; font-size:1.35rem; color:#fff; font-family:var(--serif); }
.hero__times span{ font-size:.95rem; color:#d9e7e8; }
.hero__times .dot{ width:9px; height:9px; border-radius:50%; background:var(--gold); flex:none; }

/* =========================================================
   6. Cards & grids
   ========================================================= */
.grid{ display:grid; gap:26px; }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:900px){ .grid--3{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .grid--3,.grid--2{ grid-template-columns:1fr; } }

.card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.card .ic{
  width:52px; height:52px; border-radius:13px; display:grid; place-items:center;
  background:var(--teal-100); color:var(--teal-700); margin-bottom:16px;
}
.card .ic svg{ width:26px; height:26px; }
.card h3{ margin-bottom:.35em; }
.card p{ color:var(--ink-soft); margin-bottom:0; }

/* Welcome / mission split */
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(30px,5vw,64px); align-items:center; }
@media (max-width:860px){ .split{ grid-template-columns:1fr; } }
.split__media img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); width:100%; }
.mission-quote{
  font-family:var(--serif); font-style:italic; font-size:clamp(1.3rem,2.4vw,1.7rem);
  color:var(--teal-900); border-left:4px solid var(--burgundy); padding-left:22px; margin:0 0 1.2em;
}

/* Visit / service list */
.visit-list{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.visit-list li{ display:flex; gap:16px; align-items:flex-start; }
.visit-list .t{ font-family:var(--serif); font-weight:800; font-size:1.15rem; color:var(--gold); min-width:96px; }
.visit-list .d strong{ display:block; color:#fff; font-size:1.12rem; font-family:var(--serif); }
.visit-list .d span{ color:#c9dedf; }

/* Events */
.event{
  display:flex; gap:20px; align-items:center; background:var(--paper);
  border:1px solid var(--line); border-left:5px solid var(--burgundy);
  border-radius:14px; padding:22px 26px; box-shadow:var(--shadow-sm);
}
.event__badge{
  flex:none; width:70px; height:70px; border-radius:14px; background:var(--burgundy-100);
  color:var(--burgundy); display:grid; place-items:center; text-align:center; font-family:var(--serif); font-weight:800; line-height:1;
}
.event__badge b{ font-size:1.5rem; display:block; }
.event__badge small{ font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; }
.event h3{ margin:0 0 .2em; }
.event p{ margin:0; color:var(--ink-soft); }

/* =========================================================
   7. Leadership
   ========================================================= */
.lead-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
@media (max-width:820px){ .lead-grid{ grid-template-columns:1fr; } }
.lead-card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); }
.lead-card__head{ background:var(--teal-900); color:#fff; padding:18px 24px; display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.lead-card__head h3{ color:#fff; margin:0; font-size:1.3rem; }
.lead-card__head .ph{ font-family:var(--sans); font-size:.9rem; color:var(--gold); font-weight:700; white-space:nowrap; }
.lead-card__body{ padding:10px 24px 22px; }
.people{ list-style:none; margin:0; padding:0; }
.people li{ padding:12px 0; border-bottom:1px dashed var(--line); display:flex; justify-content:space-between; gap:16px; align-items:baseline; }
.people li.memoriam .name::before{ content:"\271D"; color:var(--burgundy); margin-right:.45em; font-weight:400; }
.people li.memoriam .role em{ color:var(--burgundy); }
.people li:last-child{ border-bottom:0; }
.people .name{ font-family:var(--serif); font-weight:700; color:var(--teal-900); font-size:1.08rem; }
.people .role{ color:var(--ink-soft); font-size:.95rem; text-align:right; }

.boards{ columns:2; column-gap:30px; }
@media (max-width:720px){ .boards{ columns:1; } }
.board{ break-inside:avoid; margin-bottom:22px; padding:18px 22px; background:var(--paper); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-sm); }
.board h4{ margin:0 0 .3em; font-size:1.08rem; color:var(--burgundy); font-family:var(--serif); }
.board p{ margin:0; color:var(--ink-soft); font-size:1rem; }
.board .dir{ color:var(--teal-700); font-weight:700; }
.legend{ text-align:center; color:var(--ink-soft); font-size:.95rem; margin-top:8px; }

/* =========================================================
   8. Preschool band
   ========================================================= */
.band{ display:grid; grid-template-columns:1fr 1fr; gap:0; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); background:var(--paper); }
@media (max-width:820px){ .band{ grid-template-columns:1fr; } }
.band__text{ padding:clamp(30px,4vw,52px); }
.band__media{ background:var(--teal-100); min-height:260px; display:grid; place-items:center; padding:30px; }
.band__media img{ max-height:200px; width:auto; }

/* =========================================================
   9. Contact
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,52px); align-items:start; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.reach{ display:grid; gap:22px; }
.reach__block{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:24px 26px; box-shadow:var(--shadow-sm); }
.reach__block h3{ display:flex; align-items:center; gap:10px; margin-bottom:.5em; }
.reach__block h3 svg{ width:22px; height:22px; color:var(--burgundy); }
.reach__row{ display:flex; gap:10px; margin-bottom:6px; color:var(--ink-soft); }
.reach__row b{ color:var(--teal-900); font-family:var(--sans); min-width:74px; }

/* Contact form (works with Jetpack markup, styled generically) */
.form-wrap{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(24px,3vw,34px); box-shadow:var(--shadow-sm); }
.form-wrap label{ display:block; font-family:var(--sans); font-weight:700; color:var(--teal-900); margin:0 0 6px; font-size:.98rem; }
.form-wrap input[type=text],
.form-wrap input[type=email],
.form-wrap input[type=url],
.form-wrap input[type=tel],
.form-wrap textarea,
.form-wrap .grunion-field{
  width:100%; font-family:var(--sans); font-size:1rem; color:var(--ink);
  padding:12px 14px; margin-bottom:16px; background:var(--cream);
  border:1px solid var(--line); border-radius:12px; transition:border-color .15s, box-shadow .15s;
}
.form-wrap input:focus, .form-wrap textarea:focus{ outline:none; border-color:var(--teal-500); box-shadow:0 0 0 3px var(--teal-100); }
.form-wrap textarea{ min-height:140px; resize:vertical; }
.form-wrap button[type=submit], .form-wrap input[type=submit]{
  background:var(--burgundy); color:#fff; border:0; border-radius:999px;
  font-family:var(--sans); font-weight:700; font-size:1rem; padding:.85em 1.8em; cursor:pointer;
  transition:background .2s, transform .15s;
}
.form-wrap button[type=submit]:hover, .form-wrap input[type=submit]:hover{ background:var(--burgundy-d); transform:translateY(-2px); }
.map-frame{ margin-top:22px; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--line); line-height:0; }
.map-frame iframe{ width:100%; height:280px; border:0; }

/* =========================================================
   10. Footer
   ========================================================= */
.site-footer{ background:#02333b; color:#cfe1e3; padding:60px 0 26px; }
.site-footer a{ color:#cfe1e3; }
.site-footer a:hover{ color:#fff; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr; gap:28px; } }
.site-footer h4{ color:#fff; font-size:1.05rem; text-transform:uppercase; letter-spacing:.12em; font-family:var(--sans); font-weight:700; margin-bottom:1em; }
.footer-brand img{ height:64px; background:#fff; padding:10px 14px; border-radius:12px; margin-bottom:16px; }
.footer-brand p{ color:#a9c6c9; font-size:.98rem; }
.footer-list{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.socials{ display:flex; gap:12px; margin-top:6px; }
.socials a{ width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.1); display:grid; place-items:center; transition:background .2s, transform .15s; }
.socials a:hover{ background:var(--burgundy); transform:translateY(-2px); }
.socials svg{ width:20px; height:20px; fill:#fff; }
.footer-bottom{ margin-top:44px; padding-top:20px; border-top:1px solid rgba(255,255,255,.14); display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; color:#8fb2b5; font-size:.9rem; }

/* =========================================================
   9b. Featured event · latest video · stay connected
   (editorial, restrained treatments)
   ========================================================= */

/* --- Featured event (rendered in the site's own type) --- */
.feature{
  display:grid; grid-template-columns:1fr minmax(220px,270px); gap:clamp(30px,5vw,64px);
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:clamp(28px,4vw,54px); box-shadow:var(--shadow-sm);
}
@media (max-width:820px){ .feature{ grid-template-columns:1fr; } }
.feature__kicker{ font-family:var(--sans); text-transform:uppercase; letter-spacing:.2em; font-size:.72rem; font-weight:700; color:var(--burgundy); }
.feature h3{ font-size:clamp(1.7rem,3vw,2.35rem); margin:.35em 0 .2em; }
.feature__meta{ color:var(--teal-700); font-weight:600; font-family:var(--sans); margin:0 0 1.2em; }
.feature__lead{ color:var(--ink-soft); font-size:1.08rem; max-width:60ch; margin:0; }
.feature__cols{ display:grid; grid-template-columns:1fr 1fr; gap:32px; margin:28px 0; padding:26px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
@media (max-width:520px){ .feature__cols{ grid-template-columns:1fr; gap:22px; } }
.feature__label{ font-family:var(--sans); text-transform:uppercase; letter-spacing:.13em; font-size:.72rem; color:var(--teal-900); margin:0 0 .6em; font-weight:700; }
.feature__cols p{ margin:0 0 .5em; color:var(--ink); }
.feature__fine{ color:var(--ink-soft); font-size:.92rem; }
.feature__actions{ display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.link-arrow{ font-family:var(--sans); font-weight:700; color:var(--teal-700); }
.link-arrow:hover{ color:var(--burgundy); }

.feature__aside{ display:flex; flex-direction:column; gap:20px; }
.datecard{ background:var(--teal-900); color:#fff; border-radius:var(--radius); text-align:center; padding:24px 12px; }
.datecard__mon{ display:block; font-family:var(--sans); font-weight:700; letter-spacing:.22em; color:var(--gold); font-size:.9rem; }
.datecard__day{ display:block; font-family:var(--serif); font-weight:800; font-size:3.6rem; line-height:1; color:#fff; margin:2px 0; }
.datecard__yr{ display:block; font-family:var(--sans); color:#cfe4e6; letter-spacing:.14em; font-size:.85rem; }
.flyer-thumb{ display:block; position:relative; border-radius:14px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-sm); }
.flyer-thumb img{ width:100%; display:block; }
.flyer-thumb__tag{ position:absolute; inset:auto 0 0 0; background:linear-gradient(transparent,rgba(2,42,49,.9)); color:#fff; font-family:var(--sans); font-weight:600; font-size:.85rem; text-align:center; padding:26px 8px 10px; display:flex; align-items:center; justify-content:center; gap:7px; }
.flyer-thumb__tag svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

.tot-art{ display:block; position:relative; border-radius:14px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-sm); line-height:0; }
.tot-art svg{ width:100%; height:auto; display:block; }
.tot-art .flyer-thumb__tag{ line-height:1.3; }
.next-up{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(24px,3.5vw,40px); box-shadow:var(--shadow-sm); }
.next-up h3{ font-size:clamp(1.5rem,2.6vw,2rem); margin:.3em 0 .25em; }
.next-up p{ margin:0; color:var(--ink-soft); max-width:60ch; }
.past-event + .past-event{ margin-top:18px; }
.past-event{ display:flex; gap:20px; align-items:flex-start; max-width:860px; margin:30px auto 0; background:var(--paper); border:1px solid var(--line); border-left:5px solid var(--teal-500); border-radius:14px; padding:22px 26px; box-shadow:var(--shadow-sm); }
.past-event .event__badge{ background:var(--teal-100); color:var(--teal-700); }
.past-event__tag{ font-family:var(--sans); text-transform:uppercase; letter-spacing:.16em; font-size:.72rem; font-weight:700; color:var(--teal-700); }
.past-event h3{ margin:.2em 0 .3em; }
.past-event p{ margin:0; color:var(--ink-soft); }
@media (max-width:560px){ .past-event{ flex-direction:column; gap:14px; } }
.recent-note{ margin:30px auto 0; max-width:760px; text-align:center; color:var(--ink-soft); font-size:1.02rem; padding-top:24px; border-top:1px solid var(--line); }
.recent-note b{ color:var(--teal-900); font-family:var(--serif); }

/* --- Latest service video --- */
.video-wrap{ position:relative; max-width:900px; margin:0 auto; aspect-ratio:16/9; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); background:#0a2b31; }
.video-wrap iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-note{ text-align:center; margin-top:26px; }
.video-placeholder{ position:relative; max-width:900px; margin:0 auto; aspect-ratio:16/9; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); background:linear-gradient(160deg,#0c3138,#04181c); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:#dcebed; padding:24px; }
.video-placeholder .play{ width:74px; height:74px; border-radius:50%; background:rgba(255,255,255,.08); border:1.5px solid rgba(255,255,255,.35); display:grid; place-items:center; margin-bottom:20px; backdrop-filter:blur(2px); }
.video-placeholder .play svg{ width:26px; height:26px; fill:#fff; margin-left:3px; }
.video-placeholder strong{ font-family:var(--serif); font-size:1.35rem; color:#fff; font-weight:700; }

/* --- Stay connected (Facebook) --- */
.connect{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,60px); align-items:center; }
@media (max-width:820px){ .connect{ grid-template-columns:1fr; } }
.social-links{ list-style:none; margin:26px 0 0; padding:0; display:grid; gap:12px; }
.social-links a{ display:flex; align-items:center; gap:15px; padding:16px 20px; border:1px solid var(--line); border-radius:14px; background:var(--paper); color:var(--teal-900); font-family:var(--sans); font-weight:700; transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.social-links a:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:var(--teal-100); }
.social-links .ic{ width:44px; height:44px; border-radius:11px; display:grid; place-items:center; flex:none; }
.social-links .ic svg{ width:22px; height:22px; fill:#fff; }
.social-links small{ display:block; color:var(--ink-soft); font-weight:400; font-size:.9rem; margin-top:1px; }
.fb-frame{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); background:var(--paper); }
.fb-frame__bar{ display:flex; align-items:center; gap:12px; padding:15px 20px; border-bottom:1px solid var(--line); }
.fb-frame__bar .ic{ width:36px; height:36px; border-radius:9px; background:#1877F2; display:grid; place-items:center; flex:none; }
.fb-frame__bar .ic svg{ width:19px; height:19px; fill:#fff; }
.fb-frame__bar b{ font-family:var(--serif); color:var(--teal-900); font-size:1.02rem; }
.fb-frame__bar small{ display:block; color:var(--ink-soft); font-weight:400; font-size:.82rem; }
.fb-frame__body{ padding:0; }
.fb-frame__body iframe{ display:block; width:100%; height:560px; border:0; }
.fb-skeleton{ padding:22px 20px; }
.fb-skeleton .row{ height:12px; border-radius:6px; background:linear-gradient(90deg,var(--cream-alt),var(--cream)); margin-bottom:12px; }
.fb-skeleton .row.short{ width:55%; } .fb-skeleton .row.med{ width:80%; } .fb-skeleton .row.pic{ height:150px; border-radius:10px; margin:16px 0; }

/* Generic page content (page.php / index.php) */
.page-hero{ background:var(--teal-900); color:#fff; padding:clamp(60px,9vw,96px) 0 clamp(40px,6vw,64px); text-align:center; }
.page-hero h1{ color:#fff; }
.entry{ padding:clamp(40px,6vw,72px) 0; }
.entry .container{ max-width:820px; }
.entry img{ border-radius:var(--radius); margin:1.2em 0; }
.entry h2,.entry h3{ margin-top:1.4em; }

/* Utilities & motion */
.text-center{ text-align:center; }
.mt-lg{ margin-top:36px; }
/* Scroll-reveal is progressive enhancement ONLY. Content is fully visible by
   default; it is hidden for the fade-in only after JS confirms it can reveal
   it again (root gets the .js class). If JS is missing, blocked, delayed, or
   errors, nothing is ever hidden — the content always shows. */
.reveal{ opacity:1; transform:none; }
.js .reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.js .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .js .reveal{ opacity:1; transform:none; transition:none; }
  .btn:hover,.card:hover{ transform:none; }
}
.skip-link{ position:absolute; left:-9999px; top:0; background:#fff; color:var(--teal-900); padding:10px 16px; z-index:200; border-radius:0 0 8px 0; }
.skip-link:focus{ left:0; }

/* Notices for the built-in contact form */
.form-notice{ border-radius:12px; padding:12px 16px; margin-bottom:18px; font-weight:600; }
.form-notice--ok{ background:var(--teal-100); color:var(--teal-900); }
.form-notice--err{ background:var(--burgundy-100); color:var(--burgundy-d); }
.hp-field{ position:absolute!important; left:-9999px!important; width:1px; height:1px; overflow:hidden; }
