:root {
  --black: #000;
  --ink: #1b1b1b;
  --grey: #5f6368;
  --rule: #d9d9d9;
  --shade: #f2f2f2;
  --blue: #7399c6;
  --blue-deep: #2f5d8f;
  --night: #0b1622;
  --font: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font: 400 18px/1.55 var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }

.inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--rule); }
.top .inner { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { font-weight: 600; font-size: 20px; letter-spacing: -.01em; text-decoration: none; margin: 0; }
.top nav { display: flex; gap: 32px; margin-left: auto; }
.top nav a { font-size: 16px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { border-color: var(--blue); }
.contact-link { font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid var(--black); padding: 9px 20px; }
.contact-link:hover { background: var(--black); color: #fff; }

/* hero */
.hero { padding-top: 96px; }
.hero h1 {
  margin: 0 0 28px;
  max-width: 14em;
  font-weight: 300;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--black);
}
.hero p { max-width: 36em; margin: 0 0 18px; font-size: 22px; line-height: 1.5; color: var(--ink); }
.hero .actions { display: flex; gap: 36px; margin-top: 34px; }
.link { font-weight: 500; font-size: 17px; text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.link:hover { border-color: var(--black); }
.banner { width: 100%; margin-top: 88px; }

/* figures */
.figures { border-bottom: 1px solid var(--rule); }
.figures .inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 80px; padding-bottom: 80px; }
.figures .num { margin: 0 0 10px; font-weight: 300; font-size: clamp(48px, 6vw, 80px); line-height: 1; letter-spacing: -.03em; color: var(--black); }
.figures p { margin: 0; color: var(--grey); max-width: 18em; }
.figures .num { color: var(--black); }

/* blocks */
.block { padding: 104px 0; }
.shade { background: var(--shade); }
h2 { margin: 0 0 56px; font-weight: 300; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.02em; color: var(--black); }
h3 { margin: 0 0 14px; font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -.01em; color: var(--black); }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-deep); }
.muted { color: var(--grey); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tile { display: flex; flex-direction: column; background: var(--shade); padding: 36px 32px 32px; border-top: 4px solid var(--blue); }
.tile p { margin: 0 0 18px; font-size: 17px; }
.tile .kicker { margin-bottom: 18px; }
.tile .stack { font-size: 15px; color: var(--grey); margin-top: auto; }
.tile .link { align-self: flex-start; margin-top: 6px; }

.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.rows article { border-top: 1px solid var(--black); padding-top: 28px; }
.rows p { margin: 0 0 20px; max-width: 34em; }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.split h2 { margin: 0; }
.split p { margin: 0 0 16px; }

.skills { margin: 0; }
.skills > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--black); }
.skills > div:last-child { border-bottom: 1px solid var(--black); }
.skills dt { font-weight: 500; color: var(--black); }
.skills dd { margin: 0; }

/* activity */
.activity { background: var(--night); color: #e8eef5; padding: 104px 0 96px; }
.activity h2 { color: #fff; margin-bottom: 20px; }
.lede { margin: 0 0 40px; max-width: 34em; color: #a9b6c4; }
.controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.seg { display: inline-flex; border: 1px solid #3a4b5e; }
.seg button { font: 500 15px var(--font); color: #c4cfdb; background: transparent; border: 0; padding: 9px 20px; cursor: pointer; }
.seg button + button { border-left: 1px solid #3a4b5e; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--black); }
.total { margin: 0; font-size: 15px; color: #a9b6c4; }
.scroller { overflow-x: auto; padding: 16px 6px 12px; scrollbar-width: thin; scrollbar-color: #2c3e52 transparent; }
.cal { display: inline-block; min-width: max-content; }
.months { display: grid; grid-auto-flow: column; grid-auto-columns: 17px; height: 18px; margin-bottom: 6px; font-size: 12px; color: #7f8fa1; }
.months span { white-space: nowrap; }
.grid { display: grid; grid-template-rows: repeat(7, 14px); grid-auto-flow: column; grid-auto-columns: 14px; gap: 3px; }
.d { display: block; width: 14px; height: 14px; border-radius: 2px; background: #15232f; }
.d.l1 { background: #3d6490; box-shadow: 0 0 6px rgba(115,153,198,.45); }
.d.l2 { background: #5a86b8; box-shadow: 0 0 9px rgba(115,153,198,.65); }
.d.l3 { background: #86b0df; box-shadow: 0 0 12px 1px rgba(134,176,223,.8); }
.d.l4 { background: #c3dcf6; box-shadow: 0 0 16px 3px rgba(195,220,246,.95); }
.legend { display: flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 13px; color: #7f8fa1; }
.legend .d { display: inline-block; }
.status { margin: 14px 0 0; min-height: 1.5em; font-size: 14px; color: #7f8fa1; }

/* footer */
.foot { background: #000; color: #fff; padding: 56px 0; }
.foot .inner { display: grid; grid-template-columns: 1fr auto auto; gap: 48px; align-items: start; }
.foot p { margin: 0; }
.foot .brand { display: block; margin-bottom: 6px; }
.foot .muted { color: #8b8b8b; font-size: 15px; }
.foot ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.foot a { text-decoration: none; border-bottom: 1px solid #555; padding-bottom: 2px; }
.foot a:hover { border-color: var(--blue); }

@media (max-width: 960px) {
  :root { --pad: 28px; }
  .top nav { display: none; }
  .contact-link { margin-left: auto; }
  .hero { padding-top: 64px; }
  .banner { margin-top: 56px; }
  .figures .inner, .tiles, .rows, .split { grid-template-columns: 1fr; gap: 36px; }
  .figures .inner { padding-top: 56px; padding-bottom: 56px; }
  .block, .activity { padding: 72px 0; }
  h2 { margin-bottom: 36px; }
  .split h2 { margin-bottom: 0; }
  .skills > div { grid-template-columns: 1fr; gap: 4px; }
  .foot .inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
