@media (min-width: 761px) and (max-width: 1400px) {
  .site-header {
    top: 12px;
  }

  .navbar {
    min-height: 60px;
    gap: 10px;
    padding: 0 12px;
    border-radius: 19px;
  }

  .navbar__brand {
    gap: 8px;
  }

  .navbar__brand-name {
    font-size: 0.82rem;
  }

  .navbar__brand-divider {
    width: 26px;
  }

  .navbar__brand-label {
    font-size: 0.7rem;
  }

  .navbar__menu-toggle {
    display: grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
  }

  .navbar__menu-toggle svg {
    width: 19px;
    height: 19px;
  }

  .navbar__links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 8px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: color-mix(in srgb, var(--background-secondary) 92%, transparent);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 16px 35px color-mix(in srgb, var(--shadow-color) 18%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
  }

  .navbar__links > li {
    width: 100%;
  }

  .navbar__cv {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 0 12px;
    border-radius: 11px;
  }

  .navbar.is-open .navbar__links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar__link {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 11px;
  }

  .navbar__dropdown-toggle {
    justify-content: space-between;
    text-align: left;
  }

  .navbar__dropdown-menu {
    position: static;
    display: none;
    width: auto;
    margin: 8px 0 8px 10px;
    padding: 8px;
    border-radius: 13px;
    box-shadow: none;
    transform: none;
  }

  .navbar__dropdown.is-open .navbar__dropdown-menu {
    display: block;
  }

  .navbar__dropdown::after {
    display: none;
  }

  .navbar__dropdown-item {
    min-height: 36px;
  }

  .navbar__link::after {
    right: auto;
    bottom: 9px;
    left: 12px;
    width: 22px;
  }

  .navbar__link:hover,
  .navbar__link[aria-current="page"] {
    background: color-mix(in srgb, var(--hover-background) 72%, transparent);
  }

  .navbar__controls {
    flex: 0 0 auto;
    gap: 11px;
  }

  .navbar__clock {
    flex: 0 0 auto;
    gap: 6px;
    font-size: 0.78rem;
  }

  .navbar__clock svg {
    width: 15px;
    height: 15px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .tech-hero__visual {
    min-height: 280px;
  }

  .tech-hero__stack-card {
    width: min(80%, 280px);
  }

  .tech-pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-overview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .what-edris__hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
    gap: 24px;
  }

  .what-edris__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }

  .what-edris__step:nth-child(n) {
    min-height: 0;
    padding: 20px 15px 0;
  }

  .what-edris__step:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 12px;
    width: min(96%, 1200px);
  }

  .navbar__brand-label,
  .navbar__brand-divider {
    display: none;
  }

  .navbar {
    min-height: 60px;
    gap: 10px;
    padding: 0 12px;
    border-radius: 19px;
  }

  .navbar__brand {
    gap: 8px;
  }

  .navbar__brand-name {
    font-size: 0.82rem;
  }

  .navbar__brand-divider {
    width: 26px;
  }

  .navbar__brand-label {
    font-size: 0.7rem;
  }

  .navbar__menu-toggle {
    display: grid;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
  }

  .navbar__menu-toggle svg {
    width: 19px;
    height: 19px;
  }

  .navbar__links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: color-mix(in srgb, var(--background-secondary) 92%, transparent);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 16px 35px color-mix(in srgb, var(--shadow-color) 18%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
    flex-direction: column;
  }

  .navbar__links > li {
    width: 100%;
  }

  .navbar__cv-item {
    display: none;
  }

  .navbar.is-open .navbar__links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar__link {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 11px;
  }

  .navbar__dropdown-toggle {
    justify-content: space-between;
    text-align: left;
  }

  .navbar__dropdown-menu {
    position: static;
    display: none;
    width: auto;
    margin: 8px 0 8px 10px;
    padding: 8px;
    border-radius: 13px;
    box-shadow: none;
    transform: none;
  }

  .navbar__dropdown.is-open .navbar__dropdown-menu {
    display: block;
    transform: none;
  }

  .navbar__dropdown::after {
    display: none;
  }

  .navbar__dropdown-item {
    min-height: 36px;
  }

  .navbar__link::after {
    right: auto;
    bottom: 9px;
    left: 12px;
    width: 22px;
  }

  .navbar__link:hover,
  .navbar__link[aria-current="page"] {
    background: color-mix(in srgb, var(--hover-background) 72%, transparent);
  }

  .navbar__controls {
    flex: 0 0 auto;
    gap: 9px;
  }

  .navbar__clock {
    flex: 0 0 auto;
    gap: 6px;
    font-size: 0.78rem;
  }

  .navbar__clock svg {
    width: 15px;
    height: 15px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .page-content {
    width: min(90%, 1200px);
    min-height: calc(100vh + 360px);
    padding-top: 98px;
  }

  .contact-strip {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .technologies-page {
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 60px;
  }

  .tech-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 27px 22px 18px;
    border-radius: 24px;
  }

  .tech-hero__title {
    font-size: clamp(2.55rem, 9.5vw, 4.1rem);
  }

  .tech-hero__description {
    margin-top: 16px;
    font-size: 0.88rem;
  }

  .tech-hero__actions {
    gap: 9px;
    margin-top: 20px;
  }

  .tech-hero__button {
    min-height: 43px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 0.76rem;
  }

  .tech-hero__highlights {
    gap: 9px 13px;
    margin-top: 20px;
    font-size: 0.66rem;
  }

  .tech-hero__visual {
    min-height: 245px;
    margin-top: 3px;
  }

  .tech-hero__orbit {
    width: min(92%, 270px);
  }

  .tech-hero__orbit--inner {
    width: min(70%, 200px);
  }

  .tech-hero__stack-card {
    width: min(76%, 260px);
    padding: 18px;
    border-radius: 19px;
  }

  .tech-hero__stack-logos {
    margin-top: 15px;
  }

  .tech-hero__stack-logos > span {
    width: 54px;
    height: 54px;
  }

  .tech-hero__stack-rule {
    margin-top: 14px;
  }

  .tech-hero__stack-caption {
    margin-top: 11px;
    font-size: 1rem;
  }

  .tech-hero__stack-sparkle {
    right: 16px;
    bottom: 15px;
  }

  .tech-pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin-top: 13px;
  }

  .tech-pillar {
    min-height: 92px;
    padding: 15px;
    border-radius: 16px;
  }

  .tech-toolkit,
  .tech-experience {
    margin-top: 66px;
    scroll-margin-top: 82px;
  }

  .tech-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 20px;
  }

  .tech-section-heading__title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .tech-section-heading__description {
    max-width: 540px;
  }

  .tech-filters {
    flex-wrap: nowrap;
    margin-right: 0;
    padding: 0 0 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .tech-filters::-webkit-scrollbar {
    display: none;
  }

  .tech-filter {
    flex: 0 0 auto;
  }

  .tech-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tech-tool-card {
    min-height: 220px;
    padding: 13px;
    border-radius: 15px;
  }

  .tech-tool-card__topline {
    font-size: 0.52rem;
  }

  .tech-tool-card__logo {
    width: 48px;
    height: 48px;
    margin-top: 14px;
    border-radius: 13px;
  }

  .tech-tool-card__logo img {
    width: 34px;
    height: 34px;
  }

  .tech-tool-card h3 {
    font-size: 0.83rem;
  }

  .tech-tool-card p {
    font-size: 0.68rem;
  }

  .tech-experience-card {
    grid-template-columns: 35px minmax(0, 1fr) 17px;
    gap: 11px;
    padding: 16px 13px;
  }

  .tech-experience-card__index {
    width: 33px;
    height: 33px;
    border-radius: 10px;
  }

  .tech-experience-card h3 {
    font-size: 0.88rem;
  }

  .tech-experience-card div > p:last-child {
    font-size: 0.72rem;
  }

  .tech-education {
    gap: 12px;
    padding: 16px 14px;
    border-radius: 15px;
  }

  .tech-education h2 {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .tech-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-top: 58px;
    padding: 23px 19px;
    border-radius: 19px;
  }

  .not-found-page .page-content {
    min-height: calc(100svh - 84px);
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .not-found__content {
    padding: 30px 20px;
    border-radius: 24px;
  }

  .not-found__art {
    width: min(100%, 420px);
    height: clamp(180px, 52vw, 240px);
    grid-template-columns: 1fr minmax(120px, 180px) 1fr;
    margin-top: 17px;
  }

  .not-found__digit {
    font-size: clamp(6.5rem, 23vw, 9.5rem);
  }

  .not-found__robot {
    width: 95%;
  }

  .not-found__title {
    margin-top: 8px;
  }

  .not-found__description {
    max-width: 460px;
    font-size: 0.86rem;
  }

  .home-page .page-content {
    min-height: 0;
    align-items: flex-start;
    padding-top: 22px;
    padding-bottom: 48px;
  }

  .home-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .home-hero__copy {
    padding: 18px 0 4px;
  }

  .home-hero__eyebrow {
    margin-bottom: 17px;
    font-size: 0.72rem;
  }

  .home-hero__title {
    max-width: 620px;
    font-size: clamp(2.75rem, 9.2vw, 4.5rem);
  }

  .home-hero__description {
    margin-top: 18px;
  }

  .home-hero__visual {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .home-hero__portrait {
    max-width: 88%;
    height: 86%;
  }

  .projects {
    padding-top: 86px;
  }

  .projects__intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
  }

  .projects__description {
    max-width: 520px;
  }

  .projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .project-card__visual {
    min-height: 220px;
    aspect-ratio: 1.18;
  }

  .project-card__body {
    padding: 18px;
  }

  .project-card__body h3 {
    font-size: 1.2rem;
  }

  .project-card__body > p {
    min-height: 0;
  }

  .projects__footer {
    padding: 18px;
  }

  .services-overview {
    padding-top: 86px;
  }

  .services-overview__intro,
  .services-page__hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  .services-overview__description,
  .services-page__hero-aside {
    max-width: 560px;
  }

  .services-overview__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .technologies__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .technology-card {
    width: 72px;
  }

  .what-edris__step:last-child {
    justify-self: center;
    text-align: center;
  }

  .contact-strip__inner {
    width: min(90%, 520px);
  }

  .contact-strip__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 27px;
  }

  .contact-strip__item {
    display: none;
  }

  .contact-strip__socials {
    justify-content: center;
    gap: clamp(24px, 8vw, 36px);
    margin-top: 0;
  }

  .contact-strip__socials a {
    width: 68px;
    height: 68px;
  }

  .contact-strip__socials svg {
    width: 25px;
    height: 25px;
  }

  .home-footer__inner {
    width: min(90%, 600px);
    padding-top: 48px;
  }

  .home-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-bottom: 34px;
  }

  .home-footer__title {
    margin-top: 25px;
    font-size: clamp(2.25rem, 9vw, 3.25rem);
  }

  .home-footer__description {
    font-size: 0.88rem;
  }

  .home-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .home-footer__nav h3 {
    grid-column: 1 / -1;
  }

  .home-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }

  .home-footer__important {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .home-footer__copyright {
    padding-right: 0;
    text-align: left;
  }

  .service-card {
    min-height: 290px;
    padding: 18px;
  }

  .services-page .content-container {
    padding-top: 12px;
  }

  .services-page__hero {
    gap: 16px;
    padding: 18px 0 25px;
  }

  .services-page__grid {
    gap: 14px;
  }

  .service-detail-card {
    min-height: 400px;
  }

  .service-process {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .services-overview__footer {
    padding: 18px;
  }

  .mini-projects {
    width: auto;
    margin-right: calc((min(90vw, 1200px) - 100vw) / 2);
    margin-left: calc((min(90vw, 1200px) - 100vw) / 2);
  }

  .mini-projects__heading {
    align-items: flex-start;
  }

  .mini-projects__card {
    width: 218px;
  }

  .mini-projects__viewport {
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  }

  .project-preview__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-preview__visual {
    min-height: 0;
    padding: 18px;
  }

  .project-preview__copy {
    padding: 26px 24px 24px;
  }

  .project-preview__close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .navbar {
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .navbar__clock-label-full {
    display: none;
  }

  .navbar__clock-label-compact {
    display: inline;
  }

  .navbar__clock {
    gap: 4px;
    font-size: 0.68rem;
  }

  .navbar__clock svg {
    width: 14px;
    height: 14px;
  }

  .projects {
    padding-top: 66px;
  }

  .projects__title {
    font-size: clamp(2.15rem, 10.2vw, 3rem);
  }

  .services-overview {
    padding-top: 68px;
  }

  .services-overview__title,
  .services-page__title {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .technologies__title {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .technologies__grid {
    display: grid;
    width: min(100%, 300px);
    grid-template-columns: repeat(3, 64px);
    justify-content: center;
    gap: 18px 14px;
    padding-right: 0;
    padding-left: 0;
  }

  .projects__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-card__visual {
    min-height: 250px;
    aspect-ratio: 1.25;
  }

  .project-card__body {
    padding: 20px;
  }

  .projects__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .services-overview__grid,
  .services-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .technologies__grid {
    gap: 14px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .technology-card__tile {
    width: 64px;
    height: 70px;
    border-radius: 14px;
  }

  .technology-card__tile img {
    width: 44px;
    height: 44px;
  }

  .technology-card {
    width: 64px;
  }

  .what-edris {
    margin-top: 58px;
    padding: 24px 19px;
    border-radius: 23px;
  }

  .what-edris__hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .what-edris__title {
    font-size: clamp(2.5rem, 11vw, 3.8rem);
  }

  .what-edris__description {
    margin: 17px 0 20px;
    font-size: 0.9rem;
  }

  .what-edris__visual {
    width: min(100%, 340px);
  }

  .what-edris__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
    margin-top: 30px;
  }

  .what-edris__step:nth-child(n) {
    min-height: 0;
    padding: 18px 14px 0;
  }

  .what-edris__step:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .what-edris__step:last-child {
    grid-column: 1 / -1;
    width: min(100%, 260px);
    max-width: none;
    justify-self: center;
    text-align: center;
  }

  .what-edris__step h3 {
    font-size: 0.94rem;
  }

  .what-edris__step p {
    font-size: 0.75rem;
  }

  .service-card {
    min-height: 0;
  }

  .services-overview__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .services-page__hero-aside > p {
    font-size: 0.88rem;
  }

  .service-detail-card {
    min-height: 0;
    padding: 22px;
  }

  .service-process {
    gap: 24px;
    margin-top: 54px;
    padding: 22px;
  }

  .service-process__steps li {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 9px;
  }

  .mini-projects__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .mini-projects__motion-toggle {
    min-height: 34px;
  }

  .mini-projects__card {
    width: 204px;
    min-height: 186px;
  }

  .mini-projects__image {
    height: 122px;
  }

  .mini-projects__hint {
    font-size: 0.65rem;
  }
}

@media (max-width: 420px) {
  .navbar__brand-label,
  .navbar__brand-divider {
    display: none;
  }

  .not-found__content {
    padding-right: 15px;
    padding-left: 15px;
  }

  .not-found__art {
    height: 175px;
    grid-template-columns: 1fr minmax(108px, 145px) 1fr;
  }

  .not-found__digit {
    font-size: clamp(5.5rem, 25vw, 7rem);
  }

  .not-found__actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .navbar {
    padding-right: 9px;
    padding-left: 9px;
  }

  .navbar__clock > svg {
    display: none;
  }

  .navbar__controls {
    gap: 6px;
  }

  .navbar__clock {
    gap: 4px;
    font-size: 0.68rem;
  }

  .home-hero__title {
    font-size: clamp(2.45rem, 12vw, 3rem);
  }

  .tech-hero {
    padding-right: 17px;
    padding-left: 17px;
  }

  .tech-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tech-tool-card {
    min-height: 230px;
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-strip__socials {
    gap: 22px;
  }

  .contact-strip__socials a {
    width: 62px;
    height: 62px;
  }

  .home-footer__socials {
    gap: 7px;
  }

  .home-footer__socials a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .home-hero__button {
    width: 100%;
  }

}
