/* MemorialHub — minimal, clean, responsive
   Replace colors/brand easily in :root.
*/
:root{
  --bg: #0b0f14;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.55);
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 26px;
  --primary: #7c5cff;
  --primary2: #22d3ee;
  --good: #5eead4;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 400px at 75% 10%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(700px 380px at 20% 20%, rgba(34,211,238,.18), transparent 58%),
    linear-gradient(180deg, #06080b 0%, var(--bg) 40%, #06080b 100%);
  line-height:1.55;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:18px; top:18px; width:auto; height:auto;
  padding:10px 12px; border-radius:12px;
  background:rgba(255,255,255,.1); border:1px solid var(--border);
  z-index:9999;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(6,8,11,.55);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  height:66px;
}
.brand{display:flex; gap:10px; align-items:center; font-weight:800; letter-spacing:.2px}
.brand__mark{
  width:34px; height:34px; display:grid; place-items:center;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(124,92,255,.55), rgba(34,211,238,.35));
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.brand__text--light{font-weight:700; color:rgba(255,255,255,.78)}

.nav{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.nav__link{
  padding:9px 9px; border-radius:12px; color:var(--muted);
  border:1px solid transparent;
  font-size:13.5px;
}
.nav__link:hover{border-color:var(--border); color:var(--text); background:rgba(255,255,255,.04)}
.nav__cta{
  padding:10px 14px; border-radius:14px;
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(34,211,238,.75));
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 40px rgba(124,92,255,.18);
  font-weight:800;
}

/* Mobile nav */
.nav-toggle{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}
.nav-toggle__bar{
  display:block;
  width:18px; height:2px; margin:4px auto;
  background:rgba(255,255,255,.82);
  border-radius:2px;
}

@media (max-width: 860px){
  .nav-toggle{display:inline-block}
  .nav{
    position:fixed; inset:66px 14px auto 14px;
    display:none; flex-direction:column; align-items:stretch;
    padding:14px; border-radius:18px;
    background: rgba(10,14,19,.92);
    border:1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav.is-open{display:flex}
  .nav__link{padding:12px 12px}
  .nav__cta{display:block; text-align:center}
}

/* Sections */
.section{padding:70px 0}
.section--alt{
  background: radial-gradient(650px 240px at 20% 10%, rgba(255,255,255,.05), transparent 60%);
}
.section__head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:18px;
  margin-bottom:22px;
}
.section__head h2{margin:0; font-size:34px; letter-spacing:-.4px}
.muted{color:var(--muted)}
.note{color:var(--muted2); font-size:13px; margin-top:10px}

/* Hero */
.hero{padding:74px 0 56px}
.hero__inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:28px;
  align-items:center;
}
.hero__badge{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--border);
  color:var(--muted);
  font-weight:600;
}
.dot{
  width:8px; height:8px; border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 0 0 6px rgba(124,92,255,.14);
}
.hero h1{
  margin:16px 0 10px;
  font-size:52px; line-height:1.06;
  letter-spacing:-.9px;
}
.gradient{
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(34,211,238,1));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero__lead{margin:0; color:var(--muted); font-size:16.5px}
.hero__actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.btn{
  display:inline-flex; justify-content:center; align-items:center; gap:10px;
  padding:12px 16px; border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-weight:800;
}
.btn--primary{
  background: linear-gradient(135deg, rgba(124,92,255,.96), rgba(34,211,238,.72));
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 16px 50px rgba(124,92,255,.16);
}
.btn--ghost:hover{background: rgba(255,255,255,.07)}
.btn--block{width:100%}

.hero__stats{
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:12px; margin-top:20px;
}
.stat{
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
}
.stat__num{font-weight:900}
.stat__label{color:var(--muted); font-size:13px}

.hero__visual{position:relative; min-height:340px}
.hero__shape{
  position:absolute; inset:-20px -10px -20px -10px;
  border-radius: 34px;
  background:
    radial-gradient(420px 240px at 60% 20%, rgba(124,92,255,.22), transparent 58%),
    radial-gradient(380px 240px at 20% 60%, rgba(34,211,238,.18), transparent 58%),
    rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.1);
  filter: blur(.0px);
}

.card.glass{
  position:relative;
  z-index:2;
  padding:18px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(10,14,19,.70);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.card__title{font-weight:900; margin-bottom:10px}
.chip-row{display:flex; flex-wrap:wrap; gap:8px}
.chip{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.78);
  background: rgba(255,255,255,.03);
  font-size:12px;
  font-weight:700;
}
.mock{margin-top:14px}
.mock__line{
  height:10px; border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  margin:10px 0;
}
.w-80{width:80%} .w-65{width:65%} .w-55{width:55%} .w-40{width:40%}
.card__footer{display:flex; gap:8px; margin-top:12px; flex-wrap:wrap}
.badge{
  padding:6px 10px; border-radius:999px;
  background: rgba(94,234,212,.08);
  border:1px solid rgba(94,234,212,.18);
  color:rgba(94,234,212,.9);
  font-weight:800;
  font-size:12px;
}

@media (max-width: 980px){
  .hero__inner{grid-template-columns:1fr}
  .hero h1{font-size:44px}
  .hero__visual{min-height:300px}
}
@media (max-width: 540px){
  .hero h1{font-size:38px}
  .hero__stats{grid-template-columns:1fr}
}

/* Grid blocks */
.grid{display:grid; gap:14px}
.grid--3{grid-template-columns:repeat(3, 1fr)}
@media (max-width: 980px){
  .grid--3{grid-template-columns:1fr}
  .section__head{flex-direction:column; align-items:flex-start}
}

/* Feature cards */
.feature{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
}
.feature__icon{
  width:42px; height:42px; border-radius:14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  margin-bottom:10px;
}
.feature__icon img{
  width:24px;
  height:24px;
  display:block;
}
.feature h3{margin:0 0 6px; font-size:18px}
.feature p{margin:0; color:var(--muted)}

/* Trust row */
.trust{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px; margin-top:16px;
}
.trust__item{
  padding:14px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
}
.trust__k{font-weight:900}
.trust__v{color:var(--muted); font-size:13px}
@media (max-width: 980px){
  .trust{grid-template-columns:1fr 1fr}
}
@media (max-width: 540px){
  .trust{grid-template-columns:1fr}
}

/* Steps */
.steps{list-style:none; margin:0; padding:0; display:grid; gap:12px}
.step{
  display:grid; grid-template-columns: 42px 1fr;
  gap:14px;
  padding:16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
}
.step__num{
  width:42px; height:42px;
  border-radius:14px;
  display:grid; place-items:center;
  font-weight:900;
  background: rgba(124,92,255,.16);
  border:1px solid rgba(124,92,255,.26);
}
.step h3{margin:0 0 6px; font-size:18px}
.step p{margin:0; color:var(--muted)}

/* Plans */
.plan{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
}
.plan__head{margin-bottom:10px}
.plan__head h3{margin:0}
.plan__tag{margin:6px 0 0; color:var(--muted); font-weight:700}
.plan--highlight{
  background:
    radial-gradient(520px 220px at 20% 10%, rgba(124,92,255,.18), transparent 60%),
    rgba(255,255,255,.05);
  border-color: rgba(124,92,255,.22);
}
.plan__note{margin:10px 0 0; color:var(--muted2); font-size:12.5px}
.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:8px 0}
.list--check{padding-left:0; list-style:none}
.list--check li{
  position:relative;
  padding-left:28px;
  margin:10px 0;
}
.list--check li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  width:20px; height:20px;
  display:grid; place-items:center;
  border-radius:999px;
  background: rgba(94,234,212,.10);
  border:1px solid rgba(94,234,212,.18);
  color:rgba(94,234,212,.92);
  font-weight:900;
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}
.shot{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.shot img{width:100%; height:auto}
.shot figcaption{
  padding:10px 12px;
  color:var(--muted);
  font-size:13px;
}
@media (max-width: 980px){
  .gallery{grid-template-columns:1fr 1fr}
}
@media (max-width: 540px){
  .gallery{grid-template-columns:1fr}
}

/* Callout */
.callout{
  margin-top:16px;
  display:flex; justify-content:space-between; align-items:center;
  gap:16px;
  padding:18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
.callout h3{margin:0 0 6px}
.callout p{margin:0; color:var(--muted)}
@media (max-width: 860px){
  .callout{flex-direction:column; align-items:flex-start}
}

/* Accordion */
.accordion{display:grid; gap:10px}
.acc{
  padding:14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
.acc summary{
  cursor:pointer;
  font-weight:800;
  list-style:none;
}
.acc summary::-webkit-details-marker{display:none}
.acc__body{
  margin-top:10px;
  color:var(--muted);
}

/* Lead section */
.lead{
  display:grid;
  grid-template-columns: 1fr .95fr 1.15fr;
  gap:14px;
  align-items:start;
}
.lead__info{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
.lead__form{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
@media (max-width: 980px){
  .lead{grid-template-columns:1fr}
}

.form{display:grid; gap:12px}
.field span{display:block; font-size:13px; color:var(--muted); margin-bottom:6px; font-weight:700}
.field-hint{margin-top:-4px; font-size:12.5px; color:var(--muted)}
.budget-row{align-items:end}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(6,8,11,.55);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(34,211,238,.35);
  box-shadow: 0 0 0 6px rgba(34,211,238,.12);
}
textarea{resize:vertical; min-height:110px}
.check{
  display:flex; gap:10px; align-items:flex-start;
  color:var(--muted);
  font-size:13px;
}
.check input{width:auto; margin-top:3px}
.check a{text-decoration:underline}

.honeypot{display:none}

.contact-card{
  margin-top:14px;
  padding:14px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.12);
}
.contact-card__title{font-weight:900; margin-bottom:8px}
.contact-card__row{display:flex; gap:10px; align-items:center; margin:8px 0}
.contact-card__row a{text-decoration:underline}

/* Footer */
.footer{
  padding:46px 0 24px;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(6,8,11,.55);
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:14px;
}
.footer__title{font-weight:900; margin-bottom:10px}
.footer__col a{display:block; color:var(--muted); margin:8px 0}
.footer__bottom{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap;
}
.brand--footer{margin-bottom:10px}
@media (max-width: 980px){
  .footer__inner{grid-template-columns:1fr 1fr}
}
@media (max-width: 540px){
  .footer__inner{grid-template-columns:1fr}
}


/* Catalog filters + cards */
.filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 8px 0 14px;
}
.filter{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78);
  font-weight:800;
  font-size:12.5px;
  cursor:pointer;
}
.filter:hover{background: rgba(255,255,255,.06)}
.filter.is-active{
  background: rgba(124,92,255,.22);
  border-color: rgba(124,92,255,.30);
  color: rgba(255,255,255,.92);
}

.gallery--cards{
  grid-template-columns:repeat(4, 1fr);
}
.shot--card figcaption{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.shot__title{font-weight:900; color: rgba(255,255,255,.88)}
.shot__meta{font-size:12.5px; color: rgba(255,255,255,.60)}

.is-hidden{display:none !important;}

.callout--split{
  margin-top:16px;
  background:
    radial-gradient(520px 220px at 20% 10%, rgba(124,92,255,.16), transparent 60%),
    rgba(255,255,255,.04);
  border-color: rgba(124,92,255,.18);
}
@media (max-width: 980px){
  .gallery--cards{grid-template-columns:1fr 1fr}
}
@media (max-width: 540px){
  .gallery--cards{grid-template-columns:1fr}
}


/* Additional layout for scalable catalog pages */
.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;
}
.direction-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.direction-card{
  padding:20px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
.direction-card h3{margin:0 0 6px}
.direction-card__count{
  display:inline-flex;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(124,92,255,.16);
  border:1px solid rgba(124,92,255,.24);
  font-size:12px;
  font-weight:800;
}
.direction-card ul{margin:12px 0 0; padding-left:18px; color:var(--muted)}
.direction-card li{margin:6px 0}
.anchor-pills{
  display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px;
}
.anchor-pill{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.85);
  font-weight:800;
  font-size:12.5px;
}
.catalog-section{padding:26px 0; border-top:1px solid rgba(255,255,255,.08)}
.catalog-section:first-of-type{border-top:none; padding-top:0}
.catalog-section__head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:16px;
}
.catalog-section__head h3{margin:0; font-size:26px}
.catalog-section__head p{margin:0; color:var(--muted); max-width:720px}
.catalog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
}
.catalog-photo, .product-card{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.catalog-photo img, .product-card__media img{
  width:100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: rgba(255,255,255,.03);
}
.catalog-photo figcaption{
  padding:10px 12px;
}
.catalog-photo__title{display:block; font-weight:800}
.catalog-photo__meta{display:block; color:var(--muted); font-size:13px; margin-top:4px}
.product-card__body{padding:12px}
.product-card__title{margin:0 0 8px; font-size:17px}
.product-card__meta{display:flex; justify-content:space-between; gap:12px; color:var(--muted); font-size:13px; flex-wrap:wrap}
.product-card__meta strong{color:var(--text)}
.catalog-tip{
  margin-top:16px; padding:14px 16px; border-radius:16px;
  background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.1); color:var(--muted);
}
.hero__visual--simple{min-height:0}
.hero-panel{
  position:relative; z-index:2; padding:18px; border-radius:22px;
  border:1px solid rgba(255,255,255,.14); background: rgba(10,14,19,.70); box-shadow: var(--shadow);
}
.hero-panel h3{margin:0 0 10px; font-size:18px}
.hero-panel ul{margin:0; padding-left:18px; color:var(--muted)}
.hero-panel li{margin:8px 0}
.form__row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.form__actions{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:4px}
.small{font-size:12.5px}
@media (max-width: 980px){
  .direction-grid{grid-template-columns:1fr}
  .catalog-section__head{flex-direction:column; align-items:flex-start}
}
@media (max-width: 700px){
  .form__row{grid-template-columns:1fr}
}


.catalog-grid--photos{
  grid-template-columns:repeat(auto-fit, minmax(210px, 1fr));
}
.catalog-photo--plain{
  background: rgba(255,255,255,.02);
}
.catalog-photo--plain img{
  aspect-ratio: 4 / 5;
}
.catalog-photo--plain figcaption{display:none}
.product-card--visual .product-card__title{
  margin-bottom:4px;
}
.product-card--visual .product-card__media img{
  aspect-ratio: 4 / 5;
}
.stone-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:14px;
}
.stone-card{
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.stone-card__media img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(255,255,255,.03);
}
.stone-card__body{padding:12px}
.stone-card__title{margin:0 0 6px; font-size:18px}
.stone-card__meta{display:none}
.stone-card__thumbs{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:8px;
}
.stone-card__thumbs img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}


/* gallery refinements: smaller photos, clickable images */
.catalog-grid--photos{grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));gap:14px;align-items:start}
.catalog-photo--plain{background:transparent;border:none;overflow:visible}
.catalog-photo--plain a{display:block;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.03)}
.catalog-photo--plain img{aspect-ratio:4 / 5;object-fit:cover;cursor:zoom-in}
.stone-grid{grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));gap:12px}
.stone-card__media a, .stone-card__thumbs a{display:block}
.stone-card__media img, .stone-card__thumbs img{cursor:zoom-in}
@media (max-width: 640px){.catalog-grid--photos{grid-template-columns:repeat(2, minmax(0,1fr))}.stone-grid{grid-template-columns:1fr}}


/* Contact card beside forms */
.lead__aside{
  padding:18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
}
.lead__aside h3{margin:0 0 10px}
.contact-list{display:grid; gap:10px}
.contact-item{
  display:flex; justify-content:space-between; gap:12px; align-items:flex-start;
  padding:10px 12px; border-radius:14px;
  background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
}
.contact-item span:first-child{color:var(--muted)}
.contact-item a{word-break:break-word}
.contact-note{margin-top:12px; color:var(--muted); font-size:13px}

/* On-site lightbox */
body.is-lightbox-open{overflow:hidden}
.lightbox{
  position:fixed; inset:0; z-index:200; display:none;
}
.lightbox.is-open{display:block}
.lightbox__backdrop{
  position:absolute; inset:0; width:100%; height:100%; border:0; padding:0; margin:0;
  background: rgba(4,6,10,.86); cursor:zoom-out;
}
.lightbox__dialog{
  position:relative; z-index:2; height:100%; width:100%;
  display:grid; place-items:center; padding:24px;
}
.lightbox__image{
  max-width:min(96vw, 1400px); max-height:88vh; width:auto; height:auto;
  object-fit:contain; border-radius:18px; box-shadow:0 24px 80px rgba(0,0,0,.55);
  background:#0b0f14;
}
.lightbox__close{
  position:absolute; top:18px; right:18px; z-index:3;
  width:44px; height:44px; border-radius:999px; border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08); color:#fff; font-size:28px; line-height:1; cursor:pointer;
}
.lightbox__close:hover{background: rgba(255,255,255,.14)}
@media (max-width: 640px){
  .lightbox__dialog{padding:14px}
  .lightbox__image{max-width:100%; max-height:84vh; border-radius:14px}
  .lightbox__close{top:10px; right:10px}
}


/* Customer-facing refinements */
.lead__info h3, .lead__aside h3{margin:0 0 10px}
.lead__info p{margin:0; color:var(--muted)}
.lead__aside, .lead__info, .lead__form{height:100%}
.contact-item{align-items:center}
.contact-item a{text-decoration:underline; text-underline-offset:3px}
.contact-note{line-height:1.5}
.policy-card h3{margin:22px 0 8px}
.policy-card p{margin:0 0 12px}
.policy-contacts{margin:10px 0 16px}
.thanks-card{padding:24px; border-radius:26px}
.lead--thanks{grid-template-columns:1fr .95fr; margin-top:18px}
@media (max-width: 1100px){
  .lead{grid-template-columns:1fr 1fr}
  .lead__form{grid-column:1 / -1}
}
@media (max-width: 980px){
  .lead{grid-template-columns:1fr}
  .lead__form{grid-column:auto}
  .lead--thanks{grid-template-columns:1fr}
}
.catalog-section__head p, .catalog-tip{max-width:760px}
.catalog-photo--plain a{box-shadow:0 14px 40px rgba(0,0,0,.18)}
.catalog-photo--plain img{aspect-ratio:4 / 5; object-fit:cover; cursor:zoom-in}
.stone-card__media img{aspect-ratio:4 / 3}
.stone-card__thumbs{grid-template-columns:1fr}
.footer__col .muted{margin-top:6px}
body.is-lightbox-open{overflow:hidden}
.lightbox{position:fixed; inset:0; z-index:200; display:none}
.lightbox.is-open{display:block}
.lightbox__backdrop{position:absolute; inset:0; width:100%; height:100%; border:0; padding:0; margin:0; background:rgba(4,6,10,.88); cursor:zoom-out}
.lightbox__dialog{position:relative; z-index:2; height:100%; width:100%; display:grid; place-items:center; padding:32px 86px}
.lightbox__image{max-width:min(94vw, 1480px); max-height:88vh; width:auto; height:auto; object-fit:contain; border-radius:18px; box-shadow:0 24px 80px rgba(0,0,0,.55); background:#0b0f14}
.lightbox__close, .lightbox__nav{position:absolute; z-index:3; width:48px; height:48px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.08); color:#fff; cursor:pointer}
.lightbox__close{top:18px; right:18px; font-size:28px; line-height:1}
.lightbox__nav{top:50%; transform:translateY(-50%); font-size:40px; line-height:1; display:grid; place-items:center}
.lightbox__nav--prev{left:20px}
.lightbox__nav--next{right:20px}
.lightbox__close:hover, .lightbox__nav:hover{background:rgba(255,255,255,.16)}
.lightbox__nav[hidden]{display:none}
@media (max-width: 900px){.lightbox__dialog{padding:18px 62px}}
@media (max-width: 640px){
  .catalog-grid--photos{grid-template-columns:repeat(2, minmax(0,1fr))}
  .lightbox__dialog{padding:18px 12px 24px}
  .lightbox__image{max-width:100%; max-height:84vh; border-radius:14px}
  .lightbox__close{top:10px; right:10px}
  .lightbox__nav{width:42px; height:42px; font-size:32px; bottom:14px; top:auto; transform:none}
  .lightbox__nav--prev{left:14px}
  .lightbox__nav--next{right:14px}
}


/* Urn product groups */
.product-group{margin-top:18px}
.product-group:first-child{margin-top:0}
.product-group__head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 12px}
.product-group__head h4{margin:0;font-size:20px}
.catalog-grid--products{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.product-card__media a{display:block}
.product-card__media img{cursor:zoom-in}
.product-card__body{display:grid;gap:8px}
.product-card__title{margin:0;font-size:17px;line-height:1.35}
.product-card__meta{display:grid;gap:6px;font-size:14px;color:var(--muted)}
.product-card__meta span{display:block}
@media (max-width:640px){.catalog-grid--products{grid-template-columns:repeat(2,minmax(0,1fr))}.product-group__head{align-items:flex-start;flex-direction:column}}


/* 0.4.1 visual hotfix: restore saner preview sizes */
.catalog-grid--photos{grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:12px; align-items:start}
.catalog-photo--plain a{display:block; border-radius:18px; overflow:hidden; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.03)}
.catalog-photo--plain img{aspect-ratio:4 / 5; object-fit:cover; object-position:center top; cursor:zoom-in}
.catalog-grid--products{grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:14px}
.product-card__media img{aspect-ratio:1 / 1; object-fit:contain; background:#fff; padding:8px; cursor:zoom-in}
.product-card__body{padding:10px 12px 12px}
.product-card__title{font-size:16px; line-height:1.3}
.product-card__meta{gap:4px; font-size:13px}
.stone-grid{grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:14px}
@media (max-width: 640px){
  .catalog-grid--photos{grid-template-columns:repeat(2, minmax(0,1fr))}
  .catalog-grid--products{grid-template-columns:repeat(2, minmax(0,1fr))}
  .product-card__media img{padding:6px}
  .stone-grid{grid-template-columns:1fr}
}
