@font-face {
  font-family: Unbounded;
  src: url(/fonts/unbounded.woff2) format("woff2");
  font-weight: 500 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(/fonts/inter.woff2) format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@view-transition { navigation: auto; }

:root {
  --fg: #071d32;
  --muted: #64748b;
  --rule: #e2e8f0;
  --accent: #c2410c;
  --display: Unbounded, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--fg);
  font: 1.0625rem/1.6 Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1rem; max-width: 40rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
i { font-style: normal; color: var(--muted); }
.wrap { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }

.skip { position: absolute; left: 1rem; top: -4rem; padding: .5rem .9rem; background: var(--fg); color: #fff; border-radius: 4px; font-weight: 600; z-index: 1; }
.skip:focus { top: 1rem; color: #fff; }

.top { display: flex; justify-content: flex-end; align-items: center; padding: 1rem 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--rule); }
.top a { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; padding: .35rem .45rem; color: var(--muted); text-decoration: none; }
.top a[aria-current="page"] { color: var(--fg); }

.hero { display: flex; gap: 1.75rem; align-items: center; padding: 2.5rem 0 3.5rem; }
.hero picture { flex: none; }
.hero img { width: 112px; height: 112px; border-radius: 50%; display: block; }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .6rem; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--muted); line-height: 1.45; }
.hero strong { display: block; font-weight: 600; color: var(--fg); }

section { padding: 3rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 10rem 1fr; gap: 2rem; }
h2, .err > span { font-family: var(--display); font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: .35rem 0 0; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2rem; }
.cols div { border-top: 2px solid var(--accent); padding-top: .9rem; font-size: .95rem; line-height: 1.5; }
.cols h3 { font-family: var(--display); font-weight: 700; font-size: .95rem; line-height: 1.25; margin: 0 0 .45rem; text-wrap: balance; }
.sup { margin-top: 2rem; color: var(--muted); font-size: .95rem; }

ul { list-style: none; margin: 0; padding: 0; }
.works li + li { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.works .k { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.works h3 { font-weight: 600; font-size: 1.08rem; line-height: 1.35; margin: 0; text-wrap: balance; }
.works .m { display: block; color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.works .m b { font-weight: 600; color: var(--fg); }
.works .d { display: block; max-width: 38rem; margin-top: .6rem; font-size: .98rem; }
.works .a { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: .8rem; font-size: .92rem; font-weight: 600; }
.works .a a { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: .1rem; }
.works .a a:hover { border-color: var(--accent); }
.works .a a:hover i { color: var(--accent); }

.links { border-top: 1px solid var(--rule); }
.links a { display: grid; grid-template-columns: 1.25rem 10rem 1fr auto; align-items: center; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.links svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.links b { font-weight: 600; }
.links span { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.links i { transition: transform .15s, color .15s; }
.links a:hover { color: inherit; border-color: var(--accent); }
.links a:hover b, .links a:hover i, .links a:hover svg { color: var(--accent); }
.links a:hover i { transform: translate(2px, -2px); }

@media (prefers-reduced-motion: reduce) {
  .links i { transition: none; }
  @view-transition { navigation: none; }
}

footer { border-top: 2px solid var(--accent); padding: 2rem 0 3rem; color: var(--muted); font-size: .92rem; text-align: center; display: grid; gap: .3rem; }
footer b { font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--fg); }
footer small { font-size: .82rem; margin-top: .6rem; }
footer a, .sup a, .hero a { text-decoration-color: var(--rule); }
footer a:hover, .sup a:hover, .hero a:hover { text-decoration-color: var(--accent); }

.err { min-height: 90svh; display: grid; align-content: center; gap: .6rem; }
:where(.err) .cols { grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
.err .cols a { font-weight: 600; text-decoration: none; }
.err .cols a:hover i { color: var(--accent); }

@media (max-width: 720px) {
  section { grid-template-columns: 1fr; gap: 1rem; padding: 2.25rem 0; }
  .cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .links a { grid-template-columns: 1.25rem 1fr auto; gap: 0 .85rem; }
  .links svg { grid-row: 1 / 3; }
  .links span { grid-column: 2; white-space: normal; }
  .links i { grid-area: 1 / 3 / 3 / 4; }
  .hero { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.5rem 0 2.5rem; }
  .hero img { width: 88px; height: 88px; }
}
@media print {
  .top, .skip, footer small { display: none; }
  section { break-inside: avoid; }
}
