:root {
  color-scheme: light;
  --ink: #111;
  --muted: #666;
  --rule: #d8d8d8;
  font-family: "Century Gothic", "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.page {
  width: min(100% - 48px, 1000px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding-block: clamp(32px, 6vh, 72px) 24px;
}
main { text-align: center; margin-block: auto; padding-block: 20px 40px; }
h1 {
  font-size: clamp(55px, 9.2vw, 126px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .005em;
  margin: 0 0 28px;
}
.profession {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 670px;
  margin: 0 auto;
  font-size: 11px;
  letter-spacing: .27em;
  line-height: 1.6;
}
.profession::before, .profession::after { content: ""; height: 1px; flex: 1; background: var(--rule); }
.profession span { flex-shrink: 0; }
.creative {
  font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(32px, 4.2vw, 46px);
  font-style: italic;
  color: #737373;
  line-height: 1.2;
  margin: 35px 0 22px;
}
.bio { max-width: 610px; margin: 0 auto; font-size: 15px; line-height: 1.9; color: #555; }
.photography {
  display: inline-block;
  margin-top: 28px;
  padding-block: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.projects { margin-top: 34px; }
h2 { margin: 0; font-size: 9px; line-height: 1.7; font-weight: 500; letter-spacing: .23em; color: var(--muted); }
.project-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; list-style: none; padding: 0; margin: 13px 0 0; }
.project { position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 4px; }
.project img { display: block; object-fit: contain; }
.project img[src="/assets/pocketspree.png"] { border-radius: 22.5%; }
.tooltip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 6px 9px; background: var(--ink); color: #fff; border-radius: 3px; font-size: 11px; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; }
.project:hover .tooltip, .project:focus-visible .tooltip { opacity: 1; visibility: visible; }
.email { display: table; margin: 24px auto 0; padding-block: 8px; font-size: 12px; line-height: 1.6; color: #555; text-decoration: none; }
.email:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
footer { border-top: 1px solid var(--rule); text-align: center; }
footer p { margin: 17px 0 0; font-size: 9px; line-height: 1.8; letter-spacing: .18em; color: var(--muted); }
footer span { margin-inline: 10px; }
@media (max-width: 600px) {
  .page { width: calc(100% - 40px); padding-block: 28px 20px; }
  main { padding-block: 24px 32px; }
  h1 { font-size: clamp(36px, 10vw, 64px); margin-bottom: 22px; }
  .profession { gap: 12px; font-size: 8px; letter-spacing: .19em; }
  .creative { margin-top: 29px; }
  .bio { font-size: 14px; line-height: 1.85; max-width: 430px; }
  .photography { margin-top: 22px; font-size: 10px; }
  .projects { margin-top: 29px; }
}
@media (max-height: 760px) and (min-width: 601px) {
  .page { padding-top: 24px; padding-bottom: 18px; }
  main { padding-block: 10px 24px; }
  h1 { font-size: clamp(64px, 9vw, 110px); margin-bottom: 20px; }
  .creative { margin-top: 24px; margin-bottom: 16px; }
  .photography { margin-top: 18px; }
  .projects { margin-top: 22px; }
  .email { margin-top: 16px; }
}
