:root {
  /* theme tokens so a light theme can be added later */
  --color-bg: #050506;
  --color-bg-alt: #424242;
  --color-fg: #f5f7f8;
  --color-muted: rgba(245,247,248,0.65);
  --color-border: rgba(255,255,255,0.10);

  /* 8 pt grid */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;

  --max-width: 640px;

  --font-sans: system-ui, -apple-system, Segoe UI, Inter, Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

body {
  margin: 0;
  color: var(--color-fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  letter-spacing: -0.01em;

  /* full-page gradient background, not fixed */
  background-color: var(--color-bg);
  background-image:
    radial-gradient(
      circle at 33% 25%,
      var(--color-bg-alt) 0,
      #111219 32%,
      var(--color-bg) 70%
    );
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: 160% 180%;
}

/* headings and text */
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-2);
  color: var(--color-muted);
}

/* logo / mark */
header {
  text-align: center;
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
}

.mark {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 40px;
  letter-spacing: 0.12em;
}

/* main column */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3) var(--space-8);
}

/* section layout with side label */
section {
  position: relative;
  padding-left: 96px; /* 12 x 8pt column for the label */
  margin-bottom: var(--space-7);
}

/* section label in its own left rail */
.section-label {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: lowercase;
  letter-spacing: 0.18em;
}

section h3 {
  margin-bottom: var(--space-2);
}

section#services p {
  margin-bottom: var(--space-1);
}

/* address */
address {
  font-style: normal;
}

address p {
  margin-bottom: var(--space-1);
}

address a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

address a:hover {
  border-bottom-color: var(--color-fg);
}

/* footer */
footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3) var(--space-8);
  color: var(--color-muted);
  font-size: 12px;
}

/* responsive: section labels move to center on small screens */
@media (max-width: 640px) {
  main {
    padding-inline: var(--space-2);
  }

  section {
    padding-left: 0;
    text-align: left;
  }

  .section-label {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: var(--space-2);
  }
}
