@font-face {
  font-family: "Space Grotesk";
  src: url('/assets/space-grotesk.woff2') format('woff2');
  font-display: swap;
  font-weight: 300 700;
}

:root {
  color-scheme: light;
  --canvas: #f7efe8;
  --ink: #102d62;
  --muted: #626978;
  --line: rgb(16 45 98 / 9%);
  --accent: #ef645c;
  --panel: #2f58d4;
  --spark: #dff06a;
  --white: #fffaf4;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body {
  min-width: 18rem;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }
.site-shell {
  width: min(100% - clamp(1.25rem, 4vw, 4rem), 92rem);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header {
  min-height: 5.25rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.wordmark span { color: var(--accent); }
.status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
}
.status::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  content: '';
}
.hero {
  min-height: calc(100svh - 5.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(18rem, 0.88fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 4vh, 3.5rem) 0;
}
.copy { max-width: 40rem; }
h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
.message {
  max-width: 37rem;
  margin: 1.35rem 0 0;
  color: #4c5971;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.art-panel {
  position: relative;
  min-height: 0;
  height: min(58svh, 30rem);
  margin: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.art-panel::before,
.art-panel::after {
  display: none;
}
.art-panel img {
  width: min(68%, 25rem);
  max-height: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0.75rem 1rem rgb(31 27 22 / 10%));
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 0.3rem;
}
@media (prefers-reduced-motion: no-preference) {
  .copy > * { animation: reveal 420ms both cubic-bezier(0.22, 1, 0.36, 1); }
  .copy > :nth-child(2) { animation-delay: 48ms; }
  .art-panel { animation: panel-in 460ms 72ms both cubic-bezier(0.22, 1, 0.36, 1); }
  @keyframes reveal { from { opacity: 0; transform: translateY(0.5rem); } }
  @keyframes panel-in { from { opacity: 0; transform: translateY(0.5rem); } }
}
@media (max-width: 54rem) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0 3.5rem; }
  .art-panel { min-height: 0; height: min(58vw, 24rem); grid-row: 1; }
  .art-panel img { width: min(58%, 21rem); }
  .copy { grid-row: 2; }
}
@media (max-width: 33rem) {
  .site-header { min-height: 4.5rem; }
  .status { font-size: 0.72rem; }
  .status::before { display: none; }
  .hero { padding: 1.25rem 0 2.75rem; }
  .art-panel { min-height: 0; height: 52vw; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.7rem); }
}
