@font-face { font-family: DM; src: url('/assets/dm-sans.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
:root { color-scheme: dark; --paper: #111; --ink: #f5f5f3; --accent: #f45132; --muted: #a4a4a1; --line: #50504e; --gutter: 5.55vw; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: DM, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
::selection { color: var(--paper); background: #ffd1bb; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 5; padding: 12px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { height: 18svh; min-height: 108px; max-height: 200px; margin-inline: var(--gutter); display: flex; align-items: flex-start; justify-content: space-between; padding-top: 5.9svh; }
.brand { font-size: clamp(36px, 3.6vw, 56px); font-weight: 850; letter-spacing: -.075em; line-height: 1; }
.square-dot { display: inline-block; width: .145em; height: .145em; margin-left: .045em; background: var(--accent); }
.site-header nav a { display: flex; align-items: center; gap: 22px; min-height: 44px; font-size: clamp(14px, 1.25vw, 20px); }
.site-header nav span { font-size: 30px; line-height: 1; font-weight: 350; }
main { flex: 1; display: flex; }
.hero { width: 100%; min-height: 390px; position: relative; }
h1 { position: relative; z-index: 1; width: fit-content; margin: 4.5svh var(--gutter) 0; font-size: clamp(60px, 9.3vw, 168px); line-height: 1.12; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; }
.headline-text { display: inline; }
.headline-stage { display: inline-block; transform-origin: 0 0; }
.letter { display: inline-block; transform-origin: 50% 100%; }
.headline-stage > .square-dot { width: .14em; height: .14em; margin-left: .055em; }
.signal { position: absolute; inset: calc(36.7svh - 39px) 0 auto; height: 64px; overflow-x: clip; }
#signal { display: block; width: 100%; height: 64px; }
.origin-bit { position: absolute; left: 0; top: 0; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.origin-bit::after { content: ''; position: absolute; width: 16px; height: 16px; left: 14px; top: 14px; background: var(--accent); transition: background 180ms; }
.origin-bit:hover::after { background: #ffad8c; }
.origin-bit:disabled { cursor: default; }
.signal-streak { position: absolute; z-index: 2; width: 1px; opacity: 0; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--accent)); }
.site-footer { margin: 0 var(--gutter); padding-bottom: 4.6svh; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; border-top: 1px solid var(--line); }
.project { position: relative; justify-self: start; min-height: 64px; padding: 30px 0 10px; font-size: clamp(14px, 1.3vw, 20px); }
.project:first-child { margin-left: 5vw; }
.project:nth-child(2) { justify-self: center; }
.project:last-child { justify-self: end; margin-right: 4vw; }
.project::before { content: ''; position: absolute; left: 50%; top: -12px; height: 24px; border-left: 1px solid #c5c5c1; }
a.project { transition: color 180ms; }
a.project:hover { color: #ffb094; }
.project > span { margin-left: 9px; }
.footer-meta { display: flex; align-items: center; min-height: 44px; margin-top: 22px; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) {
  :root { --gutter: 6vw; }
  .site-header { min-height: 110px; height: 18svh; padding-top: 5svh; }
  .site-header nav a { gap: 14px; }
  .site-header nav span { font-size: 25px; }
  h1 { margin-top: 8svh; font-size: 12vw; letter-spacing: -.065em; }
  .hero { min-height: 380px; }
  .signal { top: calc(35svh - 39px); }
  .origin-bit::after { width: 12px; height: 12px; left: 16px; top: 16px; }
  .project { padding-top: 25px; min-height: 60px; font-size: 13px; }
  .project:first-child, .project:last-child { margin-inline: 0; }
  .project > span { margin-left: 2px; }
  .footer-meta { margin-top: 20px; font-size: 12px; }
  .site-footer { padding-bottom: 24px; }
}
@media (max-height: 600px) and (min-width: 601px) {
  .hero { min-height: 300px; }
  h1 { margin-top: 20px; }
  .signal { top: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
