@media (min-width: 2560px) {
  .service-panel:not(:last-child) {
    margin-bottom: 0;
  }
}

@media (max-width: 1199px) {
  :root {
    --container: min(100% - 48px, 980px);
  }

  .site-header {
    padding-inline: 22px;
  }

  .wordmark {
    min-width: 150px;
    min-height: 52px;
    padding-inline: 18px;
    font-size: 1rem;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: .78rem;
    letter-spacing: .04em;
  }

  .site-nav a:last-child {
    min-width: 108px;
    padding-inline: 15px;
  }

  .banner_index {
    padding-inline: 64px;
  }

  .hero-awakening__backdrop,
  .hero-awakening__frame {
    right: 64px;
    left: 86px;
  }

  .hero-copy {
    left: 27%;
    width: min(500px, 47vw);
  }

  .service-media {
    height: clamp(380px, 37vw, 460px);
  }

  .service-copy {
    min-height: 520px;
    padding: 38px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, .8fr) minmax(390px, 1.2fr);
    gap: 50px;
  }
}

@media (min-width: 1025px) {
  .service-backdrop.rect_mb {
    display: none;
  }
}

@media (max-width: 1024px) {
  .service-backdrop.rect {
    display: none;
  }
}

@media (max-width: 991px) {
  .indexBlock_2 {
    padding-bottom: 110px;
    margin-bottom: 60px;
  }

  .service-backdrop {
    top: 72px;
    height: calc(100vh - 144px);
    min-height: 480px;
  }

  .service_contents {
    max-width: 820px;
    padding: 0 24px;
  }

  .service-panel {
    align-items: center;
    flex-direction: column;
  }

  .service-panel:not(:last-child) {
    margin-bottom: 100px;
  }

  .service-visual {
    top: 0;
    left: 0;
    width: 100%;
    transition: width .6s cubic-bezier(.165, .84, .44, 1);
  }

  .service-info-column {
    right: 0;
    width: 100%;
    margin-top: -65px;
    transition: all .6s cubic-bezier(.165, .84, .44, 1);
  }

  .service-copy {
    min-height: 0;
    padding: 35px;
  }

  .service-title {
    min-height: 126px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .service-title__script {
    top: -47px;
    left: 50%;
    transform: translateX(-50%);
  }

  .service-media {
    height: auto;
  }

  .service-media img {
    display: block;
    max-width: 90%;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
  }

  .service-panel .scrollMove {
    position: static;
    top: auto;
    will-change: auto;
  }
}

@media (max-width: 900px) {
  .banner_index {
    padding-inline: 36px;
  }

  .hero-awakening__backdrop,
  .hero-awakening__frame {
    right: 36px;
    left: 48px;
  }

  .hero-copy {
    left: 24%;
    width: min(500px, 54vw);
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-copy {
    width: min(680px, 100%);
  }

  .about-media {
    min-height: 590px;
  }

  .about-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-figures > div:nth-child(2) {
    border-right: 0;
  }

  .about-figures > div:nth-child(n + 3) {
    border-top: 1px solid rgba(23, 23, 23, .18);
  }

  .about-figures > div:nth-child(3) {
    padding-left: 0;
  }

  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-list li:nth-child(2) {
    border-right: 0;
  }

  .capability-list li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, .24);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy h2 {
    max-width: 13ch;
  }
}

@media (max-width: 767px) {
  .drift-wall {
    min-height: 430px;
    --dw-tile-w: 138px;
    --dw-tile-h: 92px;
    --dw-gap: 12px;
    --dw-radius: 10px;
    --dw-lift: 34px;
  }

  .drift-wall__plane {
    grid-template-columns: repeat(3, var(--dw-tile-w));
  }

  :root {
    --container: calc(100% - 40px);
    --header-height: 72px;
    --motion-entry-distance: 10px;
    --space-section: 84px;
  }

  .site-header {
    min-height: var(--header-height);
    padding-inline: 16px;
  }

  .wordmark {
    min-width: 132px;
    min-height: 48px;
    padding-inline: 15px;
    font-size: .9rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    padding: 18px;
    background: var(--color-black);
    box-shadow: var(--shadow-float);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a,
  .site-header.is-scrolled .site-nav a:not(:last-child) {
    min-height: 44px;
    padding: 10px 12px;
    color: var(--color-white);
  }

  .site-nav a:last-child {
    min-width: 0;
    background: var(--color-red);
    text-align: left;
  }

  .banner_index {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding: calc(var(--header-height) + 20px) 20px 40px;
    overflow: hidden;
  }

  .hero-awakening__backdrop {
    top: calc(var(--header-height) + 20px);
    right: 12px;
    bottom: auto;
    left: 28px;
    width: auto;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .hero-awakening__frame {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    flex: 0 0 auto;
    width: 92%;
    height: auto;
    aspect-ratio: 3 / 2;
    margin-inline: auto 0;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: 26px 4px 0;
    transform: none;
    text-shadow: none;
  }

  .hero-copy h1 {
    margin-block: 10px 18px;
    font-size: clamp(2.75rem, 13vw, 4.1rem);
    line-height: .92;
  }

  .hero-description {
    font-size: .92rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .btn_1 {
    width: 100%;
    min-height: 48px;
  }

  .scroll_area {
    display: none;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  #capability h2,
  .contact-copy h2 {
    font-size: clamp(2.2rem, 11vw, 3.65rem);
  }

  .about-layout {
    gap: 32px;
  }

  .about-copy {
    padding: 30px 0;
  }

  .about-copy::before {
    right: -20px;
  }

  .about-media {
    min-height: 420px;
  }

  .about-media .layer_1 {
    width: 90%;
    height: 76%;
  }

  .about-media .layer_2 {
    width: 58%;
    height: 46%;
    border-width: 7px;
  }

  .about-figures {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .about-figures > div {
    display: grid;
    grid-template-columns: minmax(120px, .7fr) 1fr;
    align-items: center;
    min-height: 108px;
    padding: 22px 0;
    border-top: 1px solid rgba(23, 23, 23, .18);
    border-right: 0;
  }

  .about-figures > div:first-child {
    border-top: 0;
  }

  .about-figures dd {
    margin-top: 0;
  }

  .service-audience {
    padding-block: 24px;
    font-size: .82rem;
    line-height: 1.9;
  }

  .service_contents {
    width: 100%;
    padding: 0;
  }

  .indexBlock_2 .section-heading {
    margin-bottom: 32px;
  }

  .service-info-column {
    width: calc(100% - 60px);
  }

  .service-copy {
    padding: 32px 26px 38px;
  }

  .service-title {
    min-height: 116px;
    max-width: 100%;
    padding-inline: 12px;
  }

  .service-title .eyebrow {
    font-size: clamp(2.3rem, 13vw, 3.5rem);
  }

  .service-title h3 {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .service-title__script {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .service-media img {
    max-width: 90%;
    aspect-ratio: 4 / 3;
  }

  .service-copy ul {
    padding-bottom: 24px;
    margin-bottom: 22px;
  }

  .service-copy li {
    font-size: 16px;
  }

  .service-copy li::before {
    margin-right: 10px;
  }

  .service-copy > p:last-child {
    font-size: .92rem;
    line-height: 1.9;
  }

  #capability {
    margin-top: var(--space-section);
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability-list li {
    min-height: 78px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .24);
    border-right: 0;
  }

  .capability-list li:first-child {
    border-top: 0;
  }

  .process-list {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .process-list li {
    min-height: 68px;
    padding: 0 0 18px 54px;
  }

  .process-list li::before {
    top: -3px;
  }

  .process-list li::after {
    top: 29px;
    right: auto;
    bottom: 0;
    left: 12px;
    width: 1px;
    height: auto;
  }

  .work-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    overflow-x: auto;
  }

  .category-filter {
    flex: 0 0 auto;
    min-height: 44px;
  }

  .works_slick {
    gap: 18px;
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }

  .work-card {
    flex-basis: calc(100vw - 40px);
  }

  .project-gallery {
    padding: 18px;
  }

  .gallery-stage {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .gallery-prev,
  .gallery-next {
    min-width: 44px;
    min-height: 44px;
    font-size: .75rem;
  }

  footer {
    min-height: 0;
  }

  .contact-marquee {
    font-size: clamp(4.4rem, 22vw, 7rem);
  }

  .contact-layout {
    gap: 42px;
    margin-top: 60px;
  }

}

@media (max-width: 420px) {
  .service-copy li {
    width: 100%;
  }

  .drift-wall {
    min-height: 390px;
    --dw-tile-w: 118px;
    --dw-tile-h: 78px;
    --dw-gap: 10px;
  }

  .gallery-stage {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-prev,
  .gallery-next {
    position: absolute;
    bottom: 88px;
    z-index: 2;
  }

  .gallery-prev {
    left: 18px;
  }

  .gallery-next {
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drift-wall__plane,
  .drift-wall__track {
    will-change: auto;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .scroll_area {
    display: none;
  }

  [data-reveal],
  .scrollMove,
  .service-visual,
  .service-copy,
  .service-panel:nth-child(even) .service-copy {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-effect="hero-awakening"] .hero-awakening__backdrop,
  [data-effect="hero-awakening"] .hero-awakening__frame,
  [data-effect="hero-awakening"] .hero-artwork,
  [data-effect="hero-awakening"] .hero-title-line::after,
  [data-effect="hero-awakening"] .hero-title-line__inner,
  [data-effect="hero-awakening"] [data-hero-reveal],
  .about-figures dt,
  .motion-magnet__inner,
  .contact-marquee[data-effect="velocity-marquee"],
  .motion-scroll-velocity__scroller {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  [data-service-showcase] .service-backdrop,
  [data-service-showcase] .show_layer,
  [data-service-showcase] .scrollMove,
  [data-service-showcase] .service-visual,
  [data-service-showcase] .service-copy {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  [data-service-showcase] .scrollMove {
    position: static !important;
    top: auto !important;
  }

  [data-effect="hero-awakening"] .hero-awakening__backdrop {
    clip-path: none !important;
    opacity: 1 !important;
    transform: translate(16px, -8px) rotate(-1.8deg) scaleX(1) !important;
  }

  [data-effect="hero-awakening"] .hero-awakening__frame {
    clip-path: inset(0) !important;
  }

  [data-effect="hero-awakening"] .hero-title-line::after {
    opacity: 0 !important;
  }

  [data-effect="stroke-text"] .stroke-text__semantic {
    color: transparent !important;
    -webkit-text-stroke: 0 !important;
  }

  [data-effect="stroke-text"] .stroke-text__stroke,
  [data-effect="stroke-text"] .stroke-text__fill,
  [data-effect="stroke-text"] [data-stroke-wipe] {
    animation: none !important;
    transition: none !important;
  }

  [data-effect="spotlight-grid"] > li::before,
  .work-media::after {
    animation: none !important;
    opacity: 0 !important;
  }

  [data-effect="spotlight-grid"] > li::before {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  [data-effect="spotlight-grid"] > li::before {
    display: none;
  }

  [data-effect="magnet"] .motion-magnet__inner {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}
