/* Phone layout: larger type, fewer decorative details, and full-width actions. */
@media (max-width: 600px) {
 :root { --mobile-gutter: 24px; }
 html { scroll-padding-top: 20px; }
 .hero { display: flex; flex-direction: column; padding: 0 var(--mobile-gutter); background: radial-gradient(ellipse at 70% 30%, #301a20, #110e0f 65%); }
 .masthead { height: auto; min-height: 0; padding: 24px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
 .brand { flex-direction: row; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: 1.2px; gap: 12px; }
 .brand span { font-size: 8px; letter-spacing: .6px; }
 .masthead nav { justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: 1px; }
 .masthead nav a { min-height: 48px; min-width: 56px; }
 .masthead nav a:last-child { justify-content: flex-end; }
 .masthead nav a::after { bottom: 10px; }
 .hero-meta { margin: 22px 0 0; justify-content: flex-start; }
 .hero-meta > span:first-child { display: none; }
 .availability { max-width: none; font-size: 9px; letter-spacing: .7px; gap: 8px; text-align: left; line-height: 1.5; }
 .availability i { width: 5px; height: 5px; }
 .hero-title { font-size: 15vw; letter-spacing: -.06em; line-height: 1; transform: none; margin: 20px 0 0; flex-shrink: 0; }
 .portrait-stage { flex-shrink: 0; height: clamp(260px, 72vw, 330px); margin: 4px 0 0; width: 100%; border-bottom: 1px solid var(--line); }
 .portrait { object-position: center bottom; }
 .portrait-ring, .portrait-caption { display: none; }
 .hero-left { border: 0; padding: 26px 0 0; width: 100%; }
 .hero-left .eyebrow { display: none; }
 .statement { font-size: clamp(28px, 8vw, 38px); line-height: 1.15; letter-spacing: -1.3px; margin: 0 0 22px; }
 .statement br { display: none; }
 .statement .statement-first { display: block; margin-bottom: 2px; }
 .statement .statement-second { margin-right: .25em; }
 .signature { display: none; }
 .pill { display: flex; width: 100%; min-height: 52px; padding: 0 20px; background: var(--paper); color: #211112; border-color: var(--paper); font-size: 11px; letter-spacing: 1px; }
 .hero-right { display: flex; flex-direction: column; border: 0; padding: 20px 0 26px; width: 100%; }
 .hero-right > p { max-width: none; margin: 0 0 18px; font-size: 15px; line-height: 1.75; }
 .text-link { display: flex; justify-content: space-between; width: 100%; min-height: 50px; border: 1px solid #e1cbb83d; border-radius: 30px; padding: 0 20px; font-size: 11px; }
 .location { display: none; }
 .hero-footer { justify-content: center; min-height: 56px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: 1px; }
 .hero-footer > span { display: none; }
 .hero-footer a { min-height: 48px; gap: 15px; }
 .section { padding: 56px var(--mobile-gutter); }
 .about, .education { display: block; }
 .section > .eyebrow, .section-heading .eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: 1.5px; margin-bottom: 22px; }
 .section h2 { font-size: clamp(30px, 8.4vw, 40px); letter-spacing: -1.2px; line-height: 1.15; margin-bottom: 24px; }
 .section p:not(.eyebrow) { font-size: 15px; line-height: 1.8; margin: 0 0 18px; }
 .skills { gap: 8px; margin-top: 26px; }
 .skills span { font-size: 12px; padding: 10px 14px; letter-spacing: 0; background: #e1cbb804; }
 .work { background: #171113; }
 .section-heading { margin-bottom: 28px; }
 .section-heading h2 { margin-bottom: 0; }
 .project { display: block; padding: 28px 0 32px; }
 .project-number { display: none; }
 .project > div { min-width: 0; }
 .project-preview { margin-bottom: 24px; border-radius: 10px; box-shadow: none; }
 .preview-toolbar { padding: 10px 12px; font-size: 8px; gap: 8px; }
 .preview-toolbar > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
 .window-dots { gap: 4px; flex-shrink: 0; }
 .window-dots i { width: 4px; height: 4px; }
 .preview-caption { display: none; }
 .project .eyebrow { font-size: 9px; letter-spacing: .8px; line-height: 1.7; margin: 0 0 14px; }
 .project h3 { font-size: clamp(25px, 7vw, 32px); letter-spacing: -.7px; line-height: 1.2; margin-bottom: 16px; }
 .project p:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
 .stack { font-size: 10px; letter-spacing: .6px; line-height: 1.8; margin-top: 20px; }
 .project-type { display: block; margin-top: 20px; font-size: 10px; text-align: left; }
 .project-live { display: flex; justify-content: space-between; width: 100%; min-height: 50px; border: 1px solid #e1cbb83d; border-radius: 8px; padding: 0 16px; margin-top: 24px; font-size: 10px; }
 .education p:not(.eyebrow) { margin-bottom: 26px; }
 .contact { padding-top: 56px; padding-bottom: 24px; }
 .contact h2 { font-size: clamp(48px, 14vw, 74px); letter-spacing: -2.6px; margin: 0 0 26px; }
 .contact > a { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 54px; padding: 14px 10px; border: 1px solid #e1cbb83d; border-radius: 10px; font-size: 14px; }
 .bottom { margin-top: 40px; padding-top: 18px; gap: 6px 20px; font-size: 10px; }
 .bottom > span { flex-basis: 100%; padding: 6px 0 10px; font-size: 9px; }
 .bottom .replay { font-size: 9px; min-height: 48px; }
 .bottom > a { min-height: 48px; font-size: 9px; }
 .scroll-reveal { translate: 0 14px; }
 .scroll-reveal.is-visible { translate: 0 0; }
 .project.scroll-reveal { transform: none; }
}
@media (max-width: 360px) {
 :root { --mobile-gutter: 20px; }
 .brand { font-size: 11px; }
 .brand span { font-size: 7px; }
 .statement { font-size: 27px; }
 .section h2 { font-size: 30px; }
 .contact > a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .scroll-reveal { translate: none; } }

@media (max-width: 600px) {
 .brand { font-size: 16px; letter-spacing: 1px; flex-direction: column; align-items: flex-start; gap: 7px; }
 .brand span { font-size: 9px; letter-spacing: 1px; }
 .hero-name { font-size: clamp(35px, 10vw, 48px); letter-spacing: -1.7px; line-height: 1.1; margin-bottom: 14px; }
 .hero-name > span { display: inline; }
 .hero-tagline { max-width: 100%; font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
}
@media (max-width: 360px) { .hero-name { font-size: 34px; } }
@media (max-width: 600px) {
 .brand .brand-name { font-size: 22px; letter-spacing: 1px; }
 .brand .brand-role { font-size: 9px; letter-spacing: 1.2px; }
}
@media (max-width: 360px) { .brand .brand-name { font-size: 20px; } }
