/* ==========================================================================
   Thomas S. Lowther Funeral Home & Crematory — site styles
   Design: "Lowther FH Redesign 2026" mockups
   ========================================================================== */

:root {
  --navy: #1d3c63;
  --navy-deep: #132944;
  --navy-footer: #122b47;
  --navy-band: #16304f;
  --gold: #b08c3e;
  --gold-dark: #96762f;
  --gold-pale: #e3cf9f;
  --cream: #f8f4ec;
  --cream-dark: #f1e9d8;
  --cream-card: #fbf8f2;
  --blue-pale: #dde9f6;
  --blue-mist: #eef3fa;
  --text: #44546a;
  --text-soft: #5d6b7e;
  --heading: #1d3c63;
  --line: #e2dccd;
  --line-blue: #d5e0ee;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(19, 41, 66, 0.10);
  --shadow-soft: 0 6px 18px rgba(19, 41, 66, 0.07);
  --radius: 10px;
  --font-serif: "EB Garamond", "Georgia", serif;
  --font-sans: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* 17px base: scales every rem-based size up to match the 2026 mockups,
   where type and icons run larger relative to each section. */
html { scroll-behavior: smooth; font-size: 106.25%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 500;
}

p { margin: 0 0 1em; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }

ul { margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sprite-hidden { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 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;
}

.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 300;
  background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: 0 0 8px 8px; transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons / eyebrow / shared ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }

.btn-outline-gold { border-color: var(--gold); color: var(--gold-pale); background: transparent; }
.btn-outline-gold:hover { background: rgba(176, 140, 62, 0.18); color: #fff; }

.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-outline-light { border-color: rgba(255,255,255,0.75); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.14); color: #fff; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-band); color: #fff; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow-center { text-align: center; }

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 18px;
}
.section-title-center { text-align: center; }

.section-sub {
  max-width: 760px;
  margin: -6px auto 36px;
  text-align: center;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.learn-more:hover { color: var(--navy); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background:
    linear-gradient(180deg, #cfdef1 0%, #e8eff9 34%, #fdfdfc 100%);
  border-bottom: 1px solid rgba(213, 224, 238, 0.6);
  position: relative;
  z-index: 100;
}

.utility-bar { padding-top: 14px; }

.utility-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
}

.utility-nav { display: flex; gap: 26px; }

.utility-nav a {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.utility-nav a:hover { color: var(--gold-dark); }

.utility-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid rgba(29, 60, 99, 0.25);
  padding-left: 20px;
}

.utility-search input {
  width: 110px;
  border: 0;
  border-bottom: 1px solid rgba(29, 60, 99, 0.35);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--navy);
  padding: 2px 0;
  outline: none;
}
.utility-search input:focus { border-bottom-color: var(--gold); }

.utility-search button {
  background: none; border: 0; padding: 2px; cursor: pointer; color: var(--navy);
}
.utility-search button:hover { color: var(--gold-dark); }

.header-main {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 2px;
  padding-bottom: 14px;
}

.brand { margin-top: -26px; }
.brand img { width: 248px; height: auto; }

.main-nav { display: flex; align-items: center; flex: 1; }

.nav-list {
  display: flex;
  list-style: none;
  gap: 26px;
  align-items: center;
}

.nav-list-mobile-extra { display: none; }

.nav-link {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover { color: var(--gold-dark); }

.nav-link.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.phone-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-band);
  color: #fff;
  border-radius: 8px;
  padding: 10px 20px;
  box-shadow: var(--shadow-soft);
  margin-left: auto;
}
.phone-cta:hover { background: var(--navy); color: #fff; }

.phone-cta-icon { color: var(--gold-pale); }

.phone-cta-text { display: flex; flex-direction: column; line-height: 1.25; }
.phone-cta-number { font-weight: 800; font-size: 1.02rem; letter-spacing: 0.01em; white-space: nowrap; }
.phone-cta-sub { font-size: 0.74rem; opacity: 0.85; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.hamburger-bar {
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
}

.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Interior page hero
   ========================================================================== */

/* One hero band shared by every page, home included. The height is a hard
   430px (not min-height, no vertical padding) so the watercolor renders
   pixel-identically on every page regardless of how much text sits in it.
   hero-watercolor.jpg is the decorative band cropped from the customer's
   mockup (cream-to-blue watercolor with leaf flourishes and butterfly),
   pinned right so the butterfly stays visible at every viewport width. */
.page-hero,
.home-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 430px;
  background: url("assets/images/hero-watercolor.jpg?v=20261114") right center / cover no-repeat;
  background-color: var(--cream);
}

.page-hero .container,
.home-hero .container {
  position: relative;
  width: 100%;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 26px;
}
.breadcrumbs a { color: var(--text-soft); }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs [aria-current] { color: var(--navy); }

.page-hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  max-width: 620px;
  margin-bottom: 20px;
}

.page-hero-lead {
  max-width: 540px;
  font-size: 1.1rem;
  margin: 0;
}

/* ---------- Subnav band ---------- */

.subnav {
  background: var(--navy-band);
  position: sticky;
  top: 0;
  z-index: 90;
}

.subnav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.subnav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  gap: 14px;
}

.subnav-list a {
  color: #e8edf5;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}
.subnav-list a:hover { color: var(--gold-pale); }

.subnav-divider { color: rgba(255, 255, 255, 0.3); }

.subnav-cta { padding: 10px 20px; white-space: nowrap; }

/* ==========================================================================
   Homepage
   ========================================================================== */

/* The home hero band itself is styled with .page-hero above so the
   watercolor is identical on every page; only the content differs. */
.home-hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  margin-bottom: 18px;
}

.home-hero-lead {
  max-width: 500px;
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.home-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Trust bar ---------- */

.trust-bar { background: var(--navy-band); color: #fff; }

.trust-bar-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.35;
}

.trust-item svg { color: var(--gold-pale); width: 38px; height: 38px; }

.trust-divider { width: 1px; height: 54px; background: rgba(255, 255, 255, 0.22); }

/* ---------- Services ---------- */

.section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-cream-dark { background: var(--cream-dark); }
.section-mist { background: var(--blue-mist); }

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.section-cream .card, .section-cream-dark .card { background: var(--cream-card); }

.card-media img { width: 100%; height: 190px; object-fit: cover; }

.card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title { font-size: 1.55rem; margin-bottom: 10px; }

.card-text { font-size: 0.98rem; margin-bottom: 18px; }

.card .learn-more { margin-top: auto; }

/* ---------- Generations band ---------- */

/* Full-bleed banner photo that fades into the content area, per the 2026
   mockups (same treatment as the home "Planning Ahead" band). */
.generations {
  background:
    linear-gradient(0deg, rgba(241, 233, 216, 0.88), rgba(241, 233, 216, 0.88)),
    url("assets/images/hero-inner.png?v=20261114") right -80px center / 1200px no-repeat;
  background-color: var(--cream-dark);
  overflow: hidden;
}

.generations.section { padding: 0; }

.generations-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.generations-media {
  position: relative;
  /* Bleed to the viewport edge: (viewport - container)/2 + container padding. */
  margin-left: calc((min(1180px, 100vw) - 100vw) / 2 - 24px);
  min-height: 440px;
}

.generations-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
}

.generations-grid > div:last-child { align-self: center; padding: 64px 0; }

.timeline { list-style: none; margin: 26px 0 30px; position: relative; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--gold-pale);
}

.timeline li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  display: flex;
  gap: 18px;
  align-items: baseline;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream-dark);
  box-shadow: 0 0 0 2px var(--gold-pale);
}

.timeline-year {
  font-weight: 800;
  color: var(--navy);
  min-width: 56px;
  font-size: 0.92rem;
}

.timeline-event { font-size: 0.95rem; }

/* ---------- Why families choose ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-top: 46px;
}

.why-item { text-align: center; }

.why-item svg { color: var(--gold); margin: 0 auto 14px; }

.why-item > svg { width: 52px; height: 52px; }

.why-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-item p { font-size: 0.92rem; margin: 0; }

/* ---------- Watermark band (butterfly behind section content) ---------- */

.section-watermark { position: relative; overflow: hidden; }

.section-watermark::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -70px;
  width: 520px;
  height: 500px;
  background: var(--navy);
  -webkit-mask: url("assets/images/butterfly-footer.png?v=20261114") center / contain no-repeat;
  mask: url("assets/images/butterfly-footer.png?v=20261114") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.section-watermark > .container { position: relative; }

/* ---------- Recent obituaries ---------- */

.obit-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.obit-header .section-title { margin-bottom: 6px; }
.obit-header p { margin: 0; }

.obit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.obit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding-bottom: 20px;
}

.obit-card img { width: 100%; height: 180px; object-fit: cover; margin-bottom: 16px; }

.obit-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.obit-dates { font-size: 0.9rem; color: var(--text-soft); margin: 0; }

/* ---------- Planning CTA (home) ---------- */

.plan-cta {
  background:
    linear-gradient(90deg, var(--cream) 0%, var(--cream) 42%, rgba(248, 244, 236, 0) 75%),
    url("assets/images/plan-dock.jpg?v=20261114") right center / auto 100% no-repeat;
  background-color: var(--cream);
}

.plan-cta-content { max-width: 520px; padding: 26px 0; }

/* ==========================================================================
   Shared interior sections
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.split-media-flush img { border-radius: 0; box-shadow: none; }

.split-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }

.split-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Full-bleed photo band (photo one side, text other). The photo fills the
   banner height and fades into the content area. */

.photo-band { position: relative; overflow: hidden; }

.photo-band.section { padding: 0; }

.photo-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.photo-band-grid > :not(.photo-band-media) { align-self: center; padding: 64px 0; }

.photo-band-media {
  position: relative;
  margin-left: calc((min(1180px, 100vw) - 100vw) / 2 - 24px);
  min-height: 380px;
}

.photo-band-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
}

.photo-band-media-right { margin-left: 0; margin-right: calc((min(1180px, 100vw) - 100vw) / 2 - 24px); order: 2; }

.photo-band-media-right img {
  -webkit-mask-image: linear-gradient(270deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 70%, transparent 100%);
}

/* Navy band (About - Our Facility) */

.navy-band { background: var(--navy-band); color: #fff; }
.navy-band .eyebrow { color: var(--gold-pale); }
.navy-band h2, .navy-band h3 { color: #fff; }
.navy-band p { color: rgba(255, 255, 255, 0.88); }

/* ---------- CTA band ("Start the Conversation") ----------
   Banner-height photo on the right, fading into the content area,
   matching the Contact Us mockup. */

.cta-band { background: var(--cream-dark); overflow: hidden; }

.cta-band-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.cta-band-content { align-self: center; padding: 64px 0; }

.cta-band-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }

.cta-band-media {
  position: relative;
  margin-right: calc((min(1180px, 100vw) - 100vw) / 2 - 24px);
  min-height: 320px;
}

.cta-band-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(270deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 70%, transparent 100%);
}

/* ---------- FAQ ---------- */

.faq-section { padding: 72px 0; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin-top: 36px;
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  padding: 16px 2px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.faq-question:hover { color: var(--gold-dark); }

.faq-toggle-icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }

.faq-toggle-icon::before, .faq-toggle-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.2s;
}
.faq-toggle-icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-toggle-icon::after { left: 6px; top: 0; width: 2px; height: 14px; }

.faq-question[aria-expanded="true"] .faq-toggle-icon::after { transform: scaleY(0); }

.faq-answer { padding: 0 26px 18px 2px; font-size: 0.98rem; }

/* ==========================================================================
   About / Staff
   ========================================================================== */

.people-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.people-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.person-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.person-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center; }

.person-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

.person-name { font-size: 1.3rem; margin-bottom: 2px; }

.person-role {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.person-bio { font-size: 0.96rem; margin-bottom: 14px; }

.person-card .learn-more { margin-top: auto; }

.person-bio-full { font-size: 0.88rem; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.person-bio-full[hidden] { display: none; }

.lede-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 56px;
  align-items: center;
}

.lede-aside {
  border-left: 1px solid var(--line);
  padding-left: 36px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--navy);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-info-strip { background: var(--white); border-bottom: 1px solid var(--line); }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 46px 0;
}

.contact-info-item { text-align: left; display: grid; grid-template-rows: auto auto 1fr; justify-items: start; }

.contact-info-icon svg { width: 26px; height: 26px; }

.contact-info-icon {
  width: 64px; height: 64px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.contact-info-item h3 { font-size: 1.3rem; margin-bottom: 4px; }

.contact-info-item p { font-size: 0.92rem; margin-bottom: 6px; }

.contact-info-strong { font-size: 1.15rem; font-weight: 800; color: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.panel {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 38px;
}

.panel-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }

.form-field label { font-size: 0.88rem; font-weight: 700; color: var(--navy); }

.required-mark { color: #b3442e; }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid #d8d2c2;
  border-radius: 6px;
  padding: 11px 13px;
  outline: none;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 140, 62, 0.14);
}

.form-field textarea { min-height: 150px; resize: vertical; }

.form-actions { margin-top: 24px; }

.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 8px; font-size: 0.93rem; }
.form-status-success { background: #e8f2e4; color: #2d5a2a; border: 1px solid #bcd8b4; }
.form-status-error { background: #f8e8e4; color: #8a3324; border: 1px solid #e3bdb2; }

.map-frame {
  border: 0;
  width: 100%;
  height: 300px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  margin: 18px 0 22px;
}

.welcoming-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 26px; }

.welcoming-icon svg { width: 28px; height: 28px; }

.welcoming-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
}

.welcoming-note h3 { font-size: 1.25rem; margin-bottom: 6px; }
.welcoming-note p { font-size: 0.9rem; margin: 0; }

/* Contact closing band */

.contact-cta {
  background:
    linear-gradient(90deg, rgba(248, 244, 236, 0) 0%, var(--cream) 46%, var(--cream) 100%),
    url("assets/images/ct-dock.jpg?v=20261114") left center / 58% 100% no-repeat;
  background-color: var(--cream);
}

.contact-cta-content { max-width: 500px; margin-left: auto; padding: 40px 0; }

/* ==========================================================================
   Legal / article pages
   ========================================================================== */

.legal-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
}

.legal-article h2 {
  font-size: 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 34px;
}

.legal-article h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

.legal-article ul { list-style: none; margin: 0 0 1.2em; }

.legal-article ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
  font-size: 0.96rem;
}

.legal-article ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-contact-lines { display: grid; gap: 10px; margin: 18px 0; }

.legal-contact-lines span { display: inline-flex; align-items: center; gap: 10px; }
.legal-contact-lines svg { color: var(--gold-dark); }

.legal-updated { font-size: 0.84rem; color: var(--text-soft); margin-top: 26px; }

.legal-aside { position: sticky; top: 84px; display: grid; gap: 26px; }

.toc-card, .ask-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.toc-card h2 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.toc-card ol { list-style: none; margin: 0; padding: 0; }

.toc-card li { border-bottom: 1px solid var(--line); }
.toc-card li:last-child { border-bottom: 0; }

.toc-card a {
  display: block;
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--text);
}
.toc-card a:hover { color: var(--gold-dark); }

.ask-card h2 { font-size: 1.5rem; margin-bottom: 10px; }
.ask-card p { font-size: 0.92rem; }

/* Accessibility features list */

.feature-list { display: grid; gap: 8px; margin: 0 0 1.4em; }

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.feature-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}

.feature-item h3 { font-size: 1.25rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.93rem; margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--navy-footer);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.footer-butterfly {
  position: absolute;
  right: -30px;
  bottom: -60px;
  width: 440px;
  height: 426px;
  background: url("assets/images/butterfly-footer.png?v=20261114") center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 34px;
}

.footer-brand img { width: 224px; height: auto; }

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  align-items: flex-start;
}

.footer-info-item { display: flex; gap: 14px; align-items: flex-start; }

.footer-info-item svg { color: var(--gold-pale); margin-top: 4px; width: 24px; height: 24px; }

.footer-info-item p { margin: 0; font-size: 1.04rem; line-height: 1.6; }

.footer-info-item a { color: #fff; }
.footer-info-item a:hover { color: var(--gold-pale); }

.footer-info-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.96rem;
  color: var(--gold-pale) !important;
  margin-top: 4px;
}
.footer-info-link:hover { color: #fff !important; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px 0;
}

.footer-nav a { color: rgba(255, 255, 255, 0.8); font-size: 1rem; }
.footer-nav a:hover { color: var(--gold-pale); }

.sub-footer { border-top: 1px solid rgba(255, 255, 255, 0.14); }

.sub-footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-top: 18px;
  padding-bottom: 20px;
}

.copyright-text, .footer-legal-nav { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin: 0; }

.footer-legal-nav { display: flex; gap: 12px; }
.footer-legal-nav a { color: rgba(255, 255, 255, 0.75); }
.footer-legal-nav a:hover { color: var(--gold-pale); }

.footer-tradition {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-pale);
  margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1240px) {
  .nav-list { gap: 16px; }
  .nav-link { font-size: 0.96rem; }
  .brand img { width: 210px; }
  .phone-cta { padding: 9px 14px; }
}

@media (max-width: 1080px) {
  .nav-list { gap: 14px; }
  .brand img { width: 190px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .obit-row { grid-template-columns: repeat(2, 1fr); }
  .people-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .utility-nav { display: none; }
  .utility-search { border-left: 0; padding-left: 0; }
  .utility-bar { padding-top: 10px; }

  .header-main { flex-wrap: wrap; gap: 14px; }
  .brand { margin-top: -18px; }
  .brand img { width: 180px; }

  .mobile-toggle { display: flex; order: 3; margin-left: 6px; }
  .phone-cta { order: 2; margin-left: auto; padding: 8px 14px; }
  .phone-cta-sub { display: none; }

  .main-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid var(--line-blue);
    padding: 12px 0 16px;
  }

  .main-nav.open { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list-mobile-extra { display: flex; border-top: 1px solid var(--line-blue); margin-top: 8px; padding-top: 8px; }

  .nav-item { width: 100%; }
  .nav-link { display: block; padding: 10px 4px; border-bottom: 0; }
  .nav-link.active { border-bottom: 0; }

  .subnav { position: static; }
  .subnav-container { flex-direction: column; align-items: flex-start; gap: 12px; }

  .split, .generations-grid, .lede-grid, .photo-band-grid,
  .cta-band-container, .contact-grid, .legal-layout { grid-template-columns: 1fr; }

  .legal-aside { position: static; }

  /* Small screens: let the band grow if a long lead needs it (text must
     never clip), but keep the same floor height on every page. */
  .page-hero, .home-hero { height: auto; min-height: 430px; padding: 36px 0; }

  .photo-band-media { margin: 0 calc(50% - 50vw); min-height: 260px; }
  .photo-band-media-right { order: 0; }

  /* Stacked layout: the banner photo sits above the text, so fade its
     bottom edge into the content instead of its side. */
  .photo-band-media img,
  .photo-band-media-right img {
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .photo-band-grid { gap: 0; }
  .photo-band-grid > :not(.photo-band-media) { padding: 10px 0 52px; }

  .generations-media { margin: 0 calc(50% - 50vw); min-height: 280px; }
  .generations-media img {
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .generations-grid { gap: 0; }
  .generations-grid > div:last-child { padding: 10px 0 52px; }

  .cta-band-container { gap: 0; }
  .cta-band-content { padding: 48px 0 10px; }
  .cta-band-media { margin: 0 calc(50% - 50vw); min-height: 240px; }
  .cta-band-media img {
    -webkit-mask-image: linear-gradient(0deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(0deg, #000 72%, transparent 100%);
  }

  .trust-bar-container { grid-template-columns: 1fr; gap: 18px; }
  .trust-divider { display: none; }

  .faq-grid { grid-template-columns: 1fr; gap: 0; }

  .people-grid-3 { grid-template-columns: 1fr; }

  .plan-cta, .contact-cta { background-image: none; }

  .obit-header { flex-direction: column; align-items: flex-start; }

  .lede-aside { border-left: 0; padding-left: 0; }
}

@media (max-width: 560px) {
  .cards-4, .cards-3, .obit-row, .people-grid-4,
  .contact-info-grid, .why-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 30px; }
  .sub-footer-container { flex-direction: column; align-items: flex-start; }
}
