:root {
  --green-950:#0f2f27;
  --green-900:#173c31;
  --green-800:#234c3f;
  --green-700:#396152;
  --sage-100:#e7ebe1;
  --ink:#16342d;
  --body:#424b47;
  --muted:#6d746f;
  --cream:#f6f1e7;
  --paper:#fbf8f1;
  --white:#fffdf9;
  --gold:#ae8a52;
  --line:#ded7ca;
  --shadow:0 10px 28px rgba(35,48,40,.10);
  --serif:"Libre Baskerville", Georgia, serif;
  --sans:"Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
  font-family:var(--sans);
  color:var(--body);
  background:var(--cream);
  line-height:1.5;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(90deg,#f8f4eb 0,#fffdf9 12%,#fffdf9 88%,#f8f4eb 100%);font-size:18px}
a{color:inherit}
button,input{font:inherit}
button{cursor:pointer}
.skip-link{position:absolute;left:-999px;top:1rem;background:#fff;color:#000;padding:.7rem 1rem;z-index:1000}
.skip-link:focus{left:1rem}
.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}
.public-header{position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;background:rgba(255,253,249,.96);border-bottom:1px solid rgba(174,138,82,.22)}
.brand-wrap{display:flex;align-items:center;gap:.8rem;min-width:0}.brand-mark{width:46px;height:46px;border:1px solid var(--gold);display:grid;place-items:center;font-family:var(--serif);font-weight:700;color:var(--green-900);background:var(--cream)}
.brand-name{text-decoration:none;font-family:var(--serif);color:var(--green-950);line-height:1.05;display:flex;flex-direction:column;font-size:.96rem}.brand-name span{display:block}.brand-name small{margin-top:.32rem;text-transform:uppercase;font:600 .58rem/1 var(--sans);letter-spacing:.32em;display:flex;align-items:center;gap:.45rem}.brand-name i,.public-footer i{height:1px;width:34px;background:var(--gold);display:inline-block}
.menu-button{border:0;background:transparent;width:48px;height:48px;display:grid;align-content:center;gap:6px;padding:9px}.menu-button span{height:3px;background:var(--green-900);border-radius:4px;display:block}.site-menu{position:absolute;right:1rem;top:calc(100% - .25rem);min-width:260px;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:.5rem}.site-menu a{display:block;text-decoration:none;padding:.8rem .9rem;border-radius:9px;color:var(--green-950)}.site-menu a:hover,.site-menu a:focus{background:var(--sage-100)}
.hero{position:relative;min-height:520px;overflow:hidden;background:#d8d0bf}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:59% 52%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(250,247,239,.98) 0%,rgba(250,247,239,.90) 39%,rgba(250,247,239,.32) 63%,rgba(22,47,39,.05) 100%)}.hero-content{position:relative;z-index:1;max-width:620px;padding:3.2rem 1.5rem 5.2rem}.eyebrow{text-transform:uppercase;letter-spacing:.23em;font-weight:700;color:var(--green-700);font-size:.86rem;margin:0 0 .9rem}.hero h1,.section-heading h2,.results-header h2,.record-detail h2,.heritage-copy h2,.info-placeholder h2{font-family:var(--serif);color:var(--green-950)}.hero h1{font-size:clamp(2.55rem,8vw,4.5rem);line-height:1.08;margin:0;letter-spacing:-.035em}.gold-rule{display:block;width:58px;height:3px;background:var(--gold);margin:1.25rem 0}.hero-lede{font-size:1.35rem;max-width:385px;color:#1d312b;margin:0}
.search-shell{position:relative;z-index:3;margin:-3.4rem 1rem 1.25rem;padding:1.4rem;background:rgba(255,253,249,.98);border:1px solid rgba(222,215,202,.9);border-radius:24px;box-shadow:var(--shadow);max-width:1180px}.section-heading{display:flex;align-items:center;gap:.85rem}.section-heading h2{font-size:clamp(1.45rem,5vw,2.3rem);margin:0}.search-icon{width:27px;height:27px;border:3px solid var(--green-950);border-radius:50%;position:relative;display:inline-block;flex:none}.search-icon:after{content:"";position:absolute;width:12px;height:3px;background:var(--green-950);right:-9px;bottom:-4px;transform:rotate(45deg);border-radius:2px}.search-form{margin-top:1.2rem}.search-control{position:relative}.search-control input{width:100%;height:62px;border:2px solid #c9c8c4;border-radius:13px;padding:0 4rem 0 1.2rem;font-size:1.2rem;background:#fff;color:#1c2f29}.search-control input:focus{outline:3px solid rgba(35,76,63,.18);border-color:var(--green-800)}.inline-search-button{position:absolute;right:.35rem;top:.35rem;width:54px;height:54px;border:0;background:transparent;display:grid;place-items:center}.inline-search-button .search-icon{transform:scale(.72)}.search-example{margin:.45rem .4rem .9rem;color:var(--muted);font-size:.92rem}.primary-button{width:100%;border:0;border-radius:12px;background:linear-gradient(90deg,var(--green-900),var(--green-800));color:#fff;padding:1rem 1.2rem;font-family:var(--serif);font-size:1.2rem;display:flex;justify-content:center;gap:1rem;box-shadow:0 6px 14px rgba(23,60,49,.16)}.primary-button:hover,.primary-button:focus{background:var(--green-950)}.primary-button:disabled{opacity:.6;cursor:wait}.data-status{margin:.65rem 0 0;text-align:center;color:var(--muted);font-size:.8rem}
.search-state{margin:1.1rem 1rem 1.4rem;max-width:1180px}.results-header{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:.4rem .2rem}.results-header h2{margin:.1rem 0;font-size:2rem}.results-header .eyebrow{margin:0}.text-button{background:none;border:0;color:var(--green-800);font-weight:700;text-decoration:underline;text-underline-offset:4px;padding:.5rem}.results-summary{margin:.15rem .2rem 1rem;color:var(--body)}.results-list{display:grid;gap:.75rem}.result-card{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;text-align:left;border:2px solid #c8d0c7;border-radius:17px;background:var(--white);padding:1rem 1.1rem;color:inherit;box-shadow:0 4px 15px rgba(35,48,40,.05)}.result-card:hover,.result-card:focus{border-color:var(--green-700);background:#fbfcf8}.result-card.selected{border-color:var(--green-900);background:#f6f8f2}.grave-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--sage-100);font-size:1.65rem;color:var(--green-900)}.result-name{font:700 1.2rem/1.2 var(--serif);color:var(--green-950)}.result-location{display:block;margin-top:.25rem;color:#4e5b55}.result-chevron{font-size:2rem;color:var(--green-800)}.empty-state{background:var(--white);padding:1.25rem;border:1px solid var(--line);border-radius:16px;color:var(--muted)}
.record-detail{margin-top:1rem;background:var(--white);border:1px solid var(--line);border-radius:20px;padding:1.3rem;box-shadow:var(--shadow)}.record-detail h2{font-size:1.8rem;margin:.1rem 0}.record-detail .gold-rule{margin:.7rem 0 1rem;width:46px;height:2px}.record-grid{display:grid;grid-template-columns:minmax(110px,.6fr) minmax(0,1.4fr);margin:0}.record-grid dt,.record-grid dd{padding:.8rem .15rem;border-bottom:1px solid var(--line)}.record-grid dt{color:var(--muted)}.record-grid dd{margin:0;color:#1d2925;font-family:var(--serif);font-weight:700}.record-grid .full-row{grid-column:1 / -1}.guidance-card{margin-top:1.1rem;padding:1rem 1.1rem;background:#fbf8f1;border-radius:15px;border:1px solid var(--line)}.guidance-card h3{font-family:var(--serif);color:var(--green-950);margin:.1rem 0 .4rem}.guidance-card p{margin:.2rem 0}.future-capability{font-size:.86rem;color:var(--muted);margin-top:.8rem}.map-action{display:none;margin-top:.85rem;width:100%;border:1px solid var(--green-900);border-radius:11px;background:transparent;color:var(--green-900);font-weight:700;padding:.8rem}.map-action[data-available="true"]{display:block}
.home-links{display:grid;gap:1rem;margin:1.2rem 1rem 1.5rem}.feature-card{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:1rem;text-decoration:none;background:var(--white);border:1px solid var(--line);border-radius:18px;padding:1rem;box-shadow:0 5px 16px rgba(35,48,40,.06)}.feature-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-size:1.8rem}.feature-icon.botanical{background:#e6eadf;color:var(--green-700)}.feature-icon.book{background:#e3ebee;color:#214e5b}.feature-icon.pin{background:#f2e8d9;color:#6e4d25}.feature-card strong{display:block;font:700 1.25rem/1.2 var(--serif);color:var(--green-950)}.feature-card small{display:block;margin-top:.35rem;color:var(--muted);font-size:.9rem;line-height:1.35}.feature-card b{font:400 2rem/1 var(--sans);color:#5d6964}
.heritage-copy{position:relative;overflow:hidden;background:#f2ecdf;border-top:1px solid rgba(174,138,82,.16);border-bottom:1px solid rgba(174,138,82,.16);padding:2.5rem 1.5rem}.heritage-inner{position:relative;z-index:1;max-width:760px;margin:0 auto}.heritage-copy h2{font-size:2.15rem;margin:0}.heritage-copy p{font-family:var(--serif);color:#39453f}.phase-note{font-family:var(--sans)!important;font-size:.9rem!important;color:var(--muted)!important;border-top:1px solid rgba(174,138,82,.3);padding-top:1rem;margin-top:1.4rem}.botanical-corner{position:absolute;font-size:8rem;color:rgba(174,138,82,.14);line-height:1}.botanical-corner.left{left:-1rem;bottom:-1rem;transform:rotate(-25deg)}.botanical-corner.right{right:-1rem;bottom:-1rem;transform:rotate(155deg)}
.info-placeholder{padding:2.4rem 1.5rem;max-width:900px;margin:0 auto}.info-placeholder+.info-placeholder{border-top:1px solid var(--line)}.info-placeholder h2{margin:.1rem 0 .7rem}.info-placeholder p:last-child{margin-bottom:0}.public-footer{background:var(--green-950);color:#fff;padding:1.35rem 1rem;text-align:center}.public-footer strong{font:400 1rem/1.3 var(--serif);display:block}.public-footer span{text-transform:uppercase;letter-spacing:.24em;font-size:.64rem;color:#d7c29d;display:flex;align-items:center;justify-content:center;gap:.65rem;margin-top:.6rem}
@media (min-width:760px){.public-header{padding:1rem max(2rem,calc((100vw - 1180px)/2))}.brand-name{font-size:1.08rem}.hero-content{padding-left:max(2rem,calc((100vw - 1180px)/2));}.search-shell,.search-state,.home-links{margin-left:auto;margin-right:auto}.search-form{display:grid;grid-template-columns:1fr 300px;column-gap:1rem}.search-control,.search-example{grid-column:1}.primary-button{grid-column:2;grid-row:1;align-self:stretch;height:62px}.data-status{margin-top:-.25rem}.home-links{grid-template-columns:repeat(3,1fr)}.feature-card{grid-template-columns:58px 1fr auto;padding:.9rem}.feature-card small{font-size:.82rem}.search-state{padding:0 0}.results-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.hero{min-height:610px}.hero-content{padding-top:5rem}.search-shell{padding:1.6rem 2rem}.record-detail{padding:1.6rem 2rem}.feature-card strong{font-size:1.15rem}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v24 homepage content pass */
.search-intro{max-width:850px;margin:1rem 0 0;color:#39453f;line-height:1.6}.search-source-note{margin:1rem .2rem 0;padding-top:.85rem;border-top:1px solid var(--line);font-size:.86rem;line-height:1.5;color:var(--muted)}
.content-section{padding:3rem 1.5rem;max-width:940px;margin:0 auto}.content-section+.content-section{border-top:1px solid var(--line)}.content-section h2{font:700 clamp(1.85rem,5vw,2.7rem)/1.18 var(--serif);color:var(--green-950);margin:.1rem 0}.content-section p{line-height:1.72}.section-lede{font:400 1.18rem/1.65 var(--serif);color:#2e4039;max-width:820px}.history-section{max-width:1080px}.history-grid{display:grid;gap:1rem;margin-top:1.6rem}.history-block{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:1.25rem 1.3rem;box-shadow:0 5px 16px rgba(35,48,40,.045)}.history-block h3{font:700 1.18rem/1.3 var(--serif);color:var(--green-950);margin:.05rem 0 .6rem}.history-block p{margin:0;color:#46514c}.history-details{margin-top:1.15rem;border:1px solid rgba(174,138,82,.38);border-radius:16px;background:#faf6ed;overflow:hidden}.history-details summary{cursor:pointer;padding:1rem 1.15rem;font:700 1rem/1.35 var(--serif);color:var(--green-950);list-style:none;position:relative}.history-details summary::-webkit-details-marker{display:none}.history-details summary:after{content:"+";position:absolute;right:1.15rem;top:.82rem;font:400 1.5rem/1 var(--sans);color:var(--gold)}.history-details[open] summary:after{content:"–"}.history-details-body{padding:0 1.15rem 1.1rem;border-top:1px solid rgba(174,138,82,.25)}.history-details-body p:last-child{margin-bottom:0}.find-section{max-width:940px}.find-steps{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;gap:.85rem}.find-steps li{display:grid;grid-template-columns:46px 1fr;gap:1rem;align-items:start;background:var(--white);border:1px solid var(--line);border-radius:16px;padding:1rem 1.1rem}.step-number{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--green-900);color:#fff;font:700 1rem/1 var(--serif)}.find-steps strong{font-family:var(--serif);color:var(--green-950)}.find-steps p{margin:.22rem 0 0;color:#56615c;line-height:1.5}.guidance-note{margin-top:1.25rem;padding:1.15rem 1.25rem;border-left:4px solid var(--gold);background:#f5efe4}.guidance-note strong{font-family:var(--serif);color:var(--green-950)}.guidance-note p{margin:.3rem 0 0;color:#4d5752}.heritage-copy .eyebrow{margin-bottom:.65rem}.closing-line{margin-top:1.45rem!important;padding-top:1.2rem;border-top:1px solid rgba(174,138,82,.34);font-weight:700!important;color:var(--green-950)!important}
@media (min-width:760px){.history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content-section{padding:4rem 2rem}.find-steps li{grid-template-columns:52px 1fr;padding:1.15rem 1.25rem}.step-number{width:46px;height:46px}.heritage-copy{padding:3.5rem 2rem}}

/* v34 — every major text section uses the same framed presentation as Search Cemetery Records */
.site-version{
  display:table;
  margin:.9rem auto .3rem;
  padding:.34rem .72rem;
  border:1px solid rgba(174,138,82,.72);
  border-radius:999px;
  background:#f7f1e5;
  color:var(--green-900);
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.055em;
  text-align:center;
}

/* Match the exact outer shell used by Search Cemetery Records on mobile. */
#about-copy.major-card,
#history-copy.major-card,
#find-copy.major-card,
#preserving.major-card{
  position:relative !important;
  z-index:2 !important;
  width:auto !important;
  max-width:1180px !important;
  margin:1.25rem 1rem !important;
  padding:1.4rem !important;
  background:rgba(255,253,249,.98) !important;
  border:1px solid rgba(222,215,202,.9) !important;
  border-radius:24px !important;
  box-shadow:var(--shadow) !important;
  overflow:hidden !important;
}

/* No second box inside About. The outer frame is the presentation. */
#about-copy.major-card .about-card{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* Keep headings and paragraphs comfortably inside the same frame. */
#about-copy.major-card .about-card > :first-child,
#history-copy.major-card > :first-child,
#find-copy.major-card > :first-child,
#preserving.major-card .heritage-inner > :first-child{
  margin-top:0 !important;
}
#about-copy.major-card .about-card > :last-child,
#history-copy.major-card > :last-child,
#find-copy.major-card > :last-child,
#preserving.major-card .heritage-inner > :last-child{
  margin-bottom:0 !important;
}
#about-copy.major-card p,
#history-copy.major-card p,
#find-copy.major-card p,
#preserving.major-card p{
  line-height:1.6 !important;
}

/* History becomes one clean framed text section instead of cards inside a card. */
#history-copy.major-card .history-grid{
  display:block !important;
  margin:1.35rem 0 0 !important;
}
#history-copy.major-card .history-block{
  margin:0 !important;
  padding:0 0 1.2rem !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
#history-copy.major-card .history-block + .history-block{
  padding-top:1.2rem !important;
  border-top:1px solid var(--line) !important;
}
#history-copy.major-card .history-block:last-child{
  padding-bottom:0 !important;
}
#history-copy.major-card .history-block h3{
  margin:0 0 .45rem !important;
}
#history-copy.major-card .history-block p{
  margin:0 !important;
}
#history-copy.major-card .history-details{
  margin-top:1.35rem !important;
}

/* Grave-finding instructions stay inside one continuous framed section. */
#find-copy.major-card .find-steps{
  display:block !important;
  margin:1.35rem 0 0 !important;
  padding:0 !important;
}
#find-copy.major-card .find-step{
  margin:0 !important;
  padding:0 0 1.1rem !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
#find-copy.major-card .find-step + .find-step{
  padding-top:1.1rem !important;
  border-top:1px solid var(--line) !important;
}
#find-copy.major-card .find-step:last-child{
  padding-bottom:0 !important;
}
#find-copy.major-card .find-step h3{
  margin:0 0 .3rem !important;
  font:700 1.12rem/1.3 var(--serif) !important;
  color:var(--green-950) !important;
}
#find-copy.major-card .find-step p{
  margin:0 !important;
  color:#56615c !important;
}
#find-copy.major-card .guidance-note{
  margin:1.35rem 0 0 !important;
  padding:1.15rem 0 0 !important;
  border:0 !important;
  border-top:1px solid var(--line) !important;
  background:transparent !important;
}

/* Preserving the Past now uses the same paper/card treatment and body type as Search. */
#preserving.major-card .heritage-inner{
  position:relative !important;
  z-index:1 !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
#preserving.major-card .botanical-corner{
  display:none !important;
}
#preserving.major-card p{
  font-family:var(--sans) !important;
  color:var(--body) !important;
}
#preserving.major-card .closing-line{
  color:var(--green-950) !important;
}

@media (min-width:760px){
  #about-copy.major-card,
  #history-copy.major-card,
  #find-copy.major-card,
  #preserving.major-card{
    margin:1.25rem auto !important;
    padding:1.4rem !important;
  }
}

@media (min-width:1000px){
  #about-copy.major-card,
  #history-copy.major-card,
  #find-copy.major-card,
  #preserving.major-card{
    padding:1.6rem 2rem !important;
  }
}
