/* Personal portfolio — local draft only. */
:root {
  color-scheme: light;
  --ink: #202936;
  --muted: #626c79;
  --accent: #365e93;
  --line: #e2e6eb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fcfcfd;
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
p, h1, h2, h3 { margin: 0; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: #b6c4d6; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page { max-width: 860px; padding: 0 40px; margin: auto; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 0 44px; }
.intro-text { flex: 1; }
h1 { font-family: Georgia, serif; font-size: 45px; line-height: 1.15; font-weight: 400; letter-spacing: -1.5px; margin-bottom: 17px; }
.intro p { max-width: 470px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.intro p + p { margin-top: 12px; }
.portrait { display: block; width: 120px; height: 120px; object-fit: cover; object-position: center 66%; border-radius: 50%; flex-shrink: 0; }
.follow-cta { display: inline-block; margin-top: 19px; font-size: 14px; }
h2 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.project { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 22px 0; }
.project + .project { border-top: 1px solid var(--line); }
.project h3 { font-size: 18px; font-weight: 500; margin-bottom: 9px; }
.project h3 a { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration-color: #cdd3db; }
.project-icon { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.project p { max-width: 390px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.project .project-tagline { margin-top: 7px; font-style: italic; color: #727b87; }
.project-image { display: flex; align-items: center; justify-content: center; width: 172px; height: 112px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f0f2f5; }
.project-image img { display: block; object-fit: contain; max-width: 90%; max-height: 88%; }
.project-image.photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.closing { margin-top: 30px; padding: 28px 0 32px; border-top: 1px solid #cdd4de; }
.background h2 { margin-bottom: 10px; }
.background p { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 650px; }
.footer-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: 26px; }
.motto { font-family: Georgia, serif; font-size: 16px; font-style: italic; line-height: 1.5; color: #555f6c; }
.footer-x { font-size: 14px; }
@media (max-width: 600px) {
  .page { padding: 0 24px; }
  .intro { padding: 38px 0; align-items: flex-start; gap: 22px; }
  h1 { font-size: 35px; letter-spacing: -1px; }
  .intro p { font-size: 14px; }
  .portrait { width: 88px; height: 88px; }
  .project { gap: 20px; padding: 20px 0; }
  .project h3 { font-size: 17px; }
  .project p { font-size: 13px; }
  .project-image { width: 112px; height: 100px; }
  .closing { margin-top: 25px; padding-top: 25px; }
}
@media (max-width: 380px) {
  .portrait { width: 70px; height: 70px; }
  h1 { font-size: 31px; }
  .project-image { width: 90px; height: 95px; }
}
