/* qsanity.net - single-page stylesheet. No external fonts, scripts or images. */

:root {
  --navy-deep: #03060f;
  --navy: #0a1633;
  --gold: #e8c46a;
  --gold-bright: #fff1c1;
  --gold-dim: #9c8448;
  --ink: #c9d2e8;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background:
    radial-gradient(ellipse at 50% 38%, var(--navy) 0%, var(--navy-deep) 70%) fixed,
    var(--navy-deep);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  text-align: center;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(0.7rem, 1.6vw, 0.9rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-dim);
  /* letter-spacing adds trailing space; pull it back so the line stays centred */
  margin-right: -0.45em;
}

h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 40%, var(--gold-bright) 50%, var(--gold) 60%, var(--gold) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 7s ease-in-out infinite;
  /* drop-shadow, not text-shadow: text-shadow would paint over the clipped gradient */
  filter: drop-shadow(0 0 28px rgba(232, 196, 106, 0.14));
}

.stars {
  margin: 1.75rem 0 0;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  letter-spacing: 0.6em;
  margin-right: -0.6em;
  color: var(--gold-dim);
}

.sub {
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-style: italic;
  color: var(--ink);
}

.home { margin: 2.5rem 0 0; }

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 196, 106, 0.35);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

a:hover,
a:focus-visible { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }

footer {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(201, 210, 232, 0.5);
}

@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  h1 { animation: none; }
}
