/* Highkey Studio holding page. Colours and type match the skeleton site (system font; black, white and grey).
   The tagline appears once, in index.html (the line under the wordmark). */
:root {
  --ink: #111;
  --muted: #555;
  --line: #ddd;
  --paper: #fff;
  --gutter: 1rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 2.5rem; } }
@media (min-width: 1600px) { :root { --gutter: 4rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--ink); background: var(--paper); overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 2px; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 100%;
  max-width: calc(80rem + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero { align-self: center; padding: clamp(4rem, 14vh, 10rem) 0 clamp(3rem, 8vh, 6rem); max-width: 52rem; }
.wordmark {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2.25rem, 10.5vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.tagline { margin: 1.1rem 0 0; font-size: clamp(1.125rem, 1.2vw + .8rem, 1.6rem); color: var(--muted); letter-spacing: -0.005em; }
.rule { width: 3rem; height: 0; margin: clamp(2rem, 5vh, 3.5rem) 0; border: 0; border-top: 2px solid var(--ink); }
.lead { margin: 0 0 1rem; font-size: clamp(1.125rem, .6vw + 1rem, 1.375rem); line-height: 1.5; max-width: 36rem; }
.note { margin: 0; color: var(--muted); max-width: 36rem; }
.note a { color: var(--ink); white-space: nowrap; }

.footer { border-top: 1px solid var(--line); padding: 1.25rem 0 1.5rem; font-size: .8rem; color: var(--muted); }
.footer p { margin: 0 0 .4rem; max-width: 60rem; }
.footer p:last-child { margin-bottom: 0; }

/* A slow, quiet fade-in. Off for anyone who prefers less motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero > :nth-child(2) { animation-delay: .12s; }
  .hero > :nth-child(3) { animation-delay: .24s; }
  .hero > :nth-child(4) { animation-delay: .32s; }
  .hero > :nth-child(5) { animation-delay: .4s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
