:root {
  color-scheme: light;
  --paper: #faf8f5;
  --ink: #201b29;
  --muted: #666770;
  --link: #086997;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 768px; margin: 0 auto; padding: 72px 32px 40px; }
a { color: var(--link); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, p { margin: 0; }
h1 { margin-bottom: 22px; font-size: 38px; font-weight: 600; letter-spacing: -1.1px; line-height: 1.2; }
p + p { margin-top: 16px; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; gap: 44px; margin-bottom: 56px; }
.avatar { width: 180px; height: 180px; object-fit: cover; border-radius: 4px; }
.social-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
h2 { margin-bottom: 20px; font-size: 20px; font-weight: 500; line-height: 1.4; }
.highlight { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 24px; }
.highlight + .highlight { margin-top: 28px; }
.highlight-preview { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #e4dfd8; border-radius: 4px; }
h3 { margin-bottom: 6px; font-size: 18px; font-weight: 500; line-height: 1.5; }
.highlight p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 8px 12px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 580px) {
  main { padding: 40px 24px 28px; }
  .intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  h1 { font-size: 34px; }
  .avatar { width: 144px; height: 144px; }
  .highlight { grid-template-columns: 1fr; gap: 14px; }
  .highlight + .highlight { margin-top: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  a { transition: color 120ms ease; }
}
