/* A quiet, paper-like home for practical AI work. */
:root {
  --profile-ink: #293d35;
  --profile-muted: #66736a;
  --profile-accent: #42664f;
  --profile-line: #d9dfd0;
  --profile-bg: #f7f6ee;
}
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body.profile-page {
  margin: 0; color: var(--profile-ink); background: var(--profile-bg);
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.65;
  background-image: radial-gradient(ellipse at 85% 0, #e9f0e7 0, transparent 38%);
}
.profile-page * { box-sizing: border-box; }
.profile-page a { color: var(--profile-accent); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.profile-page a:hover { color: #233e2e; }
.profile-page a:focus-visible { outline: 2px solid var(--profile-accent); outline-offset: 5px; border-radius: 2px; }
.profile-page h1, .profile-page h2, .profile-page h3, .profile-page p { margin-top: 0; }
.profile-page h1, .profile-page h2, .profile-page h3 { color: var(--profile-ink); }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 8px 14px; background: var(--profile-ink); color: #fff !important; }
.skip-link:focus { top: 12px; }
.profile-nav { border-bottom: 1px solid var(--profile-line); background: rgba(247,246,238,.96); }
.profile-nav__inner { width: min(940px, calc(100% - 48px)); min-height: 80px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.profile-nav__brand { color: var(--profile-ink) !important; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.profile-nav nav { display: flex; gap: 28px; }
.profile-nav nav a { color: var(--profile-muted); font-size: 14px; text-decoration: none; }
.profile-shell { width: min(940px, calc(100% - 48px)); margin: auto; padding: 70px 0 36px; }
.intro-section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 60px; align-items: center; }
.profile-photo { display: block; width: 108px; height: 108px; object-fit: cover; border-radius: 50%; margin-bottom: 20px; border: 4px solid #fffdf7; box-shadow: 0 0 0 1px var(--profile-line); }
.profile-identity h1 { font-size: 25px; letter-spacing: -.035em; line-height: 1.25; margin-bottom: 5px; font-weight: 600; }
.profile-role { font-size: 15px; margin-bottom: 2px; }
.profile-location { color: var(--profile-muted); font-size: 14px; margin-bottom: 16px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 19px; padding: 0; margin: 0; list-style: none; font-size: 14px; }
.profile-links a { text-decoration: none; }
.eyebrow { font-size: 13px; letter-spacing: .055em; color: var(--profile-accent); margin-bottom: 16px; }
.intro-copy h2 { font-family: "Lora", Georgia, serif; font-size: clamp(34px, 4.1vw, 48px); line-height: 1.23; font-weight: 400; letter-spacing: -.04em; margin-bottom: 22px; }
.intro-copy > p:not(.eyebrow) { max-width: 540px; color: var(--profile-muted); }
.intro-copy .background-note { font-size: 14px; margin-bottom: 0; }
.landscape { margin: 46px 0 48px; }
.landscape img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: center 60%; border-radius: 8px; }
.landscape figcaption { margin-top: 9px; font-family: "Lora", Georgia, serif; font-size: 12px; font-style: italic; color: var(--profile-muted); text-align: right; }
.profile-section { padding: 0 0 42px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--profile-line); margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-family: "Lora", Georgia, serif; font-size: 23px; font-weight: 400; letter-spacing: -.025em; }
.section-heading > span { color: var(--profile-muted); font-size: 11px; letter-spacing: .07em; white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 38px 50px; }
.project-card { border: 0; background: none; padding: 0; }
.project-kind { margin-bottom: 8px; color: var(--profile-muted); font-size: 12px; }
.project-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 11px; }
.project-card h3 a { text-decoration: none; }
.project-card h3 span { font-size: 16px; font-weight: 400; margin-left: 4px; }
.project-card > p:not(.project-kind) { font-size: 16px; color: var(--profile-muted); margin-bottom: 12px; }
.project-card .project-tags { font-size: 12px !important; color: var(--profile-accent) !important; margin-bottom: 0 !important; }
.notes-section > p, .contact-section > p { color: var(--profile-muted); max-width: 650px; margin-bottom: 14px; font-size: 16px; }
.notes-section h2 span { font-family: "Source Sans Pro", sans-serif; font-size: 15px; margin-left: 10px; color: var(--profile-muted); }
.notes-links { display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 14px; }
.notes-links > span { color: var(--profile-muted); }
.email-link { font-size: 16px; }
.profile-footer { width: min(940px, calc(100% - 48px)); margin: auto; padding: 20px 0 32px; border-top: 1px solid var(--profile-line); font-size: 12px; color: var(--profile-muted); background: none; }
.profile-footer p { margin: 0; }
.not-found { width: min(760px, calc(100% - 48px)); min-height: 65vh; margin: auto; padding: 100px 0; }
@media (max-width: 700px) {
  .profile-shell { padding-top: 36px; }
  .profile-nav__inner { min-height: 66px; }
  .profile-nav nav { gap: 18px; }
  .intro-section { grid-template-columns: 1fr; gap: 32px; }
  .profile-identity { display: grid; grid-template-columns: 84px 1fr; column-gap: 20px; align-items: start; }
  .profile-photo { grid-row: 1 / span 4; width: 84px; height: 84px; margin: 0; }
  .profile-identity h1 { font-size: 24px; margin-bottom: 3px; }
  .profile-location { margin-bottom: 10px; }
  .profile-links { grid-column: 2; gap: 20px; }
  .intro-copy h2 { font-size: clamp(32px, 6.5vw, 44px); }
  .landscape { margin: 30px 0 36px; }
  .landscape img { height: 150px; }
  .project-grid { gap: 28px; }
  .section-heading h2 { font-size: 21px; }
}
@media (max-width: 480px) {
  .profile-shell, .profile-nav__inner, .profile-footer { width: calc(100% - 36px); }
  .profile-nav nav { gap: 17px; }
  .profile-nav nav a { font-size: 13px; }
  .project-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-heading > span { display: none; }
  .notes-section h2 span { display: block; margin: 6px 0 0; }
  .landscape img { height: 132px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
