/* Rocket Shed — holding page.
   One accent (signal orange) against near-monochrome. Nothing loaded from anywhere else. */

:root {
  color-scheme: light dark;

  --bg:      #faf8f5;
  --ink:     #1b1a18;  /* headings */
  --body:    #3a3833;  /* running text */
  --muted:   #5c5a55;  /* quiet asides — 6.6:1 on --bg */
  --rule:    #e4e0d9;
  --accent:  #c2410c;  /* 5.0:1 on --bg */

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:     #0e0e0f;
    --ink:    #edeae4;
    --body:   #cfcbc4;
    --muted:  #9a968e;  /* 6.6:1 on --bg */
    --rule:   #272521;
    --accent: #ff7a2e;  /* 7.8:1 on --bg */
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Keyboard users first: the skip link sits off-screen until it is focused. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 1.5rem;
  top: 1rem;
  z-index: 1;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0 0 2px var(--accent);
}

.page {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

@media (min-width: 40rem) {
  .page { padding: 4rem 3rem 4rem; }
}

/* ---- masthead ---- */

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  color: var(--ink);
}

.mark { flex: none; overflow: visible; }

.wordmark {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---- hero ---- */

.hero { margin-top: clamp(4rem, 18vh, 8rem); }

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.75rem, 11vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 30rem;
  font-size: clamp(1.125rem, 3.2vw, 1.3125rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* ---- sections ---- */

section + section { margin-top: clamp(3.5rem, 12vh, 6rem); }

h2 {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.items > li + li { margin-top: 2.5rem; }

h3 {
  margin: 0 0 0.375rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.items p { margin: 0; max-width: 32rem; }

.quiet { color: var(--muted); }

.bench { margin: 2.5rem 0 0; }

.items .go { margin-top: 0.625rem; font-size: 0.9375rem; }

.email {
  margin: 0;
  font-size: 1.125rem;
}

/* ---- links ---- */

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { text-decoration-thickness: 2px; }

/* ---- colophon ---- */

.colophon {
  margin-top: clamp(4rem, 16vh, 7rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.colophon p {
  margin: 0;
  text-wrap: pretty;   /* keeps "Ltd." off a line of its own */
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}
