@media (max-width: 1050px) {
  .hero-grid { width: min(1000px, calc(100% - 64px)); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-card { min-height: 265px; }
  .contact-layout { gap: 48px; }
}

@media (max-width: 760px) {
  .page-width { width: min(100% - 40px, 600px); }
  .site-header { top: 12px; }
  .nav-shell { width: calc(100% - 24px); min-height: 58px; padding: 7px 9px 7px 18px; gap: 9px; border-radius: 17px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; order: 3; margin-left: auto; }
  .nav-toggle.is-open span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle.is-open span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .theme-toggle { order: 2; width: 38px; height: 38px; }
  .brand { font-size: 21px; }
  .nav-menu { position: absolute; top: calc(100% + 9px); right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 9px; border: 1px solid var(--line-strong); border-radius: 15px; background: rgba(10,18,24,.96); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-7px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { padding: 12px 14px; }
  body.theme-light .nav-menu { background: rgba(245,248,250,.98); }
  .hero { height: auto; min-height: 760px; max-height: none; align-items: stretch; }
  .hero-photo { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,14,21,.92), rgba(7,14,21,.64)), linear-gradient(0deg, rgba(7,14,21,.96) 0%, transparent 62%); }
  .hero-grid { display: block; width: min(100% - 40px, 600px); padding-top: 142px; padding-bottom: 112px; }
  .hero-copy { max-width: 570px; padding-bottom: 0; }
  .hero h1 { font-size: clamp(62px, 15vw, 86px); }
  .hero-role { margin-top: 20px; }
  .hero-description { max-width: 490px; font-size: 13px; }
  .scroll-cue { left: 20px; bottom: 25px; }
  .intro-strip-inner { min-height: 0; grid-template-columns: 1fr; padding: 15px 0; }
  .intro-item { justify-content: flex-start; padding: 8px 0; }
  .intro-item + .intro-item { border: 0; }
  .section { padding: 85px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading-split { display: block; }
  .section-heading .section-lead { margin-top: 20px; }
  .section-heading h2 { font-size: clamp(36px, 10vw, 50px); }
  .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .about-photo-wrap { max-width: 430px; width: 100%; min-height: 500px; margin-inline: auto; }
  .about-photo { max-height: 500px; }
  .about-content h3 { font-size: 28px; }
  .focus-grid { gap: 10px; }
  .focus-card { min-height: 275px; padding: 19px 17px; }
  .focus-card h3 { font-size: 18px; }
  .focus-card p { font-size: 11px; }
  .focus-tags span { font-size: 8px; }
  .timeline-item { grid-template-columns: 76px 16px 1fr; gap: 11px; }
  .timeline-item:not(:last-child)::after { left: 83px; }
  .timeline-date { font-size: 9px; }
  .timeline-card { padding: 17px 16px; }
  .timeline-card h3 { font-size: 16px; }
  .timeline-card p:last-child { font-size: 11px; }
  .work-grid { grid-template-columns: 1fr; gap: 15px; }
  .work-card-visual { height: 190px; }
  .work-card-content { padding: 19px; }
  .work-card-content p { min-height: 0; }
  .toolkit-row { grid-template-columns: 1fr; gap: 19px; padding: 22px 0; }
  .toolkit-items { gap: 7px; }
  .contact-section { padding: 85px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy h2 { font-size: clamp(40px, 11vw, 55px); }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 3; flex-basis: 100%; }
  .modal-backdrop { padding: 12px; }
  .project-modal { max-height: 94vh; border-radius: 17px; }
  .modal-header { padding: 19px 19px; }
  .modal-body { padding: 21px 19px; }
  .modal-meta { grid-template-columns: 1fr; gap: 20px; }
  .modal-footer { grid-template-columns: 1fr; padding: 16px 19px 19px; }
  .modal-footer .button { width: 100%; }
}

@media (max-width: 420px) {
  .page-width { width: calc(100% - 32px); }
  .hero { min-height: 740px; }
  .hero-grid { padding-top: 126px; padding-bottom: 105px; }
  .hero h1 { font-size: 58px; }
  .hero-role { font-size: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .button { min-width: 180px; }
  .about-facts { grid-template-columns: 1fr; gap: 14px; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .focus-card { min-height: 290px; padding: 16px 13px; }
  .focus-card h3 { font-size: 17px; }
  .focus-card p { min-height: 88px; }
  .timeline-item { grid-template-columns: 61px 13px 1fr; gap: 8px; }
  .timeline-item:not(:last-child)::after { left: 67px; }
  .timeline-date { font-size: 8px; }
  .timeline-card { padding: 15px 13px; }
  .timeline-card-top { align-items: flex-start; }
  .tag { font-size: 8px; }
  .work-card-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .work-card-status { text-align: left; }
  .contact-link { gap: 11px; padding: 11px; }
  .contact-link-text strong { font-size: 11px; }
}
