:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #111; outline-offset: 7px; }
::selection { color: #fff; background: #111; }

.page {
  width: min(1120px, calc(100% - 112px));
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px;
  border-bottom: 1px solid #dedede;
}

.wordmark { font-size: 21px; font-weight: 650; letter-spacing: -1px; }
.wordmark span { font-weight: 400; }
.linkedin { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; }
.linkedin:hover { text-decoration: underline; text-underline-offset: 5px; }
main { flex: 1; padding-bottom: 100px; }
.intro { padding-block: clamp(76px, 11vw, 140px) 64px; }
.eyebrow { margin: 0 0 24px; font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(48px, 7.6vw, 100px); line-height: 1.04; letter-spacing: -0.065em; font-weight: 500; }
.intro-text { margin: 26px 0 0; color: #666; font-size: 17px; line-height: 1.6; }
.projects { list-style: none; margin: 0; padding: 0; border-top: 1px solid #111; }
.projects li { border-bottom: 1px solid #dedede; }
.project { display: grid; grid-template-columns: 72px 1fr 48px; align-items: start; gap: 16px; padding-block: 36px 38px; }
.project-number { padding-top: 7px; font-size: 12px; font-variant-numeric: tabular-nums; color: #666; }
h2 { margin: 0; font-size: 29px; line-height: 1.2; font-weight: 500; letter-spacing: -1px; }
.project-info p { margin: 12px 0 21px; font-size: 16px; line-height: 1.6; color: #555; }
.project-domain { font-size: 12px; color: #666; }
.project-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #dedede; border-radius: 50%; transition: color 160ms, background 160ms, border-color 160ms; }
.project:hover .project-arrow, .project:focus-visible .project-arrow { color: #fff; background: #111; border-color: #111; }
.project:hover h2 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 28px; font-size: 11px; line-height: 1.6; color: #666; }

@media (max-width: 640px) {
  .page { width: calc(100% - 48px); }
  .header { padding-block: 16px; }
  .wordmark { font-size: 19px; }
  .intro { padding-block: 76px 48px; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  h1 { max-width: 7em; }
  .intro-text { font-size: 15px; margin-top: 22px; }
  main { padding-bottom: 72px; }
  .project { grid-template-columns: 24px minmax(0, 1fr) 36px; gap: 12px; padding-block: 28px; }
  .project-number { padding-top: 6px; font-size: 11px; }
  h2 { font-size: 25px; }
  .project-info p { font-size: 14px; margin-block: 12px 18px; }
  .project-domain { font-size: 11px; }
  .project-arrow { width: 36px; height: 36px; }
  .project-arrow svg { width: 19px; height: 19px; }
  footer { padding-block: 24px; font-size: 10px; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-arrow { transition: none; }
}
