:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --panel: #111111;
  --panel-2: #171717;
  --text: #f6f0e6;
  --muted: #d1bf9f;
  --accent: #b79c76;
  --accent-2: #8f7759;
  --line: rgba(183, 156, 118, 0.24);
  --line-strong: rgba(183, 156, 118, 0.42);
  --shadow: 0 14px 42px rgba(0,0,0,.38);
  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(183,156,118,.15), transparent 22%),
    radial-gradient(circle at bottom left, rgba(183,156,118,.08), transparent 28%),
    linear-gradient(180deg, #050505, #0a0a0a 35%, #060606);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: white; }
img { max-width: 100%; display: block; }
.container { width: min(var(--maxw), calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,6,6,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand-logo {
  width: 88px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.45));
}
.brand-copy { line-height: 1.2; }
.eyebrow {
  color: var(--muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.brand-name { font-size: 1.2rem; font-weight: 700; }
.brand-subtitle { color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.site-nav a {
  padding: .7rem .9rem;
  border-radius: 999px;
  color: var(--muted);
  transition: .2s ease;
}
.site-nav a:hover, .site-nav a.active {
  background: rgba(183,156,118,.14);
  color: var(--text);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: .7rem .9rem;
  border-radius: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
}
.hero-home {
  padding: 4.75rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(183,156,118,.06), transparent 36%),
    radial-gradient(circle at 15% 10%, rgba(183,156,118,.15), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(183,156,118,.12), transparent 24%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.15) 35%, rgba(0,0,0,.25) 100%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.02) 0 2px, transparent 2px 14px);
  opacity: .55;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .82fr;
  gap: 1.35rem;
  align-items: stretch;
}
.home-hero-grid { min-height: 640px; }
.card, .hero-copy, .panel {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.44), rgba(0,0,0,.28)),
    radial-gradient(circle at top right, rgba(183,156,118,.12), transparent 30%);
}
.hero-copy-home { min-height: 100%; }
.kicker {
  display: inline-block;
  width: fit-content;
  padding: .4rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0,0,0,.28);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.03;
  margin: 0 0 1rem;
}
.hero p, .lead { color: var(--muted); font-size: 1.05rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.15rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .9rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
}
.btn-primary {
  background: linear-gradient(145deg, #d0b28a, var(--accent-2));
  color: #0d0d0d;
}
.hero-side {
  position: relative;
  padding: 1.3rem;
  background:
    radial-gradient(circle at top right, rgba(183,156,118,.24), transparent 25%),
    linear-gradient(180deg, rgba(183,156,118,.08), rgba(255,255,255,.02));
}
.hero-badge,
.badge {
  display: inline-block;
  width: fit-content;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(183,156,118,.12);
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: .8rem;
}
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem .5rem .5rem;
}
.hero-logo-wrap.tall { min-height: 420px; }
.hero-logo {
  max-height: 360px;
  width: auto;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.48));
}
.hero-note {
  color: var(--muted);
  text-align: center;
  margin: .7rem 0 0;
}
.mini-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  margin-top: 1.35rem;
}
.mini-info {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.26);
}
.mini-label {
  display: block;
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .25rem;
}
.section { padding: 1rem 0 3rem; }
.section-tight { padding-top: .25rem; }
.section-band { padding-top: .25rem; }
.section-header { margin-bottom: 1.2rem; }
.section-header h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.section-header p { margin: 0; color: var(--muted); }
.split-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}
.feature-grid,
.gallery-grid,
.event-grid,
.memorial-grid,
.resource-grid,
.contact-grid,
.flyer-grid,
.dual-band,
.year-list {
  display: grid;
  gap: 1rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.event-grid { grid-template-columns: repeat(3, 1fr); }
.event-grid-stack { grid-template-columns: 1.35fr .8fr .8fr; }
.memorial-grid { grid-template-columns: repeat(2, 1fr); }
.resource-grid { grid-template-columns: repeat(3, 1fr); }
.contact-grid { grid-template-columns: 1fr 1fr; }
.flyer-grid { grid-template-columns: 1.3fr .85fr .85fr; }
.dual-band { grid-template-columns: repeat(2, 1fr); }
.year-list { grid-template-columns: repeat(4, 1fr); }
.tile { padding: 1.25rem; }
.tile h3 { margin-top: .5rem; margin-bottom: .45rem; }
.tile p, .muted { color: var(--muted); }
.flyer-card { min-height: 100%; }
.flyer-primary { background: linear-gradient(180deg, rgba(183,156,118,.12), rgba(255,255,255,.02)); }
.flyer-topline {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .35rem;
}
.flyer-meta { color: #fff; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .84rem; }
.flyer-art,
.placeholder-photo {
  margin-top: 1rem;
  aspect-ratio: 16/10;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(183,156,118,.22), rgba(255,255,255,.03)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 12px, rgba(0,0,0,.08) 12px 24px);
  display: grid;
  place-items: center;
}
.flyer-art-large { aspect-ratio: 16/9; }
.flyer-text { color: rgba(255,255,255,.7); font-weight: 700; letter-spacing: .04em; text-align: center; }
.event-date {
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .84rem;
}
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.28);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
}
.footer-links { padding-left: 1rem; margin: 0; }
.footer-bottom { padding: 0 0 2rem; color: var(--muted); }
.page-hero { padding: 3rem 0 1rem; }
.page-hero .panel { padding: 1.6rem; }
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li + li { margin-top: .55rem; }
.compact-list li + li { margin-top: .45rem; }
.map-box {
  min-height: 320px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(183,156,118,.16), rgba(255,255,255,.02));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  margin-top: 1rem;
}
.dark-card {
  background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(255,255,255,.02));
}
.contact-form label {
  display: block;
  margin-bottom: .3rem;
  color: var(--muted);
  font-size: .92rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .9rem 1rem;
  border-radius: 12px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  margin-bottom: .85rem;
}
.contact-form textarea { min-height: 170px; resize: vertical; }
.form-status {
  margin-bottom: 1rem;
  padding: .95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.form-status.success {
  background: rgba(53, 99, 66, .28);
  border-color: rgba(94, 183, 121, .35);
}
.form-status.warning {
  background: rgba(128, 97, 39, .28);
  border-color: rgba(196, 154, 63, .4);
}
.form-status.error {
  background: rgba(121, 48, 48, .28);
  border-color: rgba(201, 90, 90, .38);
}

@media (max-width: 1080px) {
  .flyer-grid,
  .event-grid-stack,
  .feature-grid-4,
  .year-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .feature-grid-4,
  .gallery-grid,
  .event-grid,
  .event-grid-stack,
  .resource-grid,
  .contact-grid,
  .footer-grid,
  .year-list,
  .mini-info-grid,
  .memorial-grid,
  .flyer-grid,
  .dual-band {
    grid-template-columns: 1fr;
  }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: .8rem;
  }
  .site-nav.open { display: flex; }
  .topbar { flex-wrap: wrap; }
  .brand-logo { width: 66px; }
  .brand-subtitle { font-size: .85rem; }
  .hero-logo-wrap.tall { min-height: 260px; }
  .hero-logo { max-height: 240px; }
  .split-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


.flyer-photo-card .flyer-image-link { display:block; margin-top:1rem; }
.flyer-image,
.event-flyer-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: #0b0b0b;
}
.event-feature { display:flex; flex-direction:column; gap:1rem; }
.year-list-auto { grid-template-columns: repeat(2, 1fr); }
.album-item { display:flex; gap:.9rem; align-items:center; }
.album-item + .album-item { margin-top:.9rem; }
.album-thumb {
  display:block;
  width: 92px;
  min-width: 92px;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow:hidden;
  border:1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
}
.album-thumb img { width:100%; height:100%; object-fit:cover; }
.album-thumb.placeholder {
  display:grid; place-items:center; color:var(--muted); font-size:.8rem; text-align:center; padding:.5rem;
}
.album-copy { min-width:0; }


body.no-scroll { overflow: hidden; }
.hero-cinematic {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
}
.hero-cinematic .hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.52) 38%, rgba(0,0,0,.7)),
    url('../images/events/open-house-april-4-2026.jpg') center center/cover no-repeat;
  transform: scale(1.02);
  filter: saturate(.9) brightness(.46);
}
.cinematic-grid { min-height: 720px; }
.cinematic-copy {
  background: linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.36));
  backdrop-filter: blur(4px);
}
.cinematic-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(183,156,118,.08));
  backdrop-filter: blur(5px);
}
.poster-link {
  display: block;
  margin-top: .8rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.poster-image {
  width: 100%;
  aspect-ratio: 4 / 5.8;
  object-fit: cover;
  background: #050505;
}
.poster-copy h3 { margin-bottom: .5rem; }
.mini-sub {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  margin-top: .15rem;
}
.album-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.album-card-large {
  padding: 1rem;
}
.album-card-image {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: .9rem;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
}
.album-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.album-card-image.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.photo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.photo-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: #0b0b0b;
  box-shadow: var(--shadow);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: .7rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
  color: #fff;
  font-size: .92rem;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-bottom: .8rem;
  color: var(--muted);
}
.back-link-wrap { margin-top: 1.2rem; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: rgba(0,0,0,.88);
}
.lightbox.open { display: flex; }
.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,.58);
  background: #050505;
}
.lightbox-caption {
  color: var(--text);
  text-align: center;
  max-width: min(900px, 90vw);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 1080px) {
  .album-card-grid, .photo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-cinematic { min-height: auto; }
  .cinematic-grid { min-height: auto; }
  .album-card-grid, .photo-grid { grid-template-columns: 1fr; }
}

.memorial-grid-4 { grid-template-columns: repeat(4, 1fr); }
.memorial-card { overflow: hidden; }
.memorial-photo {
  aspect-ratio: 4 / 4.6;
  background: #111;
  border-bottom: 1px solid var(--line);
}
.memorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.memorial-copy { text-align: center; }
.memorial-copy h3 { letter-spacing: .08em; }

@media (max-width: 1100px) {
  .memorial-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .memorial-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .memorial-grid-4 { grid-template-columns: 1fr; }
}


.educational-grid{grid-template-columns:repeat(3,1fr);}
.edu-link{text-decoration:none;color:inherit;display:block;}
.educational-content{max-width:900px;}
.educational-content p{margin:0 0 1rem;}
.edu-list{margin:0 0 1rem 1.2rem;}
.edu-list li{margin:.4rem 0;}
.callout{margin:1.2rem 0;padding:1rem 1.1rem;border:1px solid var(--line-strong);border-radius:16px;background:rgba(255,255,255,.03);}
@media (max-width: 960px){.educational-grid{grid-template-columns:1fr 1fr;}}
@media (max-width: 640px){.educational-grid{grid-template-columns:1fr;}}


/* About page enhancements */
.about-hero-panel {
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,.54), rgba(255,255,255,.02)),
    radial-gradient(circle at top right, rgba(183,156,118,.18), transparent 30%);
}
.about-hero-panel h1 { margin: .65rem 0 .85rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.06; }
.about-pillars { align-items: stretch; }
.about-pillar {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
    radial-gradient(circle at bottom right, rgba(183,156,118,.08), transparent 35%);
}
.about-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, #d0b28a, var(--accent-2));
  color: #111;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}
.about-checklist li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--text);
}
.about-checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.about-story-panel {
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42), rgba(255,255,255,.02)),
    radial-gradient(circle at left center, rgba(183,156,118,.12), transparent 32%);
}

/* v8 polish additions */
.hero-actions-tight { margin-top: 1rem; }
.tile-action { margin-top: 1rem; }
.flyer-art-action { background:
  linear-gradient(135deg, rgba(183,156,118,.18), rgba(255,255,255,.04)),
  radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 28%),
  repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, rgba(0,0,0,.10) 12px 24px);
}
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.memorial-grid-3 { grid-template-columns: repeat(3, 1fr); }
.memorial-home-grid .memorial-card-link {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.memorial-home-grid .memorial-card-link:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.memorial-grid-4 { grid-template-columns: repeat(4, 1fr); }
.memorial-card {
  overflow: hidden;
}
.memorial-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--line);
}
.memorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.memorial-copy h3 { margin-bottom: 0; }
.section-heading h2 { margin: .25rem 0 0; }
.contact-side-card { display: flex; flex-direction: column; gap: .9rem; }
.contact-action-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact-points { margin-top: .25rem; }
.map-embed-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0c0c;
  min-height: 340px;
}
.map-embed {
  width: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.86);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  z-index: 2000;
}
.lightbox.open { display: flex; }
.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  background: #080808;
}
.lightbox-caption {
  color: var(--text);
  margin-top: 1rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 22px;
  border: 1px solid var(--line-strong);
  background: rgba(0,0,0,.45);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 1.8rem;
  cursor: pointer;
}
.about-hero-panel, .about-story-panel, .educational-content { padding: 1.6rem; }
.about-pillars .about-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  background: rgba(183,156,118,.16);
  border: 1px solid var(--line-strong);
}
.edu-link { transition: transform .2s ease, border-color .2s ease; }
.edu-link:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.breadcrumbs {
  display: flex;
  gap: .45rem;
  align-items: center;
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: .5rem;
}
.back-link-wrap { margin-top: 1.4rem; }
.button.button-secondary, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}
@media (max-width: 960px) {
  .feature-grid-3, .memorial-grid-3, .memorial-grid-4, .album-card-grid { grid-template-columns: 1fr; }
  .hero-cinematic { min-height: auto; }
  .cinematic-grid { min-height: auto; }
  .poster-image { aspect-ratio: auto; }
  .contact-action-row { flex-direction: column; }
}


.photo-card img,
.album-card-image img {
    border-radius: 6px;
}

.photo-card .photo-caption {
    display: none;
}


.admin-shell,
.admin-flyer-card {
  padding: 1.25rem;
}
.admin-form-stack {
  display: grid;
  gap: .55rem;
}
.admin-form-stack input {
  width: 100%;
  padding: .8rem .9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.36);
  color: var(--text);
}
.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.admin-flyer-card img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: .9rem;
}
.form-status {
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(183,156,118,.08);
}
.form-status.success {
  background: rgba(183,156,118,.14);
}
@media (max-width: 860px) {
  .admin-card-grid {
    grid-template-columns: 1fr;
  }
}


/* v10 lightbox and upload admin improvements */
.lightbox-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 94vw;
  max-height: 84vh;
  margin: 0 auto;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,.68);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-counter {
  margin-top: 10px;
  text-align: center;
  color: #d6c19a;
  font-size: .95rem;
}
.admin-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
}
.upload-shell {
  display:grid;
  gap:24px;
}
.upload-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:20px;
}
.upload-form-stack {
  display:grid;
  gap:10px;
}
.upload-form-stack input,
.upload-form-stack select,
.upload-form-stack textarea {
  width:100%;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
  background:#111;
  color:#f5f0e8;
}
.path-box {
  display:block;
  margin-top:8px;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  word-break:break-word;
  font-family: Consolas, monospace;
  font-size:.92rem;
}
.list-clean.tight li { margin-bottom:6px; }
.album-list-columns {
  columns: 2 240px;
  column-gap: 20px;
}
.album-list-columns li { break-inside: avoid; }
@media (max-width: 700px){
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

/* v11 homepage rotator, announcement bar, archive polish */
.announcement-bar {
  background: linear-gradient(90deg, rgba(183,156,118,.18), rgba(183,156,118,.06));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1100;
}
.announcement-inner {
  padding: .55rem 0;
  text-align: center;
  font-weight: 700;
  letter-spacing: .03em;
}
.announcement-inner a, .announcement-inner span { color: var(--text); }
#siteHeader { top: 42px; }
.home-rotator-wrap { padding-top: 1.2rem; }
.home-rotator { padding: 1rem; overflow: hidden; }
.home-rotator-stage {
  position: relative;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid var(--line);
}
.home-rotator-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.home-rotator-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.home-rotator-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.home-rotator-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  font-weight: 700;
}
.home-rotator-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: .9rem;
}
.rotator-btn, .rotator-dot {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}
.rotator-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 1.2rem;
}
.rotator-dots { display: flex; gap: .45rem; align-items: center; justify-content: center; flex: 1; }
.rotator-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  padding: 0;
  opacity: .55;
}
.rotator-dot.active { opacity: 1; background: var(--accent); }
.home-rotator-empty {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
}
.archive-grid .flyer-card { min-height: 100%; }
@media (max-width: 960px) {
  .announcement-bar { position: static; }
  #siteHeader { top: 0; }
  .site-nav {
    background: rgba(7,7,7,.98);
    border-top: 1px solid var(--line);
    padding-bottom: .8rem;
  }
  .site-nav a {
    border-radius: 14px;
    width: 100%;
  }
  .home-rotator-stage,
  .home-rotator-slide img {
    min-height: 280px;
    height: 280px;
  }
}


.social-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  vertical-align: text-bottom;
  margin-right: 8px;
  flex: 0 0 auto;
}

.footer-social-link,
.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.facebook-embed-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, .9fr);
  gap: 1.25rem;
  align-items: stretch;
}

.facebook-feed-card,
.facebook-side-card {
  padding: 1rem;
}

.facebook-feed {
  background: #0b0b0b;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.facebook-feed iframe {
  width: 100%;
  max-width: 500px;
  min-height: 620px;
}

.section-header-tight {
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .facebook-embed-grid {
    grid-template-columns: 1fr;
  }

  .facebook-feed {
    min-height: 540px;
  }

  .facebook-feed iframe {
    min-height: 540px;
  }
}


.upload-form-stack input[type="file"] {
  padding: 10px;
  background: rgba(255,255,255,.04);
}
.two-up {
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
.tile-wide {
  grid-column: span 2;
}
@media (max-width: 760px){
  .two-up { grid-template-columns: 1fr; }
  .tile-wide { grid-column: span 1; }
}


.recaptcha-wrap {
  margin-top: 16px;
  margin-bottom: 14px;
}

.small-note {
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: 8px;
}


.footer-legal {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.85;
}