@media (max-width: 1120px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr); gap: 3rem; }
  .hero-system { min-height: 440px; }
  .system-node { width: 120px; padding: .65rem; }
  .section-dots { display: none; }
  .project--clinic { grid-template-columns: 1.05fr .95fr; }
}

@media (max-width: 940px) {
  :root { --header-height: 64px; }
  .npill, .nav-actions { display: none; }
  .ham { display: flex; }
  .mobile-menu__footer .text-link { min-height: 44px; }
  .mobile-menu__footer .lang-btn { min-width: 40px; min-height: 44px; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; padding-block: 4.5rem 3.5rem; }
  .hero__content { max-width: 760px; }
  .hero h1 { font-size: clamp(5rem, 15vw, 8rem); }
  .hero-system { display: none; }
  .project--clinic, .project--clarium { grid-template-columns: 1fr; }
  .project-blueprint { min-height: 470px; border-top: 1px solid var(--border); border-left: 0; }
  .project__media { min-height: 430px; border-right: 0; border-bottom: 1px solid var(--border); }
  .project--clarium .project__media { order: 2; }
  .experience-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 3rem; }
  .capability { grid-template-columns: 42px minmax(210px, .8fr) minmax(0, 1.2fr); gap: 1rem; }
  .about__layout { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; }
  .contact__actions { align-items: flex-start; }
}

@media (min-width: 941px) and (max-width: 1599px) and (max-height: 780px) {
  :root { --header-height: 64px; }
  .site-nav { gap: clamp(1rem, 2vw, 2rem); }
  .npill { gap: clamp(1rem, 1.6vw, 1.65rem); }
  .hero { min-height: 100svh; }
  .hero__inner { gap: clamp(2.5rem, 5vw, 5rem); padding-block: 2rem; }
  .hero__eyebrow { margin-bottom: .8rem; }
  .hero h1 { font-size: clamp(4.2rem, 7.3vw, 6.5rem); line-height: .79; }
  .hero__role { margin-top: 1rem; font-size: clamp(.95rem, 1.5vw, 1.15rem); line-height: 1.3; }
  .hero__summary { margin-top: .65rem; font-size: .94rem; line-height: 1.55; }
  .hero__meta { margin-top: .85rem; }
  .hero__actions { margin-top: 1rem; }
  .hero__social { margin-top: .75rem; }
  .hero-system { min-height: clamp(360px, 60svh, 420px); }
  .hero-system__header, .hero-system__footer { padding-block: .65rem; }
  .system-map { inset-block: 46px 38px; }
  .system-node { width: 118px; padding: .65rem; }
}

@media (min-width: 941px) and (max-width: 1599px) and (max-height: 640px) {
  .hero__inner { padding-block: 1.5rem; }
  .hero__eyebrow { margin-bottom: .6rem; }
  .hero h1 { font-size: clamp(3.8rem, 6.7vw, 5.75rem); }
  .hero__role { margin-top: .75rem; }
  .hero__summary { margin-top: .5rem; line-height: 1.45; }
  .hero__meta { gap-block: .4rem; margin-top: .7rem; }
  .hero__actions { margin-top: .75rem; }
  .hero__social { margin-top: .5rem; }
  .hero-system { min-height: clamp(320px, 58svh, 360px); }
}

@media (max-width: 760px) {
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .section-heading .eyebrow { grid-column: auto; }
  .section-heading h2 { font-size: clamp(2.3rem, 10vw, 4rem); }
  .hero__inner { padding-top: 4rem; }
  .hero h1 { font-size: clamp(4.2rem, 19vw, 7rem); }
  .hero__summary { max-width: 52ch; }
  .hero-system { min-height: 400px; }
  .system-node { width: 110px; }
  .system-node strong { font-size: .65rem; }
  .system-node--product, .system-node--quality { left: 5%; }
  .system-node--code, .system-node--ops { right: 5%; }
  .experience-layout { grid-template-columns: 1fr; }
  .company-panel { position: static; display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; }
  .company-panel img { grid-row: 1 / 3; }
  .company-panel p { grid-column: 1 / -1; }
  .timeline { margin-left: .35rem; }
  .capability { grid-template-columns: 34px 1fr; }
  .capability ul { grid-column: 2; justify-content: flex-start; }
  .about__columns { grid-template-columns: 1fr; gap: 1.25rem; }
  .credentials-grid { grid-template-columns: 1fr; }
  .language-band { grid-column: auto; }
}

@media (max-width: 560px) {
  :root { --gutter: 1rem; }
  .site-nav { gap: 1rem; }
  .nlogo strong { display: none; }
  .mobile-menu__footer { flex-wrap: wrap; }
  .hero__inner { padding-block: 3rem 2.5rem; }
  .hero h1 { font-size: clamp(3.8rem, 21vw, 6rem); }
  .hero__role { margin-top: 1.6rem; font-size: 1rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__social { gap: .75rem 1rem; }
  .hero-system { min-height: 360px; }
  .hero-system__footer strong { font-size: .5rem; }
  .system-node { width: 94px; padding: .55rem; }
  .system-node strong { font-size: .58rem; }
  .system-node span { font-size: .48rem; }
  .system-core { width: 54px; height: 54px; }
  .project { min-height: 0; }
  .project__content { padding: 1.5rem 1.1rem 2rem; }
  .project h3 { font-size: 2.7rem; }
  .project__facts > div { grid-template-columns: 1fr; gap: .35rem; }
  .project__media { min-height: 280px; }
  .project-blueprint { min-height: 340px; padding: 1rem; }
  .blueprint__screen { inset: 18% 5% 19%; }
  .blueprint__main { padding: .8rem; }
  .blueprint__metrics i { height: 48px; }
  .blueprint__caption { right: 5%; bottom: 6%; left: 5%; flex-wrap: wrap; }
  .timeline-item { padding-left: 1.5rem; }
  .timeline-item__header { flex-direction: column; gap: .4rem; }
  .timeline-item h3 { font-size: 1.55rem; }
  .capability { grid-template-columns: 28px 1fr; gap: .8rem; }
  .credential { flex-direction: column; }
  .credential time { text-align: left; }
  .language-band { align-items: flex-start; flex-direction: column; }
  .contact h2 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .contact .button { width: 100%; }
  .site-footer .wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 3.65rem; }
  .hero__meta { flex-direction: column; gap: .5rem; }
  .system-node { width: 88px; }
  .system-node--product, .system-node--code { top: 9%; }
  .system-node--ops, .system-node--quality { bottom: 9%; }
  .capability li { font-size: .56rem; }
  .contact__details { flex-direction: column; }
}

@media (max-width: 340px) {
  .hero__inner { padding-block: 2.25rem 1.25rem; }
  .hero__eyebrow { margin-bottom: .8rem; font-size: .56rem; }
  .hero h1 { font-size: 3.2rem; }
  .hero__role { margin-top: 1rem; font-size: .84rem; line-height: 1.3; }
  .hero__summary { margin-top: .65rem; font-size: .79rem; line-height: 1.5; }
  .hero__meta { gap: .2rem; margin-top: .75rem; font-size: .56rem; }
  .hero__actions { gap: .4rem; margin-top: .85rem; }
  .hero__social { gap: .6rem; margin-top: .55rem; }
  .hero__social a { min-height: 28px; font-size: .58rem; }
}

@media (min-width: 1600px) {
  :root { --content: 1320px; }
  .hero__inner { gap: 8rem; }
  .hero-system { min-height: 560px; }
}

@media (max-width: 940px) and (max-height: 620px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero__inner { padding-block: 2.5rem 2rem; }
  .hero__eyebrow { margin-bottom: .75rem; }
  .hero h1 { font-size: clamp(3.5rem, 10vw, 5rem); }
  .hero__role { margin-top: 1rem; }
  .hero__meta { margin-top: 1rem; }
  .hero__actions { margin-top: 1.25rem; }
  .hero__social { margin-top: .75rem; }
  .mobile-menu { padding-top: calc(var(--header-height) + .75rem); }
  .mobile-menu__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .ma { font-size: 1.35rem; }
}
