@font-face { font-family: "Overlock"; src: url("fonts/OverlockRegular.ttf"); font-weight: 400; }
@font-face { font-family: "Overlock"; src: url("fonts/OverlockBold.ttf"); font-weight: 700; }
@font-face { font-family: "Overlock"; src: url("fonts/OverlockItalic.ttf"); font-style: italic; }

:root {
  --parchment: #f6eedb;
  --parchment-deep: #ecdfc0;
  --ink: #3b2a1a;
  --ink-soft: #6b5440;
  --sea: #1f6f78;
  --sea-dark: #164f56;
  --sunset: #e8913a;
  --line: #d9c8a3;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: "Overlock", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

a { color: var(--sea); }
a:hover { color: var(--sea-dark); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  background: url("images/bountiful.jpg") center 35% / cover no-repeat;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(30,20,10,0.75) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 40px;
  text-align: center;
}
.hero .icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero .sub {
  margin: 4px 0 24px;
  font-size: 1.3rem;
  font-style: italic;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store {
  display: inline-block;
  min-width: 200px;
  padding: 12px 22px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.35);
}
.store small { display: block; font-weight: 400; font-size: 0.8rem; opacity: 0.8; }
.store:hover { background: #2a2a2a; color: #fff; }

/* Sections */
section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 1.8rem; margin: 0 0 16px; color: var(--sea-dark); }
h3 { font-size: 1.2rem; margin: 28px 0 8px; color: var(--ink); }

.verse {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--parchment-deep);
  border-left: 4px solid var(--sunset);
  border-radius: 4px;
  font-style: italic;
  color: var(--ink-soft);
}
.verse cite { display: block; margin-top: 6px; font-style: normal; font-size: 0.95rem; }

ul.features { padding-left: 1.2em; margin: 0; }
ul.features li { margin: 4px 0; }

/* Cast */
.cast {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
  align-items: end;
  text-align: center;
}
.cast figure { margin: 0; }
.cast img {
  width: 100%;
  max-width: 128px;
  height: auto;
  image-rendering: pixelated;
}
.cast figcaption { font-weight: 700; }
.cast figcaption span { display: block; font-weight: 400; font-size: 0.9rem; color: var(--ink-soft); }

.promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.promise span {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sea);
  color: #fff;
  font-size: 0.95rem;
}

/* Family picture */
.closing { text-align: center; }
.family-photo {
  margin: 0 0 28px;
  padding: 10px;
  background: #7a5230;
  border: 4px solid #4a3019;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px #a8784a, 0 6px 18px rgba(59, 42, 26, 0.3);
}
.family-photo img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  border: 2px solid #3b2a1a;
}

/* Footer */
footer {
  padding: 32px 0 48px;
  background: var(--ink);
  color: #e9dcc0;
  font-size: 0.95rem;
}
footer a { color: #f3c98b; }
footer a:hover { color: #fff; }
footer p { margin: 8px 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; font-weight: 700; }

/* Policy page */
.page-head {
  padding-top: 32px;
  padding-bottom: 8px;
}
.policy h2 { margin-top: 32px; }
.page-head a.home { text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.page-head a.home img { width: 40px; height: 40px; border-radius: 10px; }
.policy h1 { font-size: 2.2rem; margin: 24px 0 4px; color: var(--sea-dark); }
.policy .updated { color: var(--ink-soft); margin: 0 0 24px; }
.policy .summary {
  padding: 16px 20px;
  background: var(--parchment-deep);
  border-radius: 8px;
  border: 1px solid var(--line);
}
