:root {
  --paper: #f3f0e8;
  --ink: #161713;
  --muted: #676961;
  --line: #c9c7bd;
  --acid: #8C1515;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(22,23,19,.06) .6px, transparent .6px);
  background-size: 5px 5px;
  opacity: .28;
  z-index: 10;
}
a { color: inherit; }
.site-header, main, footer { width: min(calc(100% - 80px), var(--max)); margin-inline: auto; }
.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { font-size: 25px; font-weight: 900; letter-spacing: -.08em; text-decoration: none; }
.dot, .accent { color: #8C1515; }
nav { display: flex; gap: 34px; }
nav a { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero {
  min-height: 690px;
  padding: 76px 0 92px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 7vw;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.eyebrow, .section-label, .portrait-note {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 30px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8C1515; box-shadow: 0 0 0 4px rgba(140,21,21,.14); }
h1 { margin: 0; max-width: 780px; font-size: clamp(66px, 8.1vw, 122px); line-height: .84; letter-spacing: -.075em; font-weight: 850; }
.lede { margin: 38px 0 0; font-size: clamp(22px, 2vw, 31px); letter-spacing: -.03em; font-weight: 650; }
.hero-statement { max-width: 620px; margin: 17px 0 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.45; color: var(--muted); letter-spacing: -.015em; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; text-decoration: none; text-transform: uppercase; letter-spacing: .09em; }
.button.primary { padding: 16px 20px; background: var(--ink); color: var(--paper); }
.button.primary:hover { background: #33352f; }
.button.text { border-bottom: 1px solid var(--ink); padding: 8px 0; }
.portrait-wrap { margin: 0; justify-self: end; transform: rotate(2.2deg); }
.portrait-frame {
  width: min(29vw, 355px);
  aspect-ratio: 4 / 5;
  background: #e9e9fa;
  border: 9px solid #fffdf7;
  box-shadow: 0 18px 45px rgba(22,23,19,.15);
  position: relative;
  overflow: hidden;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--acid);
  border: 8px solid #fffdf7;
}
.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 31%;
  filter: saturate(.9) contrast(1.02);
}
.portrait-note { display: block; margin-top: 13px; color: var(--muted); }
.about, .elsewhere { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-label { padding-top: 8px; color: var(--muted); }
.section-label span { color: var(--ink); margin-right: 18px; }
.about-copy { max-width: 850px; }
h2 { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.about-copy p { max-width: 730px; margin: 37px 0 0; font-size: 20px; line-height: 1.55; color: #464941; }
.about-copy p + p { margin-top: 18px; }
.links-block h2 { margin-bottom: 45px; }
.social-links { border-top: 1px solid var(--ink); }
.social-links a { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; align-items: center; padding: 25px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .18s, background .18s; }
.social-links a:hover { padding-left: 14px; background: rgba(255,255,255,.32); }
.social-links span { font-size: 19px; font-weight: 650; }
.social-links small { color: var(--muted); font: 12px ui-monospace, monospace; }
.social-links b { font-weight: 400; font-size: 19px; }
.github-note { color: var(--muted); margin-top: 20px; font: 11px/1.5 ui-monospace, monospace; }
.future { padding: 90px 0; display: flex; align-items: center; gap: 30px; }
.future p { white-space: nowrap; font: 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .14em; }
.future-line { width: 100%; height: 1px; background: var(--line); }
footer { min-height: 110px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font: 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 760px) {
  .site-header, main, footer { width: min(calc(100% - 36px), var(--max)); }
  .site-header { height: 76px; }
  nav { gap: 18px; }
  nav a { font-size: 10px; }
  .hero { min-height: auto; padding: 54px 0 70px; grid-template-columns: 1fr; gap: 58px; }
  h1 { font-size: clamp(57px, 18vw, 88px); }
  .lede { margin-top: 29px; font-size: 22px; line-height: 1.25; }
  .hero-statement { margin-top: 13px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .portrait-wrap { justify-self: center; }
  .portrait-frame { width: min(82vw, 350px); }
  .about, .elsewhere { grid-template-columns: 1fr; gap: 42px; padding: 78px 0; }
  h2 { font-size: 42px; }
  .about-copy p { font-size: 17px; }
  .social-links a { grid-template-columns: 1fr auto; }
  .social-links small { display: none; }
  footer { padding: 30px 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; }
}
