/* Bond Memorial Chapel — site styles */
:root {
  --ink: #1d1c1a;
  --ink-2: #2a2825;
  --paper: #fbfaf7;
  --sand: #f3efe7;
  --line: #e2dcd0;
  --text: #2b2926;
  --muted: #5d5850;
  --gold: #8a6a2f;
  --gold-light: #d6b46e;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.prose { max-width: 46rem; }
.center { text-align: center; }
.center .prose, .prose.center { margin-inline: auto; }
.eyebrow { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font: 600 .9rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.center .btns { justify-content: center; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: block; flex: 0 1 300px; min-width: 0; padding: .6rem 0; }
.brand img { width: 100%; max-width: 300px; height: auto; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.call-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem .95rem;
  border: 1px solid var(--gold-light); border-radius: 999px; color: #fff; text-decoration: none;
  font: 600 .9rem/1.2 var(--sans); white-space: nowrap;
}
.call-btn:hover { background: var(--gold-light); color: var(--ink); }
.call-btn small { display: none; font-weight: 400; color: var(--gold-light); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.call-btn:hover small { color: var(--ink); }
.call-btn .num { display: none; }
.call-btn svg { width: 18px; height: 18px; flex: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; min-width: 44px; padding: .4rem .7rem;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; font: 600 .85rem var(--sans); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.site-nav { display: none; border-top: 1px solid rgba(255,255,255,.08); }
.site-nav.open { display: block; }
.nav-list { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.nav-list > li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-list a, .nav-list button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: .6rem 0;
  color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer;
  font: 600 .92rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-align: left;
}
.nav-list a:hover, .nav-list button:hover { color: var(--gold-light); }
.nav-list a[aria-current="page"] { color: var(--gold-light); }
.nav-list button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-list button[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 0 0 .6rem .9rem; display: none; }
.sub.open { display: block; }
.sub li { margin: 0; }
.sub a { min-height: 44px; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1rem; color: #e9e4da; }
.nav-guide a { color: var(--gold-light); }
.ext::after { content: " \2197"; font-size: .85em; }

.call-btn { display: none; }
@media (min-width: 1080px) {
  .call-btn { display: inline-flex; }
  .call-btn .num { display: inline; }
  .header-bar { min-height: 84px; }
  .brand { flex-basis: 340px; }
  .brand img { max-width: 340px; }
  .call-btn { padding: .5rem 1.2rem; flex-direction: column; align-items: flex-start; gap: 0; border-radius: 12px; }
  .call-btn small { display: block; }
  .call-btn svg { display: none; }
  .menu-toggle { display: none; }
  .site-nav { display: block; }
  .nav-list { display: flex; justify-content: center; flex-wrap: wrap; padding: 0; }
  .nav-list > li { position: relative; border: 0; }
  .nav-list > li > a, .nav-list > li > button { padding: .55rem .85rem; min-height: 48px; font-size: .82rem; width: auto; gap: .35rem; }
  .sub {
    position: absolute; left: 0; top: 100%; min-width: 250px; padding: .5rem 0; background: #fff; border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
  }
  .sub a { color: var(--text); padding: .5rem 1.1rem; min-height: 40px; font-size: .95rem; }
  .sub a:hover { background: var(--sand); color: var(--ink); }
  .nav-list > li:hover > .sub, .nav-list > li:focus-within > .sub { display: block; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink-2); isolation: isolate; overflow: hidden; }
.hero picture, .hero img.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero img.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,19,17,.25) 0%, rgba(20,19,17,.55) 55%, rgba(20,19,17,.82) 100%); }
.hero-inner { min-height: min(72vh, 600px); display: flex; flex-direction: column; justify-content: flex-end; padding: 6rem 0 3rem; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; font-style: italic; font-weight: 500; font-size: clamp(2.6rem, 8vw, 4.8rem); max-width: 16ch; margin-bottom: .3em; }
.hero p.lead { color: #f3efe7; max-width: 44rem; font-size: 1.12rem; }
@media (min-width: 900px) {
  .hero::after { background: linear-gradient(90deg, rgba(20,19,17,.82) 0%, rgba(20,19,17,.5) 50%, rgba(20,19,17,.1) 100%); }
  .hero img.hero-img { object-position: 68% 40%; }
  .hero-inner { justify-content: center; padding: 5rem 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--ink-2); isolation: isolate; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,19,17,.35), rgba(20,19,17,.72)); }
.page-hero .wrap { min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; padding: 3.5rem 0 2.25rem; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero .eyebrow { color: var(--gold-light); margin-bottom: .4rem; }
.page-hero.plain { background: var(--ink); }
.page-hero.plain::after { display: none; }
@media (min-width: 900px) { .page-hero .wrap { min-height: 320px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #ece7dd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold-light); }
.section--dark a:not(.btn) { color: var(--gold-light); }
.section + .section:not(.section--sand):not(.section--dark):not(.band) { padding-top: 0; }
.section-head { margin-bottom: 2.25rem; }
.section-head.center { max-width: 44rem; margin-inline: auto; }
.rule { width: 64px; height: 2px; background: var(--gold-light); border: 0; margin: 1rem 0 1.5rem; }
.center .rule { margin-inline: auto; }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .split--rev > :first-child { order: 2; }
}
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(29,28,26,.14); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .btn, .card .more { margin-top: auto; align-self: flex-start; }
.card .more { font-weight: 600; text-decoration: none; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; padding-top: .5rem; min-height: 44px; display: inline-flex; align-items: center; }
.card-media { margin: -1.75rem -1.75rem 1.4rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 2 / 1; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.value { border-top: 2px solid var(--gold-light); padding-top: 1.1rem; }
.value h3 { font-size: 1.45rem; }
.value p { color: var(--muted); font-size: 1rem; }

/* ---------- Obituaries ---------- */
.obits-section { --hp-ob-accent: #8a6a2f; }
.obits-section .btns { justify-content: center; margin-top: 2rem; }

/* ---------- Family guide band ---------- */
.band { position: relative; color: #fff; background: var(--ink); isolation: isolate; overflow: hidden; padding: clamp(3rem, 8vw, 5rem) 0; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .9; }
.band h2 { color: #fff; }
.band p { color: #ece7dd; max-width: 40rem; margin-inline: auto; }
.band .eyebrow { color: var(--gold-light); }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; margin: 0; display: flex; flex-direction: column; }
.quote::before { content: "\201C"; font-family: var(--serif); font-size: 4rem; line-height: .6; color: var(--gold-light); height: 1.6rem; }
.quote blockquote { margin: 0 0 1.25rem; font-family: var(--serif); font-size: 1.28rem; line-height: 1.5; color: var(--ink); }
.quote figcaption { margin-top: auto; font-size: .92rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); display: block; font-size: 1rem; }

/* ---------- Staff ---------- */
.staff-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .staff-grid { grid-template-columns: repeat(3, 1fr); } }
.staff { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.staff-photo { aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.staff-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.staff-body h3 { margin-bottom: .2rem; }
.staff-role { color: var(--gold); font-size: .92rem; font-weight: 600; margin-bottom: .8rem; }
.staff details { margin-top: auto; }
.staff summary { cursor: pointer; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; color: var(--gold); min-height: 44px; display: flex; align-items: center; list-style: none; }
.staff summary::-webkit-details-marker { display: none; }
.staff summary::after { content: "+"; margin-left: .5rem; font-size: 1.1rem; }
.staff details[open] summary::after { content: "\2212"; }
.staff details p { font-size: .98rem; color: var(--muted); }
.staff--founders { grid-column: 1 / -1; }
@media (min-width: 880px) {
  .staff--founders { flex-direction: row; }
  .staff--founders .staff-photo { flex: 0 0 38%; aspect-ratio: auto; max-height: 520px; }
  .staff--founders .staff-body { justify-content: center; padding: 2.5rem; }
}
.memoriam { border-left: 3px solid var(--gold-light); padding-left: 1rem; font-style: italic; }

/* ---------- Accordions / FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 1.25rem; }

/* ---------- Lists, panels ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.panel { background: var(--sand); border-radius: var(--radius); padding: 1.75rem; }
.panel--white { background: #fff; border: 1px solid var(--line); }
.callout { background: var(--ink); color: #ece7dd; border-radius: var(--radius); padding: 2rem; }
.callout h2, .callout h3 { color: #fff; }
.callout a:not(.btn) { color: var(--gold-light); }
.stack > * + * { margin-top: 2.5rem; }
.block + .block { margin-top: 2.5rem; }
.stage { display: grid; gap: .25rem 1.5rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .stage { grid-template-columns: 12rem 1fr; } }
.stage h3 { margin: 0; color: var(--gold); }

.logo-card { display: flex; flex-direction: column; gap: 1rem; }
.logo-card .logo-box { background: #fff; border: 1px solid var(--line); border-radius: 8px; height: 120px; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.logo-card .logo-box img { max-height: 88px; width: auto; object-fit: contain; }

.merch { display: grid; gap: 1.5rem; }
.merch-imgs { display: flex; flex-wrap: wrap; gap: 1rem; }
.merch-imgs img { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .5rem; max-height: 170px; width: auto; }
@media (min-width: 880px) { .merch { grid-template-columns: 1fr 1fr; align-items: center; } }

.pz { display: grid; gap: 1.5rem; align-items: center; }
.pz img { max-width: 220px; margin-inline: auto; }
@media (min-width: 760px) { .pz { grid-template-columns: 220px 1fr; gap: 2.5rem; } }

.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-wrap { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 880px) { .map-wrap { aspect-ratio: 16 / 10; } }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { flex: 0 0 5.5rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } .form .row-3 { grid-template-columns: 2fr 1fr 1fr; } }
.form label { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: 1rem/1.4 var(--sans); color: var(--text);
  background: #fff; border: 1px solid #c9c1b2; border-radius: 8px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(214,180,110,.5); border-color: var(--gold); }
.form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d3c7; padding: 3.5rem 0 4.5rem; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { width: 260px; max-width: 100%; margin-bottom: 1.25rem; }
.footer-contact { font-style: normal; line-height: 1.9; }
.footer-contact .phone { font-size: 1.25rem; font-weight: 600; color: var(--gold-light); }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .88rem; color: #b9b2a4; }
.footer-bottom a { color: #d9d3c7; }
.footer-bottom p { margin: 0; }
.social { display: inline-flex; align-items: center; gap: .5rem; margin-top: .75rem; min-height: 44px; }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 54px; color: #fff; text-decoration: none; font: 600 .9rem var(--sans); letter-spacing: .04em; }
.callbar a + a { border-left: 1px solid rgba(255,255,255,.12); }
.callbar a:first-child { background: var(--gold); }
.callbar svg { width: 18px; height: 18px; }
body { padding-bottom: 54px; }
@media (min-width: 1080px) { .callbar { display: none; } body { padding-bottom: 0; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
