@charset "UTF-8";

:root {
  --ink: #51483f;
  --muted: #88796b;
  --paper: rgba(255, 253, 248, 0.91);
  --line: rgba(154, 132, 104, 0.28);
  --accent: #9b8062;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "游明朝", serif;
  line-height: 2.15;
  letter-spacing: 0.035em;
  background-color: #faf7ef;
  background-image: url("harp-bible-background.png");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
  background-attachment: scroll;
}

.site-header {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) 1.5rem 2rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(255, 253, 248, 0.8);
}

.subtitle {
  margin: 1rem 0 0;
  color: #75685a;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

.ornament {
  margin-top: 1.4rem;
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
}

.story-card {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 6vw, 4.5rem);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 42px rgba(85, 67, 46, 0.09);
  border-radius: 3px;
  backdrop-filter: blur(2px);
}

.story-card p {
  margin: 0 0 1.45em;
  font-size: clamp(1rem, 1.7vw, 1.075rem);
  overflow-wrap: anywhere;
}

.greeting { padding-bottom: 0.4rem; }
.greeting-line {
  margin-bottom: 1.8rem !important;
  font-size: 1.2rem !important;
  letter-spacing: 0.08em;
}

.story-image {
  margin: 1.5rem auto 2.5rem;
  text-align: center;
}
.story-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.story-image figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.question {
  margin: 2rem 0 !important;
  color: #79664f;
  text-align: center;
  font-size: 1.12rem !important;
  line-height: 2.3;
}

.pause {
  margin-top: 2.2rem !important;
  margin-bottom: 0.45rem !important;
  text-align: center;
  font-size: 1.25rem !important;
  letter-spacing: 0.12em;
}

.story-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
}
.story-footer p {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}
.footer-flourish { color: var(--accent); font-size: 1.2rem; }
.page-footer {
  padding: 0 1rem 2rem;
  color: #776b5e;
  text-align: center;
  font-size: 0.75rem;
  text-shadow: 0 1px 8px rgba(255,255,255,0.9);
}

@media (max-width: 600px) {
  body { background-size: 100% auto; background-repeat: repeat-y; background-position: center top; }
  .site-header { padding-top: 3.5rem; }
  .story-card { width: calc(100% - 1.1rem); padding: 1.6rem 1.15rem; }
  .story-card p { line-height: 2.05; }
  .story-image { margin-left: -0.15rem; margin-right: -0.15rem; }
}
