/* Hallmark · macrostructure: Quote-Led · tone: austere memorial
 * paper: white · ink: black · accents: blue + green
 * motion: MotionSites-style blur-in stagger + image scale (vanilla) */
:root {
  --bg: #ffffff;
  --ink: #111111;
  --blue: #1a4f8b;
  --green: #1f6b3a;
  --mute: #555555;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 38rem;
  --pad: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100%;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.site-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(var(--pad), 5vw, 64px) 8px;
  animation: blurIn 0.9s var(--ease) both;
}
.mark {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.mark:hover { text-decoration: none; color: var(--green); }
nav { display: flex; gap: 22px; }
nav a {
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}
nav a[aria-current="page"] { color: var(--blue); }

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px var(--pad) 56px;
  text-align: center;
}
.hero-art {
  width: min(78vw, 680px);
  overflow: hidden;
  line-height: 0;
}
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.12);
  filter: blur(16px);
  opacity: 0;
  animation:
    artReveal 1.4s var(--ease) 0.12s forwards,
    artBreathe 18s var(--ease) 1.6s infinite alternate;
}
.hero-copy { max-width: 40rem; margin-top: 8px; }
.verse {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  animation: blurIn 1s var(--ease) 0.45s both;
}
.gloss {
  margin-top: 12px;
  color: var(--blue);
  font-size: 15px;
  animation: blurIn 1s var(--ease) 0.65s both;
}
.mission {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--green);
  animation: blurIn 1s var(--ease) 0.85s both;
}

@keyframes blurIn {
  from { opacity: 0; filter: blur(12px); transform: translateY(18px); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes artReveal {
  to { opacity: 1; filter: blur(0); transform: scale(1.04); }
}
@keyframes artBreathe {
  from { transform: scale(1.04); }
  to { transform: scale(1.08); }
}

.about {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 72px var(--pad);
}
.about h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 18px;
}
.about p { margin-bottom: 1.1em; color: var(--ink); }
.about p:last-child { margin-bottom: 0; }

.site-foot {
  padding: 32px var(--pad) 40px;
  text-align: center;
  color: var(--mute);
  font-size: 14px;
}
.murti {
  display: block;
  width: auto;
  height: 96px;
  margin: 0 auto 18px;
  opacity: 0.92;
}
.site-foot a { color: var(--blue); }
.tag {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green);
}

@media (max-width: 640px) {
  .hero-art { width: min(94vw, 680px); }
  .about { padding: 48px var(--pad); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-head, .verse, .gloss, .mission, .hero-art img {
    animation: none;
    filter: none;
    opacity: 1;
    transform: none;
  }
}
