/* Pet Cremation Memorial — one stylesheet for every page */
:root {
  /* ---- COLORS: change these to recolor the whole site ---- */
  --walnut: #1f3350;      /* headings and footer (navy from the book title) */
  --ink: #2b2622;         /* body text */
  --cherry: #9a3324;      /* links and buttons (brick red from the book title) */
  --cherry-dark: #7a271b; /* buttons when you hover */
  --honey: #e3a948;       /* window light, card edges, accents */
  --glow: rgba(227,169,72,.28); /* touch of sunlight in the top corner */
  --glow-top: #e8f0f6;    /* top of the fade: pale window-sky blue */
  --head-text: #f3ece0;   /* menu text on the navy bar */
  --pothos: #4d6a84;      /* dusty slate blue: subheads and checkboxes */
  --sill: #fcfbf8;        /* main page background: soft white */
  --glass: #edf2f6;       /* alternating sections: powder-blue mist */
  --honey-soft: #e3ebf2;  /* circles behind the icons */
  --line: #dbe3ea;        /* thin divider lines */
  --brass-1: #e2c071;     /* memorial tag highlight */
  --brass-2: #b08a3a;     /* memorial tag middle */
  --brass-3: #7d5f22;     /* memorial tag shadow */
  --measure: 40rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--walnut); }
body {
  margin: 0;
  background: var(--sill);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  color: var(--walnut);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--cherry); text-underline-offset: .18em; }
a:hover { color: var(--cherry-dark); }
:focus-visible { outline: 3px solid var(--pothos); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: var(--measure); }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--sill); }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-top: .9rem; padding-bottom: .9rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--walnut);
  font-family: "Young Serif", Georgia, serif; font-size: 1.15rem;
}
.brand .tag-mini {
  width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, var(--brass-1), var(--brass-2) 55%, var(--brass-3));
  box-shadow: inset 0 0 0 2px rgba(125,95,34,.55);
  position: relative;
}
.brand .tag-mini::before {
  content: ""; position: absolute; top: 4px; left: 50%; width: 6px; height: 6px;
  margin-left: -3px; border-radius: 50%; background: var(--sill);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.35);
}
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--walnut); text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--honey); }
.nav a[aria-current="page"] { border-bottom-color: var(--cherry); }

/* ---------- hero: late-afternoon window light ---------- */
.hero {
  background:
    radial-gradient(60rem 30rem at 100% 0%, var(--glow), transparent 65%),
    linear-gradient(180deg, var(--glow-top) 0%, var(--sill) 100%);
  padding: clamp(3rem, 9vw, 6.5rem) 0 clamp(2.5rem, 7vw, 4.5rem);
}
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.3rem; max-width: 34rem; color: var(--walnut); }

/* ---------- sections ---------- */
.section { padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.section + .section { border-top: 0; }
.section.tint { background: var(--glass); }

/* ---------- book ---------- */
.book { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 46rem) { .book { grid-template-columns: 15rem 1fr; gap: 3rem; } }
.book .cover { width: 100%; max-width: 15rem; box-shadow: 0 12px 28px rgba(58,36,23,.28); border-radius: 2px; }
.buttons { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.btn {
  display: inline-block; padding: .8rem 1.3rem; border-radius: 6px;
  background: var(--cherry); color: #fff; text-decoration: none; font-weight: 700;
}
.btn:hover { background: var(--cherry-dark); color: #fff; }
.btn.plain { background: transparent; color: var(--cherry); box-shadow: inset 0 0 0 2px var(--cherry); }
.btn.plain:hover { background: var(--cherry); color: #fff; }

blockquote {
  margin: 1.5rem 0; padding: .2rem 0 .2rem 1.1rem;
  border-left: 4px solid var(--honey);
  font-family: "Young Serif", Georgia, serif; font-size: 1.25rem; color: var(--walnut);
}
blockquote p:last-child { margin-bottom: 0; }

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 1rem 0 1.5rem; max-width: var(--measure); }
.checklist li { padding: .55rem 0 .55rem 2.2rem; position: relative; border-bottom: 1px dashed var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .8rem; width: 1.1rem; height: 1.1rem;
  border: 2px solid var(--pothos); border-radius: 3px; background: #fff;
}

/* ---------- ideas ---------- */
.idea { max-width: var(--measure); padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.idea:last-child { border-bottom: 0; }
.idea h3 { margin-bottom: .4rem; }
.idea .find { font-weight: 700; }
.group-title { margin-top: 2.5rem; color: var(--pothos); }

/* ---------- memorial wall: collar tags ---------- */
.tags { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 2.2rem 1.8rem; }
.tags a { display: flex; flex-direction: column; align-items: center; text-decoration: none; width: 8.5rem; }
.tag {
  width: 7.5rem; height: 7.5rem; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, var(--brass-1), var(--brass-2) 52%, var(--brass-3));
  box-shadow: inset 0 0 0 3px rgba(125,95,34,.6), inset 0 -8px 14px rgba(70,50,15,.25), 0 6px 14px rgba(58,36,23,.22);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; text-align: center; padding: 1.4rem .6rem .6rem;
  transition: transform .2s ease;
}
.tag::before {
  content: ""; position: absolute; top: .55rem; left: 50%; width: .85rem; height: .85rem; margin-left: -.425rem;
  border-radius: 50%; background: var(--sill); box-shadow: inset 0 1px 2px rgba(0,0,0,.4);
}
.tag .name {
  font-family: "Young Serif", Georgia, serif; font-size: 1.15rem; line-height: 1.1;
  color: #4a3510; text-shadow: 0 1px 0 rgba(255,240,200,.55);
}
.tag .years { font-size: .8rem; color: #4a3510; margin-top: .2rem; }
.tags .caption { margin-top: .6rem; color: var(--ink); font-size: .95rem; text-align: center; }
.tags a:hover .tag { transform: rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .tag { transition: none; } .tags a:hover .tag { transform: none; } }

.steps { max-width: var(--measure); padding-left: 1.3rem; }
.steps li { margin-bottom: .7rem; padding-left: .3rem; }

/* ---------- single memorial page ---------- */
.memorial-head { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.memorial-head .tag { width: 6rem; height: 6rem; padding-top: 1.2rem; }
.memorial-photo { max-width: 34rem; border-radius: 4px; box-shadow: 0 10px 24px rgba(58,36,23,.22); margin: 1rem 0 2rem; }
.shared-by { color: var(--pothos); font-style: italic; }

/* ---------- footer ---------- */
.site-foot { background: var(--walnut); color: #efe6da; padding: 2.5rem 0; margin-top: 0; }
.site-foot a { color: var(--honey); }
.site-foot p { margin: 0 0 .5rem; font-size: 1rem; }

/* ---------- "my pet just died" pathway ---------- */
.paths-title { font-size: 1.35rem; margin-top: 2.5rem; }
.paths { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; max-width: 46rem; }
@media (min-width: 46rem) { .paths { grid-template-columns: repeat(3, 1fr); } }
.paths a {
  display: block; height: 100%; padding: 1rem 1.1rem; border-radius: 8px;
  background: rgba(255,255,255,.75); border: 2px solid var(--cherry); color: var(--walnut); text-decoration: none;
}
.paths a:hover { background: #fff; border-color: var(--cherry-dark); }
.paths strong { display: block; font-size: 1.1rem; color: var(--cherry-dark); }
.paths span { display: block; font-size: .98rem; margin-top: .2rem; }
.sub { font-family: "Young Serif", Georgia, serif; font-size: 1.25rem; color: var(--pothos); margin-top: -.3rem; }
button.btn { font: inherit; font-weight: 700; cursor: pointer; border: 0; }
.next { padding-left: 1.2rem; }
.next li { margin-bottom: .5rem; }
/* ---------- meet Zoe ---------- */
.zoe { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 46rem) { .zoe { grid-template-columns: 22rem 1fr; gap: 3rem; } }
.zoe-photo { border-radius: 4px; box-shadow: 0 10px 24px rgba(58,36,23,.22); }
/* ---------- printing the questions ---------- */
@media print {
  .site-head, .site-foot, .hero, .section:not(#questions), button { display: none !important; }
  body, .section.tint { background: #fff; }
}

/* ---------- guides ---------- */
.guide p { margin-bottom: .85em; }
.guide h2 { margin-top: 2rem; }
.guide ul { padding-left: 1.3rem; }
.guide .ask { font-family: "Young Serif", Georgia, serif; font-size: 1.25rem; color: var(--walnut); margin: 1.2rem 0; }
.guide .ask strong { font-weight: 400; }
.aside { margin-top: 2.5rem; padding: 1.2rem 1.3rem; background: var(--glass); border-radius: 8px; }
.aside p:last-child { margin-bottom: 0; }
.guide-list { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.guide-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.guide-list a { font-size: 1.2rem; }
.guide-list span { display: block; margin-top: .2rem; }

.guide-hero h1 { max-width: 24ch; font-size: clamp(2rem, 5vw, 3rem); }


/* ================= warmer, more inviting layer ================= */
.section.warm { background: var(--glass); }
.btn { border-radius: 999px; padding: .85rem 1.5rem; box-shadow: 0 3px 0 var(--cherry-dark); }
.btn:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--cherry-dark); }
.btn.plain { box-shadow: inset 0 0 0 2px var(--cherry); }
.btn.plain:hover { transform: none; box-shadow: inset 0 0 0 2px var(--cherry); }

/* hero with the windowsill photo */
.hero-home { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero-grid { display: grid; gap: 1.5rem; align-items: center; }
.hero-photo {
  width: 100%; height: 15rem; object-fit: cover; object-position: 50% 60%;
  border-radius: 18px; box-shadow: 0 18px 40px rgba(122,74,30,.28);
  order: -1;
}
@media (min-width: 52rem) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
  .hero-photo { order: 0; height: 26rem; border-radius: 22px; }
}

/* the three choices */
.paths a { background: #fff; border: 0; border-radius: 16px; box-shadow: 0 6px 18px rgba(122,74,30,.14); padding: 1.2rem 1.2rem 1.1rem; position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.paths a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(122,74,30,.2); background: #fff; }
.paths .ico { display: inline-flex; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--honey-soft); color: var(--cherry); align-items: center; justify-content: center; margin-bottom: .6rem; }
.paths .ico svg { width: 1.45rem; height: 1.45rem; }
.paths { max-width: none; }
@media (prefers-reduced-motion: reduce) { .paths a, .btn { transition: none; } .paths a:hover, .btn:hover { transform: none; } }

/* the 11 questions on a sheet of paper */
.paper {
  background: #fff; max-width: 44rem; margin: 0 auto; padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 14px 34px rgba(122,74,30,.16);
  border-top: 6px solid var(--honey);
}
.paper .checklist li { border-bottom-color: #eadfcd; }

/* Zoe as a polaroid */
.polaroid {
  margin: 0; background: #fff; padding: .8rem .8rem 0; border-radius: 3px;
  box-shadow: 0 14px 30px rgba(58,36,23,.25); transform: rotate(-2.5deg); max-width: 22rem; justify-self: center;
}
.polaroid img { border-radius: 2px; }
.polaroid figcaption { font-family: "Caveat", "Segoe Print", cursive; font-size: 2rem; color: var(--walnut); text-align: center; padding: .3rem 0 .5rem; }

/* memorial invite with a tag preview */
.memorial-invite { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 46rem) { .memorial-invite { grid-template-columns: 1fr auto; } }
.tag-preview { display: flex; gap: 1.2rem; text-decoration: none; justify-self: center; }
.tag.ghost { background: rgba(255,255,255,.6); box-shadow: none; border: 3px dashed var(--brass-2); }
.tag.ghost::before { background: var(--brass-2); opacity: .35; }
.tag.ghost .name { color: var(--brass-3); text-shadow: none; font-size: 1rem; }

/* common questions as soft cards */
.q-cards { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
@media (min-width: 46rem) { .q-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .q-cards { grid-template-columns: repeat(3, 1fr); } }
.q-cards a { display: block; height: 100%; background: #fff; border-radius: 14px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--walnut); font-family: "Young Serif", Georgia, serif; font-size: 1.12rem; line-height: 1.3; box-shadow: 0 4px 14px rgba(122,74,30,.1); border-left: 5px solid var(--honey); }
.q-cards a:hover { border-left-color: var(--cherry); color: var(--cherry-dark); }

/* Facebook group band with the banner */
.group-band { position: relative; padding: clamp(3rem, 10vw, 7rem) 0; overflow: hidden; }
.group-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.group-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,36,23,.55), rgba(58,36,23,.1)); }
.group-card { position: relative; z-index: 1; background: rgba(251,248,242,.95); max-width: 30rem; padding: 1.6rem 1.7rem; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.group-card p:last-child { margin-bottom: 0; }

/* book mockup */
.cover-3d { width: 100%; max-width: 22rem; justify-self: center; filter: drop-shadow(0 14px 18px rgba(58,36,23,.18)); }
@media (min-width: 46rem) { .book:has(.cover-3d) { grid-template-columns: 22rem 1fr; align-items: center; } }

/* softer hero glow on inner pages */
.hero { background: radial-gradient(60rem 30rem at 100% 0%, var(--glow), transparent 65%), linear-gradient(180deg, var(--glow-top) 0%, var(--sill) 100%); }

.group { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .group { grid-template-columns: 1fr 1.15fr; gap: 3rem; } }
.group-preview { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 32px rgba(58,36,23,.25); transform: rotate(1.2deg); }
.group-preview img { width: 100%; }


/* ---------- navy header bar to match the footer ---------- */
.site-head { background: var(--walnut); border-bottom: 3px solid var(--honey); }
.site-head .wrap { padding-top: .7rem; padding-bottom: .7rem; }
.brand { color: #fff; }
.brand .tag-mini::before { background: var(--walnut); }
.nav a { color: var(--head-text); }
.nav a:hover { color: #fff; border-bottom-color: var(--honey); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--honey); }
.site-head :focus-visible { outline-color: var(--honey); }


/* ---------- palette tuning: navy, powder blue, soft white, wood-honey accents ---------- */
.paths .ico { color: var(--walnut); }
.paper { border-top-color: var(--honey); }
.paper .checklist li { border-bottom-color: #e4eaef; }
.checklist li::before { border-color: var(--pothos); }
.q-cards a { border-left-color: var(--honey); box-shadow: 0 4px 14px rgba(31,51,80,.08); }
.paths a { box-shadow: 0 6px 18px rgba(31,51,80,.10); }
.paths a:hover { box-shadow: 0 10px 24px rgba(31,51,80,.16); }
.paper { box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 14px 34px rgba(31,51,80,.12); }
.hero-photo { box-shadow: 0 18px 40px rgba(31,51,80,.25); }
blockquote { border-left-color: var(--honey); }
.aside { background: var(--glass); }
