:root {
  --paper: #f1efe9;
  --ink: #111110;
  --red: #e30613;
  --grey: #6f6d66;
  --rule: rgba(17, 17, 16, 0.22);
  --pad: clamp(18px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: 1560px;
  margin: 0 auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

/* Header */
.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-block: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.top-name { font-weight: 700; letter-spacing: 0.02em; font-size: 14px; }
.top-meta { display: flex; gap: clamp(14px, 3vw, 44px); color: var(--grey); }
.top-meta span:last-child { color: var(--ink); }

/* Hero */
.hero { padding-top: clamp(48px, 9vw, 120px); padding-bottom: clamp(36px, 6vw, 80px); }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: clamp(20px, 4vw, 40px);
}
.red-square { width: 10px; height: 10px; background: var(--red); display: inline-block; flex: none; }

h1 {
  font-size: clamp(64px, 14.4vw, 236px);
  line-height: 0.8;
  font-weight: 600;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  margin-left: -0.04em;
}

.hero-foot {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  border-top: 1px solid var(--ink);
  margin-top: clamp(32px, 6vw, 72px);
  padding-top: 18px;
}
.hero-lede {
  grid-column: 1 / span 6;
  font-size: clamp(19px, 1.9vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 30ch;
}
.hero-facts {
  grid-column: 8 / span 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  font-size: 12.5px;
  line-height: 1.4;
}
.hero-facts dt {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 5px;
}
.hero-facts dd { margin: 0; }

/* Sections */
.sec { padding-block: clamp(40px, 6vw, 84px); }
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
  margin-bottom: clamp(26px, 4vw, 52px);
}
.sec-head .num {
  grid-column: 1 / span 1;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.sec-head h2 {
  grid-column: 2 / span 4;
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.sec-head .note {
  grid-column: 8 / span 5;
  justify-self: end;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}
.link-note { border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: color .2s; }
.link-note:hover { color: var(--red); }

/* Profile */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.statement {
  grid-column: 2 / span 5;
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.prose {
  grid-column: 8 / span 5;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.6;
  color: #2c2b28;
}
.prose p + p { margin-top: 1em; }
.u { border-bottom: 1px solid var(--ink); transition: color .2s, border-color .2s; }
.u:hover { color: var(--red); border-color: var(--red); }

/* Rows */
.rows { border-top: 1px solid var(--rule); }
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
  padding-block: 20px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background-color .18s ease, color .18s ease;
}
li > .row { cursor: pointer; }
.row h3 {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.row p { font-size: 14px; line-height: 1.5; color: #4a4842; max-width: 44ch; }
.rnum, .rdate {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey);
  padding-top: 4px;
}
.rnum { grid-column: 1 / span 1; }
.rdate { grid-column: 1 / span 2; }
.focus-rows .row h3 { grid-column: 2 / span 3; }
.focus-rows .row p { grid-column: 6 / span 5; }
.focus-rows .arrow { grid-column: 12 / span 1; }
.writing-rows .row h3 { grid-column: 3 / span 5; }
.writing-rows .row p { grid-column: 8 / span 4; }
.writing-rows .arrow { grid-column: 12 / span 1; }
.row .arrow {
  justify-self: end;
  font-size: 18px;
  line-height: 1;
  color: var(--grey);
  transition: transform .2s, color .2s;
}
.row:hover { background: var(--ink); color: var(--paper); }
.row:hover p, .row:hover .rnum, .row:hover .rdate { color: #b9b6ad; }
.row:hover .arrow { transform: translate(3px, -3px); color: var(--red); }

/* Connect */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.c-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 12px;
  padding: 20px 18px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background-color .18s, color .18s;
}
.c-link > span:first-child { font-size: 15px; font-weight: 500; }
.c-handle {
  grid-column: 1 / -1;
  font-size: 11.5px;
  color: var(--grey);
  letter-spacing: 0.02em;
  transition: color .18s;
}
.c-link .arrow { font-size: 14px; color: var(--grey); transition: color .18s, transform .18s; }
.c-link:hover { background: var(--red); color: #fff; }
.c-link:hover .c-handle, .c-link:hover .arrow { color: #ffd9d6; }
.c-link:hover .arrow { transform: translate(2px, -2px); }

/* CV */
.cv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cv-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 16px;
  border: 1px solid var(--ink);
  padding: clamp(20px, 3vw, 36px);
  min-height: 160px;
  transition: background-color .18s, color .18s;
}
.cv-link span:first-child {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color .18s;
}
.cv-link strong {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cv-link .arrow { font-size: 26px; justify-self: end; transition: transform .2s; }
.cv-link:hover { background: var(--ink); color: var(--paper); }
.cv-link:hover span:first-child { color: #b9b6ad; }
.cv-link:hover .arrow { transform: translateY(4px); color: var(--red); }

/* Footer */
.foot { background: var(--ink); color: var(--paper); margin-top: clamp(40px, 6vw, 80px); }
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 24px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9b6ad;
}
.foot-inner a { color: var(--paper); border-bottom: 1px solid #555; }
.foot-inner a:hover { color: var(--red); border-color: var(--red); }

/* Responsive */
@media (max-width: 980px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-lede, .hero-facts { grid-column: 1 / -1; }
  .sec-head { grid-template-columns: auto 1fr; }
  .sec-head .num { grid-column: 1; }
  .sec-head h2 { grid-column: 2; }
  .sec-head .note { grid-column: 2; justify-self: start; }
  .profile-grid { grid-template-columns: 1fr; }
  .statement, .prose { grid-column: 1 / -1; }
  .connect-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .top { font-size: 10px; }
  .top-meta span:not(:last-child) { display: none; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 40px 1fr auto; }
  .row h3, .focus-rows .row h3, .writing-rows .row h3 { grid-column: 2; }
  .row p, .focus-rows .row p, .writing-rows .row p { grid-column: 2 / span 2; }
  .rnum, .rdate { grid-column: 1; }
  .row .arrow, .focus-rows .arrow, .writing-rows .arrow { grid-column: 3; grid-row: 1; }
  .cv-grid { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: 1fr; }
  .foot-inner { justify-content: flex-start; }
}
