/* text chunk — stripped-down brutalist homepage */

:root {
  --bg: #050505;
  --fg: #f4f4f2;
  --muted: #8f8f8f;
  --link: #3b82f6;
  --link-hover: #7ea9ff;
  --line: #2a2a2a;
  --font: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono',
          'IBM Plex Mono', Consolas, 'Courier New', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

footer {
  max-width: 640px;
  padding: 0 clamp(20px, 6vw, 48px);
}

/* bottom row: title/tagline in the left corner, contact/links in the right */
.content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 32px 48px;
  width: 100%;
  padding: 0 clamp(20px, 6vw, 48px);
  box-sizing: border-box;
}

.col-left {
  min-width: 0;
}

.col-right {
  min-width: 0;
  margin-left: auto;
  text-align: right;
}

@media (max-width: 640px) {
  .content {
    flex-direction: column;
    align-items: flex-start;
  }

  .col-right {
    margin-left: 0;
    text-align: left;
  }
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.tagline {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: clamp(0.5rem, 2.4vw, 0.8125rem);
  line-height: 1.5;
  white-space: nowrap;
  overflow-x: auto;
}

section { margin-bottom: 16px; }

section:last-child { margin-bottom: 0; }

h2 {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
}

ul.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.plain li {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}

ul.plain li:first-child { border-top: none; }

ul.plain a {
  font-size: 0.8125rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

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

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

/* blurred-until-clicked email. Transition lives here (not on the base `a`
   rule) so revealing stays instant — it only animates the direction back
   INTO blur, which is what happens when the 30s re-blur timer fires. */
.blurred {
  filter: blur(6px);
  text-decoration: none;
  cursor: pointer;
  transition: filter 1.4s ease;
}

footer {
  margin-top: 4px;
  padding-bottom: 28px;
  color: var(--line);
  font-size: 0.8rem;
}

footer p { margin: 0; }

/* magnetic hover: characters are wrapped in spans by script.js
   and nudged toward the cursor when it passes nearby */
.mag-char {
  display: inline-block;
  text-decoration: inherit;
  will-change: transform;
}
