/* cynthiashen.com — shared styles for the interim landing pages.
   System fonts only (no external requests); light + dark via prefers-color-scheme. */

:root {
  color-scheme: light dark;
  --bg: #f6f4f0;
  --ink: #1f1c19;
  --muted: #7a7268;
  --faint: #a39a8e;
  --hairline: #d9d2c7;
  --glow-a: rgba(191, 155, 106, 0.14);
  --glow-b: rgba(139, 155, 171, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141210;
    --ink: #ece7df;
    --muted: #948b7f;
    --faint: #6d675e;
    --hairline: #2e2a25;
    --glow-a: rgba(191, 155, 106, 0.08);
    --glow-b: rgba(120, 140, 160, 0.07);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Very soft ambient glow, top-right warm / bottom-left cool. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 72% -12%, var(--glow-a), transparent 62%),
    radial-gradient(52rem 38rem at 8% 112%, var(--glow-b), transparent 62%);
}

main {
  flex: 1;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-indent: 0.38em; /* re-centers letterspaced uppercase */
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin-top: 1.1rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 9vw, 4.75rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-wrap: balance;
}

.rule {
  width: 3.5rem;
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 1.9rem auto;
}

.note {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 36ch;
  margin-inline: auto;
}

.note a {
  color: inherit;
  text-decoration-color: var(--faint);
  text-underline-offset: 0.25em;
}

.note a:hover { color: var(--ink); }

footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--faint);
}

/* Gentle entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

main > *, footer {
  animation: rise 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

main > *:nth-child(1) { animation-delay: 0.05s; }
main > *:nth-child(2) { animation-delay: 0.18s; }
main > *:nth-child(3) { animation-delay: 0.32s; }
main > *:nth-child(4) { animation-delay: 0.46s; }
footer                { animation-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  main > *, footer { animation: none; }
}
