/* Shared vector icons keep the same appearance on Android, iOS and desktop. */
.ui-icon{display:inline-block;vertical-align:middle;width:18px;height:18px;flex-shrink:0;color:inherit}
.header-contact,.hero-bottom a,.contact-links>a,.project-links>a,.project-links button,.footer>a:last-child{display:inline-flex;align-items:center;gap:10px}
.project-links button>span,.project-window>span:last-child{display:inline-flex;align-items:center}
.terminal-disclosure{display:none}
@media(max-width:800px){
  .wrap{width:calc(100% - 40px)}
  .header{min-height:76px;gap:16px}
  .header nav{gap:16px}
  .header nav a{min-height:44px;display:flex;align-items:center}
  .header::before{inset:0 -20px;border-radius:0}
  .hero{padding-top:28px}
  .hero-top{gap:16px}
  .hero-top .eyebrow{font-size:.7rem;line-height:1.75;letter-spacing:.03em;max-width:32ch}
  .availability{font-size:.75rem;line-height:1.6}
  .hero-grid{gap:32px;padding:32px 0}
  .hero-copy h1{font-size:clamp(2.75rem,9.8vw,4.8rem);line-height:1.08;letter-spacing:-.055em;margin-bottom:24px}
  .hero-copy>p{font-size:1rem;line-height:1.75;margin-bottom:24px}
  .hero-actions{gap:14px;align-items:center;display:grid;grid-template-columns:minmax(0,1fr) auto}
  .hero-actions .button{padding:14px 16px;font-size:.875rem;gap:14px;min-height:50px}
  .hero-actions .text-link{min-height:48px;font-size:.875rem;gap:8px}
  .developer-card{max-width:none;margin:0;border-color:#54303d}
  .identity-signature{padding:14px 18px}
  .identity-mask{width:70px;height:80px}
  .identity-wordmark strong{font-size:1.8rem}
  .identity-label{font-size:.625rem}
  .identity-caption{font-size:.6rem}
  .terminal-disclosure{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;border:0;background:#171116;color:#e2cbd3;text-align:left;padding:14px 18px;font:.8rem var(--body)}
  .terminal-disclosure .ui-icon{color:var(--accent);transition:transform .2s}
  .terminal-disclosure[aria-expanded=true] .ui-icon{transform:rotate(180deg)}
  .terminal-disclosure[aria-expanded=false]+#terminal-shell{display:none}
  .terminal-disclosure:focus-visible{outline-offset:-4px}
  .terminal-output{height:260px}
  .terminal-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .terminal-shortcuts button{min-height:44px}
  .terminal-prompt input{font-size:1rem}
  .terminal-input-help{align-items:center;flex-wrap:wrap}
  .terminal-input-help>span{width:100%}
  .terminal-input-help button{min-height:36px}
  .card-foot{display:none}
  .code-invitation{font-size:.8rem;min-height:50px}
  .hero-bottom{padding:20px 0 24px;gap:12px;align-items:center}
  .hero-bottom>span{font-size:.75rem;width:100%}
  .hero-bottom>div{gap:24px}
  .hero-bottom>div a{min-height:40px}
  .hero-bottom .scroll-cue{display:none}
  .section{padding-block:56px}
  .section-heading{gap:18px;margin-bottom:24px}
  .section-heading h2{font-size:2rem;line-height:1.15;margin-top:12px}
  .section-heading>.text-link{font-size:.8rem;min-height:40px}
  .project-toolbar{margin:0 0 24px}
  .project-toolbar p{font-size:.8rem;line-height:1.7;max-width:30ch}
  .projects-grid{grid-template-columns:1fr;gap:28px}
  .project.featured{grid-column:auto}
  .project .project-image-stage{height:auto;aspect-ratio:1.65;padding:22px 16px;flex:none}
  .project .project-window{padding:10px 14px;gap:10px;font-size:.6875rem}
  .project-window .ui-icon{width:15px;height:15px}
  .project .project-body{padding:24px 20px}
  .project .project-meta{font-size:.6875rem;line-height:1.75;gap:8px;letter-spacing:.02em}
  .featured-label{font-size:.6875rem;margin-bottom:12px}
  .project h3,.project.featured h3{font-size:1.8rem;margin:12px 0 16px}
  .project p{font-size:.9375rem;line-height:1.75;margin-bottom:22px}
  .tags{gap:7px}
  .tag{font-size:.6875rem;padding:5px 8px}
  .project-links{gap:12px;align-items:center;margin-top:24px;padding-top:16px;flex-wrap:nowrap}
  .project-links button{min-height:44px;gap:8px;font-size:.875rem}
  .project-links>a{min-height:44px;font-size:.8rem;gap:6px}
  .project-links .ui-icon{width:16px;height:16px}
  .about-grid{gap:24px}
  .about-grid h2{font-size:2.15rem;line-height:1.2}
  .about-grid h2 br{display:none!important}
  .about-grid h2 .muted{display:block;margin-top:6px}
  .about-copy p{font-size:1rem;line-height:1.85;margin-bottom:20px}
  .about-copy>.text-link{font-size:.875rem;line-height:1.65}
  .skills-grid{grid-template-columns:1fr;gap:24px;margin-top:36px;padding-top:28px}
  .skills-grid .skill:first-child{grid-column:auto}
  .skill h3{margin-bottom:10px}
  .skill p{font-size:.875rem;line-height:1.9}
  .journey-grid{gap:40px}
  .column-label{line-height:1.7;margin-bottom:24px}
  .cert-meta{flex-direction:column;gap:4px}
  .contact h2{font-size:clamp(2rem,8.5vw,3rem);line-height:1.16}
  .contact-intro{font-size:1rem;line-height:1.75;margin:24px 0 28px}
  .contact-paths{gap:20px}
  .contact-paths .contact-path{padding:24px 20px}
  .path-number{font-size:.6875rem;letter-spacing:.02em;line-height:1.8}
  .contact-path h3{font-size:1.3rem;line-height:1.3;gap:12px;margin:18px 0 14px}
  .contact-path h3>span{width:32px;height:32px}
  .contact-path p{font-size:.9375rem;line-height:1.75;margin-bottom:24px}
  .path-link{font-size:.8125rem;line-height:1.7}
  .contact-links{gap:16px 24px;margin-top:28px}
  .contact-links>a{min-height:44px}
  .email-group{width:100%;gap:8px}
  .email-group>a{font-size:.875rem;line-height:1.6}
  #copy-email{width:44px;height:44px}
  .footer{gap:16px;padding-block:24px;font-size:.75rem}
  dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:12px}
  .dialog-copy{padding:24px 20px}
  .dialog-image{height:auto;aspect-ratio:1.65;padding:24px 16px}
  .dialog-close{width:44px;height:44px;top:12px;margin-right:12px}
  .dialog-copy h2{font-size:2rem}
  .dialog-copy>p,.dialog-copy li{font-size:.9375rem;line-height:1.8}
  .dialog-actions{display:grid;grid-template-columns:1fr;gap:12px}
  .dialog-actions .button{font-size:.875rem;min-height:50px}
}
@media(max-width:380px){
  .header{display:grid;grid-template-columns:1fr;gap:4px;min-height:100px;padding-block:12px 4px}
  .header nav{justify-content:space-between;gap:10px;font-size:.8125rem}
  .hero-actions{grid-template-columns:1fr}
  .hero-actions .text-link{justify-self:center}
  .terminal-views{gap:12px}
  .terminal-view{font-size:.8rem}
}
@media(max-width:800px){.header-contact,.footer>a:last-child{display:none}}
