/* Static HTML shell — visible before Flutter loads; SEO / future static migration. */
:root {
  --shell-cream: #f7f4ef;
  --shell-clay: #a67c52;
  --shell-ink: #2c241c;
}

html {
  background: var(--shell-cream);
  color: var(--shell-ink);
}

/* Fallback if JS runs but [hidden] is ignored */
html.flutter-ready #app-shell,
html.flutter-ready #flutter-loading {
  display: none !important;
}

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
}

#flutter-loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--shell-cream);
  pointer-events: none;
}

#flutter-loading p {
  margin: 0;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell-clay);
}

#app-shell {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  line-height: 1.6;
}

#app-shell h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
}

#app-shell .shell-tagline {
  margin: 0 0 1.5rem;
  color: var(--shell-clay);
  font-size: 0.95rem;
}

#app-shell .shell-credit {
  margin: 2rem 0 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

#app-shell a {
  color: var(--shell-clay);
}
