:root {
  --paper: #fffefa;
  --ink: #090909;
  --ink-soft: #424242;
  --muted: #777b83;
  --blue: #2d6cdf;
  --line: rgba(12, 26, 44, 0.14);
  --highlight: #fff769;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(164, 211, 255, 0.44), transparent 34%),
    linear-gradient(90deg, #fffefa 0%, #fffefa 62%, #eaf6ff 100%);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto auto;
  z-index: -1;
  width: 44vw;
  height: 100vh;
  background:
    linear-gradient(180deg, rgba(238, 248, 255, 0.64), rgba(196, 225, 255, 0.46)),
    radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.72), transparent 27%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--blue);
}

p,
h1,
h2 {
  margin: 0;
}

.site-header,
.page,
.site-footer {
  width: min(100% - 44px, 980px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
  font-size: 16px;
}

.brand-link {
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
}

.page {
  max-width: 980px;
  padding: 118px 0 72px;
}

.intro {
  max-width: 980px;
}

.intro-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.profile-photo {
  flex: 0 0 auto;
  margin: 0 0 5px;
}

.profile-photo img {
  width: 96px;
  height: 96px;
  border: 1px solid rgba(12, 26, 44, 0.14);
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(24, 55, 92, 0.1);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 7vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.highlight-lines {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  font-size: clamp(15px, 1.75vw, 17px);
  line-height: 1.56;
}

mark {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: var(--highlight);
  color: var(--ink);
  padding: 0 5px;
}

mark a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.story-section {
  margin-top: 42px;
}

.story-copy {
  display: grid;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.68;
}

.text-section {
  max-width: 980px;
  margin-top: 44px;
}

.dense-list,
.dated-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.62;
}

.dense-list strong,
.dated-list span {
  color: var(--ink);
  font-weight: 700;
}

.project-button {
  display: block;
  width: fit-content;
  margin: 4px 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px 3px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  text-transform: lowercase;
}

.project-button:hover {
  border-color: rgba(45, 108, 223, 0.38);
}

.connect-line,
.email-line {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 15px;
  text-decoration: none;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.social-icon svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.social-count {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
}

.social-handle {
  display: none;
}

.email-line {
  margin-top: 18px;
}

.dated-list {
  list-style-type: square;
}

.dated-list span {
  color: var(--ink);
  font-family: var(--serif);
  font-size: inherit;
  font-weight: 700;
}

.story-page {
  padding-top: 112px;
}

.site-footer {
  padding: 0 0 46px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 760px) {
  body,
  body::before {
    background: #fffefa;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 22px;
  }

  .intro-top {
    align-items: flex-start;
  }

  .profile-photo img {
    width: 82px;
    height: 82px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 15px;
  }

  .page {
    padding-top: 72px;
  }

  .highlight-lines {
    margin-top: 34px;
  }

}
