/* Eliana — a private newborn page. Her own gentle palette:
   warm cream ground, soft blush rose, a thread of pale gold,
   deep plum-brown words. No other house site wears these colours. */
:root {
  --ground: #fdf7f2;
  --card: #fffdf9;
  --blush: #f3d9de;
  --rose: #c98a9b;
  --rose-deep: #a9667c;
  --gold: #c9a24b;
  --ink: #4a3538;
  --ink-soft: #7a6266;
  --line: #ecd9d2;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ground);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }

/* ---------- the lock cover ---------- */
.cover-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 15%, #f9e7ea 0, transparent 45%),
    radial-gradient(circle at 85% 90%, #f6e8d8 0, transparent 45%),
    var(--ground);
}
.cover-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(169, 102, 124, 0.14);
  max-width: 520px;
  width: 100%;
  padding: 44px 38px 38px;
  text-align: center;
}
.cover-mark {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blush);
  border: 1px solid var(--rose);
  display: flex; align-items: center; justify-content: center;
}
.cover-mark svg { display: block; }
.cover-card h1 {
  font-size: 1.65rem;
  margin: 0 0 10px;
  font-weight: normal;
  letter-spacing: 0.01em;
}
.cover-card p { color: var(--ink-soft); margin: 0 0 12px; }
.cover-card .cover-line {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 16px;
  font-size: 0.95rem;
}

/* ---------- the inside page ---------- */
.masthead { text-align: center; padding: 28px 0 8px; }
.masthead .over {
  color: var(--rose-deep);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 8px;
}
.masthead h1 { font-size: 2.5rem; margin: 0; font-weight: normal; }
.masthead .born { color: var(--ink-soft); margin: 8px 0 0; font-size: 1.05rem; }
.masthead .parents { margin: 4px 0 0; }
.rule {
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 22px auto;
  border: 0;
}
section.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  margin: 0 0 22px;
}
section.card h2 {
  font-size: 1.3rem;
  font-weight: normal;
  margin: 0 0 10px;
  color: var(--rose-deep);
}
section.card p { margin: 0 0 10px; }
.photo-real { margin: 14px 0 4px; }
.photo-real img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.photo-real figcaption {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 8px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.photo-tile {
  border: 1.5px dashed var(--rose);
  border-radius: 12px;
  background: #fdf1f3;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding: 12px;
}
.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 14px;
  background: #000;
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.btn {
  display: inline-block;
  background: var(--rose-deep);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.98rem;
  margin-top: 8px;
}
.btn:hover { background: var(--rose); }
.foot {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 30px;
}

/* ---------- the elephant, the music, the film ---------- */
.elephant { text-align: center; margin: 6px 0 20px; }
.elephant-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  transform-origin: 50% 60%;
  animation: elephant-breathe 7s ease-in-out infinite alternate;
}
@keyframes elephant-breathe {
  from { transform: rotate(-1.1deg) translateY(0) scale(1); }
  to   { transform: rotate(1.1deg) translateY(-6px) scale(1.015); }
}
.elephant figcaption {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 8px;
}
.music-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  margin: 0 0 22px;
}
.music-bar .btn { margin-top: 0; }
.music-note { color: var(--ink-soft); font-size: 0.95rem; }
.music-hint {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: var(--rose-deep);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(169, 102, 124, 0.35);
  animation: hint-pulse 3.2s ease-in-out infinite alternate;
}
@keyframes hint-pulse { from { opacity: 0.88; } to { opacity: 1; } }
.film {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 12px auto 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #000;
}
section.card h2.sub { margin-top: 22px; }
@media (prefers-reduced-motion: reduce) {
  .elephant-img { animation: none; }
  .music-hint { animation: none; }
}
