/* =========================================================================
   Rainbow Bridge — Memorial Garden
   A pressed-flower-journal aesthetic: warm paper, sage + blush + candle gold,
   Fraunces display serif over Spectral body serif. Gentle, hand-made motion.
   ========================================================================= */

:root {
  --paper:      #f5efe3;
  --paper-2:    #efe6d4;
  --panel:      #fbf7ee;
  --panel-warm: #f3ead8;

  --ink:   #2f3528;
  --ink-2: #5d6450;
  --ink-3: #8b8a76;

  --sage:      #7f8f67;
  --sage-2:    #5b6944;
  --sage-mist: #c4ccb2;

  --blush:   #c78a84;
  --blush-2: #ab6961;
  --gold:    #c9a24b;
  --gold-2:  #a9842c;

  --line:   rgba(47, 53, 40, 0.13);
  --line-2: rgba(47, 53, 40, 0.24);

  --shadow-sm: 0 1px 2px rgba(47,53,40,.06), 0 2px 10px rgba(47,53,40,.05);
  --shadow-md: 0 8px 26px rgba(47,53,40,.10), 0 2px 6px rgba(47,53,40,.06);
  --shadow-lg: 0 22px 60px rgba(47,53,40,.16);

  --radius:    16px;
  --radius-sm: 10px;

  --font-display: 'Fraunces', 'Hoefler Text', Georgia, serif;
  --font-body:    'Spectral', Georgia, 'Times New Roman', serif;

  --maxw: 1140px;
}

/* ----------------------------- reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--sage-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blush-2); }

/* ----------------------------- base ------------------------------------ */
body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  font-size: 18px;
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 90% at 50% -10%, #fbf6ec 0%, rgba(251,246,236,0) 55%),
    radial-gradient(80% 60% at 100% 0%, rgba(196,204,178,.35) 0%, rgba(196,204,178,0) 60%),
    radial-gradient(70% 55% at 0% 8%, rgba(231,200,196,.28) 0%, rgba(231,200,196,0) 55%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* decorative corner florals (very soft) */
body::after {
  content: "";
  position: fixed;
  right: -60px; bottom: -50px;
  width: 360px; height: 360px;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background: no-repeat right bottom / contain
    url("/img/floral-corner.svg");
}

main { flex: 1 0 auto; position: relative; z-index: 2; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4vw, 36px); }
.narrow { max-width: 760px; }

/* ----------------------------- typography ------------------------------ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-optical-sizing: auto; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }
.serif-italic { font-style: italic; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--sage-2);
}
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }

/* ----------------------------- header ---------------------------------- */
.site-header {
  position: relative; z-index: 3;
  border-bottom: 1px solid var(--line);
  background: rgba(251,247,238,.72);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-block: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.brand .name small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sage-2); margin-top: 3px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a.navlink {
  text-decoration: none; color: var(--ink-2); font-size: .96rem;
  padding: 7px 13px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a.navlink:hover { background: rgba(127,143,103,.14); color: var(--sage-2); }
.nav .who { color: var(--ink-2); font-size: .92rem; padding-left: 6px; }

/* ----------------------------- buttons --------------------------------- */
.btn {
  --bg: var(--sage); --fg: #fbf8f0; --bd: var(--sage);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  line-height: 1; padding: 13px 22px; border-radius: 999px;
  border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  cursor: pointer; text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .25s ease, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn.secondary { --bg: transparent; --fg: var(--sage-2); --bd: var(--line-2); box-shadow: none; }
.btn.secondary:hover { --bg: rgba(127,143,103,.10); --fg: var(--sage-2); }
.btn.blush { --bg: var(--blush); --bd: var(--blush); }
.btn.gold  { --bg: var(--gold); --bd: var(--gold); --fg: #3a2f12; }
.btn.ghost { --bg: transparent; --bd: transparent; --fg: var(--ink-2); box-shadow: none; padding-inline: 12px; }
.btn.ghost:hover { --bg: rgba(47,53,40,.06); --fg: var(--ink); }
.btn.sm { padding: 8px 15px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* ----------------------------- hero ------------------------------------ */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(36px, 6vw, 72px); text-align: center; }
.hero .eyebrow { display: inline-block; margin-bottom: 18px; }
.hero h1 { margin: 0 auto; max-width: 14ch; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.32rem); color: var(--ink-2); max-width: 52ch; margin: 22px auto 0; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .divider { margin-top: 46px; }
.hero-stats { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: var(--ink-2); }
.hero-stats b { font-family: var(--font-display); font-size: 1.7rem; color: var(--sage-2); display: block; line-height: 1; }
.hero-stats span { font-size: .82rem; letter-spacing: .04em; }

/* botanical divider */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--sage-mist); }
.divider::before, .divider::after { content: ""; height: 1px; width: min(120px, 22vw); background: linear-gradient(90deg, transparent, var(--line-2)); }
.divider::after { background: linear-gradient(270deg, transparent, var(--line-2)); }
.divider svg { width: 26px; height: 26px; opacity: .8; }

/* ----------------------------- garden grid ----------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 8px 0 26px; flex-wrap: wrap; }
.searchbar { display: flex; gap: 8px; align-items: center; }
.searchbar input {
  border: 1px solid var(--line-2); background: var(--panel); border-radius: 999px;
  padding: 10px 16px; font-size: .96rem; width: min(280px, 60vw); color: var(--ink);
}
.searchbar input:focus { outline: 2px solid var(--sage-mist); outline-offset: 1px; }

.garden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  padding-bottom: 28px;
}

.memorial-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 20px;
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .28s ease, border-color .2s;
  opacity: 0; transform: translateY(14px);
  animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards;
}
.memorial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink); border-color: var(--line-2); }

/* arched photo frame — the signature element */
.arch {
  position: relative;
  border-radius: 130px 130px 12px 12px;
  overflow: hidden;
  background: var(--panel-warm);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.5), inset 0 -10px 30px rgba(47,53,40,.06);
}
.arch::after { /* gentle vignette + top light through the "window" */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255,250,240,.45), rgba(255,250,240,0) 60%),
              linear-gradient(180deg, rgba(47,53,40,0) 60%, rgba(47,53,40,.12) 100%);
  pointer-events: none;
}
.memorial-card .arch { aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch.placeholder { display: grid; place-items: center; }
.arch.placeholder svg { width: 46%; height: 46%; opacity: .5; }

.memorial-card .card-body { padding-top: 15px; text-align: center; }
.memorial-card .pet-name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.05; }
.memorial-card .pet-meta { color: var(--ink-2); font-size: .92rem; margin-top: 2px; }
.memorial-card .pet-epitaph { font-style: italic; color: var(--ink-2); font-size: .96rem; margin-top: 9px; }
.tribute-counts { display: flex; gap: 16px; justify-content: center; margin-top: 14px; color: var(--ink-2); font-size: .9rem; }
.tribute-counts span { display: inline-flex; align-items: center; gap: 5px; }

.empty {
  text-align: center; padding: 60px 20px; color: var(--ink-2);
  background: var(--panel); border: 1px dashed var(--line-2); border-radius: var(--radius);
}
.empty svg { width: 64px; height: 64px; margin: 0 auto 14px; opacity: .6; }

/* ----------------------------- memorial page --------------------------- */
.memorial { padding-top: 28px; padding-bottom: 70px; }
.backlink { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); text-decoration: none; font-size: .94rem; margin-bottom: 22px; }
.backlink:hover { color: var(--sage-2); }

.memorial-head { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.memorial-head .arch { aspect-ratio: 4 / 5; }
.memorial-title .eyebrow { margin-bottom: 12px; display: block; }
.memorial-title h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 6px; }
.memorial-title .species { color: var(--ink-2); font-size: 1.05rem; }
.memorial-title .span { font-family: var(--font-display); font-size: 1.5rem; color: var(--sage-2); margin-top: 10px; }
.memorial-title .epitaph { font-style: italic; font-size: 1.3rem; color: var(--ink); margin-top: 20px; max-width: 40ch; }
.memorial-title .epitaph::before { content: "\201C"; color: var(--sage-mist); }
.memorial-title .epitaph::after { content: "\201D"; color: var(--sage-mist); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2);
}
.badge.private { background: rgba(201,162,75,.14); color: var(--gold-2); border-color: rgba(201,162,75,.4); }
.badge.public  { background: rgba(127,143,103,.14); color: var(--sage-2); border-color: rgba(127,143,103,.36); }

.private-banner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: rgba(201,162,75,.12); border: 1px solid rgba(201,162,75,.34);
  color: var(--gold-2); border-radius: var(--radius-sm); padding: 12px 18px; margin-bottom: 22px;
}

.owner-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 16px; margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.owner-bar .grow { flex: 1 1 auto; min-width: 160px; color: var(--ink-2); font-size: .92rem; }
.copyfield { display: flex; gap: 6px; align-items: center; }
.copyfield input { border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 11px; font-size: .85rem; width: min(320px, 50vw); background: var(--panel-warm); color: var(--ink-2); }

.section { margin-top: 52px; }
.section > h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.section > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.story { font-size: 1.16rem; line-height: 1.85; color: var(--ink); max-width: 64ch; }
.story p + p { margin-top: 1em; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.gallery figure { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { font-size: .82rem; color: var(--ink-2); padding: 7px 10px; }

/* ----------------------------- tributes -------------------------------- */
.tribute-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.act-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 11px 20px; font-size: 1rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .16s, box-shadow .24s, background .2s;
}
.act-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.act-btn .ico { font-size: 1.25rem; line-height: 1; }
.act-btn.flower:hover { background: rgba(199,138,132,.12); border-color: var(--blush); }
.act-btn.candle:hover { background: rgba(201,162,75,.14); border-color: var(--gold); }
.act-btn .count { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.act-btn.bloom { animation: bloom .6s ease; }

.tribute-form {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-top: 22px; box-shadow: var(--shadow-sm);
}
.tribute-form .row { display: flex; gap: 14px; flex-wrap: wrap; }
.tribute-form .row > * { flex: 1 1 200px; }

.tribute-list { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.tribute {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-sm); position: relative;
}
.tribute .who { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tribute .who .author { font-family: var(--font-display); font-size: 1.18rem; }
.tribute .who .when { color: var(--ink-3); font-size: .82rem; }
.tribute .who .leaf { color: var(--blush-2); font-size: .82rem; }
.tribute .body { margin-top: 8px; font-size: 1.06rem; color: var(--ink); }
.tribute .body img { margin-top: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); max-height: 360px; width: auto; }
.tribute.gesture { background: linear-gradient(180deg, var(--panel), var(--panel-warm)); }
.tribute.gesture .body { font-style: italic; color: var(--ink-2); }
.tribute .mod { position: absolute; top: 12px; right: 14px; display: flex; gap: 6px; }
.tribute.hidden-row { opacity: .6; border-style: dashed; }

/* candle flame */
.flame { position: relative; width: 16px; height: 22px; display: inline-block; }
.flame i {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 11px; height: 17px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 75%, #fff6cf 0%, var(--gold) 45%, var(--blush-2) 100%);
  box-shadow: 0 0 10px rgba(201,162,75,.7), 0 0 20px rgba(201,162,75,.4);
  transform-origin: 50% 90%;
  animation: flicker 1.6s ease-in-out infinite;
}

/* ----------------------------- forms ----------------------------------- */
.form-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: .82rem; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=date], .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 1rem; background: var(--panel-warm); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(127,143,103,.2); }
.field .file { background: var(--panel-warm); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 14px; font-size: .92rem; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice label {
  display: block; cursor: pointer; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 14px 16px; background: var(--panel-warm); transition: border-color .2s, background .2s;
}
.choice label:hover { border-color: var(--sage); }
.choice input { position: absolute; opacity: 0; }
.choice input:checked + .opt { color: var(--sage-2); }
.choice label:has(input:checked) { border-color: var(--sage); background: rgba(127,143,103,.12); box-shadow: 0 0 0 2px rgba(127,143,103,.18); }
.choice .opt b { font-family: var(--font-display); font-size: 1.12rem; display: block; }
.choice .opt span { font-size: .85rem; color: var(--ink-2); }

.check { display: flex; align-items: flex-start; gap: 10px; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--sage); }

.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .95rem; }
.flash.error { background: rgba(171,105,97,.12); color: var(--blush-2); border: 1px solid rgba(171,105,97,.34); }
.flash.ok { background: rgba(127,143,103,.14); color: var(--sage-2); border: 1px solid rgba(127,143,103,.34); }

.auth-shell { max-width: 460px; margin: clamp(30px, 7vw, 70px) auto; }
.auth-shell .title { text-align: center; margin-bottom: 26px; }
.auth-shell h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.swap { text-align: center; margin-top: 18px; color: var(--ink-2); font-size: .95rem; }

/* ----------------------------- footer ---------------------------------- */
.site-footer {
  position: relative; z-index: 2; margin-top: 60px;
  border-top: 1px solid var(--line); background: rgba(243,234,216,.6);
}
.site-footer .wrap { padding-block: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer .tag { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--sage-2); }
.site-footer .links { display: flex; gap: 18px; font-size: .9rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--sage-2); }

/* ----------------------------- petals (decorative) --------------------- */
.petal { position: fixed; top: -24px; z-index: 1; pointer-events: none; opacity: 0; }
.petal svg { width: 100%; height: 100%; }

/* ----------------------------- keyframes ------------------------------- */
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes bloom { 0% { transform: scale(1); } 35% { transform: scale(1.18) rotate(-4deg); } 100% { transform: scale(1); } }
@keyframes flicker {
  0%, 100% { transform: translateX(-50%) scaleY(1) rotate(-1deg); opacity: 1; }
  25%      { transform: translateX(-52%) scaleY(1.08) rotate(2deg); opacity: .92; }
  50%      { transform: translateX(-49%) scaleY(.95) rotate(-2deg); opacity: 1; }
  75%      { transform: translateX(-51%) scaleY(1.05) rotate(1deg); opacity: .96; }
}
@keyframes drift {
  0%   { opacity: 0; transform: translateY(0) translateX(0) rotate(0deg); }
  10%  { opacity: .8; }
  90%  { opacity: .7; }
  100% { opacity: 0; transform: translateY(105vh) translateX(40px) rotate(320deg); }
}

/* ----------------------------- responsive ------------------------------ */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .memorial-head { grid-template-columns: 1fr; text-align: center; }
  .memorial-head .arch { max-width: 300px; margin-inline: auto; }
  .memorial-title .epitaph { margin-inline: auto; }
  .memorial-title h2.span, .memorial-title .epitaph { text-align: center; }
  .two-col, .choice { grid-template-columns: 1fr; }
  .nav { gap: 2px; }
  .nav a.navlink { padding: 6px 10px; font-size: .9rem; }
  .brand .name small { display: none; }
}

/* ----------------------------- content pages --------------------------- */
.lead-para { font-size: 1.22rem; line-height: 1.8; color: var(--ink); max-width: 60ch; }
.steps { display: grid; gap: 18px; margin-top: 10px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.step .num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(127,143,103,.14); color: var(--sage-2); font-family: var(--font-display); font-size: 1.45rem; border: 1px solid rgba(127,143,103,.34); }
.step h3 { margin-bottom: 5px; }
.step p { color: var(--ink-2); margin: 0; }

.faq { display: grid; gap: 12px; margin-top: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 20px; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; padding: 15px 0; font-family: var(--font-display); font-size: 1.22rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sage-2); font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 18px; color: var(--ink-2); line-height: 1.75; }
.faq .ans a { color: var(--sage-2); }

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.cards-2 .c { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.cards-2 .c h3 { margin-bottom: 8px; }
.cards-2 .c p { color: var(--ink-2); margin: 0; }
.cta-band { text-align: center; margin-top: 46px; padding: 36px; background: linear-gradient(180deg, var(--panel), var(--panel-warm)); border: 1px solid var(--line); border-radius: var(--radius); }
.cta-band h2 { margin-bottom: 14px; }

@media (max-width: 700px) {
  .cards-2 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .step .num { margin-bottom: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .08s !important; }
  .memorial-card { opacity: 1; transform: none; }
  .petal { display: none !important; }
}
