/* ==========================================================================
   VEA FUNERAL HOME — premium design layer
   Loaded AFTER style.css; refines and re-themes the whole site.
   Type: Fraunces (display) · Inter (body) · Raleway (accents/kickers)
   Palette: ink black · warm paper · ivory · fine sand lines
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --ink: #0B0B0C;
  --paper: #FBFAF7;
  --ivory: #F3F0EA;
  --line: #E5E0D8;
  --muted: #7C766D;
  --sand: #CFC9BE;

  /* re-theme tokens consumed by style.css */
  --grey-bg: var(--ivory);
  --grey-line: var(--line);
  --grey-mid: var(--muted);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Raleway", "Inter", sans-serif;
}

::selection { background: var(--ink); color: #fff; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[id] { scroll-margin-top: 120px; }
img { border-radius: 0; }

/* --------------------------------------------------------------- type */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.42rem); margin-bottom: .6rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--font-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: 0 0 auto;
}
.kicker.center { display: flex; justify-content: center; }
.kicker.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex: 0 0 auto;
}
.kicker.light { color: var(--sand); }

.sec-head { margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem); }
.sec-head.center { text-align: center; }
.sec-lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 700px; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------- layout */
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-grey { background: var(--ivory); }
.section-dark { background: var(--ink); color: #CFC9C0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark strong { color: #fff; }
.section-dark a { color: #fff; }

/* ------------------------------------------------------------- motion */
[data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity .85s cubic-bezier(.22, .61, .36, 1) var(--rd, 0s),
    translate .85s cubic-bezier(.22, .61, .36, 1) var(--rd, 0s);
}
[data-reveal].in { opacity: 1; translate: 0 0; }

@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].in { opacity: 1; translate: none; transition: none; }
  .hero-media, .hero-inner > *, .hero-scroll::after, .tab-panel.active { animation: none !important; }
  .hero-inner > * { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------- header */
.site-header {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 22px 46px -28px rgba(0, 0, 0, .8); }
.topbar { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar-inner {
  padding: .55rem 1.25rem;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #98938B;
}
.topbar-phone { color: #fff; font-weight: 700; letter-spacing: .12em; }
.topbar-tagline { display: block; }
.topbar-links { gap: 1.4rem; }
.topbar-links a { color: #98938B; }
.topbar-links a:hover { color: #fff; text-decoration: none; }

.header-inner { padding: 1.05rem 1.25rem; gap: 1.6rem; }
.brand { gap: .9rem; }
.brand img { width: 48px; height: 48px; }
.brand-text {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .2em;
  color: #fff;
}
.brand-text small { letter-spacing: .34em; font-size: .6rem; color: #8F8A82; margin-top: .18rem; }

.main-nav { flex: 1; justify-content: center; gap: 1.7rem; }
.main-nav a {
  position: relative;
  color: #D3CEC6;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .5rem 0;
  white-space: nowrap;
  border-bottom: 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; text-decoration: none; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-cta { flex: 0 0 auto; }
.nav-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 2.1rem;
  font-family: var(--font-body);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease,
              border-color .25s ease, transform .25s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #2A2A2B; border-color: #2A2A2B; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-sm { padding: .62rem 1.3rem; font-size: .66rem; letter-spacing: .15em; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: .76rem; }
.arr { display: inline-block; transition: transform .25s ease; }
.card-cta:hover .arr, .btn:hover .arr { transform: translateX(4px); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92vh, 860px);
  text-align: left;
  padding: 0;
  background: #080808;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 38%;
  animation: heroZoom 26s ease-out forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 7, .66) 0%,
    rgba(6, 6, 7, .34) 40%,
    rgba(6, 6, 7, .58) 70%,
    rgba(6, 6, 7, .92) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(7rem, 14vh, 10rem) 1.25rem clamp(6rem, 12vh, 8rem);
}
.hero .kicker { color: var(--sand); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  max-width: 16ch;
  margin-bottom: 1.4rem;
}
.hero-inner p { color: #D8D2C8; font-size: clamp(1.02rem, 1.4vw, 1.22rem); max-width: 600px; margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; justify-content: flex-start; }
.hero-inner > * {
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn .95s cubic-bezier(.22, .61, .36, 1) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: .15s; }
.hero-inner > *:nth-child(2) { animation-delay: .3s; }
.hero-inner > *:nth-child(3) { animation-delay: .45s; }
.hero-inner > *:nth-child(4) { animation-delay: .6s; }
.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 74px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.hero-scroll::after {
  content: "";
  position: absolute;
  left: 0;
  top: -45%;
  width: 100%;
  height: 45%;
  background: #fff;
  animation: scrollHint 2.4s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.01); } }
@keyframes scrollHint { 0% { top: -45%; } 65% { top: 105%; } 100% { top: 105%; } }

/* ----------------------------------------------------------- page hero */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  text-align: left;
  padding: clamp(3.4rem, 6vw, 4.8rem) 0 clamp(3.4rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1400px 620px at 8% -12%, rgba(255, 255, 255, .07), transparent 68%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.page-hero p { color: #C6C0B7; max-width: 680px; font-size: clamp(1rem, 1.3vw, 1.13rem); margin: 0; }
.page-hero .hero-cta { margin-top: 2.2rem; }

/* ----------------------------------------------------------- stat strip */
.stat-strip { background: #0A0A0B; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.stat-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(1.9rem, 3.4vw, 2.9rem) 1rem;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .08);
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -0.01em;
  color: #fff;
}
.stat span {
  display: block;
  margin-top: .4rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #98938B;
}

/* ------------------------------------------------------------- welcome */
.welcome .split { grid-template-columns: minmax(320px, 440px) 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); }
.welcome .split-img img { width: 100%; border: 1px solid rgba(255, 255, 255, .16); }
.welcome .kicker { color: var(--sand); }
.welcome h2 { color: #fff; }
.welcome p { color: #fff; }

/* --------------------------------------------------------------- cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 11, 12, .04);
  transition:
    translate .5s cubic-bezier(.22, .61, .36, 1) var(--rd, 0s),
    box-shadow .5s ease,
    border-color .5s ease,
    opacity .85s cubic-bezier(.22, .61, .36, 1) var(--rd, 0s),
    transform .5s cubic-bezier(.22, .61, .36, 1);
}
.card:hover {
  translate: 0 -6px;
  border-color: var(--sand);
  box-shadow: 0 34px 62px -38px rgba(11, 11, 12, .45);
}
.cards-4 .card, .cards-3 .card { display: flex; flex-direction: column; }
.card img {
  width: calc(100% + 3.5rem);
  max-width: none;
  margin: -1.75rem -1.75rem 1.35rem;
  height: 215px;
  object-fit: cover;
  border-radius: 0;
  transition: transform .9s cubic-bezier(.22, .61, .36, 1);
}
/* let the photo dissolve into the card instead of ending on a hard edge */
.cards-4 .card img,
.cards-3 .card img {
  -webkit-mask-image: linear-gradient(180deg, #000 76%, rgba(0, 0, 0, .3) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 76%, rgba(0, 0, 0, .3) 93%, transparent 100%);
}
.cards-4 .card:hover img, .cards-3 .card:hover img { transform: scale(1.05); }
.team-card img { height: 340px; object-position: center top; }

/* service cards carry a quiet index number above the title */
.cards-4 { counter-reset: svc; }
.cards-4 .card h3 {
  counter-increment: svc;
  font-size: clamp(1.2rem, 1.6vw, 1.34rem);
  line-height: 1.24;
  margin-top: 0;
  margin-bottom: .7rem;
}
.cards-4 .card h3::before {
  content: counter(svc, decimal-leading-zero);
  display: block;
  margin-bottom: .45rem;
  font-family: var(--font-accent);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--muted);
}
.cards-4 .card p { margin-bottom: 0; }
.card h3 { margin-top: .1rem; }
.card p { color: #6B655D; font-size: .95rem; line-height: 1.72; }
.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  width: 100%;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.card-cta .arr {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: .82rem;
  line-height: 1;
  transition:
    background-color .3s ease,
    border-color .3s ease,
    color .3s ease,
    transform .3s ease;
}
.card-cta:hover { text-decoration: none; color: var(--ink); }
.card-cta:hover .arr,
.card:hover .card-cta .arr,
.card:focus-within .card-cta .arr {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateX(3px);
}
.role {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}

/* ------------------------------------------------------------ providers */
.providers-label {
  margin: clamp(3rem, 5vw, 4.2rem) 0 .5rem;
  text-align: center;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.providers-note {
  margin: 0 0 clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
}
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  gap: .9rem;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: 1.8rem 1rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  color: var(--text);
  text-decoration: none;
  transition:
    translate .5s cubic-bezier(.22, .61, .36, 1) var(--rd, 0s),
    box-shadow .5s ease,
    border-color .35s ease,
    opacity .85s cubic-bezier(.22, .61, .36, 1) var(--rd, 0s);
}
.partner-card:hover,
.partner-card:focus-visible {
  translate: 0 -5px;
  border-color: var(--sand);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .35);
  text-decoration: none;
}
.partner-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.partner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.partner-icon svg { display: block; width: 25px; height: 25px; }
.partner-card:hover .partner-icon,
.partner-card:focus-visible .partner-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.partner-name {
  margin-top: .3rem;
  font-family: var(--font-accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink);
}
.partner-phone {
  font-size: .84rem;
  color: var(--muted);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  transition: color .35s ease;
}
.partner-card:hover .partner-phone,
.partner-card:focus-visible .partner-phone { color: var(--ink); }
@media (max-width: 560px) {
  .providers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { padding: 1.35rem .75rem 1.15rem; }
  .partner-icon { width: 46px; height: 46px; }
  .partner-icon svg { width: 22px; height: 22px; }
}

/* ----------------------------------------------------------------- tabs */
.tab-buttons {
  gap: clamp(1.6rem, 4vw, 3.6rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
  padding: 0;
}
.tab-btn {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  margin-bottom: -1px;
  padding: .9rem .2rem;
  font-family: var(--font-accent);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--muted);
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { background: none; border-color: var(--ink); color: var(--ink); }
.tab-panel .split { gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.tab-panel img { width: 100%; height: clamp(320px, 42vw, 510px); object-fit: cover; border-radius: 0; }
.tab-panel h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.tab-panel.active { animation: fadeUp .55s cubic-bezier(.22, .61, .36, 1) both; }

/* ----------------------------------------------------------- assistance */
.assistance {
  background: var(--ink);
  padding: clamp(4rem, 7vw, 6.2rem) 0;
  position: relative;
  overflow: hidden;
}
.assistance::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1100px 380px at 88% 12%, rgba(255, 255, 255, .07), transparent 62%);
}
.assistance-inner { position: relative; z-index: 1; gap: 2.5rem; }
.assistance h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); margin-bottom: .4rem; }
.assistance p {
  color: var(--sand);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.assistance-phone {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  letter-spacing: -0.01em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding-bottom: .25rem;
  transition: border-color .3s ease;
}
.assistance-phone:hover { text-decoration: none; border-color: #fff; }

/* ------------------------------------------------------------- location */
.cards-2 .card { padding: 2rem 2.2rem 2.2rem; }
.cards-2 .card h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.cards-2 .card p { margin-bottom: 0; }
.map-wrap { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.map-wrap iframe {
  height: clamp(320px, 40vw, 460px);
  border: 1px solid var(--line);
  border-radius: 0;
  filter: grayscale(1) contrast(1.03);
}

/* ---------------------------------------------------------------- forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], select, textarea {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: .85rem 1rem;
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 11, 12, .07);
}
label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6B665E;
}
label input, label select, label textarea { margin-top: .45rem; }
.option-list label, .checkline, .checkline label, .coupon-label, .coupon-label label {
  text-transform: none;
  letter-spacing: 0;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
}
.option-list label { justify-content: flex-start; flex-wrap: wrap; }
.option-list .opt-price { margin-left: auto; padding-left: 1rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); }
.contact-form { border-radius: 0; padding: clamp(1.8rem, 3vw, 2.7rem); }
.form-grid { gap: 0 1.4rem; }

/* ---------------------------------------------------------------- flash */
.flash { border-radius: 0; }

/* ----------------------------------------------------------------- shop */
.breadcrumb { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cat-nav a {
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #5F5A53;
  background: #fff;
  border-color: var(--line);
}
.cat-nav a:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.cat-nav a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.products-grid { gap: 1.6rem; }
.product-card {
  text-align: left;
  padding: 1.5rem 1.5rem 1.75rem;
}
.product-card a:not(.btn) { color: inherit; }
.product-card a:not(.btn):hover { text-decoration: none; }
.product-card img {
  width: calc(100% + 3rem);
  margin: -1.5rem -1.5rem 1.2rem;
  height: 230px;
  padding: 1.6rem;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid var(--line);
  mix-blend-mode: multiply;
}
.product-card:hover img { transform: none; }
.product-card .product-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-top: 0;
}
.product-card .price { display: block; margin: .35rem 0 .9rem; }
.product-card .btn { align-self: flex-start; margin-top: auto; }
.product-detail { gap: clamp(2.5rem, 5vw, 4.5rem); }
.product-gallery img {
  width: 100%;
  background: var(--ivory);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 0;
  mix-blend-mode: multiply;
}
.product-info .product-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.product-info p { color: #5F5A53; }
.price.big { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); }
.add-form { gap: 1.2rem; }

/* --------------------------------------------------------- cart etc. */
.cart-table th { background: var(--ivory); letter-spacing: .12em; font-size: .72rem; }
.cart-table th, .cart-table td { border-bottom: 1px solid var(--line); }
.cart-thumb { border-radius: 0; background: var(--ivory); }
.cart-totals td { border-bottom: 1px solid var(--line); }
.order-review { border-radius: 0; border: 1px solid var(--line); background: var(--ivory); }
.order-review th, .order-review td { border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------- quotes */
.quote-block { border-radius: 0; }
.quote-totals { background: var(--ink); border-radius: 0; }
.quote-totals td { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.quote-banner {
  max-width: 860px;
  margin: 0 auto 2.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.quote-banner h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: .3rem; }
.quote-banner .package-total { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: .7rem; }
.quote-banner p:last-child { margin-bottom: 0; color: #5F5A53; }

/* ------------------------------------------------------------ packages */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: .5rem; }
.package-card { padding: 2rem 2rem 2.2rem; display: flex; flex-direction: column; }
.package-card h3 { font-size: 1.18rem; }
.casket-tag {
  display: block;
  margin-top: .35rem;
  font-family: var(--font-accent);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.package-total {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  color: var(--ink);
  margin: 1rem 0 1.3rem;
}
.checklist { list-style: none; margin: 0 0 1.8rem; padding: 0; }
.checklist li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  color: #5F5A53;
}
.checklist li:last-child { border-bottom: 0; }
.package-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------------------------------------------------- bio / legal / misc */
.bio {
  grid-template-columns: minmax(280px, 400px) 1fr;
  border-radius: 0;
  padding: 0;
  border: 1px solid var(--line);
  overflow: hidden;
}
.bio img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 0; }
.bio > div { padding: clamp(1.8rem, 3vw, 3rem); }
.bio h2 { margin-bottom: .4rem; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 2.4rem; }
.empty-state.ok { border-radius: 0; }

/* --------------------------------------------------------------- footer */
.site-footer {
  background: #070708;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: clamp(3.5rem, 6vw, 5rem) 0 0;
  font-size: .9rem;
  color: #A39D94;
}
.footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.footer-brand { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.01em; color: #fff; margin-bottom: .7rem; }
.site-footer h2 { font-family: var(--font-accent); font-size: .68rem; font-weight: 700; letter-spacing: .26em; color: #8F8A82; margin-bottom: 1.2rem; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #C7C1B8; }
.site-footer a:hover { color: #fff; }
.footer-note { margin-top: 1rem; font-size: .8rem; color: #8F8A82; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.5rem 1.25rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: #8F8A82;
}
.footer-credit {
  padding: 0 1.25rem 1.6rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: #8F8A82;
  text-align: center;
}
.footer-credit a { color: #C7C1B8; }
.footer-credit a:hover { color: #fff; }

/* ------------------------------------------------------------ responsive */
/* Compound selectors below out-specific the media rules in style.css, so they
   need their own collapse here (premium.css loads after style.css). */
@media (max-width: 1000px) {
  .welcome .split { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .topbar-tagline { display: none; }
  .main-nav { gap: 1.2rem; }
  .main-nav a { letter-spacing: .12em; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 980px) {
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .68rem; letter-spacing: .1em; }
  .brand-text { font-size: .84rem; }
}
@media (max-width: 860px) {
  .header-inner { padding: .85rem 1.25rem; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem 1.5rem 1rem;
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .95rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; }
  .hero h1 { max-width: none; }
  .packages-grid { grid-template-columns: 1fr; }
  /* comfortable tap targets for click-to-dial */
  .topbar-phone { padding: .65rem 0; margin: -.65rem 0; }
  .site-footer a[href^="tel:"],
  .section-dark a[href^="tel:"] { padding: .65rem 0; }
}
@media (max-width: 760px) {
  .hero { min-height: 82vh; }
  .hero-inner { padding: 6rem 1.25rem 5rem; }
  .hero-scroll { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .assistance-inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Cost & funding pages (funeral-costs, help-paying)
   ========================================================================== */
.cost-highlight {
  margin: 0 auto 2.25rem;
  max-width: 620px;
  padding: 1.6rem 1.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}
.cost-total-line { margin: 0; }
.cost-total-amount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.cost-total-note { display: block; margin-top: .4rem; color: var(--muted); font-size: .95rem; }
.cost-note { color: var(--muted); font-size: .9rem; }
.cost-note.center { text-align: center; }
.cost-source { color: var(--muted); font-size: .82rem; text-align: center; margin-top: .9rem; }

.cost-table {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.cost-table caption {
  caption-side: top;
  padding: .9rem 1.1rem;
  color: var(--muted);
  font-size: .85rem;
  text-align: left;
}
.cost-table th, .cost-table td { padding: .8rem 1.1rem; text-align: left; }
.cost-table tbody tr + tr { border-top: 1px solid var(--line); }
.cost-table th { font-weight: 600; }
.cost-table td { text-align: right; white-space: nowrap; }
.cost-table thead th {
  background: var(--ivory);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cost-table thead th + th { text-align: right; }
.cost-table-total th, .cost-table-total td {
  border-top: 2px solid var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.extras-card h3 { margin-top: 0; }
.extras-note { color: var(--muted); font-size: .85rem; }

.range-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}
.range-card h2 { margin: .9rem 0 .3rem; font-size: 1.15rem; }
.range-finish { color: var(--muted); font-size: .9rem; margin: 0 0 .4rem; }
.range-price { font-weight: 700; margin: 0 0 1rem; }
.range-summary {
  color: var(--muted);
  margin-bottom: 1.6rem;
  letter-spacing: .02em;
}
.package-table th, .package-table td { text-align: left; }
.package-table td { white-space: nowrap; }
.package-table tbody th { font-weight: 600; }
.package-table { min-width: 560px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.product-meta { list-style: none; padding: 0; margin: 0 0 1rem; max-width: 420px; }
.product-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.product-meta li span:first-child { color: var(--muted); }
.product-note { color: var(--muted); font-size: .9rem; }

.faq-list { max-width: 760px; margin: 0 auto; }
.legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.faq-list dt { font-weight: 700; font-size: 1.05rem; margin-top: 1.6rem; }
.faq-list dd { margin: .5rem 0 0; color: var(--muted); }

.plain-list { padding-left: 1.2rem; }
.plain-list li { margin: .45rem 0; }

.sources-block h2 { margin-top: 0; }
.sources-list { padding-left: 1.2rem; }
.sources-list li { margin: .5rem 0; }
.sources-as-at { color: var(--muted); font-size: .85rem; }
.sources-reviewed { color: var(--muted); font-size: .85rem; margin-top: 1.2rem; }

@media (max-width: 860px) {
  .extras-grid { grid-template-columns: 1fr; }
  .cost-table th, .cost-table td { padding: .7rem .8rem; }
  .cost-table td { white-space: normal; }
}
