/* ============================================================
   CHERISH — Site stylesheet
   Built from the Cherish Identity System.
   Warm cream, blush, burgundy, gold. Playfair + DM Sans.
   Mobile-first; scales up to desktop.
   ============================================================ */

:root{
  /* Backgrounds — always warm cream, never cold white */
  --cream:        #FAF3E8;
  --cream-deep:   #F2E6D1;
  --ivory:        #FFFCF6;

  /* Blush */
  --blush:        #F9DEE2;
  --blush-deep:   #EFC3CC;

  /* Rose / signature pink (from the logo) */
  --rose:         #D2557A;
  --pink:         #EA006A;
  --pink-bright:  #F23670;

  /* Burgundy */
  --burgundy:     #7C1430;
  --wine:         #561023;
  --wine-deep:    #380A16;

  /* Antique gold — premium signal, used sparingly */
  --gold:         #B0823A;
  --gold-light:   #D7B265;
  --gold-deep:    #8A642A;

  /* Ink / text — warm near-black */
  --ink:          #2E0F18;
  --ink-soft:     #6A4750;

  /* Dark surfaces (Forever / memorial) */
  --dark:         #12100E;
  --dark2:        #1B1714;
  --dark3:        #241E18;
  --dark-line:    rgba(215,178,101,0.18);
  --cream-on-dark: #F3E9DA;
  --muted-on-dark: #9C8E7C;

  /* Lines & glows */
  --line:         rgba(124,20,48,0.16);
  --line-gold:    rgba(176,130,58,0.40);
  --shadow-sm:    0 2px 10px rgba(56,10,22,0.06);
  --shadow-md:    0 14px 40px rgba(56,10,22,0.12);
  --shadow-lg:    0 30px 80px rgba(56,10,22,0.20);

  /* Type */
  --display:  'Playfair Display', Georgia, serif;
  --alt-display: 'Cormorant Garamond', Georgia, serif;
  --body:     'DM Sans', system-ui, sans-serif;
  --mono:     'DM Mono', ui-monospace, monospace;

  --fs-display: clamp(3.4rem, 13vw, 8rem);
  --fs-h1:      clamp(2.3rem, 6vw, 3.8rem);
  --fs-h2:      clamp(1.7rem, 4.2vw, 2.6rem);
  --fs-h3:      clamp(1.3rem, 3vw, 1.6rem);
  --fs-body-lg: 1.3rem;
  --fs-body:    1.15rem;
  --fs-caption: 0.98rem;
  --fs-label:   0.82rem;

  --maxw: 1180px;
  --radius:  18px;
  --radius-sm: 12px;

  /* Active display family (swappable via Tweaks) */
  --display-active: var(--display);
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }
h1,h2,h3,h4{ font-family: var(--display-active); line-height: 1.08; margin: 0; color: var(--wine); font-weight: 800; letter-spacing: -0.01em; }
p{ margin: 0 0 1.1em; text-wrap: pretty; }

/* ---------------- TYPE UTILITIES ---------------- */
.kicker{
  font-family: var(--body); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .7em;
}
.kicker::before{ content:""; width: 28px; height: 1px; background: var(--line-gold); }
.kicker.flank::after{ content:""; width: 28px; height: 1px; background: var(--line-gold); }
.kicker.center{ justify-content: center; }
.label{ font-family: var(--body); font-weight: 600; font-size: var(--fs-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.display{ font-family: var(--display-active); font-weight: 900; font-size: var(--fs-display); line-height: 0.95; color: var(--wine); letter-spacing: -0.02em; }
.years{ font-family: var(--display-active); font-style: italic; font-weight: 500; color: var(--gold); }
.lede{ font-size: var(--fs-body-lg); line-height: 1.7; color: var(--ink); }
.muted{ color: var(--ink-soft); }
.serif-italic{ font-family: var(--display-active); font-style: italic; font-weight: 500; }
.smallcaps{ font-variant: small-caps; letter-spacing: 0.14em; text-transform: lowercase; }

/* ---------------- LAYOUT ---------------- */
.wrap{ width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap-narrow{ max-width: 760px; }
.wrap-wide{ max-width: 1320px; }
.section{ padding: calc(clamp(48px, 9vw, 120px) * var(--space-scale, 1)) 0; }
.section-sm{ padding: calc(clamp(34px, 6vw, 72px) * var(--space-scale, 1)) 0; }
.center{ text-align: center; }
.stack > * + *{ margin-top: 1rem; }
@media (min-width: 700px){ .wrap{ padding: 0 32px; } }
@media (min-width: 1000px){ .wrap{ padding: 0 40px; } }

/* ---------------- FLORAL WATERMARK ---------------- */
:root{
  --floral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='760' viewBox='0 0 760 760'%3E%3Cg fill='none' stroke='%237C1430' stroke-width='1.1' stroke-linecap='round' opacity='0.10'%3E%3Cpath d='M380 700 C 380 560 380 480 380 360'/%3E%3Cpath d='M380 560 C 320 540 280 500 270 450 C 330 460 372 500 380 552'/%3E%3Cpath d='M380 520 C 440 500 480 460 492 408 C 432 418 390 460 380 512'/%3E%3Cpath d='M380 430 C 326 414 292 378 286 332 C 338 344 374 380 380 424'/%3E%3Cpath d='M380 400 C 436 384 470 348 478 302 C 426 314 388 350 380 396'/%3E%3Cg transform='translate(380 320)'%3E%3Cpath d='M0 -52 C 26 -52 40 -30 40 -10 C 40 14 18 26 0 26 C -18 26 -40 14 -40 -10 C -40 -30 -26 -52 0 -52 Z'/%3E%3Cpath d='M0 -34 C 14 -34 22 -22 22 -8 C 22 8 12 16 0 16 C -12 16 -22 8 -22 -8 C -22 -22 -14 -34 0 -34 Z'/%3E%3Ccircle cx='0' cy='-8' r='7'/%3E%3C/g%3E%3Cg transform='translate(250 250)'%3E%3Cpath d='M0 0 C 10 -22 6 -44 -10 -58 M0 0 C -18 -14 -42 -14 -60 -2 M0 0 C 4 24 22 40 46 44'/%3E%3C/g%3E%3Cg transform='translate(520 250) scale(-1,1)'%3E%3Cpath d='M0 0 C 10 -22 6 -44 -10 -58 M0 0 C -18 -14 -42 -14 -60 -2 M0 0 C 4 24 22 40 46 44'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.floral-bg{ position: relative; isolation: isolate; }
.floral-bg::before{
  content:""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--floral); background-repeat: no-repeat;
  background-position: center; background-size: cover; opacity: 0.5;
}
.floral-bg.dark::before{ filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg); opacity: 0.06; }

/* ---------------- BUTTONS ---------------- */
.btn{
  font-family: var(--body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 32px; min-height: 56px;
  border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn:active{ transform: translateY(1px) scale(.99); }
.btn-primary{ background: linear-gradient(165deg, var(--burgundy), var(--wine) 75%); color: var(--cream); box-shadow: 0 10px 26px rgba(86,16,35,0.30), inset 0 1px 0 rgba(255,255,255,0.10); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 36px rgba(86,16,35,0.38); }
.btn-pink{ background: linear-gradient(165deg, var(--pink-bright), var(--pink) 70%); color: #fff; box-shadow: 0 10px 26px rgba(234,0,106,0.30), inset 0 1px 0 rgba(255,255,255,0.20); }
.btn-pink:hover{ transform: translateY(-2px); box-shadow: 0 16px 36px rgba(234,0,106,0.40); }
.btn-ghost{ background: transparent; color: var(--burgundy); border-color: var(--burgundy); }
.btn-ghost:hover{ background: var(--burgundy); color: var(--cream); transform: translateY(-2px); }
.btn-gold{ background: transparent; color: var(--gold-deep); border-color: var(--line-gold); }
.btn-gold:hover{ background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176,130,58,0.18), 0 10px 30px rgba(176,130,58,0.30); }
/* dark-context gold CTA with glow */
.btn-gold-solid{ background: linear-gradient(160deg, var(--gold-light), var(--gold) 80%); color: var(--wine-deep); box-shadow: 0 10px 30px rgba(176,130,58,0.30); }
.btn-gold-solid:hover{ transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(215,178,101,0.16), 0 18px 44px rgba(176,130,58,0.45); }
.btn-light{ background: var(--ivory); color: var(--wine); }
.btn-light:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg{ font-size: 1.15rem; padding: 19px 40px; min-height: 64px; }
.btn-block{ display: flex; width: 100%; }

/* ---------------- SHARE PILLS ---------------- */
.share-bar{ display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share-pill{
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--body); font-weight: 600; font-size: 0.96rem;
  padding: 11px 18px; min-height: 48px;
  border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--ivory); color: var(--wine); cursor: pointer;
  transition: transform .2s, border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.share-pill svg{ width: 18px; height: 18px; }
.share-pill:hover{ transform: scale(1.03); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.share-pill.on-dark{ background: rgba(255,255,255,0.04); border-color: var(--dark-line); color: var(--cream-on-dark); }
.share-pill.on-dark:hover{ border-color: var(--gold-light); background: rgba(215,178,101,0.10); }

/* ---------------- FORMS ---------------- */
.field{ display: block; margin-bottom: 20px; }
.field > .field-label{ display: block; font-weight: 600; font-size: 1rem; color: var(--wine); margin-bottom: 8px; }
.input, .textarea, select.input{
  width: 100%; font-family: var(--body); font-size: 1.1rem; color: var(--ink);
  background: var(--ivory); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 18px; min-height: 56px; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.textarea{ min-height: 130px; resize: vertical; }
.input::placeholder, .textarea::placeholder{ color: #b79aa0; }
.input:focus, .textarea:focus, select.input:focus{ outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176,130,58,0.18); background: #fff; }

/* ---------------- NAV ---------------- */
.nav{ position: sticky; top: 0; z-index: 50; background: rgba(250,243,232,0.88); backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner{ display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; }
.nav-brand{ display: flex; align-items: center; gap: 11px; cursor: pointer; }
.nav-brand img{ height: 32px; width: 32px; border-radius: 8px; }
.nav-brand .bmark{ font-family: var(--display-active); font-weight: 800; font-size: 1.3rem; color: var(--wine); letter-spacing: -0.01em; white-space: nowrap; }
.nav-brand .bmark em{ font-style: italic; font-weight: 500; color: inherit; letter-spacing: 0; }
.nav-links{ display: none; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a{ color: var(--wine); font-weight: 500; font-size: 1rem; cursor: pointer; transition: color .2s; }
.nav-links a:hover, .nav-links a.active{ color: var(--pink); }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-cta > .btn{ display:none; }
.nav-burger{ display:inline-flex; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:10px; }
.nav-burger span{ width:24px; height:2px; background: var(--wine); transition: .25s; }
@media (min-width: 960px){ .nav-links{ display:flex; } .nav-burger{ display:none; } .nav-cta > .btn{ display:inline-flex; } }

/* dark nav variant (Forever) */
.nav.dark{ background: rgba(18,16,14,0.82); border-bottom: 1px solid var(--dark-line); }
.nav.dark .bmark{ color: var(--cream-on-dark); }
.nav.dark .nav-links a{ color: var(--cream-on-dark); }
.nav.dark .nav-links a:hover, .nav.dark .nav-links a.active{ color: var(--gold-light); }
.nav.dark .nav-burger span{ background: var(--cream-on-dark); }

/* mobile menu drawer */
.mobile-menu{ display:flex; flex-direction:column; gap:4px; padding: 8px 22px 22px; border-bottom:1px solid var(--line); background: var(--cream); }
.mobile-menu.dark{ background: var(--dark); border-color: var(--dark-line); }
.mobile-menu a{ padding:14px 4px; font-size:1.15rem; font-weight:500; color: var(--wine); border-bottom:1px solid var(--line); cursor:pointer; }
.mobile-menu.dark a{ color: var(--cream-on-dark); border-color: var(--dark-line); }

/* ---------------- BADGES / CHIPS ---------------- */
.brand-badge{ display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 8px; border-radius: 999px; background: rgba(255,252,246,0.9); border: 1px solid var(--line-gold); font-family: var(--body); font-weight: 600; font-size: 0.84rem; letter-spacing: 0.03em; color: var(--wine); box-shadow: var(--shadow-sm); }
.brand-badge img{ height: 24px; width: 24px; border-radius: 6px; }
.brand-badge.on-dark{ background: rgba(255,255,255,0.05); border-color: var(--dark-line); color: var(--cream-on-dark); }
.chip{ display: inline-flex; align-items: center; gap: .5em; padding: 6px 13px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.chip-gold{ background: linear-gradient(120deg, var(--gold), var(--gold-light)); color: #fff; box-shadow: 0 4px 14px rgba(176,130,58,0.35); }
.chip-blush{ background: var(--blush); color: var(--burgundy); }
.chip-outline{ background: transparent; border:1px solid var(--line-gold); color: var(--gold-deep); }
.chip-status-hold{ background: rgba(176,130,58,0.14); color: var(--gold-deep); }
.chip-status-ready{ background: rgba(74,138,90,0.14); color: #3c7a4c; }
.chip-status-paid{ background: rgba(124,20,48,0.10); color: var(--burgundy); }

/* ---------------- PLACEHOLDER IMAGE ---------------- */
.ph{
  position: relative; overflow: hidden; background: var(--blush);
  background-image: repeating-linear-gradient(135deg, rgba(124,20,48,0.05) 0 12px, rgba(124,20,48,0) 12px 24px);
  display: flex; align-items: center; justify-content: center;
}
.ph .ph-label{ font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(124,20,48,0.5); text-align:center; padding: 8px 14px; line-height:1.5; }
.ph.dark{ background: var(--dark2); background-image: repeating-linear-gradient(135deg, rgba(215,178,101,0.06) 0 12px, rgba(215,178,101,0) 12px 24px); }
.ph.dark .ph-label{ color: rgba(215,178,101,0.45); }

/* ---------------- DIRECTORY CARD (quiet memorial) ---------------- */
.dir-card{ background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: inherit; display: block; cursor: pointer; transition: transform .3s, box-shadow .3s; }
.dir-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dir-card .photo{ aspect-ratio: 4/5; background: var(--blush); position: relative; }
.dir-card .body{ padding: 16px 18px 20px; }
.dir-card .name{ font-family: var(--display-active); font-weight: 800; font-size: 1.35rem; color: var(--wine); margin: 0 0 3px; line-height:1.1; }
.dir-card .years{ font-size: 1rem; }
/* on dark */
.dir-card.on-dark{ background: var(--dark2); border-color: var(--dark-line); }
.dir-card.on-dark .name{ color: var(--cream-on-dark); }

/* directory list-row (very quiet) */
.dir-row{ display:flex; align-items:center; gap:16px; padding:14px 4px; border-bottom:1px solid var(--line); cursor:pointer; transition: background .2s; }
.dir-row:hover{ background: rgba(124,20,48,0.03); }
.dir-row .thumb{ width:54px; height:54px; border-radius:10px; flex:none; overflow:hidden; background: var(--blush); }
.dir-row .rname{ font-family: var(--display-active); font-weight:700; font-size:1.2rem; color: var(--wine); line-height:1.15; }
.dir-row .ryears{ font-size:.95rem; color: var(--ink-soft); }
.dir-row.on-dark{ border-color: var(--dark-line); }
.dir-row.on-dark:hover{ background: rgba(215,178,101,0.05); }
.dir-row.on-dark .rname{ color: var(--cream-on-dark); }
.dir-row.on-dark .ryears{ color: var(--muted-on-dark); }

/* featured / editorial memorial card */
.feat-card{ display:grid; grid-template-columns: 1fr; background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); cursor:pointer; transition: transform .3s, box-shadow .3s; }
.feat-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-card .photo{ aspect-ratio: 16/10; background: var(--blush); }
.feat-card .body{ padding: 24px 26px 28px; }
.feat-card .name{ font-family: var(--display-active); font-weight:800; font-size: clamp(1.5rem,4vw,2rem); color: var(--wine); margin:0 0 4px; line-height:1.05; }
.feat-card .years{ font-size:1.1rem; }
.feat-card p{ margin: 12px 0 0; color: var(--ink-soft); font-size:1.02rem; }
@media (min-width: 720px){ .feat-card{ grid-template-columns: 1.1fr 1fr; align-items:stretch; } .feat-card .photo{ aspect-ratio:auto; min-height:100%; } }

/* ---------------- ACCORDION ---------------- */
.accordion{ border-top: 1px solid var(--line); }
.acc-item{ border-bottom: 1px solid var(--line); }
.acc-head{ width: 100%; text-align: left; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; font-family: var(--display-active); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.6rem); color: var(--wine); }
.acc-head .plus{ flex: none; width: 28px; height: 28px; position: relative; color: var(--gold); }
.acc-head .plus::before, .acc-head .plus::after{ content:""; position: absolute; inset: 0; margin: auto; background: currentColor; transition: transform .3s, opacity .3s; }
.acc-head .plus::before{ width: 18px; height: 2px; }
.acc-head .plus::after{ width: 2px; height: 18px; }
.acc-item.open .acc-head .plus::after{ transform: rotate(90deg); opacity: 0; }
.acc-body{ overflow: hidden; max-height: 0; transition: max-height .45s cubic-bezier(.2,.8,.2,1); }
.acc-body-inner{ padding: 0 4px 28px; max-width: 64ch; }
.acc-body-inner p{ font-size: var(--fs-body-lg); color: var(--ink); }
/* dark accordion */
.accordion.on-dark, .accordion.on-dark .acc-item{ border-color: var(--dark-line); }
.accordion.on-dark .acc-head{ color: var(--cream-on-dark); }
.accordion.on-dark .acc-body-inner p{ color: var(--cream-on-dark); }

/* ---------------- PRICING TIER ---------------- */
.tier{ background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm); }
.tier .price{ font-family: var(--display-active); font-weight: 900; color: var(--wine); line-height: 1; font-size: clamp(2.6rem,6vw,3.4rem); }
.tier .price small{ font-family: var(--body); font-weight:500; font-size:1rem; color: var(--ink-soft); }
.tier ul{ list-style:none; margin: 14px 0 0; padding:0; display:flex; flex-direction:column; gap:11px; }
.tier li{ display:flex; gap:10px; align-items:flex-start; font-size:1.02rem; }
.tier li::before{ content:""; flex:none; width:18px; height:18px; margin-top:3px; border-radius:50%; background: rgba(176,130,58,0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6' fill='none' stroke='%23B0823A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tier.feature{ background: linear-gradient(180deg, #5E1126, var(--wine-deep)); color: var(--cream); border: 1px solid var(--gold); box-shadow: 0 40px 90px rgba(56,10,22,0.40); position: relative; }
.tier.feature h3, .tier.feature .price{ color: #fff; }
.tier.feature .muted, .tier.feature .price small{ color: rgba(255,247,238,0.72); }
.tier.feature li{ color: rgba(255,247,238,0.92); }
.ticklist{ list-style:none; margin: 4px 0 0; padding:0; display:flex; flex-direction:column; gap:10px; }
.ticklist li{ display:flex; gap:10px; align-items:flex-start; font-size:.98rem; color: var(--ink-soft); }
.ticklist li::before{ content:""; flex:none; width:18px; height:18px; margin-top:2px; border-radius:50%; background: rgba(176,130,58,0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6' fill='none' stroke='%23B0823A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------------- PRODUCT CARD ---------------- */
.product-card{ background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; transition: transform .3s, box-shadow .3s; }
.product-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card .photo{ aspect-ratio: 4/3; background: var(--blush); }
.product-card .body{ padding: 24px 24px 28px; display:flex; flex-direction:column; gap:6px; flex:1; }
.product-card .pname{ font-family: var(--display-active); font-weight:800; font-size:1.6rem; color: var(--wine); }
.product-card .pdesc{ color: var(--ink-soft); font-size:1rem; flex:1; }
.product-card .pprice{ font-family: var(--display-active); font-weight:700; font-size:1.5rem; color: var(--wine); }
.product-card .pprice small{ font-family: var(--body); font-weight:500; font-size:.85rem; color: var(--ink-soft); letter-spacing:.04em; }
.product-card.hero{ border:1.5px solid var(--gold); box-shadow: 0 24px 60px rgba(56,10,22,0.16); }

/* ---------------- HOME SELECTOR PATH CARDS ---------------- */
.path-grid{ display:grid; grid-template-columns:1fr; gap: 18px; }
@media (min-width: 820px){ .path-grid{ grid-template-columns: 1fr 1fr; gap:24px; } }
.path-card{ position:relative; overflow:hidden; border-radius: var(--radius); min-height: 340px; display:flex; flex-direction:column; justify-content:flex-end; padding: 30px; cursor:pointer; isolation:isolate; border:1px solid var(--line); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.path-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path-card .pc-bg{ position:absolute; inset:0; z-index:-2; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.path-card:hover .pc-bg{ transform: scale(1.05); }
.path-card .pc-scrim{ position:absolute; inset:0; z-index:-1; }
.path-card.print .pc-bg{ background: linear-gradient(160deg, var(--blush), var(--blush-deep)); }
.path-card.print .pc-scrim{ background: linear-gradient(0deg, rgba(86,16,35,0.55), rgba(86,16,35,0.05) 60%); }
.path-card.forever .pc-bg{ background: linear-gradient(160deg, #2A2118, var(--dark)); }
.path-card.forever .pc-scrim{ background: linear-gradient(0deg, rgba(18,16,14,0.75), rgba(18,16,14,0.15) 60%); }
.path-card .pc-eyebrow{ font-family: var(--mono); font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; }
.path-card.print .pc-eyebrow{ color: var(--gold-light); }
.path-card.forever .pc-eyebrow{ color: var(--gold-light); }
.path-card .pc-title{ font-family: var(--display-active); font-weight:800; font-size: clamp(1.9rem,5vw,2.6rem); line-height:1.05; margin:8px 0 6px; color:#fff; }
.path-card .pc-sub{ font-size:1.02rem; line-height:1.5; color: rgba(255,247,238,0.82); max-width:34ch; }
.path-card .pc-go{ margin-top:18px; display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:.95rem; color:#fff; }
.path-card .pc-go .arr{ transition: transform .3s; }
.path-card:hover .pc-go .arr{ transform: translateX(5px); }

/* ---------------- DARK SECTION HELPERS ---------------- */
.bg-dark{ background: var(--dark); color: var(--cream-on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3{ color: var(--cream-on-dark); }
.bg-dark .lede{ color: var(--cream-on-dark); }
.bg-dark .muted{ color: var(--muted-on-dark); }
.bg-dark .kicker{ color: var(--gold-light); }
.bg-dark .kicker::before, .bg-dark .kicker.flank::after{ background: var(--line-gold); }
.bg-wine{ background: linear-gradient(180deg, var(--wine), var(--wine-deep)); color: var(--cream); }
.bg-cream-deep{ background: var(--cream-deep); }
.bg-blush{ background: var(--blush); }

/* ---------------- SEARCH GATE (Forever home) ---------------- */
.search-hero{ min-height: 78vh; display:flex; flex-direction:column; align-items:center; justify-content:safe center; text-align:center; padding: 70px 0; }
.search-box{ position:relative; width:100%; max-width:620px; margin: 30px auto 0; }
.search-box input{ width:100%; font-family: var(--body); font-size:1.15rem; color: var(--cream-on-dark); background: rgba(255,255,255,0.04); border:1.5px solid var(--dark-line); border-radius:999px; padding: 19px 58px 19px 26px; min-height:64px; transition: border-color .25s, box-shadow .25s, background .25s; }
.search-box input::placeholder{ color: var(--muted-on-dark); }
.search-box input:focus{ outline:none; border-color: var(--gold-light); box-shadow: 0 0 0 5px rgba(215,178,101,0.12); background: rgba(255,255,255,0.06); }
.search-box .s-icon{ position:absolute; right:22px; top:50%; transform:translateY(-50%); color: var(--gold-light); pointer-events:none; }
/* light variant (interior tan/blush brand) */
.search-box.light input{ color: var(--ink); background: var(--ivory); border:1.5px solid var(--line-gold); }
.search-box.light input::placeholder{ color: var(--ink-soft); }
.search-box.light input:focus{ border-color: var(--gold); box-shadow: 0 0 0 5px rgba(176,130,58,0.14); background: #fff; }
.search-box.light .s-icon{ color: var(--burgundy); }

/* ---------------- MEMORIAL HERO ---------------- */
.mem-hero{ position:relative; overflow:hidden; }
.mem-hero .kb{ position:absolute; inset:0; z-index:0; }
.mem-hero .kb .ph, .mem-hero .kb img{ width:100%; height:100%; }
@media (prefers-reduced-motion: no-preference){
  .mem-hero[data-active] .kb{ animation: kenburns 18s ease-in-out infinite alternate; }
}
@keyframes kenburns{ from{ transform: scale(1.0); } to{ transform: scale(1.10); } }
.mem-hero .scrim{ position:absolute; inset:0; z-index:1; }

/* earnings / affiliate */
.stat-card{ background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.stat-card .sc-label{ font-family: var(--body); font-weight:600; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-soft); }
.stat-card .sc-value{ font-family: var(--display-active); font-weight:900; font-size: clamp(2.2rem,5vw,2.9rem); color: var(--wine); line-height:1; margin-top:8px; }
.earn-row{ display:grid; grid-template-columns: 1fr auto; gap:8px 16px; align-items:center; padding:18px 4px; border-bottom:1px solid var(--line); }
.earn-row .er-main{ font-family: var(--display-active); font-weight:700; font-size:1.15rem; color: var(--wine); }
.earn-row .er-sub{ font-size:.92rem; color: var(--ink-soft); }
.earn-row .er-amt{ font-family: var(--display-active); font-weight:800; font-size:1.3rem; color: var(--wine); text-align:right; }
.progress{ height:12px; border-radius:999px; background: rgba(124,20,48,0.10); overflow:hidden; }
.progress > i{ display:block; height:100%; border-radius:999px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.ref-link{ display:flex; gap:10px; align-items:center; background: var(--cream-deep); border:1px dashed var(--line-gold); border-radius: var(--radius-sm); padding: 14px 16px; }
.ref-link code{ font-family: var(--mono); font-size:.92rem; color: var(--wine); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; flex:1; }

/* tabs */
.tabs{ display:flex; gap:4px; flex-wrap:wrap; border-bottom:1px solid var(--line); }
.tab{ padding: 13px 18px; font-weight:600; font-size:.98rem; color: var(--ink-soft); cursor:pointer; border:none; background:none; border-bottom:2px solid transparent; margin-bottom:-1px; transition: color .2s, border-color .2s; }
.tab:hover{ color: var(--wine); }
.tab.active{ color: var(--wine); border-bottom-color: var(--gold); }

/* gallery */
.gallery-asym{ display:grid; grid-template-columns: repeat(2,1fr); gap:12px; }
.gallery-asym .g-item{ border-radius: var(--radius-sm); overflow:hidden; cursor:pointer; transition: transform .3s; }
.gallery-asym .g-item:hover{ transform: scale(0.99); }
.gallery-asym .g-item .ph{ width:100%; height:100%; }
@media (min-width:640px){ .gallery-asym{ grid-template-columns: repeat(3,1fr); grid-auto-rows: 150px; }
  .gallery-asym .g-item:nth-child(1){ grid-row: span 2; }
  .gallery-asym .g-item:nth-child(4){ grid-column: span 2; }
  .gallery-asym .g-item{ height:auto; }
}
@media (min-width:980px){ .gallery-asym{ grid-auto-rows: 180px; } }

/* lightbox */
.lightbox{ position:fixed; inset:0; z-index:200; background: rgba(18,16,14,0.94); display:flex; align-items:center; justify-content:center; padding:24px; }
.lightbox .lb-inner{ max-width: 900px; width:100%; }
.lightbox .lb-close{ position:absolute; top:18px; right:18px; width:48px; height:48px; border-radius:50%; border:1px solid var(--dark-line); background: rgba(255,255,255,0.06); color: var(--cream-on-dark); cursor:pointer; font-size:1.4rem; }

/* footer */
.footer{ background: var(--wine-deep); color: var(--cream-on-dark); }
.footer a{ color: var(--cream-on-dark); }
.footer-inner{ display:grid; grid-template-columns:1fr; gap:32px; padding-top: clamp(40px,6vw,64px); padding-bottom: 32px; }
@media (min-width:760px){ .footer-inner{ grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .f-brand .bmark{ font-family: var(--display-active); font-weight:800; font-size:1.5rem; color: var(--cream); }
.footer h4{ font-family: var(--body); font-weight:600; font-size:.82rem; letter-spacing:.16em; text-transform:uppercase; color: var(--gold-light); margin:0 0 14px; }
.footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.footer ul a{ color: rgba(243,233,218,0.78); cursor:pointer; font-size:.98rem; }
.footer ul a:hover{ color: var(--gold-light); }
.footer-bottom{ border-top:1px solid rgba(215,178,101,0.14); padding:22px 0; display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:space-between; font-size:.85rem; color: var(--muted-on-dark); }
.footer.light{ background: var(--cream-deep); color: var(--ink); }
.footer.light a{ color: var(--ink); }
.footer.light .f-brand .bmark{ color: var(--wine); }
.footer.light h4{ color: var(--gold-deep); }
.footer.light ul a{ color: var(--ink-soft); }
.footer.light ul a:hover{ color: var(--pink); }
.footer.light .footer-bottom{ border-color: var(--line); color: var(--ink-soft); }

/* ---------------- MOTION: scroll reveal + stagger ---------------- */
@media (prefers-reduced-motion: no-preference){
  .reveal{ opacity:0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
  .reveal.in{ opacity:1; transform: none; }
}
.divider{ height:1px; background: var(--line); border:0; margin:0; }
.divider-gold{ height:1px; background: linear-gradient(90deg, transparent, var(--line-gold), transparent); border:0; }
.divider-gold.on-dark{ background: linear-gradient(90deg, transparent, rgba(215,178,101,0.4), transparent); }

/* small star/floret mark */
.floret{ display:inline-block; color: var(--gold); }

/* 404 */
.notfound{ min-height: 70vh; display:flex; flex-direction:column; align-items:center; justify-content:safe center; text-align:center; padding: 60px 0; }

/* utility */
.eyebrow-num{ font-family: var(--mono); font-size:.74rem; letter-spacing:.18em; color: var(--gold-deep); }
.maxw-prose{ max-width: 60ch; }
.grid-2{ display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:760px){ .grid-2{ grid-template-columns:1fr 1fr; gap:28px; } }
.grid-3{ display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:640px){ .grid-3{ grid-template-columns:1fr 1fr; } }
@media (min-width:980px){ .grid-3{ grid-template-columns:repeat(3,1fr); gap:26px; } }
.flex-between{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }

/* ============================================================
   ADMIN (internal tooling) — distinct, utilitarian, on-brand
   ============================================================ */
.admin{ min-height:100vh; background: var(--cream-deep); }
.admin-wrap{ display:grid; grid-template-columns:1fr; }
@media (min-width:900px){ .admin-wrap{ grid-template-columns: 256px 1fr; } }
.admin-side{ background: linear-gradient(180deg, var(--wine), var(--wine-deep)); color: var(--cream-on-dark); padding: 20px 16px; }
@media (min-width:900px){ .admin-side{ position:sticky; top:0; height:100vh; overflow:auto; } }
.admin-side .as-brand{ display:flex; align-items:center; gap:10px; padding: 6px 8px 18px; border-bottom:1px solid rgba(215,178,101,0.16); margin-bottom:14px; cursor:pointer; }
.admin-side .as-brand img{ width:30px; height:30px; border-radius:7px; }
.admin-side .as-brand .bmark{ font-family: var(--display-active); font-weight:800; font-size:1.2rem; color: var(--cream); }
.admin-side .as-brand .bmark em{ font-style: italic; font-weight: 500; color: inherit; }
.admin-nav{ display:flex; flex-direction:column; gap:2px; }
.admin-nav .grp{ font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color: rgba(215,178,101,0.7); padding:14px 10px 6px; }
.admin-nav a{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 12px; border-radius:10px; cursor:pointer; color: rgba(243,233,218,0.82); font-size:.96rem; font-weight:500; transition: background .2s, color .2s; }
.admin-nav a:hover{ background: rgba(255,255,255,0.06); color:#fff; }
.admin-nav a.active{ background: rgba(215,178,101,0.16); color:#fff; }
.admin-nav a .ct{ font-size:.74rem; background: rgba(215,178,101,0.22); color: var(--gold-light); border-radius:999px; padding:1px 8px; min-width:22px; text-align:center; }
.admin-nav a.alert .ct{ background: rgba(234,0,106,0.22); color: var(--pink-bright); }
.admin-main{ padding: clamp(20px,3vw,36px); min-width:0; }
.admin-topbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.admin-topbar h1{ font-size: clamp(1.5rem,3vw,2rem); }
.admin-card{ background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.admin-kpis{ display:grid; grid-template-columns: repeat(2,1fr); gap:14px; margin-bottom:26px; }
@media (min-width:760px){ .admin-kpis{ grid-template-columns: repeat(4,1fr); } }
.kpi{ background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius); padding:18px 20px; box-shadow: var(--shadow-sm); }
.kpi .k-label{ font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-soft); font-weight:600; }
.kpi .k-value{ font-family: var(--display-active); font-weight:900; font-size: clamp(1.7rem,4vw,2.3rem); color: var(--wine); line-height:1; margin-top:8px; }
.kpi .k-sub{ font-size:.8rem; color: var(--ink-soft); margin-top:6px; }

/* data table */
.tbl-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius: var(--radius); }
.tbl{ width:100%; border-collapse:collapse; min-width:560px; font-size:.95rem; }
.tbl th{ text-align:left; font-family:var(--body); font-weight:600; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-soft); padding:14px 16px; border-bottom:1px solid var(--line); background: var(--cream-deep); position:sticky; top:0; }
.tbl td{ padding:14px 16px; border-bottom:1px solid var(--line); color: var(--ink); vertical-align:middle; }
.tbl tr:last-child td{ border-bottom:0; }
.tbl tr:hover td{ background: rgba(124,20,48,0.025); }
.tbl .mono{ font-family: var(--mono); font-size:.86rem; color: var(--wine); }
.tbl .strong{ font-weight:600; color: var(--wine); }
.pill{ display:inline-flex; align-items:center; gap:6px; padding:4px 11px; border-radius:999px; font-size:.76rem; font-weight:600; letter-spacing:.02em; white-space:nowrap; }
.pill.print{ background: rgba(176,130,58,0.14); color: var(--gold-deep); }
.pill.proof{ background: rgba(74,127,165,0.14); color:#3a6a8c; }
.pill.ship{ background: rgba(74,138,90,0.14); color:#3c7a4c; }
.pill.done{ background: rgba(124,20,48,0.10); color: var(--burgundy); }
.pill.hold{ background: rgba(176,130,58,0.14); color: var(--gold-deep); }
.pill.ready{ background: rgba(74,138,90,0.16); color:#3c7a4c; }
.pill.frozen{ background: rgba(234,0,106,0.12); color: var(--pink); }
.pill.pending{ background: rgba(106,71,80,0.12); color: var(--ink-soft); }
.admin-tabs{ display:flex; gap:4px; flex-wrap:wrap; border-bottom:1px solid var(--line); margin-bottom:20px; }
.icon-btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px; width:auto; padding:8px 12px; min-height:38px; border-radius:8px; border:1px solid var(--line); background: var(--ivory); color: var(--wine); cursor:pointer; font-weight:600; font-size:.86rem; transition: all .2s; }
.icon-btn:hover{ border-color: var(--gold); }
.icon-btn.approve:hover{ background: rgba(74,138,90,0.12); border-color:#3c7a4c; color:#3c7a4c; }
.icon-btn.reject:hover{ background: rgba(234,0,106,0.08); border-color: var(--pink); color: var(--pink); }
.mod-card{ background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.mod-card.flagged{ border-color: rgba(234,0,106,0.4); background: rgba(234,0,106,0.03); }

/* ============================================================
   HOME STAGE — centered, no-scroll, "floating in space"
   Rotating background scenes managed from Admin → Home Background.
   ============================================================ */
.home-stage{
  position: relative;
  height: 100vh; height: 100dvh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  background: #100b14;
  isolation: isolate;
}
.home-bg-layer{ position: absolute; inset: 0; z-index: 0; }
.home-bg{
  position: absolute; inset: 0;
  background-repeat: no-repeat; background-position: center; background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease, transform 9s ease;
}
.home-bg.on{ opacity: 1; transform: scale(1.12); }
@media (prefers-reduced-motion: reduce){
  .home-bg{ transition: opacity .4s ease; transform: none; }
  .home-bg.on{ transform: none; }
}
/* readability scrim + soft vignette over whatever scene is showing */
.home-scrim{
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 38%, transparent 38%, rgba(10,6,12,0.55) 100%),
    linear-gradient(180deg, rgba(10,6,12,0.50) 0%, rgba(10,6,12,0.20) 32%, rgba(10,6,12,0.42) 72%, rgba(10,6,12,0.72) 100%);
}

.home-inner{
  position: relative; z-index: 2;
  flex: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(20px, 4vh, 48px) clamp(18px, 5vw, 40px);
  text-align: center;
}
.home-center{
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.4vh, 26px);
  width: 100%;
}

/* wordmark */
.home-mark{ display: inline-flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.4vh, 16px); }
.home-mark img{
  width: clamp(48px, 7vmin, 72px); height: clamp(48px, 7vmin, 72px);
  border-radius: 18px; box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}
.home-word{
  font-family: var(--display-active);
  font-weight: 900; letter-spacing: -0.02em; line-height: 0.9;
  font-size: clamp(3rem, 11vmin, 6.4rem);
  color: var(--cream-on-dark);
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.home-lede{
  max-width: 32ch; margin: 0;
  font-family: var(--display-active); font-style: italic; font-weight: 500;
  font-size: clamp(1.05rem, 2.4vmin, 1.5rem);
  line-height: 1.5; color: var(--cream-on-dark); opacity: 0.92;
}

/* two floating choices */
.home-choices{
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  width: 100%; max-width: 760px;
  margin-top: clamp(6px, 1.6vh, 18px);
}
.home-choice{
  cursor: pointer; text-align: left;
  padding: clamp(16px, 2.6vh, 28px) clamp(16px, 2vw, 26px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,12,17,0.78), rgba(20,12,17,0.62));
  border: 1px solid rgba(215,178,101,0.34);
  box-shadow: 0 18px 50px rgba(0,0,0,0.42);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.home-choice:hover{
  transform: translateY(-4px);
  border-color: var(--gold-light);
  background: linear-gradient(180deg, rgba(30,18,24,0.84), rgba(30,18,24,0.68));
  box-shadow: 0 26px 64px rgba(0,0,0,0.52);
}
.hc-eyebrow{
  font-family: var(--body); font-weight: 600; font-size: .74rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light);
  display: block; margin-bottom: 8px;
}
.hc-title{
  font-family: var(--display-active); font-weight: 800;
  font-size: clamp(1.3rem, 3vmin, 1.9rem); line-height: 1.05;
  color: var(--cream-on-dark); margin-bottom: 8px; letter-spacing: -0.01em;
}
.hc-sub{
  margin: 0 0 14px; font-size: clamp(.86rem, 1.7vmin, 1rem);
  line-height: 1.5; color: var(--muted-on-dark);
}
.hc-go{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; color: var(--gold-light);
}
.home-choice:hover .hc-go{ gap: 12px; }
.hc-go svg{ transition: transform .25s ease; }
.home-choice:hover .hc-go svg{ transform: translateX(3px); }

/* footer contact */
.home-foot{
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  font-size: clamp(.82rem, 1.6vmin, .95rem); color: var(--muted-on-dark);
  padding-top: clamp(10px, 2vh, 20px);
}
.home-foot span{ display: inline-flex; align-items: center; gap: 7px; }
.home-foot .dotsep{ opacity: 0.5; }

@media (max-width: 600px){
  .home-choices{ grid-template-columns: 1fr; max-width: 420px; }
  .home-choice{ padding: 16px 18px; }
  .hc-sub{ display: none; }
}
@media (max-height: 600px){
  .home-lede{ display: none; }
  .hc-sub{ display: none; }
}

/* ============================================================
   ADMIN — Home Background manager
   ============================================================ */
.hb-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.hb-card{ background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hb-card.off{ opacity: 0.6; }
.hb-prev{ height: 116px; position: relative; background-size: cover; background-position: center; }
.hb-num{ position: absolute; top: 10px; left: 10px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,0.5); color: #fff; font-family: var(--mono); font-size: .72rem; display: flex; align-items: center; justify-content: center; }
.hb-onbadge{ position: absolute; top: 10px; right: 10px; font-family: var(--body); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(74,138,90,0.9); color: #fff; }
.hb-body{ padding: 12px 14px; }
.hb-label{ width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-family: inherit; font-size: .9rem; color: var(--ink); background: #fff; margin-bottom: 10px; }
.hb-actions{ display: flex; align-items: center; gap: 6px; }
.hb-actions .spacer{ flex: 1; }
.hb-mini{ display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--ivory); color: var(--wine); cursor: pointer; font-size: .9rem; }
.hb-mini:hover{ border-color: var(--gold); }
.hb-mini[disabled]{ opacity: 0.35; cursor: default; }
.hb-toggle{ font-family: var(--body); font-weight: 600; font-size: .82rem; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--ivory); color: var(--wine); cursor: pointer; }
.hb-toggle.on{ background: rgba(74,138,90,0.14); border-color: #3c7a4c; color: #3c7a4c; }
.hb-upload{ font-family: var(--mono); font-size: .7rem; color: var(--ink-soft); display: block; margin-top: 8px; }

/* ============================================================
   FORMS — captcha, image uploader, document uploader
   ============================================================ */
.captcha{ display: inline-flex; align-items: center; gap: 12px; background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-sm); }
.captcha.dark{ background: var(--dark2); border-color: var(--dark-line); }
.cap-check{ width: 26px; height: 26px; border-radius: 6px; border: 2px solid var(--line-gold); background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; flex: none; transition: all .2s; }
.cap-check.on{ background: #3c7a4c; border-color: #3c7a4c; }
.captcha.dark .cap-check{ background: var(--dark3); }
.captcha.dark .cap-check.on{ background: #3c7a4c; }
.cap-spin{ width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-gold); border-top-color: var(--gold-deep); animation: capspin .7s linear infinite; }
@keyframes capspin{ to{ transform: rotate(360deg); } }
.cap-label{ font-size: .98rem; color: var(--ink); flex: 1; }
.captcha.dark .cap-label{ color: var(--cream-on-dark); }
.cap-brand{ display: inline-flex; align-items: center; gap: 6px; color: var(--gold-deep); opacity: .7; }
.cap-brand small{ font-size: .58rem; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; }

.uploader{ }
.up-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.up-tile{ position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); background-size: cover; background-position: center; border: 1px solid var(--line); }
.up-tile.add{ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed var(--line-gold); background: var(--ivory); color: var(--gold-deep); cursor: pointer; font-size: .76rem; font-weight: 600; transition: all .2s; }
.up-tile.add:hover{ border-color: var(--gold); background: rgba(176,130,58,0.06); }
.uploader.dark .up-tile.add{ background: var(--dark2); color: var(--gold-light); }
.up-x{ position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border-radius: 50%; background: rgba(20,12,16,0.72); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; }
.up-x:hover{ background: var(--burgundy); }
.up-note{ font-size: .82rem; color: var(--ink-soft); margin: 10px 0 0; }
.uploader.dark .up-note{ color: var(--muted-on-dark); }

.docup-drop{ width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px; border: 1.5px dashed var(--line-gold); border-radius: var(--radius); background: var(--ivory); color: var(--gold-deep); cursor: pointer; transition: all .2s; }
.docup-drop:hover{ border-color: var(--gold); background: rgba(176,130,58,0.05); }
.docup.dark .docup-drop{ background: var(--dark2); }
.docup-title{ font-weight: 600; color: var(--wine); font-size: 1.02rem; }
.docup.dark .docup-title{ color: var(--cream-on-dark); }
.docup-hint{ font-size: .86rem; color: var(--ink-soft); text-align: center; max-width: 40ch; }
.docup.dark .docup-hint{ color: var(--muted-on-dark); }
.docup-file{ display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-gold); border-radius: var(--radius); background: var(--cream-deep); }
.docup.dark .docup-file{ background: var(--dark2); border-color: var(--dark-line); }
.docup-ico{ width: 38px; height: 38px; border-radius: 9px; background: #fff; color: var(--burgundy); display: flex; align-items: center; justify-content: center; flex: none; }
.docup-meta{ flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.docup-meta b{ color: var(--wine); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docup.dark .docup-meta b{ color: var(--cream-on-dark); }
.docup-meta small{ font-size: .8rem; color: var(--ink-soft); }
.docup-remove{ width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.docup-remove:hover{ border-color: var(--pink); color: var(--pink); }

/* order success — reassurance left, phone right */
.order-success{ margin-top: 32px; display: grid; grid-template-columns: 1.1fr 0.9fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-gold); box-shadow: var(--shadow-md); }
.order-success .os-left{ background: var(--ivory); padding: 40px 36px; }
.order-success .os-left h2{ font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.order-success .os-left p{ color: var(--ink); }
.order-success .os-right{ background: var(--wine); color: var(--cream-on-dark); padding: 40px 34px; display: flex; flex-direction: column; align-items: flex-start; }
.os-phone{ display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--display-active); font-weight: 700; font-size: clamp(1.4rem, 4.4vw, 1.85rem); color: #fff; letter-spacing: -0.01em; border-bottom: 2px solid var(--line-gold); padding-bottom: 4px; }
.os-phone:hover{ color: var(--gold-light); }
@media (max-width: 640px){
  .order-success{ grid-template-columns: 1fr; }
  .order-success .os-left, .order-success .os-right{ padding: 30px 24px; }
}

/* ============================================================
   TRIBUTE PAGE — minimal header + bottom promo
   ============================================================ */
.tribute-head{ position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 clamp(18px, 4vw, 40px); background: rgba(250,243,232,0.9); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line); }
.tribute-head.dark{ background: rgba(18,16,14,0.78); border-bottom-color: var(--dark-line); }
.th-brand{ display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.th-brand img{ width: 30px; height: 30px; border-radius: 8px; }
.th-brand span{ font-family: var(--display-active); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; color: var(--wine); white-space: nowrap; }
.th-brand em{ font-style: italic; font-weight: 500; color: inherit; }
.tribute-head.dark .th-brand span{ color: var(--cream-on-dark); }
.tribute-head.dark .th-brand em{ color: inherit; }
.th-cta{ font-family: var(--body); font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--burgundy); color: var(--burgundy); background: transparent; cursor: pointer; transition: all .2s; white-space: nowrap; }
.th-cta:hover{ background: var(--burgundy); color: var(--cream); }
.th-edit{ font-family: var(--body); font-weight: 600; font-size: .92rem; padding: 10px 16px; border-radius: 999px; border: none; background: var(--wine); color: var(--cream); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: all .2s; }
.th-edit:hover{ background: var(--wine-deep); }
.tribute-head.dark .th-edit{ background: var(--gold-light); color: var(--wine); }
.tribute-head.dark .th-edit:hover{ background: var(--gold); }
@media (max-width: 640px){ .th-edit{ font-size: .82rem; padding: 9px 13px; } }
.tribute-head.dark .th-cta{ border-color: var(--gold-light); color: var(--gold-light); }
.tribute-head.dark .th-cta:hover{ background: var(--gold-light); color: var(--wine); }
@media (max-width: 520px){ .th-cta{ font-size: .82rem; padding: 9px 13px; } .th-brand span{ font-size: 1.05rem; } }

.tribute-promo-sec{ background: var(--cream-deep); }
.tribute-promo{ display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; background: var(--ivory); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-md); }
.tribute-promo .tp-image{ border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (min-width: 820px){ .tribute-promo{ grid-template-columns: 1.05fr 0.95fr; gap: 48px; } }

/* ============================================================
   CREATE FLOW — date dropdowns, join gate, image cropper
   ============================================================ */
.dd-row{ display: flex; gap: 10px; }
.dd-row .input{ flex: 1; min-width: 0; }
.dd-preview{ margin: 8px 0 0; font-size: .9rem; color: var(--ink-soft); }
.datedrop.dark .dd-preview{ color: var(--muted-on-dark); }
.dd-preview strong{ color: var(--burgundy); font-family: var(--display-active); font-style: italic; font-weight: 500; font-size: 1.05rem; }
.datedrop.dark .dd-preview strong{ color: var(--gold-light); }

.joinpanel{ background: var(--ivory); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 30px 28px; max-width: 460px; box-shadow: var(--shadow-md); }
.joinpanel.dark{ background: var(--dark2); border-color: var(--dark-line); }
.joinpanel h3{ color: var(--wine); }
.joinpanel.dark h3{ color: var(--cream-on-dark); }
.joinpanel.dark .muted{ color: var(--muted-on-dark); }
.join-google{ width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; padding: 13px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: #1a1a16; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all .2s; }
.join-google:hover{ border-color: var(--gold); box-shadow: var(--shadow-sm); }
.g-mark{ width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(#EA4335 0 25%, #FBBC05 0 50%, #34A853 0 75%, #4285F4 0 100%); color: #fff; font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; font-family: var(--body); }
.join-or{ display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--ink-soft); font-size: .85rem; }
.join-or::before, .join-or::after{ content: ""; flex: 1; height: 1px; background: var(--line); }
.joinpanel.dark .join-or{ color: var(--muted-on-dark); }
.joinpanel.dark .join-or::before, .joinpanel.dark .join-or::after{ background: var(--dark-line); }
.join-note{ margin: 14px 0 0; font-size: .82rem; color: var(--ink-soft); text-align: center; }
.joinpanel.dark .join-note{ color: var(--muted-on-dark); }

.cropper{ max-width: 320px; }
.crop-empty{ width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--line-gold); border-radius: var(--radius); background: var(--ivory); color: var(--gold-deep); cursor: pointer; padding: 20px; transition: all .2s; }
.cropper.dark .crop-empty{ background: var(--dark2); }
.crop-empty:hover{ border-color: var(--gold); background: rgba(176,130,58,0.05); }
.crop-title{ font-weight: 600; color: var(--wine); font-size: 1.05rem; }
.cropper.dark .crop-title{ color: var(--cream-on-dark); }
.crop-hint{ font-size: .82rem; color: var(--ink-soft); text-align: center; max-width: 32ch; }
.cropper.dark .crop-hint{ color: var(--muted-on-dark); }
.crop-box{ position: relative; width: 100%; border-radius: var(--radius); background-repeat: no-repeat; box-shadow: var(--shadow-md); cursor: grab; border: 1px solid var(--line-gold); touch-action: none; overflow: hidden; }
.crop-box:active{ cursor: grabbing; }
.crop-grab{ position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(18,12,16,0.7); color: #fff; font-size: .72rem; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; pointer-events: none; }
.crop-controls{ display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.crop-zlabel{ font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.cropper.dark .crop-zlabel{ color: var(--muted-on-dark); }
.crop-controls input[type=range]{ flex: 1; accent-color: var(--burgundy); }
.cropper.dark .crop-controls input[type=range]{ accent-color: var(--gold-light); }
.crop-replace{ font-size: .82rem; font-weight: 600; color: var(--burgundy); background: none; border: none; cursor: pointer; }
.cropper.dark .crop-replace{ color: var(--gold-light); }

/* recently remembered — subtle stream on the begin-a-tribute step */
.remember-stream{ margin-top: 34px; border-top: 1px solid var(--dark-line); padding-top: 22px; }
.rs-head{ display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rs-title{ font-family: var(--display-active); font-style: italic; color: var(--gold-light); font-size: 1.2rem; }
.rs-sub{ font-size: .86rem; color: var(--muted-on-dark); }
.rs-row{ display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
.rs-chip{ flex: none; width: 100px; cursor: pointer; scroll-snap-align: start; transition: transform .18s; }
.rs-chip:hover{ transform: translateY(-3px); }
.rs-ph{ width: 100px; height: 100px; border-radius: 14px; overflow: hidden; border: 1px solid var(--dark-line); }
.rs-name{ margin-top: 8px; font-size: .86rem; font-weight: 600; color: var(--cream-on-dark); line-height: 1.2; }
.rs-years{ font-family: var(--display-active); font-style: italic; color: var(--gold); font-size: .82rem; }
.rs-row::-webkit-scrollbar{ height: 6px; }
.rs-row::-webkit-scrollbar-thumb{ background: var(--dark-line); border-radius: 3px; }

/* partner page — in-page tabs (no reload, no scroll jump) */
.partner-tabs{ display: inline-flex; gap: 4px; background: var(--cream-deep); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 26px; flex-wrap: wrap; max-width: 100%; }
.ptab{ border: none; background: transparent; cursor: pointer; font-family: var(--body); font-weight: 600; font-size: .95rem; color: var(--ink-soft); padding: 10px 20px; border-radius: 999px; transition: all .2s; white-space: nowrap; }
.ptab:hover{ color: var(--wine); }
.ptab.active{ background: var(--wine); color: var(--cream); box-shadow: var(--shadow-sm); }

/* ============================================================
   PREMIUM MARK (gold Cherish heart) + AD SLOT
   ============================================================ */
.premium-mark{ display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex: none; color: #fff; background: linear-gradient(155deg, var(--gold-light), var(--gold-deep)); box-shadow: 0 1px 5px rgba(70,46,12,0.32), inset 0 1px 0 rgba(255,255,255,0.35); }
/* on a photo thumbnail */
.thumb-premium{ position: absolute; top: 8px; right: 8px; z-index: 3; }
.dir-card .photo, .dir-row .thumb, .feat-card .photo, .rs-ph, .g-item{ position: relative; }

.ad-slot{ margin: 0 auto; max-width: 760px; padding: 0 22px; }
.ad-tag{ display: block; text-align: center; font-family: var(--mono); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.ad-frame{ border: 1px dashed var(--line-gold); border-radius: var(--radius-sm); background: repeating-linear-gradient(135deg, rgba(176,130,58,0.05) 0 10px, transparent 10px 20px); min-height: 96px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; }

/* premium-only on-page style selector */
.style-selector{ background: var(--cream-deep); border-bottom: 1px solid var(--line); }
.style-selector.dark{ background: rgba(18,16,14,0.92); border-bottom-color: var(--dark-line); }
.style-selector .ss-inner{ max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px clamp(18px,4vw,40px); flex-wrap: wrap; }
.ss-label{ display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.style-selector.dark .ss-label{ color: var(--gold-light); }
.ss-options{ display: inline-flex; gap: 4px; background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.style-selector.dark .ss-options{ background: var(--dark2); border-color: var(--dark-line); }
.ss-opt{ border: none; background: transparent; cursor: pointer; font-family: var(--body); font-weight: 600; font-size: .88rem; color: var(--ink-soft); padding: 7px 16px; border-radius: 999px; transition: all .2s; }
.ss-opt:hover{ color: var(--wine); }
.style-selector.dark .ss-opt{ color: var(--muted-on-dark); }
.ss-opt.active{ background: var(--wine); color: var(--cream); }
.style-selector.dark .ss-opt.active{ background: var(--gold-light); color: var(--wine); }

/* ============================================================
   OWNER EDITOR (post-login dashboard)
   ============================================================ */
.editor{ min-height: 100vh; background: var(--cream); }
.ed-top{ position: sticky; top: 0; z-index: 40; background: linear-gradient(180deg, var(--wine), var(--wine-deep)); color: var(--cream-on-dark); }
.ed-top-inner{ max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(18px,4vw,28px); flex-wrap: wrap; }
.ed-ctx{ display: flex; align-items: center; gap: 16px; min-width: 0; }
.ed-back{ background: rgba(255,255,255,0.1); border: 1px solid rgba(215,178,101,0.3); color: var(--cream); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .88rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .2s; }
.ed-back:hover{ background: rgba(255,255,255,0.18); }
.ed-back svg{ transform: rotate(180deg); }
.ed-eyebrow{ font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.ed-saved{ color: #9fd6ab; }
.ed-name{ font-family: var(--display-active); font-weight: 700; font-size: 1.3rem; }
.ed-years{ font-family: var(--display-active); font-style: italic; font-weight: 500; color: var(--gold-light); font-size: 1rem; }
.ed-actions{ display: flex; align-items: center; gap: 12px; }
.ed-tier{ display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.12); color: var(--cream); }
.ed-tier.prem{ background: rgba(215,178,101,0.18); color: var(--gold-light); }

.ed-body{ max-width: 760px; margin: 0 auto; padding: clamp(24px,4vw,40px) clamp(18px,4vw,28px) 60px; }

.ed-upsell{ display: grid; grid-template-columns: 1fr; gap: 22px; background: linear-gradient(160deg, rgba(215,178,101,0.14), rgba(176,130,58,0.06)); border: 1.5px solid var(--line-gold); border-radius: var(--radius); padding: clamp(22px,4vw,30px); margin-bottom: 28px; }
@media(min-width:680px){ .ed-upsell{ grid-template-columns: 1.4fr 0.85fr; align-items: center; } }
.ed-unlocks{ list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 9px; }
.ed-unlocks li{ position: relative; padding-left: 26px; color: var(--ink); font-size: .98rem; }
.ed-unlocks li::before{ content: "✦"; position: absolute; left: 4px; color: var(--gold-deep); }
.ed-upsell-cta{ display: flex; flex-direction: column; gap: 10px; align-items: stretch; background: var(--ivory); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 20px; }
.ed-price{ font-family: var(--display-active); font-weight: 800; font-size: 2.4rem; color: var(--wine); text-align: center; }

.ed-prembar{ display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: var(--ivory); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 26px; font-weight: 600; color: var(--wine); }
.ed-prembar span{ display: inline-flex; align-items: center; gap: 9px; }
.ed-link{ background: none; border: none; color: var(--ink-soft); font-weight: 600; font-size: .88rem; cursor: pointer; text-decoration: underline; }
.ed-link:hover{ color: var(--burgundy); }

.ed-sections{ display: flex; flex-direction: column; gap: 16px; }
.ed-card{ background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: border-color .2s, opacity .2s; }
.ed-card.collapsed{ background: var(--cream-deep); }
.ed-card.locked{ border-style: dashed; border-color: var(--line-gold); background: repeating-linear-gradient(135deg, rgba(176,130,58,0.04) 0 12px, transparent 12px 24px); }
.ed-card-head{ display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ed-card-title{ font-family: var(--display-active); font-weight: 700; font-size: 1.3rem; color: var(--wine); display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ed-badge{ display: inline-flex; align-items: center; gap: 5px; font-family: var(--body); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); background: rgba(215,178,101,0.16); padding: 4px 9px; border-radius: 999px; }
.ed-hint{ color: var(--ink-soft); font-size: .9rem; margin: 6px 0 0; }
.ed-fields{ margin-top: 16px; }

/* toggle switch */
.ed-toggle{ display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); background: var(--line); padding: 5px 12px 5px 6px; border-radius: 999px; transition: all .2s; }
.ed-toggle .knob{ width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.ed-toggle.on{ background: var(--gold-deep); color: #fff; }
.ed-toggle.on .knob{ transform: translateX(2px); }
.ed-unlock{ display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--gold); background: transparent; color: var(--gold-deep); font-weight: 700; font-size: .82rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.ed-unlock:hover{ background: var(--gold); color: #fff; }
.ed-locked-body{ margin-top: 16px; display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .95rem; }
.ed-guest{ background: var(--cream-deep); border-radius: var(--radius-sm); padding: 16px 18px; }

/* ============================================================
   LANDING PAGE — single dynamic homepage
   Reference structure, Cherish design system.
   ============================================================ */

/* ---- HERO (immersive, rotating admin-managed scenes) ---- */
.lp-hero{
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  /* pull the hero up under the translucent sticky nav so the scene reads full-bleed */
  margin-top: -70px;
  padding: calc(70px + clamp(64px, 12vw, 120px)) clamp(20px, 5vw, 60px) clamp(70px, 9vw, 110px);
}
.lp-hero .home-bg-layer{ z-index: -2; }
.lp-hero .home-scrim{ z-index: -1; }
.lp-hero-floral{
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: var(--floral);
  background-repeat: no-repeat; background-position: center; background-size: cover;
  filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg); opacity: 0.05;
}
.lp-hero-inner{ position: relative; z-index: 1; max-width: 820px; width: 100%; }
.lp-eyebrow{
  font-family: var(--body); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light);
  margin: 0 0 18px;
}
.lp-headline{
  font-family: var(--display-active); font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 4.8rem); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--cream-on-dark); margin: 0 0 26px;
  text-shadow: 0 2px 36px rgba(0,0,0,0.45);
}
.lp-headline em{ font-style: italic; font-weight: 400; color: var(--gold-light); }
.lp-sub{
  font-size: clamp(1.05rem, 2.4vw, 1.3rem); line-height: 1.65; font-weight: 400;
  color: rgba(243,233,218,0.74); max-width: 50ch; margin: 0 auto 34px;
}
.lp-actions{ display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (min-width: 480px){ .lp-actions{ flex-direction: row; justify-content: center; } }
.lp-btn-line{
  background: rgba(255,255,255,0.04); color: var(--cream-on-dark);
  border: 1.5px solid rgba(243,233,218,0.22);
}
.lp-btn-line:hover{ background: rgba(255,255,255,0.10); border-color: rgba(243,233,218,0.5); transform: translateY(-2px); }
.lp-herofoot{
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 1;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.86rem; letter-spacing: 0.08em; color: rgba(243,233,218,0.42);
}
.lp-herofoot span{ display: inline-flex; align-items: center; gap: 6px; }
.lp-herofoot .dotsep{ opacity: 0.5; }
@media (max-height: 680px){ .lp-herofoot{ display: none; } }

/* ---- THE LADDER (announcement → keepsake) ---- */
.lp-track{ max-width: 720px; margin: 0 auto; position: relative; }
.lp-track::before{
  content: ""; position: absolute; left: 27px; top: 36px; bottom: 40px; width: 1.5px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--line-gold) 55%, transparent 100%);
}
@media (max-width: 560px){ .lp-track::before{ left: 22px; } }
.lp-tier{ display: flex; gap: clamp(18px, 4vw, 30px); padding-bottom: 38px; }
.lp-tier:last-child{ padding-bottom: 0; }
.lp-dot{
  width: 56px; height: 56px; min-width: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display-active); font-size: 1.25rem; font-weight: 700;
  position: relative; z-index: 1; box-shadow: var(--shadow-sm);
}
@media (max-width: 560px){ .lp-dot{ width: 44px; height: 44px; min-width: 44px; font-size: 1.05rem; } }
.lp-dot.d1{ background: var(--wine); color: var(--gold-light); border: 1.5px solid var(--line-gold); }
.lp-dot.d2{ background: var(--cream-deep); color: var(--ink-soft); border: 1.5px solid var(--line); }
.lp-dot.d3{ background: linear-gradient(160deg, var(--gold-light), var(--gold)); color: var(--wine-deep); }
.lp-dot.d4{ background: linear-gradient(165deg, var(--burgundy), var(--wine) 75%); color: var(--cream); }
.lp-tier-body{ flex: 1; padding-top: 6px; }
.lp-tier-name{ font-family: var(--display-active); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.5rem); color: var(--wine); margin: 0 0 6px; }
.lp-tier-desc{ color: var(--ink-soft); line-height: 1.6; font-size: 1.02rem; max-width: 48ch; margin: 0; }
.lp-tag{
  display: inline-block; margin-top: 10px; font-family: var(--body);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--gold-deep);
  background: rgba(176,130,58,0.12); border: 1px solid rgba(176,130,58,0.25);
  padding: 4px 12px; border-radius: 999px;
}
.lp-tag.free{ color: var(--ink-soft); background: transparent; border-color: var(--line); }

/* ---- PROOF (wine) ---- */
.lp-proof{ background: linear-gradient(165deg, var(--burgundy), var(--wine) 80%); }
.lp-proof-grid{ display: grid; gap: 34px; max-width: 920px; margin: 0 auto; }
@media (min-width: 720px){ .lp-proof-grid{ grid-template-columns: 1fr 1px 1fr; gap: 44px; align-items: start; } }
.lp-proof-rule{ display: none; background: rgba(215,178,101,0.22); }
@media (min-width: 720px){ .lp-proof-rule{ display: block; } }
.lp-quotemark{ font-family: var(--display-active); font-size: 3.4rem; line-height: 0.7; color: var(--gold-light); opacity: 0.6; margin-bottom: 14px; }
.lp-quote{ font-family: var(--display-active); font-style: italic; font-weight: 500; font-size: clamp(1.2rem, 2.8vw, 1.45rem); line-height: 1.5; color: var(--cream-on-dark); margin: 0 0 16px; }
.lp-attrib{ font-family: var(--body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }

/* ---- HOW IT WORKS (ivory) ---- */
.lp-steps{ display: grid; gap: 26px; max-width: 920px; margin: 0 auto; }
@media (min-width: 720px){ .lp-steps{ grid-template-columns: repeat(3, 1fr); gap: 34px; } }
.lp-stepnum{ font-family: var(--display-active); font-weight: 900; font-size: 3.4rem; line-height: 1; color: rgba(176,130,58,0.28); margin-bottom: 8px; }
.lp-step-title{ font-family: var(--display-active); font-weight: 700; font-size: 1.35rem; color: var(--wine); margin: 0 0 8px; }
.lp-step-desc{ color: var(--ink-soft); line-height: 1.65; font-size: 1rem; margin: 0; }
.lp-process-note{ max-width: 540px; margin: 46px auto 0; text-align: center; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 26px; }
.lp-process-note strong{ color: var(--burgundy); }
.lp-process-note a{ color: var(--burgundy); border-bottom: 1px solid var(--line-gold); }

/* ---- GALLERY TEASER ---- */
.lp-gallery-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 16px); max-width: 960px; margin: 0 auto 32px; }
.lp-gallery-tile{ aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lp-gallery-tile .ph{ width: 100%; height: 100%; }

/* ---- FINAL CTA (dark) ---- */
.lp-final{ background: var(--dark); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.lp-final::before{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, rgba(176,130,58,0.14), transparent 70%);
}
.lp-floret{ display: block; font-size: 1.8rem; color: var(--gold-light); margin-bottom: 18px; }
.lp-final-detail{ margin-top: 38px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243,233,218,0.3); }
.lp-final-detail span{ display: inline-flex; align-items: center; gap: 6px; }
.lp-final-detail .dotsep{ color: rgba(215,178,101,0.4); }

/* ============================================================
   STAFF CONSOLE v2 — oversight dashboard (HealthMate layout,
   Cherish theme). Reuses .admin / .admin-side / .admin-nav.
   ============================================================ */

/* Sidebar count chips on staff nav (reuse .admin-nav a .ct) */
.admin-nav a .ct.warn{ background: rgba(234,0,106,0.22); color: var(--pink-bright); }

/* ---- Welcome banner ---- */
.sv-welcome{
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--wine), var(--wine-deep) 70%);
  border-radius: var(--radius); padding: 26px 30px; margin-bottom: 22px;
  box-shadow: var(--shadow-md);
}
.sv-welcome::before{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background: radial-gradient(70% 120% at 100% 0%, rgba(215,178,101,0.22), transparent 60%);
}
.sv-welcome .sv-kicker{ color: var(--gold-light); font-weight:600; font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; margin-bottom:8px; }
.sv-welcome h1{ color: var(--cream); font-size: clamp(1.6rem,3.4vw,2.3rem); margin:0 0 8px; }
.sv-welcome p{ color: rgba(243,233,218,0.78); margin:0; max-width: 60ch; font-size:.98rem; }
.sv-welcome .sv-floret{ position:absolute; right:26px; top:50%; transform:translateY(-50%); font-size:3.2rem; color: rgba(215,178,101,0.30); pointer-events:none; }
@media (max-width:640px){ .sv-welcome .sv-floret{ display:none; } }

/* ---- Stat cards (circular icon, HealthMate style) ---- */
.statgrid{ display:grid; grid-template-columns: repeat(2,1fr); gap:14px; margin-bottom:24px; }
@media (min-width:760px){ .statgrid{ grid-template-columns: repeat(4,1fr); } }
.statcard{
  background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius);
  padding:20px 18px; box-shadow: var(--shadow-sm); text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:4px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.statcard.clickable{ cursor:pointer; }
.statcard.clickable:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.statcard.alert{ border-color: rgba(234,0,106,0.35); }
.sc-icon{
  width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; margin-bottom:8px;
  background: radial-gradient(circle at 30% 25%, var(--cream), var(--cream-deep));
  border:1px solid var(--line-gold); color: var(--gold-deep);
}
.sc-icon.wine{ background: rgba(124,20,48,0.10); border-color: rgba(124,20,48,0.22); color: var(--burgundy); }
.sc-icon.gold{ background: rgba(176,130,58,0.12); border-color: var(--line-gold); color: var(--gold-deep); }
.sc-icon.pink{ background: rgba(234,0,106,0.10); border-color: rgba(234,0,106,0.3); color: var(--pink); }
.sc-icon.green{ background: rgba(74,138,90,0.12); border-color: rgba(74,138,90,0.35); color:#3c7a4c; }
.sc-label{ font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-soft); font-weight:600; }
.sc-val{ font-family: var(--display-active); font-weight:900; font-size: clamp(1.5rem,3.4vw,2.1rem); color: var(--wine); line-height:1; }
.sc-sub{ font-size:.78rem; color: var(--ink-soft); }
.sc-sub.up{ color:#3c7a4c; } .sc-sub.warn{ color: var(--pink); }

/* ---- Dashboard split: main + right side panel ---- */
.sv-cols{ display:grid; grid-template-columns:1fr; gap:22px; align-items:start; }
@media (min-width:1020px){ .sv-cols{ grid-template-columns: 1fr 320px; } }
.sv-side{ display:flex; flex-direction:column; gap:18px; }

/* ---- Admin profile card (right panel) ---- */
.sv-profile{ background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding:22px; text-align:center; }
.sv-avatar{ width:64px; height:64px; border-radius:50%; margin:0 auto 12px; display:flex; align-items:center; justify-content:center; font-family:var(--display-active); font-weight:800; font-size:1.5rem; color: var(--cream); background: linear-gradient(160deg, var(--burgundy), var(--wine)); }
.sv-profile .sv-name{ font-family:var(--display-active); font-weight:800; font-size:1.15rem; color: var(--wine); }
.sv-profile .sv-role{ font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color: var(--gold-deep); font-weight:600; margin-top:2px; }
.sv-profile .sv-mini{ display:flex; justify-content:space-around; margin-top:16px; border-top:1px solid var(--line); padding-top:14px; }
.sv-profile .sv-mini b{ display:block; font-family:var(--display-active); font-size:1.3rem; color: var(--wine); }
.sv-profile .sv-mini span{ font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; color: var(--ink-soft); }

/* ---- Activity list ---- */
.act-list{ display:flex; flex-direction:column; }
.act-row{ display:flex; align-items:center; gap:12px; padding:12px 4px; border-bottom:1px solid var(--line); }
.act-row:last-child{ border-bottom:0; }
.act-dot{ width:34px; height:34px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center; font-size:.95rem; background: var(--cream-deep); border:1px solid var(--line); }
.act-main{ flex:1; min-width:0; }
.act-main .act-t{ font-weight:600; color: var(--wine); font-size:.92rem; }
.act-main .act-s{ font-size:.8rem; color: var(--ink-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.act-when{ font-size:.74rem; color: var(--ink-soft); white-space:nowrap; }

/* ---- Trend card (inline SVG area chart) ---- */
.trend-card{ background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding:20px 22px; }
.trend-card .tc-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.trend-card .tc-head h3{ font-size:1.05rem; }
.trend-svg{ width:100%; height:140px; display:block; overflow:visible; }
.trend-x{ display:flex; justify-content:space-between; margin-top:6px; font-size:.68rem; color: var(--ink-soft); letter-spacing:.04em; }

/* ---- Photo moderation grid ---- */
.photo-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap:14px; }
.photo-tile{ background: var(--ivory); border:1px solid var(--line); border-radius: var(--radius-sm); overflow:hidden; box-shadow: var(--shadow-sm); }
.photo-tile .pt-img{ aspect-ratio:1; background: var(--cream-deep) center/cover no-repeat; }
.photo-tile .pt-body{ padding:10px 12px; }
.photo-tile .pt-cap{ font-size:.82rem; color: var(--ink); margin-bottom:4px; min-height:1.2em; }
.photo-tile .pt-meta{ font-size:.72rem; color: var(--ink-soft); margin-bottom:8px; }
.photo-tile .pt-actions{ display:flex; gap:6px; }

/* ---- Small inline select / segmented control ---- */
.seg{ display:inline-flex; background: var(--cream-deep); border:1px solid var(--line); border-radius:999px; padding:3px; gap:2px; }
.seg button{ border:none; background:none; cursor:pointer; font-family:var(--body); font-weight:600; font-size:.84rem; color: var(--ink-soft); padding:7px 16px; border-radius:999px; transition: all .2s; }
.seg button.active{ background: var(--ivory); color: var(--wine); box-shadow: var(--shadow-sm); }

/* ---- Toast / banner messages ---- */
.adm-note{ border-radius: var(--radius-sm); padding:10px 16px; margin-bottom:16px; font-size:.9rem; }
.adm-note.ok{ background: rgba(74,138,90,0.12); border:1px solid rgba(74,138,90,0.4); color:#2f6b3e; }
.adm-note.err{ background: rgba(234,0,106,0.08); border:1px solid rgba(234,0,106,0.35); color: var(--pink); }
.adm-note.info{ background: rgba(176,130,58,0.10); border:1px solid var(--line-gold); color: var(--gold-deep); }

/* ---- Section heading row ---- */
.sv-h2{ font-family:var(--display-active); font-weight:800; font-size:1.4rem; color: var(--wine); margin:0; }

/* ── On-site admin bar (logged-in staff, front-end pages) ── */
.admin-bar{ position: fixed; top:0; left:0; right:0; z-index: 9999; height: 40px; display:flex; align-items:center; justify-content:space-between; padding: 0 14px; gap: 12px; background: linear-gradient(90deg, var(--wine-deep), var(--wine)); color: var(--cream-on-dark); font-family: var(--body); font-size: .86rem; box-shadow: 0 2px 14px rgba(0,0,0,.28); }
.admin-bar .ab-left, .admin-bar .ab-right{ display:flex; align-items:center; gap: 4px; }
.admin-bar .ab-brand{ font-family: var(--display-active); font-weight:800; color: var(--cream); margin-right: 10px; }
.admin-bar a{ color: var(--gold-light); cursor:pointer; font-weight:600; padding: 5px 9px; border-radius:7px; text-decoration:none; transition: background .15s, color .15s; }
.admin-bar a:hover{ background: rgba(255,255,255,.12); color:#fff; }
.admin-bar .ab-user{ color: var(--muted-on-dark); font-size:.76rem; margin-right:4px; }
.has-admin-bar{ padding-top: 40px; }
@media (max-width:640px){ .admin-bar{ font-size:.78rem; padding:0 8px; } .admin-bar .ab-user{ display:none; } .admin-bar .ab-brand{ margin-right:4px; } }
