/* Name and work: a quiet opening with actual project imagery. */
.home-page {
  --text-personal-name: clamp(64px, 7vw, 90px);
  background-image: none;
}
.home-page::before { display: none; }
.hero.hero-portfolio { padding: 112px 0 24px; }
.hero-layout { display: grid; gap: 40px; align-items: center; }
.hero-identity, .hero-workbench { min-width: 0; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin: 0; font: 400 var(--text-micro)/1.6 var(--font-mono); color: var(--chalk-faint); }
.hero-kicker::before { content: ''; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--glyph-accent); }
.hero-portfolio .hero-name { margin: 24px 0 20px; font-size: var(--text-personal-name); line-height: 0.98; letter-spacing: -0.065em; }
.hero-name-accent { color: var(--glyph-accent); }
.hero-portfolio .hero-tagline { margin: 0; max-width: 28ch; font-size: var(--text-subhead); font-weight: 500; line-height: 1.3; letter-spacing: -0.035em; }
.hero-portfolio .hero-intro { max-width: 39ch; margin: 18px 0 0; font-size: var(--text-body); line-height: 1.7; }
.hero-portfolio .hero-actions { align-items: center; gap: 14px 24px; margin-top: 26px; }
.hero-contact { padding: 10px 0; color: var(--chalk); font-size: var(--text-meta); text-decoration: underline; text-underline-offset: 5px; }
.hero-contact:hover { color: var(--glyph-accent-hover); }
.hero-award-note { display: flex; align-items: start; gap: 12px; max-width: 39ch; margin-top: 28px; color: var(--chalk); font-size: var(--text-meta); line-height: 1.5; text-decoration: none; }
.hero-award-note:hover { color: var(--glyph-accent-hover); }
.hero-award-note > span:first-child { color: var(--glyph-accent); padding-top: 2px; }
.hero-award-note small { display: block; margin-top: 4px; color: var(--chalk-faint); font-size: var(--text-micro); }
.hero-workbench-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--chalk-faint); font: 400 var(--text-micro)/1.6 var(--font-mono); }
.hero-project { margin: 0; }
.hero-project[hidden], .hero-project-picker[hidden] { display: none; }
.hero-project-image { display: block; position: relative; background: var(--drawing-surface); border-radius: var(--control-radius); overflow: hidden; }
.hero-project-image img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: contain; }
.hero-project-image[data-media='photo'] img { object-fit: cover; }
#hero-robotics-panel img { object-position: center 40%; }
.hero-project-image[data-media='interface'] { background: var(--ink-sunken); }
.hero-project-arrow { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--chalk); border: 1px solid var(--line-bright); border-radius: var(--control-radius); }
.hero-project-image:hover .hero-project-arrow { color: var(--glyph-accent-hover); }
.hero-project figcaption { display: flex; justify-content: space-between; gap: 18px; margin: 16px 0 0; }
.hero-project h2 { margin: 0; color: var(--chalk); font: 500 var(--text-tile)/1.3 var(--font-sans); letter-spacing: -0.025em; }
.hero-project figcaption p { max-width: 34ch; margin: 6px 0 0; color: var(--chalk-dim); font-size: var(--text-meta); }
.hero-project-status { max-width: 16ch; text-align: right; color: var(--chalk-faint); font: 400 var(--text-micro)/1.6 var(--font-mono); }
.hero-project-picker { display: flex; border-top: 1px solid var(--line-bright); margin-top: 20px; }
.hero-project-picker button { flex: 1; min-width: 0; min-height: 48px; padding: 12px 6px; border: 0; border-top: 2px solid transparent; background: transparent; color: var(--chalk-faint); font: 400 var(--text-meta)/1.5 var(--font-sans); cursor: pointer; }
.hero-project-picker button[aria-pressed='true'] { color: var(--chalk); border-top-color: var(--glyph-accent); }
.hero-project-picker button:hover { background: var(--ink-raised); color: var(--chalk); }
.hero-project-fallback { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; font-size: var(--text-meta); }
.hero-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-bright); font: 400 var(--text-micro)/1.7 var(--font-mono); color: var(--chalk-faint); }
@media (min-width: 800px) {
  .hero-layout { grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 5vw, 76px); }
  .hero-project-image img { height: clamp(280px, 29vw, 360px); aspect-ratio: auto; }
  .hero-footer { margin-top: 28px; }
}
@media (max-width: 399px) {
  .hero.hero-portfolio { padding-top: 112px; }
  .hero-portfolio .hero-actions .btn { flex: none; }
  .hero-project figcaption { flex-wrap: wrap; gap: 10px; }
  .hero-project-status { max-width: none; text-align: left; }
}
