/* Socket & Pivot parked page. Colours from Brand/src/build_final.py (DARK, INK). */

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --charcoal: #1c1c1c;
  --bone: #ededed;

  --bg: var(--bone);
  --ink: var(--charcoal);
  --muted: #595959;   /* 6.0:1 on bone */

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--charcoal);
    --ink: var(--bone);
    --muted: #9e9e9e; /* 6.3:1 on charcoal */
  }
}

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

html {
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(28px, 6vw, 80px) clamp(20px, 7vw, 120px);
  background: var(--bg);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  align-self: center;
  width: 100%;
  max-width: 64rem;
}

h1,
p {
  margin: 0;
}

/* The wordmark's viewBox is cropped to its ink, so text below lines up with the "s". */
.wordmark {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.wordmark .socket {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

/* The one moment: the socket pivots a quarter turn into place. */
@media (prefers-reduced-motion: no-preference) {
  .wordmark .socket {
    animation: pivot 950ms cubic-bezier(0.3, 1.45, 0.45, 1) 350ms both;
  }
}

@keyframes pivot {
  from {
    transform: rotate(-90deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.lede {
  margin-top: clamp(28px, 4.5vw, 60px);
  max-width: 30ch;
  font-size: clamp(1.25rem, 0.95rem + 1.15vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

.status {
  margin-top: 0.9em;
  max-width: 42ch;
  font-size: clamp(1rem, 0.92rem + 0.3vw, 1.1875rem);
  color: var(--muted);
}

footer {
  padding-top: 48px;
  font-size: 0.875rem;
  color: var(--muted);
}
