/* NCCVM monument palette (sampled from the monument's stones) */
:root {
  --basalt-black: #1C1D1F;
  --basalt-shadow: #2B2C2A;
  --mountain-grey: #555651;
  --plaque: #2F3032;
  --ochre: #C2A06A;
  --ochre-light: #E2C793;
  --flagstone: #9A9384;
  --flagstone-light: #B5AE9C;
  --paver: #D9D1C4;
  --paver-link: #5E4828;
  --engraved-white: #ECE8E1;
  --muted: #C9C4B8;
  --line: #3A3B38;
  --header-h: 157px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--basalt-black);
  color: var(--engraved-white);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
}
a { color: var(--ochre-light); }
a:hover { color: #F0DDB4; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ochre-light); outline-offset: 3px; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.cinzel { font-family: 'Cinzel', serif; }
.eyebrow { font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 0.22em; color: var(--ochre); }
.btn {
  display: inline-block;
  background: var(--ochre);
  color: var(--basalt-black);
  text-decoration: none;
  padding: 16px 30px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.btn:hover { background: var(--ochre-light); color: var(--basalt-black); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* Preview banner (remove when the page goes live) */
.preview-banner { background: var(--ochre); color: var(--basalt-black); text-align: center; font-size: 15px; padding: 8px 16px; font-family: 'Cinzel', serif; letter-spacing: 0.08em; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--basalt-black); }
.site-header .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 14px; align-items: center; color: var(--engraved-white); text-decoration: none; }
.brand img { height: 112px; width: auto; display: block; }
.brand span { font-family: 'Cinzel', serif; font-size: 15px; letter-spacing: 0.12em; line-height: 1.3; }
.main-nav { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.14em; }
.main-nav a { color: var(--engraved-white); text-decoration: none; }
.main-nav a:hover { color: var(--ochre-light); }
.main-nav a.donate { background: var(--ochre); color: var(--basalt-black); padding: 12px 22px; font-weight: 700; }
.main-nav a.donate:hover { background: var(--ochre-light); }

/* Hero: fills the visitor's screen below the header */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--basalt-shadow);
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  /* leave about 110px so the start of the next section peeks in */
  height: calc(100vh - var(--header-h) - 110px);
  height: calc(100svh - var(--header-h) - 110px);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 2;
  transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--engraved-white); background: rgba(28, 29, 31, 0.45);
  border: 1px solid rgba(236, 232, 225, 0.7);
  animation: cue-bob 2.2s ease-in-out infinite;
  transition: opacity 0.4s;
}
.scroll-cue:hover { color: var(--ochre-light); border-color: var(--ochre-light); }
.scroll-cue svg { width: 22px; height: 22px; }
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }
@keyframes cue-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* Blurred, darkened still of the flyover that fills the sides on wide screens */
.hero-backdrop { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) brightness(0.45); z-index: 0; display: none; }
@media (min-width: 601px) {
  /* On computers, always show the whole flyover frame (captions at the top,
     names plaques at the bottom). Extra width is filled by the blurred backdrop. */
  .hero video { object-fit: contain; }
  .hero-backdrop { display: block; }
}
.hero-cta { position: relative; z-index: 2; width: 100%; padding: 0 40px 40px; }
.hero-cta .btn { padding: 18px 34px; font-size: 15px; }
.video-toggle {
  position: absolute; right: 40px; bottom: 44px; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--engraved-white);
  background: rgba(28, 29, 31, 0.6);
  color: var(--engraved-white);
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .icon-play { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }

/* Mission */
.mission { max-width: 900px; margin: 0 auto; padding: 44px 40px 0; text-align: center; scroll-margin-top: 24px; }
.mission p { margin: 18px 0 0; font-size: 27px; line-height: 1.5; font-style: italic; }

/* Three columns */
.features { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.features article { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--ochre); padding-top: 28px; }
.features h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 26px; }
.features p { margin: 0; color: var(--muted); }
.features p strong { font-weight: 500; color: var(--engraved-white); }
.features a { font-style: italic; }

/* Names Project */
.names { background: var(--mountain-grey); }
.names .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.plaque-col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.plaque {
  width: 100%; max-width: 520px;
  background: var(--plaque);
  border: 1px solid #4A4B4D;
  box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.45);
  padding: 26px 24px; text-align: center;
}
.plaque div { font-family: 'Cinzel', serif; font-weight: 700; font-size: 25px; letter-spacing: 0.04em; line-height: 1.45; color: #ECEAE6; text-shadow: 0 1px 0 #121314; }
.plaque-caption { font-size: 15px; color: #DCD6CB; font-style: italic; }
.names-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.names-text .eyebrow { color: var(--ochre-light); }
.names-text h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 40px; line-height: 1.2; }
.names-text p { margin: 0; }
.names-text .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; align-items: center; }
.names-text .actions a.text-link { color: var(--engraved-white); font-style: italic; }

/* Our Story (light paver section) */
.story { background: var(--paver); color: #26272A; }
.story .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 64px; }
.story-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.story .eyebrow { color: var(--paver-link); font-weight: 700; }
.story h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 40px; line-height: 1.2; }
.story p { margin: 0; color: #3D3E3B; }
.story a { color: var(--paver-link); font-style: italic; }
.story img { flex: 1.3 1 480px; min-width: 0; height: 440px; object-fit: cover; object-position: center 60%; }

/* Support */
.support { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.support .inner { max-width: 900px; margin: 0 auto; padding: 88px 40px; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.support h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 36px; }
.support p { margin: 0; color: var(--muted); max-width: 640px; }

/* Footer */
.site-footer .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; font-size: 16px; color: var(--flagstone-light); }
.site-footer .org { font-family: 'Cinzel', serif; color: var(--engraved-white); letter-spacing: 0.1em; margin-bottom: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }

/* Phones */
@media (max-width: 600px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .brand img { height: 88px; }
  .main-nav { gap: 16px 20px; }
  .hero { min-height: 520px; }
  .hero-cta .btn { display: none; }   /* PLAN YOUR VISIT covers the flyover on phones; the Visit section is just below */
  .video-toggle { right: 20px; bottom: 24px; }
  .mission { padding: 36px 20px 0; }
  .scroll-cue { bottom: 24px; width: 46px; height: 46px; }
  .mission p { font-size: 23px; }
  .features { padding-top: 64px; padding-bottom: 64px; }
  .names .wrap, .story .wrap { padding-top: 64px; padding-bottom: 64px; gap: 40px; }
  .plaque div { font-size: 18px; }
  .names-text h2, .story h2 { font-size: 30px; }
  .story img { height: 260px; }
  .support .inner { padding: 64px 20px; }
  .support h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue { animation: none; }
}

/* ---------- Inner page title band ---------- */
.page-title { border-bottom: 1px solid var(--line); background: var(--basalt-shadow); }
.page-title .wrap { padding-top: 64px; padding-bottom: 56px; }
.page-title h1 { margin: 12px 0 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 46px; line-height: 1.15; }
.page-title p { margin: 16px 0 0; max-width: 680px; color: var(--muted); font-size: 21px; }

/* ---------- Contact page ---------- */
.contact .wrap { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-info img { width: 100%; height: 300px; object-fit: cover; object-position: center 72%; display: block; }
.contact-info h2, .contact-form h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 26px; }
.contact-details { display: flex; flex-direction: column; gap: 6px; }
.contact-details .label { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.16em; color: var(--ochre); margin-top: 12px; }
.contact-details .label:first-child { margin-top: 0; }
.contact-details a { color: var(--ochre-light); }
.map-frame { flex: 1 1 100%; width: 100%; height: 400px; border: 1px solid var(--line); display: block; }
.contact-form { flex: 1.2 1 440px; min-width: 0; background: var(--basalt-shadow); border-top: 2px solid var(--ochre); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-form p.intro { margin: 0; color: var(--muted); }
.form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.14em; color: var(--engraved-white); }
.field label .req { color: var(--ochre-light); }
.field input, .field textarea {
  width: 100%; background: var(--basalt-black); color: var(--engraved-white);
  border: 1px solid #6A6B66; padding: 13px 14px;
  font-family: 'EB Garamond', Georgia, serif; font-size: 19px;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ochre-light); outline-offset: 1px; border-color: var(--ochre-light); }
.contact-form .btn { border: none; cursor: pointer; align-self: flex-start; }
.form-note { font-size: 15px; color: var(--flagstone-light); margin: 0; }
.status-msg { padding: 14px 18px; border-left: 4px solid var(--ochre); background: var(--basalt-black); }
.status-msg.is-error { border-left-color: #D9776B; }
@media (max-width: 600px) {
  .page-title .wrap { padding-top: 44px; padding-bottom: 40px; }
  .page-title h1 { font-size: 34px; }
  .contact .wrap { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .contact-form { padding: 24px 20px; }
  .contact-form .btn { align-self: stretch; text-align: center; }
  .map-frame { height: 300px; }
}

/* ---------- Email signup (Mailchimp) ---------- */
.signup { background: var(--basalt-shadow); }
.signup .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.signup-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.signup-text h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 32px; line-height: 1.2; }
.signup-text p { margin: 0; color: var(--muted); }
.signup-form { flex: 1.6 1 520px; min-width: 0; }
.signup-form .form-row { align-items: flex-end; }
.signup-form .field { flex: 1 1 160px; }
.signup-form .field.email { flex: 1.6 1 220px; }
.signup-form .btn { border: none; cursor: pointer; padding: 15px 28px; }
.signup-form .form-note { margin-top: 12px; }
@media (max-width: 600px) {
  .signup .wrap { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .signup-text h2 { font-size: 26px; }
  .signup-form .btn { width: 100%; }
}

/* ---------- News page ---------- */
.news .wrap { padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.news-index { flex: 0 1 300px; min-width: 0; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.news-index h2 { margin: 0 0 16px; font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 0.2em; font-weight: 400; color: var(--ochre); }
.news-index ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.news-index li a { display: block; padding: 9px 0 9px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; font-size: 17px; }
.news-index li a:hover { color: var(--engraved-white); border-left-color: var(--flagstone); }
.news-index li a.is-current { color: var(--ochre-light); border-left-color: var(--ochre); }
.news-index li .date { display: block; font-size: 13px; color: var(--flagstone); margin-top: 2px; }
.news-list { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.article { background: var(--basalt-shadow); border-top: 2px solid var(--ochre); padding: 36px 40px; scroll-margin-top: 24px; transition: box-shadow 0.4s; }
.article:target { box-shadow: 0 0 0 1px var(--ochre-light); }
.article .date { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.18em; color: var(--ochre); }
.article h2 { margin: 10px 0 18px; font-family: 'Cinzel', serif; font-weight: 600; font-size: 28px; line-height: 1.25; }
.article p { margin: 0 0 16px; color: #DAD5CB; }
.article p:last-child { margin-bottom: 0; }
.article .read-more { font-style: italic; }
.news-empty { color: var(--muted); }
.mobile-index { display: none; }
@media (max-width: 900px) {
  .news-index { display: none; }
  .mobile-index { display: block; flex: 1 1 100%; background: var(--basalt-shadow); border: 1px solid var(--line); }
  .mobile-index summary { cursor: pointer; padding: 16px 20px; font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 0.16em; color: var(--ochre-light); }
  .mobile-index ol { margin: 0; padding: 0 20px 16px 38px; }
  .mobile-index li { padding: 6px 0; }
  .mobile-index a { color: var(--engraved-white); }
  .news .wrap { gap: 28px; }
}
@media (max-width: 600px) {
  .article { padding: 26px 20px; }
  .article h2 { font-size: 23px; }
}

/* ---------- About page ---------- */
.page-title .lead-2 { margin-top: 12px; }
.mv .wrap { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; }
.mv h2 { margin: 0 0 14px; font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 0.22em; font-weight: 400; color: var(--ochre); }
.mv p { margin: 0; font-size: 23px; line-height: 1.5; font-style: italic; border-left: 2px solid var(--ochre); padding-left: 24px; }
.landmark { background: var(--mountain-grey); }
.landmark .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.landmark img { flex: 1.1 1 440px; min-width: 0; height: 420px; object-fit: cover; object-position: center 70%; box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.35); }
.landmark-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.landmark-text .eyebrow { color: var(--ochre-light); }
.landmark-text h2, .about-section h2, .gratitude h2, .story-timeline h2, .involve h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 38px; line-height: 1.2; }
.landmark-text p { margin: 0; }
.about-section .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about-text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 18px; }
.about-text p { margin: 0; color: #DAD5CB; }
.about-photos { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-photos img { width: 100%; height: 460px; object-fit: cover; display: block; }
.about-photos figure { margin: 0; }
.about-photos figcaption { font-size: 14px; color: var(--flagstone-light); font-style: italic; margin-top: 8px; }
.story-timeline { background: var(--paver); color: #26272A; }
.story-timeline .wrap { padding-top: 96px; padding-bottom: 96px; }
.story-timeline .eyebrow { color: var(--paver-link); font-weight: 700; }
.story-timeline h2 { margin-top: 12px; }
.timeline { list-style: none; margin: 48px 0 0; padding: 0 0 0 36px; border-left: 2px solid #9A9384; display: flex; flex-direction: column; gap: 44px; max-width: 860px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -45px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--paver); border: 3px solid var(--paver-link); }
.timeline .when { font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 0.18em; font-weight: 700; color: var(--paver-link); }
.timeline h3 { margin: 4px 0 10px; font-family: 'Cinzel', serif; font-weight: 600; font-size: 24px; }
.timeline p { margin: 0; color: #3D3E3B; }
.gratitude .wrap { padding-top: 96px; padding-bottom: 96px; }
.gratitude-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
@media (max-width: 760px) { .gratitude-grid { grid-template-columns: 1fr; } }
.gratitude-grid h3 { margin: 0 0 10px; padding-top: 20px; border-top: 1px solid var(--ochre); font-family: 'Cinzel', serif; font-size: 18px; font-weight: 600; }
.gratitude-grid p { margin: 0; color: var(--muted); }
.involve { background: var(--basalt-shadow); border-top: 1px solid var(--line); }
.involve .inner { max-width: 960px; margin: 0 auto; padding: 88px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.involve p { margin: 0; color: var(--muted); max-width: 680px; }
.involve .actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }
.btn.btn-outline { background: transparent; color: var(--engraved-white); border: 1px solid var(--ochre); }
.btn.btn-outline:hover { background: transparent; color: var(--ochre-light); border-color: var(--ochre-light); }
.closing-line { margin: 28px 0 0; font-family: 'Cinzel', serif; font-weight: 700; font-size: 22px; letter-spacing: 0.06em; color: var(--engraved-white); text-shadow: 0 1px 0 #121314; }
@media (max-width: 600px) {
  .mv .wrap, .landmark .wrap, .about-section .wrap, .story-timeline .wrap, .gratitude .wrap { padding-top: 64px; padding-bottom: 64px; gap: 36px; }
  .mv p { font-size: 20px; }
  .landmark img { height: 260px; }
  .landmark-text h2, .about-section h2, .gratitude h2, .story-timeline h2, .involve h2 { font-size: 28px; }
  .about-photos img { height: 280px; }
  .timeline { padding-left: 26px; }
  .timeline li::before { left: -35px; }
  .involve .inner { padding: 64px 20px; }
  .involve .actions .btn { width: 100%; text-align: center; }
}

/* Title band with a photo beside the introduction (About page) */
.page-title.with-photo .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.page-title.with-photo .title-text { flex: 1.2 1 520px; min-width: 0; }
.page-title.with-photo .title-photo { flex: 1 1 380px; min-width: 0; height: 380px; object-fit: cover; display: block; box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.35); }
@media (max-width: 600px) {
  .page-title.with-photo .wrap { gap: 28px; }
  .page-title.with-photo .title-photo { height: 240px; }
}

/* ---------- Construction gallery ---------- */
.gallery .wrap { max-width: 1400px; padding-top: 56px; padding-bottom: 80px; }
.gallery .count { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.18em; color: var(--flagstone-light); margin: 0 0 18px; }
.gallery .fotorama__stage { background: var(--basalt-black); }
.gallery .fotorama__nav-wrap { margin-top: 14px; }
.gallery .fotorama__nav { background: var(--basalt-black); }
.gallery .fotorama__thumb { background: var(--basalt-shadow); }
.gallery .fotorama__thumb-border { border-color: var(--ochre) !important; background: transparent !important; }
.gallery .fotorama__html { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.gallery .fotorama__html video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.gallery .tip { margin: 18px 0 0; font-size: 15px; color: var(--flagstone-light); }
.gallery-next { border-top: 1px solid var(--line); }
.gallery-next .inner { max-width: 900px; margin: 0 auto; padding: 72px 40px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.gallery-next h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 30px; }
.gallery-next p { margin: 0; color: var(--muted); max-width: 640px; }
@media (max-width: 600px) {
  .gallery .wrap { padding-top: 36px; padding-bottom: 56px; padding-left: 0; padding-right: 0; }
  .gallery .count, .gallery .tip { padding: 0 20px; }
  .gallery-next .inner { padding: 56px 20px; }
}

/* ---------- Names Project ---------- */
.np-intro .wrap { padding-top: 64px; padding-bottom: 8px; }
.np-steps-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.np-steps-overview div { border-top: 1px solid var(--ochre); padding-top: 18px; }
.np-steps-overview .num { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.2em; color: var(--ochre); }
.np-steps-overview h3 { margin: 6px 0 6px; font-family: 'Cinzel', serif; font-weight: 600; font-size: 21px; }
.np-steps-overview p { margin: 0; color: var(--muted); font-size: 17px; }
.np-work .wrap { padding-top: 48px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.np-form { flex: 1.3 1 520px; min-width: 0; background: var(--basalt-shadow); border-top: 2px solid var(--ochre); padding: 36px; display: flex; flex-direction: column; gap: 32px; }
.np-step { display: flex; flex-direction: column; gap: 14px; }
.np-step.is-locked { opacity: 0.45; }
.np-step h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 22px; }
.np-step h2 .num { color: var(--ochre); margin-right: 8px; }
.np-step p { margin: 0; color: var(--muted); }
.np-email { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.np-email .field { flex: 1 1 260px; }
.np-email .btn, .np-step .btn { border: none; cursor: pointer; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.vet-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.vet-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.vet-table th { text-align: left; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 0.14em; font-weight: 400; color: var(--flagstone-light); padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vet-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.vet-table tr:last-child td { border-bottom: none; }
.vet-table .actions { width: 1%; padding-right: 12px; }
.vet-table .actions-inner { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.vet-table .actions a { display: block; text-align: center; padding: 6px 12px; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 0.1em; text-decoration: none; border: 1px solid var(--flagstone); color: var(--engraved-white); white-space: nowrap; }
.vet-table .nowrap { white-space: nowrap; }
.vet-table .actions a:hover { border-color: var(--ochre-light); color: var(--ochre-light); }
.vet-table .actions a.delete:hover { border-color: #D9776B; color: #F0A99F; }
.vet-table .empty { color: var(--flagstone-light); font-style: italic; }
.min-donation { font-family: 'Cinzel', serif; font-size: 15px; letter-spacing: 0.06em; color: var(--ochre-light); }
.np-preview { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; position: sticky; top: 24px; }
.np-preview h2 { margin: 0; align-self: stretch; font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 0.2em; font-weight: 400; color: var(--ochre); }
.np-plaque { width: 100%; min-height: 260px; background: var(--plaque); border: 1px solid #4A4B4D; box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.45); padding: 26px 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.np-plaque .entry div { font-family: 'Cinzel', serif; font-weight: 700; font-size: 21px; letter-spacing: 0.04em; line-height: 1.4; color: #ECEAE6; text-shadow: 0 1px 0 #121314; }
.np-plaque .placeholder { color: var(--flagstone); font-style: italic; }
.np-preview .note { margin: 0; font-size: 14px; color: var(--flagstone-light); font-style: italic; }
.btn.btn-small { padding: 11px 20px; font-size: 13px; }
/* Dialogs */
.np-dialog { border: none; padding: 0; max-width: 560px; width: calc(100% - 32px); background: var(--basalt-shadow); color: var(--engraved-white); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.np-dialog::backdrop { background: rgba(10, 10, 12, 0.75); }
.np-dialog .dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 2px solid var(--ochre); }
.np-dialog .dlg-head h2 { margin: 0; font-family: 'Cinzel', serif; font-size: 19px; font-weight: 600; }
.np-dialog .dlg-close { background: none; border: none; color: var(--engraved-white); font-size: 26px; line-height: 1; cursor: pointer; width: 44px; height: 44px; }
.np-dialog .dlg-body { padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 14px; }
.np-dialog .dlg-body p { margin: 0; color: var(--muted); }
.pay-option { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); background: var(--basalt-black); color: var(--engraved-white); text-decoration: none; font-size: 19px; cursor: pointer; width: 100%; text-align: left; font-family: inherit; }
.pay-option:hover { border-color: var(--ochre); color: var(--engraved-white); }
.pay-option small { display: block; font-size: 14px; color: var(--flagstone-light); }
.pay-option .arrow { color: var(--ochre); font-size: 22px; }
.venmo-panel { display: none; text-align: center; }
.venmo-panel.is-open { display: block; }
.venmo-panel img { background: #fff; padding: 10px; }
.venmo-phone { display: none; }
@media (max-width: 900px) { .venmo-desktop { display: none; } .venmo-phone { display: block; } }
@media (max-width: 600px) {
  .np-form { padding: 24px 18px; }
  .np-preview { position: static; }
  .np-plaque .entry div { font-size: 16px; }
  .vet-table .hide-sm { display: none; }
}
#print-area { display: none; }
@media print {
  /* Print only the plaque, at the top of the first page */
  body.printing-plaque > *:not(#print-area) { display: none !important; }
  body.printing-plaque #print-area { display: block; }
  #print-area .np-plaque { position: static; width: 100%; margin: 0; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Donate page ---------- */
.give .wrap { padding-top: 64px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; align-items: stretch; }
.give-card { background: var(--basalt-shadow); border-top: 2px solid var(--ochre); padding: 34px 36px; display: flex; flex-direction: column; gap: 16px; }
.give-card.names { background: var(--mountain-grey); }
.give-card h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 28px; }
.give-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.give-card p { margin: 0; color: #DAD5CB; }
.give-card.names p { color: var(--engraved-white); }
.give-card .actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.give-card .actions .btn { border: none; cursor: pointer; }
.link-button { background: none; border: none; padding: 0; color: var(--ochre-light); font: inherit; font-style: italic; text-decoration: underline; cursor: pointer; }
.give-card.names .link-button { color: var(--engraved-white); }
.give-card .fine { font-size: 15px; color: var(--flagstone-light); }
.give-thanks { border-top: 1px solid var(--line); }
.give-thanks .inner { max-width: 860px; margin: 0 auto; padding: 64px 40px 80px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.give-thanks h2 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 28px; }
.give-thanks p { margin: 0; color: var(--muted); }
.np-dialog.list-dialog { max-width: 640px; }
.list-dialog .dlg-body { max-height: 70vh; overflow-y: auto; }
.donor-list { width: 100%; border-collapse: collapse; }
.donor-list td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.donor-list td.level { color: var(--ochre-light); font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.1em; text-align: right; white-space: nowrap; }
.honored-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.honored-list li { break-inside: avoid; padding: 5px 0; font-family: 'Cinzel', serif; font-size: 15px; letter-spacing: 0.04em; }
@media (max-width: 600px) {
  .give .wrap { padding-top: 40px; padding-bottom: 48px; grid-template-columns: 1fr; }
  .give-card { padding: 26px 20px; }
  .give-thanks .inner { padding: 48px 20px 56px; }
  .honored-list { columns: 1; }
}

/* ---------- Team page ---------- */
.team .wrap { padding-top: 64px; padding-bottom: 88px; }
.team-label { margin: 0 0 28px; font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 0.22em; font-weight: 400; color: var(--ochre); }
.team-label.former-label { margin-top: 72px; margin-bottom: 20px; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; }
.member { background: var(--basalt-shadow); border-top: 2px solid var(--ochre); padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.member h3, .former-member h3 { margin: 0; font-family: 'Cinzel', serif; font-weight: 600; font-size: 22px; line-height: 1.25; }
.member .role { font-size: 17px; color: var(--muted); font-style: italic; margin-top: -6px; }
.member .service, .former-member .service { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.12em; color: var(--ochre-light); }
.member p { margin: 0; color: #DAD5CB; }
.member .read-more { align-self: flex-start; padding: 4px 0; font-size: 17px; }
.former-member { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.former-member h3 { font-size: 20px; }
.former-member p { margin: 0; color: var(--muted); }
@media (max-width: 600px) {
  .team .wrap { padding-top: 44px; padding-bottom: 56px; }
  .member { padding: 24px 20px 20px; }
}

/* ---------- Legal pages (privacy policy) ---------- */
.legal-body { max-width: 780px; margin: 0 auto; padding: 56px 40px 96px; }
.legal-body h2 { margin: 44px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); font-family: 'Cinzel', serif; font-weight: 600; font-size: 22px; color: var(--engraved-white); }
.legal-body p { margin: 0 0 16px; color: #DAD5CB; }
.legal-body ul { margin: 0 0 16px; padding-left: 24px; color: #DAD5CB; }
.legal-body li { margin-bottom: 6px; }
.legal-body li::marker { color: var(--ochre); }
@media (max-width: 600px) { .legal-body { padding: 36px 20px 64px; } }

/* About: two landscape photos stacked */
.about-photos.stacked { grid-template-columns: 1fr; gap: 22px; }
.about-photos.stacked img { height: auto; aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .about-photos.stacked img { height: auto; } }

/* ---------- Check donation page ---------- */
.back-link { font-size: 16px; text-decoration: none; color: var(--ochre-light); }
.back-link:hover { text-decoration: underline; }
.field select { width: 100%; background: var(--basalt-black); color: var(--engraved-white); border: 1px solid #6A6B66; padding: 13px 10px; font-family: 'EB Garamond', Georgia, serif; font-size: 19px; }
.field select:focus { outline: 2px solid var(--ochre-light); outline-offset: 1px; }
.amount-wrap { display: flex; align-items: center; background: var(--basalt-black); border: 1px solid #6A6B66; }
.amount-wrap span { padding: 0 4px 0 14px; color: var(--ochre-light); font-size: 19px; }
.amount-wrap input { border: none !important; padding-left: 4px !important; }
.amount-wrap:focus-within { outline: 2px solid var(--ochre-light); outline-offset: 1px; }
.check-field { padding-bottom: 12px; }
label.checkbox { display: flex; gap: 10px; align-items: flex-start; font-family: 'EB Garamond', Georgia, serif !important; font-size: 18px !important; letter-spacing: 0 !important; cursor: pointer; }
label.checkbox input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--ochre); flex: none; }
.mail-card { background: var(--plaque); border: 1px solid #4A4B4D; box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.45); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.mail-card .label { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.18em; color: var(--ochre-light); }
.mail-card .address { font-family: 'Cinzel', serif; font-weight: 700; font-size: 21px; line-height: 1.45; letter-spacing: 0.03em; color: #ECEAE6; text-shadow: 0 1px 0 #121314; }
.mail-card p { margin: 0; color: var(--muted); font-size: 17px; }
.check-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: #DAD5CB; }
.check-steps li::marker { color: var(--ochre); font-family: 'Cinzel', serif; }
.status-msg.is-success { border-left-color: #8FBF7F; }

/* ---------- Donorbox pages (ACH, credit card) ---------- */
.donorbox-card { background: var(--paver); padding: 18px 12px; border: 1px solid #4A4B4D; display: flex; justify-content: center; }
.donorbox-card iframe { width: 100%; max-width: 500px; min-width: 250px; max-height: none !important; border: 0; display: block; }
.alt-methods p { margin: 0; color: #DAD5CB; }
.alt-methods a { color: var(--ochre-light); }
@media (max-width: 600px) { .donorbox-card { padding: 10px 4px; margin: 0 -14px; } }

/* ---------- Dedication ceremony video ---------- */
.ceremony { padding: 56px 0 80px; }
.ceremony-frame { background: #000; border: 1px solid #4A4B4D; box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.45); }
.ceremony-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - 120px); background: #000; object-fit: contain; }
.ceremony-note { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.ceremony-links { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 40px; }
.ceremony-links a { font-family: 'Cinzel', serif; font-size: 15px; letter-spacing: 0.08em; color: var(--ochre-light); text-decoration: none; }
.ceremony-links a::after { content: ' \203A'; }
.ceremony-links a:hover { text-decoration: underline; }
@media (max-width: 600px) { .ceremony { padding: 28px 0 56px; } .ceremony .wrap { padding-left: 0; padding-right: 0; } .ceremony-note, .ceremony-links { padding-left: 20px; padding-right: 20px; } }
.story-links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.skip-intro { position: absolute; right: 18px; bottom: 64px; z-index: 2; padding: 10px 18px; font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 0.08em; color: var(--engraved-white); background: rgba(28, 29, 31, 0.78); border: 1px solid var(--ochre); cursor: pointer; }
.skip-intro:hover { background: var(--ochre); color: var(--basalt-black); }
.skip-intro[hidden] { display: none; }
@media (max-width: 600px) { .skip-intro { right: 10px; bottom: 54px; padding: 8px 12px; font-size: 12px; } }
.sound-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; padding: 14px 28px; font-family: 'Cinzel', serif; font-size: 18px; letter-spacing: 0.06em; color: var(--engraved-white); background: rgba(28, 29, 31, 0.78); border: 1px solid var(--ochre); cursor: pointer; }
.sound-btn:hover { background: var(--ochre); color: var(--basalt-black); }
.sound-btn[hidden] { display: none; }
@media (max-width: 600px) { .sound-btn { font-size: 15px; padding: 10px 18px; } }

/* ---------- Phone menu ---------- */
.mobile-actions { display: none; }
@media (max-width: 760px) {
  .site-header { position: relative; z-index: 50; }
  .site-header .wrap { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; }
  .brand img { height: 72px; }
  .brand span { display: none; }   /* the logo card already carries the name */
  .mobile-actions { display: flex; align-items: center; gap: 14px; }
  .mobile-actions .donate { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.14em; font-weight: 700; text-decoration: none; background: var(--ochre); color: var(--basalt-black); padding: 12px 18px; }
  .menu-btn { width: 48px; height: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: none; border: 1px solid #6A6B66; cursor: pointer; padding: 0; }
  .menu-btn span { display: block; width: 22px; height: 2px; background: var(--engraved-white); transition: transform 0.2s, opacity 0.2s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--basalt-black); border-bottom: 1px solid var(--ochre); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5); font-size: 15px; }
  .menu-open .main-nav { display: flex; }
  .main-nav a { padding: 18px 20px; border-top: 1px solid var(--line); }
  .main-nav a.donate { display: none; }
}
.main-nav a.nav-home { display: none; }   /* Home appears only in the phone menu */
@media (max-width: 760px) { .main-nav a.nav-home { display: block; } }
.site-footer .copyright { margin-top: 10px; font-size: 14px; color: var(--muted); }
.site-footer .admin-link { color: inherit; text-decoration: none; cursor: default; user-select: none; }

/* ---------- Visit page ---------- */
.visit-free .wrap { padding-top: 56px; padding-bottom: 8px; }
.free-card { background: var(--plaque); border: 1px solid #4A4B4D; border-top: 3px solid var(--ochre); box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.45); padding: 34px 36px; max-width: 880px; }
.free-card h2 { margin: 10px 0 14px; font-family: 'Cinzel', serif; font-weight: 600; font-size: 32px; color: #ECEAE6; }
.free-card p { margin: 0 0 12px; font-size: 20px; color: #DAD5CB; }
.free-card p:last-child { margin-bottom: 0; }
.visit-grid .wrap { padding-top: 56px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.visit-grid article { border-top: 1px solid var(--ochre); padding-top: 22px; }
.visit-grid h2, .visit-lighthouse h2 { margin: 0 0 14px; font-family: 'Cinzel', serif; font-weight: 600; font-size: 26px; }
.visit-grid p { margin: 0 0 14px; }
.visit-grid address { font-style: normal; margin-bottom: 14px; color: #ECEAE6; }
ul.plain { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
p.small { font-size: 16px; color: var(--muted); }
.visit-lighthouse { background: var(--basalt-shadow); border-top: 1px solid var(--line); }
.visit-lighthouse .wrap { padding-top: 72px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.visit-lighthouse img { flex: 1 1 420px; min-width: 0; width: 100%; height: 440px; object-fit: cover; display: block; box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.45); }
.visit-lighthouse .wrap > div { flex: 1 1 420px; min-width: 0; }
.visit-lighthouse h2 { font-size: 32px; margin-top: 10px; }
.visit-lighthouse p { margin: 0 0 14px; }
@media (max-width: 900px) { .visit-grid .wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .free-card { padding: 26px 22px; }
  .free-card h2, .visit-lighthouse h2 { font-size: 26px; }
  .visit-lighthouse img { height: 260px; }
  .visit-lighthouse .btn { display: block; text-align: center; }
}

/* ---------- Add / edit veteran ---------- */
.field .opt { font-family: 'EB Garamond', Georgia, serif; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field select:disabled { opacity: 0.55; }
.gold-star { margin-top: 24px; padding: 18px 20px; border: 1px solid #4A4B4D; background: rgba(0, 0, 0, 0.18); }
.gold-star .form-note { margin: 8px 0 0 30px; }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 600px) { .form-actions .btn { flex: 1 1 100%; text-align: center; } .gold-star .form-note { margin-left: 0; } }
/* Keep controls in a row level at the bottom even when a label wraps */
.form-row.align-bottom { align-items: flex-end; }
.form-row.align-bottom .field { display: flex; flex-direction: column; justify-content: flex-end; }
/* Buttons and link-buttons the same height side by side */
.form-actions { align-items: stretch; }
.form-actions .btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 56px; }
.free-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px !important; }
.free-actions .small { font-size: 16px; color: var(--muted); }
@media (max-width: 600px) { .free-actions .btn { display: block; width: 100%; text-align: center; } }
#design { scroll-margin-top: 12px; }
.free-card { max-width: none; }
.free-card h2, .free-card p:not(.free-actions) { max-width: 820px; }
.free-card { display: flex; gap: 40px; align-items: stretch; }
.free-text { flex: 1 1 auto; min-width: 0; }
.free-photo { flex: 0 0 300px; width: 300px; object-fit: cover; object-position: 60% center; display: block; box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.4); }
@media (max-width: 900px) { .free-card { flex-direction: column; } .free-photo { flex: none; width: 100%; height: 280px; object-position: 60% 30%; } }
.landmark-beat { font-style: italic; color: var(--ochre-light); }
/* Last Landmark: tall portrait photo that matches the height of the text */
.landmark .wrap { align-items: stretch; }
.landmark img { flex: 0 1 400px; height: auto; min-height: 560px; object-position: 30% center; }
.landmark-text { justify-content: center; }
@media (max-width: 600px) { .landmark img { flex-basis: auto; width: 100%; min-height: 0; height: 420px; } }
/* Last Landmark: photo and text in two equal columns; full-width photo when stacked */
.landmark img { flex: 1 1 0; min-height: 560px; object-position: 35% center; }
.landmark-text { flex: 1 1 0; }
@media (max-width: 900px) {
  .landmark .wrap { flex-direction: column; }
  .landmark img { flex: none; width: 100%; min-height: 0; height: 460px; object-position: 35% 45%; }
}
@media (max-width: 600px) { .landmark img { height: 380px; } }

/* ---------- Find a Veteran ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.finder .wrap { padding-top: 48px; padding-bottom: 80px; }
.find-form { display: flex; gap: 12px; max-width: 720px; }
.find-form input { flex: 1 1 auto; min-width: 0; background: var(--basalt-black); color: var(--engraved-white); border: 1px solid #6A6B66; padding: 14px 16px; font-family: 'EB Garamond', Georgia, serif; font-size: 20px; }
.find-form input:focus { outline: 2px solid var(--ochre-light); outline-offset: 1px; }
.browse-slabs { margin: 16px 0 0; color: var(--muted); }
.browse-slabs a { display: inline-block; margin: 0 4px; padding: 4px 12px; border: 1px solid #6A6B66; color: var(--ochre-light); text-decoration: none; font-family: 'Cinzel', serif; }
.browse-slabs a:hover, .browse-slabs a[aria-current] { background: var(--ochre); color: var(--basalt-black); border-color: var(--ochre); }
.find-summary { margin: 36px 0 18px; color: var(--muted); }
.find-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.vet { display: flex; flex-wrap: wrap; gap: 20px 36px; padding: 26px 28px; background: var(--plaque); border: 1px solid #4A4B4D; box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.35); }
.vet-inscription { flex: 0 1 300px; text-align: center; align-self: center; font-family: 'Cinzel', serif; color: #ECEAE6; text-shadow: 0 1px 0 #121314; }
.vet-inscription .line1 { font-weight: 700; font-size: 21px; letter-spacing: 0.04em; }
.vet-inscription .line2 { margin-top: 4px; font-size: 16px; letter-spacing: 0.05em; color: #C9C4B8; }
.vet-inscription img { height: 1em; vertical-align: -0.1em; }
.vet-where { flex: 1 1 380px; min-width: 0; }
.vet-where .where { margin: 0 0 10px; font-family: 'Cinzel', serif; font-size: 15px; letter-spacing: 0.08em; color: var(--ochre-light); }
.vet-where img { display: block; width: 100%; height: auto; border: 1px solid #4A4B4D; }
.vet-where .small { margin: 8px 0 0; }
.pending-card { padding: 34px 24px; text-align: center; border: 1px dashed #6A6B66; color: var(--muted); }
.find-cta { margin-top: 44px; }
@media (max-width: 600px) { .find-form { flex-direction: column; } .vet { padding: 20px 16px; } }
.plaque-caption a { color: var(--ochre-light); font-style: normal; margin-left: 6px; }
/* Find a Veteran: results grouped by slab */
.find-results { display: flex; flex-direction: column; gap: 32px; }
.slab-group { background: var(--plaque); border: 1px solid #4A4B4D; box-shadow: 6px 8px 14px rgba(0, 0, 0, 0.35); padding: 24px 28px 28px; }
.slab-group h2 { margin: 0 0 18px; font-family: 'Cinzel', serif; font-weight: 600; font-size: 24px; color: var(--ochre-light); }
.slab-group-body { display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: flex-start; }
.slab-link { flex: 1 1 460px; min-width: 0; text-decoration: none; }
.slab-link img, .pending-img { display: block; width: 100%; height: auto; border: 1px solid #4A4B4D; }
.slab-link .small { display: block; margin-top: 8px; }
.pending-img, .slab-group .pending-card { flex: 1 1 460px; min-width: 0; }
.vet-list { flex: 1 1 280px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.vet-list li { border-left: 2px solid var(--ochre); padding-left: 14px; }
.vet-list .line1 { font-family: 'Cinzel', serif; font-weight: 700; font-size: 18px; letter-spacing: 0.04em; color: #ECEAE6; }
.vet-list .line1 img { height: 1em; vertical-align: -0.1em; }
.vet-list .line2 { font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 0.05em; color: #C9C4B8; margin-top: 2px; }
.vet-list .where { margin-top: 4px; font-size: 16px; font-style: italic; color: var(--ochre-light); }
@media (max-width: 600px) { .slab-group { padding: 18px 14px 20px; } }
.slab-locator { flex: 0 1 260px; min-width: 0; }
.slab-locator img { display: block; width: 100%; height: auto; border: 1px solid #4A4B4D; }
@media (max-width: 600px) { .slab-locator { flex-basis: 100%; } }
/* Lightbox for slab and locator photos */
.lightbox { padding: 0; border: none; background: var(--basalt-black); width: 100vw; height: 100svh; max-width: 100vw; max-height: 100svh; margin: 0; color: var(--engraved-white); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }
.lightbox[open] { display: flex; flex-direction: column; }
.lb-close { align-self: flex-end; margin: 12px; padding: 12px 20px; font-family: 'Cinzel', serif; font-size: 16px; letter-spacing: 0.1em; color: var(--basalt-black); background: var(--ochre); border: none; cursor: pointer; }
.lb-scroll { flex: 1 1 auto; overflow: auto; display: flex; align-items: center; justify-content: center; -webkit-overflow-scrolling: touch; }
.lb-scroll img { max-width: 96vw; max-height: calc(100svh - 130px); cursor: zoom-in; display: block; }
.lightbox.zoomed .lb-scroll { align-items: flex-start; justify-content: flex-start; }
.lightbox.zoomed .lb-scroll img { max-width: none; max-height: none; width: 220vw; cursor: zoom-out; }
.lb-hint { margin: 8px 12px 14px; text-align: center; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) { .lightbox.zoomed .lb-scroll img { width: 2000px; } }
/* Enlarge in place (replaces the full-screen view) */
.lightbox { display: none !important; }
.slab-link, .slab-locator { cursor: zoom-in; }
.slab-link.expanded, .slab-locator.expanded { flex: 1 1 100%; cursor: zoom-out; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.slab-locator.expanded img { max-width: 760px; margin: 0 auto; }
@media (max-width: 900px) {
  .slab-link.expanded img { width: 230%; max-width: none; }
  .slab-locator.expanded img { width: 100%; }
}

/* The CTA strip spans the hero bottom; let clicks pass through to the play/pause button */
.hero-cta { pointer-events: none; }
.hero-cta .btn { pointer-events: auto; }
.video-toggle, .scroll-cue { z-index: 3; }
