/* Mobile-only refinement of the existing paper / ink-green visual language.
   No content, navigation destinations, business logic or reader rules change. */
@media (max-width: 900px) {
  body.gy-mobile-20261024 {
    --gy-h: 64px;
    --gy-mobile-gutter: 32px;
    --gutter: var(--gy-mobile-gutter);
    font-family: var(--gy-sans, "PingFang SC", "Microsoft YaHei", sans-serif);
    font-size: 16px;
    line-height: 1.85;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body.gy-mobile-20261024 .gy-wrap,
  body.gy-mobile-20261024 .wrap {
    width: calc(100% - 2 * var(--gy-mobile-gutter));
    margin-inline: auto;
  }

  body.gy-mobile-20261024 ::selection {
    color: var(--gy-ink, #26241f);
    background: #e6dcc8;
  }

  body.gy-mobile-20261024 :where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--gy-accent, #2c4637);
    outline-offset: 3px;
  }

  /* One steady header height prevents the content jumping after scrolling. */
  body.gy-mobile-20261024 .gy-site-header .gy-header-inner {
    height: 64px;
    min-height: 64px;
    gap: 16px;
  }

  body.gy-mobile-20261024 .gy-site-header::before {
    background: var(--gy-paper, #f8f3ea);
    box-shadow: 0 1px 0 var(--gy-rule, #e3d9c7);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-logo {
    min-width: 0;
    min-height: 44px;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-logo img {
    width: 118px;
    height: 40px;
    transform: none;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-header-actions {
    gap: 6px;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-header-actions > .gy-btn {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: .04em;
    box-shadow: none;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-menu > summary {
    width: 44px;
    height: 44px;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-menu-panel {
    min-height: 0;
    padding-top: 64px;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-menu:not([open]) > .gy-menu-panel {
    display: none;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-menu-nav {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 8px var(--gy-mobile-gutter) 20px;
    scroll-padding-block: 8px;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-acc > summary {
    min-height: 64px;
    padding-block: 10px;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-acc-title {
    font-size: 22px;
    letter-spacing: .02em;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-acc-body a {
    min-height: 44px;
    gap: 5px;
    padding-block: 12px;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-acc-body .gy-link-desc {
    font-size: 14px;
    line-height: 1.7;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-menu-contact {
    flex: 0 0 auto;
    padding: 14px var(--gy-mobile-gutter) calc(14px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-menu-contact .gy-contact-inline {
    gap: 4px 10px;
  }

  body.gy-mobile-20261024 .gy-site-header .gy-menu-contact .gy-contact-inline button,
  body.gy-mobile-20261024 .gy-site-header .gy-menu-contact .gy-contact-inline a {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 14px;
  }

  /* Keep every existing local link, in a single touch-scrollable row. */
  body.gy-mobile-20261024 .gy-subnav .gy-wrap {
    min-height: 48px;
    flex-wrap: nowrap;
    gap: 24px;
    padding-block: 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--gy-rule, #e3d9c7) transparent;
    scroll-padding-inline: 4px;
  }

  body.gy-mobile-20261024 .gy-subnav a,
  body.gy-mobile-20261024 .gy-subnav a.button,
  body.gy-mobile-20261024 .gy-subnav .site-link {
    flex: 0 0 auto;
    min-height: 44px;
    font-size: 14px;
    letter-spacing: .02em;
  }

  body.gy-mobile-20261024 .gy-subnav a:focus-visible {
    outline: 3px solid var(--gy-accent, #2c4637);
    outline-offset: -3px;
  }

  body.gy-mobile-20261024 .breadcrumb,
  body.gy-mobile-20261024.guide-page .guide-breadcrumb {
    gap: 6px 10px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  body.gy-mobile-20261024 .breadcrumb a,
  body.gy-mobile-20261024.guide-page .guide-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Shared secondary-page reading rhythm; the home-specific sheet follows. */
  body.gy-mobile-20261024.gy-v2 h1 {
    font-size: 34px;
    line-height: 1.4;
    letter-spacing: .01em;
  }

  body.gy-mobile-20261024.gy-v2 h2 {
    font-size: 27px;
    line-height: 1.5;
    letter-spacing: .01em;
  }

  body.gy-mobile-20261024.gy-v2 h3 {
    font-size: 21px;
    line-height: 1.6;
    letter-spacing: 0;
  }

  body.gy-mobile-20261024 .small,
  body.gy-mobile-20261024 .caption,
  body.gy-mobile-20261024 figcaption {
    font-size: 14px;
    line-height: 1.8;
  }

  /* Brand: preserve the real film and its fallback controls, not a poster crop. */
  body.gy-mobile-20261024 .intro-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-bottom: 48px;
  }

  body.gy-mobile-20261024 .intro-copy,
  body.gy-mobile-20261024 .film-panel {
    min-width: 0;
  }

  body.gy-mobile-20261024 .intro-copy .brand-statement {
    font-size: 34px;
    line-height: 1.5;
    margin-bottom: 26px;
  }

  body.gy-mobile-20261024 .intro-copy p,
  body.gy-mobile-20261024 .prose p,
  body.gy-mobile-20261024 .principles p,
  body.gy-mobile-20261024 .method-list p {
    font-size: 16px;
    line-height: 1.9;
  }

  body.gy-mobile-20261024 .film-panel {
    order: -1;
    padding: 24px;
  }

  body.gy-mobile-20261024 .film-panel h2 {
    font-size: 25px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  body.gy-mobile-20261024 .film-stage video {
    width: 100%;
    height: min(420px, 62svh);
    max-height: 62svh;
    object-fit: contain;
  }

  body.gy-mobile-20261024 .film-intro {
    font-size: 16px;
    line-height: 1.8;
  }

  body.gy-mobile-20261024 .film-controls {
    gap: 10px;
    margin-block: 20px 12px;
  }

  body.gy-mobile-20261024 .film-controls .button {
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    font-size: 15px;
    letter-spacing: .02em;
    white-space: normal;
  }

  body.gy-mobile-20261024 .reading-grid,
  body.gy-mobile-20261024 .consult-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  body.gy-mobile-20261024 .why-band {
    padding-block: 44px;
    color: #e9e3d4;
    background: var(--gy-accent-deep, #1f3329);
  }

  body.gy-mobile-20261024 .why-band h2 {
    color: #fbf7ee;
  }

  body.gy-mobile-20261024 .section,
  body.gy-mobile-20261024 .consult-band {
    padding-block: 44px;
  }

  body.gy-mobile-20261024 .principles article + article {
    margin-top: 28px;
  }

  body.gy-mobile-20261024 .method-list {
    padding-left: 24px;
  }

  body.gy-mobile-20261024 .method-list li {
    padding-left: 6px;
    margin-bottom: 28px;
  }

  body.gy-mobile-20261024 .consult-layout figure {
    justify-self: start;
  }

  body.gy-mobile-20261024 .consult-layout img {
    width: 180px;
    height: 180px;
  }

  /* Shouze: consistent gutters, readable biographies, intact public artwork. */
  body.gy-mobile-20261024 main#main:has(> .opening),
  body.gy-mobile-20261024 > main.artist-detail-page {
    width: calc(100% - 2 * var(--gy-mobile-gutter));
    margin-inline: auto;
  }

  body.gy-mobile-20261024 .opening {
    gap: 30px;
    padding-block: 40px 48px;
  }

  body.gy-mobile-20261024 .opening h1 {
    font-size: 34px;
    line-height: 1.45;
  }

  body.gy-mobile-20261024 .shouze-wordmark {
    max-width: 380px;
    margin-bottom: 24px;
  }

  body.gy-mobile-20261024 .gift-detail,
  body.gy-mobile-20261024 .project-section {
    gap: 28px;
    padding-block: 44px;
  }

  body.gy-mobile-20261024 .artist-section,
  body.gy-mobile-20261024 .exhibition,
  body.gy-mobile-20261024 .detail-works {
    padding-block: 44px;
  }

  body.gy-mobile-20261024 .section-heading {
    gap: 20px;
    margin-bottom: 26px;
  }

  body.gy-mobile-20261024 .artist-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 20px;
  }

  body.gy-mobile-20261024 .artist-card,
  body.gy-mobile-20261024 .artist-intro > * {
    min-width: 0;
  }

  body.gy-mobile-20261024 .portrait {
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  body.gy-mobile-20261024 .artist-entry h3 {
    font-size: 23px;
    margin-top: 12px;
  }

  body.gy-mobile-20261024 .artist-entry p,
  body.gy-mobile-20261024 .artist-card-summary,
  body.gy-mobile-20261024 .artist-detail-link {
    font-size: 14px;
    line-height: 1.85;
  }

  body.gy-mobile-20261024 .artist-detail-link {
    min-height: 44px;
    margin-top: 6px;
  }

  body.gy-mobile-20261024 .artist-intro {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 30px;
    padding-block: 28px 44px;
  }

  body.gy-mobile-20261024 .detail-intro,
  body.gy-mobile-20261024 .biography-section p,
  body.gy-mobile-20261024 .biography-section li {
    font-size: 16px;
    line-height: 1.9;
  }

  body.gy-mobile-20261024 .biography-section {
    padding-block: 30px;
  }

  body.gy-mobile-20261024 .biography-section h2 {
    margin-bottom: 16px;
    font-size: 26px;
  }

  body.gy-mobile-20261024 .biography-section ul,
  body.gy-mobile-20261024 .profile-sources {
    padding-left: 24px;
  }

  body.gy-mobile-20261024 .work-label {
    font-size: 21px;
    line-height: 1.6;
  }

  body.gy-mobile-20261024 .closing {
    padding: 36px 28px;
    margin-bottom: 32px;
  }

  /* Guides are reading pages: restrained title, steady body, clear next step. */
  body.gy-mobile-20261024.guide-page {
    font-size: 16px;
    line-height: 1.95;
  }

  body.gy-mobile-20261024.guide-page > main {
    width: min(760px, calc(100% - 2 * var(--gy-mobile-gutter)));
  }

  body.gy-mobile-20261024.guide-page .guide-opening {
    padding-block: 24px 32px;
  }

  body.gy-mobile-20261024.guide-page h1 {
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0;
  }

  body.gy-mobile-20261024.guide-page .guide-intro {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.95;
  }

  body.gy-mobile-20261024.guide-page .guide-meta {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0;
  }

  body.gy-mobile-20261024.guide-page .guide-contents {
    padding: 22px 24px;
    margin: 28px 0 0;
  }

  body.gy-mobile-20261024.guide-page .guide-contents h2 {
    font-size: 22px;
  }

  body.gy-mobile-20261024.guide-page .guide-contents a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 16px;
    line-height: 1.8;
  }

  body.gy-mobile-20261024.guide-page .guide-section {
    padding-block: 32px;
  }

  body.gy-mobile-20261024.guide-page .guide-section h2,
  body.gy-mobile-20261024.guide-page .guide-related h2,
  body.gy-mobile-20261024.guide-page .guide-contact h2 {
    font-size: 26px;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  body.gy-mobile-20261024.guide-page .guide-section h3 {
    font-size: 21px;
    line-height: 1.6;
  }

  body.gy-mobile-20261024.guide-page .guide-section p + p {
    margin-top: 18px;
  }

  body.gy-mobile-20261024.guide-page .guide-section ul,
  body.gy-mobile-20261024.guide-page .guide-section ol {
    padding-left: 24px;
  }

  body.gy-mobile-20261024.guide-page .guide-contact {
    padding: 32px 28px;
    margin: 36px 0 32px;
  }

  /* Footer content remains complete, including privacy and official filing. */
  body.gy-mobile-20261024.gy-v2 > footer,
  body.gy-mobile-20261024.gy-v2 footer.brand-footer {
    width: 100%;
    margin-top: 48px;
    padding: 44px var(--gy-mobile-gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    font-size: 14px;
    line-height: 1.85;
  }

  body.gy-mobile-20261024.gy-v2 > footer > p:first-child,
  body.gy-mobile-20261024.gy-v2 > footer .footer-company {
    font-size: 21px;
    line-height: 1.6;
    letter-spacing: .02em;
  }

  body.gy-mobile-20261024.gy-v2 > footer .small,
  body.gy-mobile-20261024.gy-v2 > footer .gy-privacy-note,
  body.gy-mobile-20261024.gy-v2 > footer details {
    font-size: 14px;
    line-height: 1.9;
  }

  body.gy-mobile-20261024.gy-v2 > footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
  }

  body.gy-mobile-20261024.gy-v2 > footer nav a,
  body.gy-mobile-20261024.gy-v2 > footer summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  body.gy-mobile-20261024.gy-v2 > footer .gy-icp-filing {
    padding-inline: 0;
    margin-top: 20px;
    text-align: left;
    font-size: 14px;
  }

  body.gy-mobile-20261024.gy-v2 > footer :focus-visible,
  body.gy-mobile-20261024 .closing :focus-visible,
  body.gy-mobile-20261024 .guide-contact :focus-visible {
    outline-color: #efe6d2;
  }

  /* In landscape, scroll the complete menu instead of reducing its links
     to a narrow strip above the contact area. */
  @media (max-height: 540px) {
    body.gy-mobile-20261024 .gy-site-header .gy-menu-panel {
      overflow-y: auto;
      overscroll-behavior: contain;
    }

    body.gy-mobile-20261024 .gy-site-header .gy-menu-nav {
      flex: 0 0 auto;
      overflow-y: visible;
    }
  }

  @media (max-width: 600px) {
    body.gy-mobile-20261024 {
      --gy-mobile-gutter: 20px;
    }

    body.gy-mobile-20261024.gy-v2 h1,
    body.gy-mobile-20261024 .opening h1,
    body.gy-mobile-20261024 .intro-copy .brand-statement {
      font-size: 32px;
    }

    body.gy-mobile-20261024.gy-v2 h2 {
      font-size: 26px;
    }

    body.gy-mobile-20261024 .film-panel {
      padding: 20px;
    }

    body.gy-mobile-20261024 .film-panel h2 {
      font-size: 24px;
    }

    body.gy-mobile-20261024 .film-controls .button {
      width: 100%;
    }

    body.gy-mobile-20261024 .fallback-links,
    body.gy-mobile-20261024 .related-links {
      gap: 4px 20px;
      font-size: 14px;
    }

    body.gy-mobile-20261024 .opening,
    body.gy-mobile-20261024 .gift-detail,
    body.gy-mobile-20261024 .project-section {
      grid-template-columns: minmax(0, 1fr);
    }

    body.gy-mobile-20261024 .opening {
      padding-top: 32px;
    }

    body.gy-mobile-20261024 .opening-copy > p:first-of-type,
    body.gy-mobile-20261024 .project-story .project-lead {
      font-size: 20px;
      line-height: 1.8;
    }

    body.gy-mobile-20261024 .shouze-wordmark {
      max-width: 100%;
      margin-bottom: 22px;
    }

    body.gy-mobile-20261024 .artist-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 28px 16px;
    }

    body.gy-mobile-20261024 .section-heading {
      display: block;
    }

    body.gy-mobile-20261024 .artist-intro {
      grid-template-columns: minmax(0, 1fr);
      gap: 24px;
      padding-top: 24px;
    }

    body.gy-mobile-20261024 .detail-portrait {
      width: 180px;
      height: 220px;
      object-fit: contain;
    }

    body.gy-mobile-20261024 .artist-role {
      margin-top: 14px;
    }

    body.gy-mobile-20261024 .detail-works .work-image {
      height: min(110vw, 430px);
      padding: 18px;
    }

    body.gy-mobile-20261024 .closing {
      padding: 32px 20px;
      margin-inline: calc(-1 * var(--gy-mobile-gutter));
    }

    body.gy-mobile-20261024.guide-page h1 {
      font-size: 30px;
      line-height: 1.5;
    }

    body.gy-mobile-20261024.guide-page .guide-contents {
      padding: 20px;
    }

    body.gy-mobile-20261024.guide-page .guide-contact {
      padding: 32px var(--gy-mobile-gutter);
      margin-inline: calc(-1 * var(--gy-mobile-gutter));
    }

    body.gy-mobile-20261024.gy-v2 > footer ul {
      columns: 1;
      padding-left: 22px;
    }
  }

  @media (max-width: 375px) {
    body.gy-mobile-20261024 .gy-site-header .gy-header-inner {
      gap: 8px;
    }

    body.gy-mobile-20261024 .gy-site-header .gy-header-actions > .gy-btn {
      padding-inline: 10px;
      font-size: 13px;
    }

    body.gy-mobile-20261024 .gy-subnav .gy-wrap {
      gap: 18px;
    }

    body.gy-mobile-20261024 .artist-entry h3 {
      font-size: 22px;
    }

    body.gy-mobile-20261024 .film-panel {
      padding: 18px;
    }
  }
}
