/* Personal homepage. Shared article and product-record layouts stay in portfolio.css. */
.personal-home { color: #344454; overflow-x: visible; }
.personal-home .container { max-width: 1160px; }
.personal-home main, .personal-home section, .personal-home header { min-width: 0; }
.personal-home h1, .personal-home h2, .personal-home h3 { color: #102b40; }
.personal-home a { text-underline-offset: 4px; }
.personal-home a:focus-visible, .personal-home button:focus-visible { outline: 3px solid #16758a; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 2000; padding: 12px 20px; background: white; color: #102b40; }
.skip-link:focus { top: 12px; }
.eyebrow { display: block; color: #286271; font-size: .875rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 16px; }
.home-intro { padding: 124px 0 0; background: #f2f7f9; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.intro-copy h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 24px; }
.intro-text { font-size: 1.15rem; line-height: 1.65; margin-bottom: 16px; }
.intro-context { max-width: 560px; color: #52616e; }
.intro-context + .intro-context { margin-top: 12px; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.home-actions > a:not(.button-link), .home-text-link { color: #185d76; font-weight: 600; }
.personal-home .button-link { background: #155d75; color: white; font-size: .95rem; }
.personal-home .button-link:hover { background: #10485b; }
.intro-portrait { min-width: 0; }
.intro-portrait img { width: 100%; height: auto; display: block; border-radius: 8px; }
.intro-portrait figcaption { font-size: .875rem; color: #52616e; margin-top: 10px; }
.home-scale { display: grid; grid-template-columns: 1fr 1fr 1fr 1.35fr; gap: 20px; padding: 28px 0; margin-top: 40px; border-top: 1px solid #cfdee5; }
.home-scale strong { display: block; color: #102b40; font-size: 1.8rem; line-height: 1.3; }
.home-scale span, .scale-note { font-size: .875rem; color: #52616e; }
.scale-note a { color: #185d76; }
.home-section { padding: 64px 0; }
.home-section-heading { margin-bottom: 30px; }
.home-section-heading h2, .home-about h2, .home-contact h2, .talks-preview h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); letter-spacing: -.025em; line-height: 1.2; margin-bottom: 14px; }
.home-section-heading p { max-width: 680px; }
.work-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.work-example { min-width: 0; border-top: 3px solid #2c7e87; padding-top: 20px; display: flex; flex-direction: column; }
.case-number { font-size: .875rem; color: #286271; margin-bottom: 14px; }
.work-example h3 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 14px; }
.work-example p { margin-bottom: 20px; }
.work-example dl { margin-bottom: 22px; }
.work-example dt { font-size: .875rem; font-weight: 700; color: #102b40; margin-top: 14px; }
.work-example dd { margin-top: 4px; }
.work-example > a { color: #185d76; margin-top: auto; font-weight: 600; }
.work-context { margin-top: 36px; padding-top: 24px; border-top: 1px solid #dbe4e9; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.work-context p { flex-basis: 100%; max-width: 790px; }
.work-context a { color: #185d76; }
.stellar-context > div { flex-basis: 100%; }
.stellar-context .eyebrow { margin-bottom: 8px; }
.stellar-context h3 { font-size: 1.4rem; }
.home-reading { background: #f2f7f9; }
.reading-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 70px; }
.essay-list { margin-bottom: 24px; }
.essay-list > a { display: block; padding: 20px 0; border-top: 1px solid #cfdee5; text-decoration: none; color: inherit; }
.essay-list time { font-size: .875rem; color: #52616e; }
.essay-list h3 { font-size: 1.2rem; line-height: 1.35; margin: 5px 0 8px; }
.essay-list a:hover h3 { color: #16758a; text-decoration: underline; }
.talks-preview { padding: 28px; background: white; border: 1px solid #dbe4e9; border-radius: 8px; align-self: start; }
.talks-preview ul { padding-left: 20px; margin: 20px 0 26px; }
.talks-preview li { margin-bottom: 10px; }
.personal-projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.personal-projects .project-card { min-width: 0; box-shadow: none; border: 1px solid #dbe4e9; border-radius: 8px; }
.personal-projects .project-card-image { width: 100%; height: 148px; aspect-ratio: auto; }
.personal-projects .project-card-body { padding: 20px; min-height: 0; }
.personal-projects .project-card p { font-size: .95rem; color: #52616e; }
.personal-projects .story-kicker { font-size: .875rem; }
.home-about { border-top: 1px solid #dbe4e9; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 60px; }
.about-grid p + p { margin-top: 16px; }
.home-contact { padding: 44px 0; background: #e5f0f2; }
.contact-inner { display: flex; gap: 30px; align-items: center; justify-content: space-between; }
.contact-inner p { max-width: 680px; }
.contact-inner .button-link { flex-shrink: 0; }
.personal-home .site-footer { padding: 32px 0; }
.personal-home .footer-inner { gap: 24px; }
.personal-home .footer-links { flex-wrap: wrap; }
.personal-home [id] { scroll-margin-top: 88px; }
@media (max-width: 1000px) {
  .intro-grid { gap: 32px; }
  .reading-grid, .about-grid { gap: 36px; }
  .personal-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-projects .project-card-image { height: 180px; }
  .work-examples { gap: 22px; }
  .personal-home .nav-links { gap: 20px; }
}
@media (max-width: 768px) {
  .home-intro { padding-top: 94px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .intro-portrait { display: flex; align-items: center; gap: 16px; }
  .intro-portrait img { width: 112px; height: 112px; object-fit: cover; }
  .intro-portrait figcaption { max-width: 170px; margin-top: 0; }
  .intro-copy h1 { font-size: clamp(2rem, 7.5vw, 2.8rem); }
  .intro-text { font-size: 1.05rem; }
  .home-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; padding: 22px 0; }
  .home-scale strong { font-size: 1.5rem; }
  .scale-note { grid-column: 1 / -1; }
  .scale-note br { display: none; }
  .home-section { padding: 42px 0; }
  .work-examples, .reading-grid, .about-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .work-example dl { margin-bottom: 18px; }
  .work-example dt { margin-top: 10px; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .personal-home .footer-inner { align-items: flex-start; }
  .personal-home .footer-links { gap: 14px 20px; }
}
@media (max-width: 480px) {
  .personal-home .container { padding-left: 20px; padding-right: 20px; }
  .personal-projects { grid-template-columns: minmax(0, 1fr); }
  .personal-projects .project-card-image { height: 180px; }
  .personal-home .nav-brand { font-size: 1.1rem; }
  .talks-preview { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .personal-home *, .personal-home *::before, .personal-home *::after { transition: none !important; animation: none !important; }
}
