/* ─────────────────────────────────────────
   a7.observer
   Plain CSS. No framework. No build step.
   ───────────────────────────────────────── */

/* Tokens */
:root {
  --bg:        #0f0f0d;
  --fg:        #e8e4dc;
  --muted:     #7a7570;
  --accent:    #c8b89a;
  --link:      #e8e4dc;
  --link-hover:#c8b89a;

  --font-body: "Georgia", "Times New Roman", serif;
  --font-mono: "Courier New", "Courier", monospace;

  --measure:   60ch;
  --space-s:   0.75rem;
  --space-m:   1.5rem;
  --space-l:   3rem;
  --space-xl:  6rem;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--space-l) var(--space-m);
}

/* Typography */
h1 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--fg);
}

p {
  max-width: var(--measure);
  color: var(--fg);
}

small, .muted {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Links */
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
}

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

/* Layout */
.site {
  width: 100%;
  max-width: var(--measure);
}

.site-header {
  margin-bottom: var(--space-xl);
}

.site-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: lowercase;
  text-decoration: none;
}

.site-name:hover {
  color: var(--accent);
}

.site-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-l);
}

.site-footer {
  margin-top: var(--space-xl);
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

/* Contact */
.contact-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-top: var(--space-s);
}

/* Horizontal rule */
hr {
  border: none;
  border-top: 1px solid #2a2a26;
  margin: var(--space-l) 0;
}
