/* Homepage only: project details, archive, and documents keep their own layout. */
.home-page .section { padding: clamp(32px, 4vw, 48px) 0; }
.home-page .header-nav { gap: clamp(14px, 1.7vw, 24px); }
.home-page .hero { padding: 36px 0; }
.home-page .hero-grid { grid-template-columns: minmax(0, 1fr) 230px; gap: clamp(28px, 5vw, 64px); }
.home-page .hero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -.04em; }
.home-page .hero .eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: .045em; }
.home-page .hero-role { margin-top: 10px; font-size: clamp(18px, 2vw, 22px); }
.home-page .hero-summary { max-width: 650px; margin-top: 18px; color: var(--ink); }
.hero-meta { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.home-page .button-row { margin-top: 20px; }
.home-page .button { min-height: 44px; padding-inline: 18px; }
.home-page .portrait { max-width: 230px; }
.home-page .portrait img { aspect-ratio: 4 / 4.6; border-radius: 12px; }
.home-page .portrait figcaption { padding-top: 9px; font-size: 11px; }

.home-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.home-section-head h2, .home-approach h2, .home-page .contact-grid h2 { margin: 0; font-size: clamp(23px, 2.7vw, 29px); line-height: 1.3; letter-spacing: -.025em; }
.home-page .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.home-page .project-card { display: flex; flex-direction: column; }
.home-page .project-media-pair { grid-template-columns: 1.2fr .8fr; }
.home-page .project-media img { height: 196px; min-height: 0; object-fit: cover; }
.home-page .project-media-pair figure:last-child img { object-fit: contain; object-position: center; }
.home-page .project-media figcaption { left: 8px; right: 8px; bottom: 8px; width: fit-content; max-width: calc(100% - 16px); padding: 4px 8px; border-radius: 6px; font-size: 10px; line-height: 1.4; }
.home-page .project-body { display: flex; flex: 1; flex-direction: column; gap: 0; padding: 22px; }
.home-page .project-meta { margin-bottom: 7px; font-size: 11px; letter-spacing: 0; text-transform: none; }
.home-page .project-title, .home-page .product-content h3 { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
.home-page .project-intro, .home-page .product-content p { margin: 10px 0 0; font-size: 15px; line-height: 1.7; }
.home-page .project-links { align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: auto; padding-top: 15px; }
.home-page .product-card img { height: 180px; object-fit: cover; object-position: center top; }
.home-page .product-content { padding: 22px; }
.home-page .product-content .text-link { margin: 0; padding: 0; }
.home-page .managed-external-link { color: var(--muted); font-size: 12px; font-weight: 500; }
.home-page .managed-detail-link:focus-visible { outline-color: var(--accent); }
.home-page .text-link { min-height: 44px; }

.home-approach { display: grid; grid-template-columns: minmax(160px, .4fr) minmax(0, 1fr); gap: 20px 44px; align-items: start; }
.home-approach p { max-width: 760px; margin: 0; color: var(--muted); }
.home-page .section-soft::after { top: 6px; width: 165px; opacity: .08; }
.home-page .timeline-item { grid-template-columns: 140px minmax(230px, .85fr) 1fr; gap: 18px; padding: 16px 0; }
.home-page .timeline-role strong { font-size: 15px; }
.home-page .timeline-role span { margin-top: 3px; font-size: 12px; }
.home-page .timeline-copy { font-size: 14px; }
.home-page .contact-grid { gap: 24px 64px; }
.home-page .contact-grid > div > p { max-width: 440px; margin-bottom: 0; }
.home-page .contact-list a { min-height: 52px; font-size: 14px; }
.home-page .site-footer { padding: 20px 0; }

@media (max-width: 980px) {
  .home-page .header-nav { gap: 0; }
  .home-page .hero-grid { grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; }
  .home-page .timeline-item { grid-template-columns: 140px 1fr; gap: 6px 18px; }
  .home-page .timeline-copy { grid-column: 2; }
}

@media (max-width: 720px) {
  .home-page .hero { padding: 28px 0; }
  .home-page .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-page .hero h1 { max-width: 450px; }
  .home-page .hero-summary { margin-top: 14px; }
  .home-page .portrait { display: flex; align-items: center; gap: 14px; width: 100%; max-width: none; }
  .home-page .portrait img { width: 76px; height: 82px; border-radius: 9px; }
  .home-page .portrait figcaption { padding: 0; }
  .home-page .projects, .home-page .product-grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .project-media img { height: 174px; }
  .home-page .project-body, .home-page .product-content { padding: 18px; }
  .home-page .home-approach { grid-template-columns: 1fr; gap: 14px; }
  .home-page .timeline-item { grid-template-columns: 1fr; gap: 5px; }
  .home-page .timeline-copy { grid-column: auto; }
  .home-page .contact-list a { overflow-wrap: anywhere; }
}

@media (max-width: 420px) {
  .home-page .button-row { display: flex; gap: 8px; }
  .home-page .button-row .button { width: auto; padding-inline: 14px; font-size: 12px; }
}
