@media (min-width: 1700px) {
  .hero {
    min-height: 940px;
  }
  .hero-visual {
    top: 25%;
  }
  .hero-bottom {
    margin-top: 120px;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 780px;
  }
  .hero-title {
    margin-top: 100px;
  }
  .hero-visual {
    top: 28%;
    left: 20%;
    width: 76%;
    height: 42%;
  }
  .hero-sticker {
    top: 28%;
    width: 88px;
    height: 88px;
  }
  .intro {
    padding: 80px var(--pad);
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .index-layout {
    grid-template-columns: 1fr;
  }
  .index-preview {
    display: none;
  }
  .project-row {
    padding: 22px 0;
  }
  .row-name {
    font-size: 34px;
  }
  .project-story {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .research-cover {
    padding: 35px;
    min-height: 400px;
  }
  .workflow {
    gap: 20px;
  }
  .about-section {
    grid-template-columns: 1fr;
  }
  .about-section img {
    margin-top: 0;
    max-height: 70vh;
    object-fit: cover;
  }
  .credentials {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .metric-grid {
    padding: 50px var(--pad);
  }
  .footer-top {
    flex-direction: column;
  }
  .hero-title small {
    font-size: 10vw;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 20px var(--pad);
  }
  .brand {
    font-size: 24px;
  }
  .site-nav {
    gap: 16px;
  }
  .site-nav a {
    font-size: 13px;
  }
  .nav-index {
    display: none;
  }
  .hero {
    min-height: 690px;
    padding-top: 22px;
  }
  .hero-top {
    font-size: 12px;
    gap: 30px;
  }
  .hero-top p {
    max-width: 160px;
  }
  .hero-top > span {
    max-width: 100px;
    text-align: right;
  }
  .hero-title {
    font-size: 29vw;
    margin-top: 125px;
  }
  .hero-title small {
    font-size: 9.8vw;
    line-height: 1.15;
    margin-top: 18px;
  }
  .hero-visual {
    top: 30%;
    height: 38%;
    left: 10%;
    width: 85%;
    transform: rotate(-4deg);
  }
  .hero-sticker {
    width: 78px;
    height: 78px;
    font-size: 11px;
    right: 8%;
    top: 29%;
  }
  .hero-bottom {
    margin-top: 160px;
    align-items: end;
  }
  .hero-bottom p {
    max-width: 235px;
    font-size: 20px;
  }
  .hero-bottom .scroll-label {
    font-size: 11px;
  }
  .selected {
    padding-bottom: 65px;
  }
  .selected-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .work-card:nth-child(even) {
    padding-top: 0;
  }
  .work-card:nth-child(2) .card-image {
    aspect-ratio: 1.25;
  }
  .card-caption h3 {
    font-size: 26px;
  }
  .view-label {
    display: none;
  }
  .ai-cover h3 {
    font-size: 66px;
  }
  .index-section {
    padding: 65px var(--pad);
  }
  .row-name {
    font-size: 30px;
  }
  .section-head {
    margin-bottom: 25px;
  }
  .section-head span {
    font-size: 12px;
  }
  .practice-strip {
    grid-template-columns: 1fr;
    padding: 65px var(--pad);
    gap: 35px;
  }
  .practice-strip h2 {
    font-size: 60px;
  }
  .site-footer {
    padding-top: 60px;
  }
  .footer-top h2 {
    font-size: 48px;
  }
  .footer-word {
    margin-top: 60px;
    font-size: 20.2vw;
  }
  .footer-bottom {
    font-size: 11px;
    gap: 15px;
  }
  .project-hero {
    padding-top: 32px;
  }
  .project-meta {
    margin-bottom: 40px;
    font-size: 12px;
  }
  .project-meta span:last-child {
    text-align: right;
    max-width: 140px;
  }
  .project-title {
    font-size: 15vw;
  }
  .project-subtitle {
    display: block;
    margin-top: 25px;
  }
  .project-subtitle .pill {
    margin-top: 22px;
  }
  .project-cover img {
    height: 45vh;
  }
  .project-section {
    padding: 60px var(--pad);
  }
  .details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project-gallery figure:nth-child(even) {
    margin-top: 0;
  }
  .cinema {
    padding: 60px var(--pad);
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .video-meta {
    font-size: 12px;
  }
  .play-circle {
    width: 70px;
    height: 70px;
    font-size: 13px;
  }
  .metric-grid {
    grid-template-columns: 1fr;
    padding: 45px var(--pad);
    gap: 30px;
  }
  .metric-grid article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #8dacd1;
    padding-bottom: 20px;
  }
  .metric-grid strong {
    font-size: 78px;
  }
  .metric-grid span {
    max-width: 130px;
    margin: 0;
  }
  .research-cover {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 25px;
  }
  .research-cover h2 {
    font-size: 60px;
  }
  .research-orbit span {
    font-size: 14px;
    padding: 10px 18px;
  }
  .workflow {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .interface-study {
    grid-template-columns: 1fr;
  }
  .study-sidebar {
    padding: 20px;
  }
  .study-sidebar h3 {
    margin-bottom: 18px;
  }
  .study-sidebar [role="tablist"] {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  .study-sidebar button {
    width: auto;
    font-size: 12px;
    padding: 8px 0;
  }
  .study-main {
    padding: 22px;
  }
  .demo-frame {
    height: 650px;
  }
  .terminal {
    padding: 20px;
    font-size: 14px;
  }
  .terminal pre {
    font-size: 14px;
  }
  .about-section {
    padding: 60px var(--pad);
    gap: 25px;
  }
  .about-section p {
    font-size: 20px;
  }
  .credentials {
    padding: 60px var(--pad);
  }
  .credentials h3 {
    font-size: 26px;
  }
  .film-intro {
    padding-top: 50px;
  }
  .film-intro p {
    font-size: 19px;
  }
  .film-library h2 {
    font-size: 27px;
  }
  .cursor {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
  }
  .cursor,
  .page-wipe {
    display: none;
  }
  .hero-visual img {
    transform: none !important;
  }
}
@media (hover: none) {
  .cursor {
    display: none;
  }
  .card-image .view-label {
    transform: none;
  }
  .hero-visual img {
    transform: none !important;
  }
}
/* Keep long metrics readable on narrow screens without crowding their captions. */
@media (max-width: 600px) {
  .metric-grid article {
    display: block;
  }
  .metric-grid strong {
    font-size: clamp(60px, 17vw, 90px);
  }
  .metric-grid span {
    max-width: none;
    margin-top: 12px;
  }
}
