/* Northbound Software — northboundsoftware.net
   No web fonts, no scripts, no external requests.

   Design language: monumental. The company name is the page. Structure is
   carried entirely by alignment and empty space — no rules, no cards, no
   borders, no accent colour, and no middot separators anywhere. */

:root {
  color-scheme: light dark;

  --bg:    #fcfcfc;
  --fg:    #0a0a0a;
  --dim:   #5f5f5f;   /* body copy      — 6.0:1 on --bg */
  --faint: #737373;   /* labels, footer — 4.6:1 on --bg */

  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --shell:  1240px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:    #0a0a0a;
    --fg:    #fbfbfb;
    --dim:   #a8a8a8;   /* 8.4:1 on --bg */
    --faint: #808080;   /* 5.0:1 on --bg */
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* No accent colour in this system — links are the text, underlined. */
a { color: inherit; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg);
  color: var(--fg);
  padding: .6rem 1rem;
  border: 1px solid var(--fg);
  z-index: 10;
}
.skip:focus { left: var(--gutter); top: .75rem; }

/* ------------------------------------------------------------------ page */
/* Deliberately no masthead. Orientation on interior pages is carried by the
   kicker, which reuses the record-label style so the system stays closed. */

main { flex: 1 0 auto; }

.kicker {
  display: inline-block;
  margin: 0 0 1.25rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
  text-decoration: none;
}
a.kicker:hover { color: var(--fg); }

.identity { padding-block: clamp(5rem, 18vh, 11rem) clamp(3rem, 10vh, 6rem); }

.identity h1 {
  margin: 0 0 clamp(2rem, 6vw, 3.5rem);
  font-size: clamp(2.4rem, 8.4vw, 6.6rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.038em;
  max-width: 13ch;
  text-wrap: balance;
}

.desc {
  margin: 0 0 clamp(3rem, 9vw, 5rem);
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  color: var(--dim);
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- record */
/* Label over value, four across. Held by alignment alone. */

.record {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem) 2rem;
  max-width: 62rem;
}

.record dt {
  margin-bottom: .5rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}

.record dd { margin: 0; font-size: .97rem; }

.record a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------- interior page */

.page { padding-block: clamp(3.5rem, 12vh, 7rem) clamp(3rem, 8vh, 5rem); }

.page h1 {
  margin: 0 0 .75rem;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.032em;
  max-width: 16ch;
  text-wrap: balance;
}

.meta {
  margin: 0 0 clamp(2.5rem, 7vw, 4rem);
  font-size: .78rem;
  color: var(--faint);
}

.prose p {
  margin: 0 0 1.3rem;
  max-width: 58ch;
  color: var(--dim);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- footer */

footer { padding-block: 2rem clamp(2rem, 5vh, 3rem); }

footer .shell {
  display: flex;
  justify-content: space-between;
  gap: .5rem 2rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--faint);
}

footer p { margin: 0; }

footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--fg); text-decoration: underline; }
