:root {
  color-scheme: light;
  --graphite: #2a2a2e;
  --rust: #8b4513;
  --ink: #444;
  --light: #888;
  --border: rgba(42, 42, 46, 0.12);
  --bg: #ffffff;
  --quote-bg: #f7f7f7;
  --font-heading: "Space Grotesk", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Space Grotesk / Inter are the settled typeface pair (see
   harmostes-dimensional-voice-profile.md). No font files ship with this
   build and no remote font CDN is loaded here (third-party requests are
   out of scope per the site's own confidentiality posture), so both
   fall back to the local system sans-serif stack. */

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 400 16px/1.6 var(--font-body);
}

header,
main,
footer {
  width: min(680px, calc(100% - 48px));
  margin-inline: auto;
}

header {
  padding-block: 24px;
}

header p {
  margin: 0;
  font-size: 14px;
  color: var(--light);
}

header strong {
  font-family: var(--font-heading);
  color: var(--graphite);
  font-weight: 600;
  margin-right: 8px;
}

nav:empty { display: none; }

section {
  padding-block: 32px;
}

section:first-of-type { padding-top: 8px; }

/* short graphite divider between content sections, echoing the
   reference page's accent rules, without a divider before the hero
   or after the last section */
section + section {
  position: relative;
  border-top: none;
}

section + section::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--graphite);
  opacity: 0.2;
  margin-bottom: 32px;
}

h1, h2, h3 { line-height: 1.1; font-family: var(--font-heading); color: var(--graphite); }

h1 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 24px 0;
}

p {
  font-size: 15px;
  line-height: 1.78;
  margin: 0 0 20px 0;
}

strong { color: var(--graphite); font-weight: 600; }

a { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--border); }
a:hover { color: var(--rust); }

/* Hero */

.hero { display: block; }

.hero-copy { display: flex; flex-direction: column; }

.hero-tagline {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--rust);
  line-height: 1.5;
  max-width: 480px;
  margin: 0 0 20px 0;
}

/* the mark renders after the heading in source order (the hero
   component always emits eyebrow/heading/paragraphs before any
   attached block); reorder it first visually to match the settled
   mark-then-name layout */
.hero-copy .about-photo-frame { order: -1; }

#home .about-photo-frame {
  width: 48px;
  margin: 0 0 28px 0;
}

#home .about-photo-frame img { object-fit: contain; }

.hero-orbit { display: none; }

/* Quoted model output */

.plain-quote {
  background: var(--quote-bg);
  border-left: 3px solid var(--graphite);
  margin: 24px 0;
  padding: 20px 24px;
}

.plain-quote p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 12px 0;
}

.plain-quote p:last-child { margin-bottom: 0; }

/* Photo frame (shared by the kerf mark and the contact portrait;
   sizing and object-fit are set per context above/below) */

.about-photo-frame {
  display: block;
  overflow: hidden;
}

.about-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

#contact .about-photo-frame {
  width: 84px;
  margin: 0 0 20px 0;
}

#contact .about-photo-frame img { object-fit: cover; }

#contact h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

footer {
  padding-block: 32px 80px;
}

footer p {
  font-size: 13px;
  color: var(--light);
  margin: 0;
}

@media (max-width: 480px) {
  h1 { font-size: 30px; }
  h2 { font-size: 19px; }
}
