/* Eigenforma — tokens */
:root {
  --bg: #fbfbfa;
  --ink: #1a1a1c;
  --muted: #54545a;
  --hairline: #dededa;
  --accent: #23518b;
  --motif: rgba(26, 26, 28, 0.05);
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101114;
    --ink: #e6e6e2;
    --muted: #a2a2a8;
    --hairline: #2c2d32;
    --accent: #93b4de;
    --motif: rgba(230, 230, 226, 0.05);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.col {
  max-width: 40rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 14vh, 9rem) 0 clamp(3.5rem, 9vh, 6rem);
}

.hero-motif {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-50%);
  width: clamp(18rem, 40vw, 28rem);
  height: auto;
  color: var(--ink);
  opacity: 0.06;
  pointer-events: none;
}

.logomark {
  display: block;
  color: var(--ink);
  margin-bottom: 2rem;
}

.fixed-point { fill: var(--accent); }

.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.tagline {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.01em;
}

/* Sections */
main {
  padding-bottom: 4rem;
}

section {
  margin-block: 3.5rem;
}

h2 {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

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

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

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

/* Divider: hairline with the fixed-point mark */
.rule {
  border: 0;
  height: 1px;
  background: var(--hairline);
  position: relative;
  margin: 0;
  overflow: visible;
}

.rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--bg);
  border: 1px solid var(--hairline);
}

/* Work entry */
.work {
  border: 1px solid var(--hairline);
  padding: 1.5rem 1.75rem;
}

.work h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

.work .status {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* People */
.person .name {
  font-size: 1.125rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 0 3rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
}

.foot .sep {
  margin-inline: 0.75rem;
  color: var(--muted);
}

.copyright {
  color: var(--muted);
  margin-top: 0.75rem;
}

@media (max-width: 40rem) {
  .hero-motif { right: 1rem; width: 14rem; }
  section { margin-block: 2.75rem; }
}
