/* ============================================================
   The Heart of Us — theheartof.us
   Static recreation. Fonts: Epilogue (display) + Poppins (body)
   ============================================================ */

:root {
  --cream: #FAF4E8;      /* logo cream */
  --ink: #33413A;          /* soft dark green text */
  --forest: #275B55;       /* spruce — dark sections */
  --ink-soft: #566258;
  --gold: #C6912F;         /* honey yellow — buttons */
  --gold-deep: #A87722;
  --rose: #C07787;         /* logo dusty rose */
  --rose-deep: #9E5A6B;
  --white: #FFFDF9;
  --max: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4 {
  font-family: 'Epilogue', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.1rem; }
a { color: var(--rose-deep); }

img { max-width: 100%; display: block; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--rose);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #FFFFFF; }
.logo img { height: 46px; width: auto; }
.logo span { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }

nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 1.15rem; }
nav a {
  text-decoration: none; color: #FFFFFF;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
nav a:hover, nav a:focus-visible { color: #FFFFFF; border-bottom-color: var(--cream); }
nav a[aria-current="page"] { color: #FFFFFF; border-bottom-color: var(--cream); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
header a:focus-visible { outline-color: #FFFFFF; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--white);
  min-height: 62vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 1.25rem;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(30, 43, 35, 0.14), rgba(30, 43, 35, 0.32));
}
.hero > div { position: relative; max-width: 46rem; text-shadow: 0 2px 14px rgba(20, 28, 23, 0.75), 0 1px 3px rgba(20, 28, 23, 0.9); }
.hero p { font-size: 1.15rem; margin-top: 1rem; }
.hero.short { min-height: 38vh; }

/* ---------- sections ---------- */
section { padding: 4.5rem 1.25rem; }
.inner { max-width: var(--max); margin: 0 auto; }
.inner.narrow { max-width: 44rem; }
.center { text-align: center; }

.dark { background: var(--forest); color: var(--cream); }
.dark a { color: var(--gold); }
.dark .btn, .btn { color: #FFFFFF; }
.dark a.btn, a.btn { color: #FFFFFF; }
.dark h2, .dark h3 { color: var(--white); }

/* signature divider — infinity heart */
.divider { display: flex; justify-content: center; padding: 0 0 2.2rem; }
.divider svg { width: 72px; height: auto; opacity: 0.85; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem;
  background: var(--gold); color: #FFFFFF;
  padding: 0.8rem 2rem; border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--gold-deep); color: #FFFFFF; transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 2px solid var(--gold); color: inherit; }
.btn.ghost:hover { background: var(--gold); color: #FFFFFF; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 2rem; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--white); border-radius: 18px;
  padding: 2rem; box-shadow: 0 6px 24px rgba(41, 57, 47, 0.07);
}
.card h3 { color: var(--rose-deep); }

.person { text-align: center; }
.person img {
  width: 190px; height: 190px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 1.1rem; box-shadow: 0 6px 20px rgba(41, 57, 47, 0.18);
}

/* testimonials */
blockquote {
  background: var(--white); border-left: 4px solid var(--rose);
  border-radius: 0 14px 14px 0;
  padding: 1.6rem 1.8rem; margin-bottom: 1.6rem;
  font-style: italic; color: var(--ink-soft);
}
blockquote cite { display: block; margin-top: 0.8rem; font-style: normal; font-weight: 700; color: var(--ink); font-size: 0.92rem; }

/* events archive */
.event { color: var(--ink); }
.event a { color: var(--rose-deep); }
.event {
  display: grid; grid-template-columns: 220px 1fr; gap: 1.8rem;
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(41, 57, 47, 0.07); margin-bottom: 2rem;
}
.event img { width: 100%; height: 100%; object-fit: cover; }
.event > div { padding: 1.8rem 1.8rem 1.8rem 0; }
@media (max-width: 640px) {
  .event { grid-template-columns: 1fr; }
  .event > div { padding: 1.6rem; }
  .event img { max-height: 240px; }
}

.notice {
  background: var(--white); border: 2px solid var(--gold);
  border-radius: 18px; padding: 2.2rem; text-align: center;
}

ul.list { margin: 0 0 1.1rem 1.2rem; }
ul.list li { margin-bottom: 0.45rem; }

/* two-column text/image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: 18px; box-shadow: 0 10px 30px rgba(41, 57, 47, 0.15); }

/* ---------- footer ---------- */
footer { background: var(--forest); color: var(--cream); padding: 3rem 1.25rem; text-align: center; }
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .social { margin: 0.8rem 0; display: flex; gap: 1.4rem; justify-content: center; }
footer small { color: rgba(247, 243, 236, 0.6); }

/* testimonial with photo */
.quote-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.9rem; }
.quote-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px rgba(41, 57, 47, 0.2); }
.faces { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-top: 2rem; }
.faces img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 14px rgba(41, 57, 47, 0.25); }

/* events archive */
.archive-list { display: flex; flex-wrap: wrap; gap: 0.7rem 0.9rem; justify-content: center; margin-top: 1.4rem; }
.archive-list span {
  background: rgba(250, 244, 232, 0.12); border: 1px solid rgba(250, 244, 232, 0.35);
  border-radius: 999px; padding: 0.45rem 1.2rem; font-size: 0.95rem; color: var(--cream);
}

/* past offerings archive */
.archive { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0.4rem 2.5rem; }
.archive div { padding: 1rem 0.2rem; border-bottom: 1px solid rgba(41, 57, 47, 0.14); }
.archive h3 { color: var(--rose-deep); font-size: 1.08rem; margin-bottom: 0.15rem; }
.archive p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); }
