/* TAISHOKU fluid breakpoints — rebuild layouts, do not shrink desktop. */

@media (max-width: 1180px) {
  .ts-nav__bar {
    gap: 1.25rem;
  }

  .ts-nav__shop a {
    font-size: 0.75rem;
  }

  .ts-hero__h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
  }

  .ts-confidence .ts-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  :root {
    --ts-wrap: calc(100% - 2rem);
    --ts-section: clamp(2.4rem, 8vw, 3.5rem);
    --ts-h2: clamp(1.55rem, 7vw, 2.15rem);
  }

  .ts-nav__shop,
  .ts-nav__cta {
    display: none;
  }

  .ts-nav__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 1.5rem);
    min-height: 3.75rem;
    gap: 0.75rem;
  }

  .ts-mark__jp {
    display: none;
  }

  .ts-mark__en {
    font-size: 1.2rem;
  }

  .ts-menu {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
  }

  .ts-feature__grid,
  .ts-drop__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ts-feature__media {
    aspect-ratio: 4 / 3;
  }

  .ts-drop__number {
    writing-mode: horizontal-tb;
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .ts-drop__image {
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .ts-products__grid,
  .ts-stories__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .ts-story:last-child {
    grid-column: 1 / -1;
  }

  .ts-foot__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .ts-foot__brand {
    grid-column: 1 / -1;
  }

  .ts-journal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ts-journal-card:first-child {
    grid-column: 1 / -1;
  }

  .ts-cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ts-cta-band h2 {
    font-size: clamp(1.6rem, 8vw, 2.3rem);
  }

  .ts-drawer__panel {
    width: min(100vw, 28rem);
    padding: 1.4rem 1.25rem 2.5rem;
  }
}

@media (max-width: 700px) {
  .ts-nav-over .ts-nav {
    position: relative;
    background: #fff;
  }

  .ts-hero {
    min-height: 0;
  }

  .ts-hero__h1 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    z-index: 2;
    max-width: none;
    padding: 0.95rem 1.1rem 0.85rem;
    font-size: clamp(1.35rem, 6.6vw, 1.8rem);
    line-height: 1.28;
    letter-spacing: -0.03em;
    color: var(--ts-black);
    text-shadow: none;
    background: #fff;
  }

  .ts-hero__swiper,
  .ts-hero__slide {
    min-height: min(28rem, 68svh);
    height: min(30rem, 70svh);
  }

  .ts-hero__shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.08) 100%);
  }

  .ts-hero__copy {
    left: 1.1rem;
    right: 1.1rem;
    bottom: 3.25rem;
    width: auto;
    max-width: none;
  }

  .ts-hero__title {
    max-width: none;
    font-size: clamp(1.3rem, 6.4vw, 1.75rem);
    margin-bottom: 0.65rem;
  }

  .ts-hero__lead {
    margin-bottom: 1rem;
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .ts-hero__indicators {
    left: 1.1rem;
    right: auto;
    top: auto;
    bottom: 1.15rem;
    transform: none;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
  }

  .ts-hero__indicators .swiper-pagination-bullet {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: 0;
    opacity: 0.4;
  }

  .ts-hero__indicators .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--ts-blue);
    transform: none;
    color: transparent;
  }

  .ts-gender__pair {
    grid-template-columns: 1fr;
  }

  .ts-section__head--row {
    display: block;
  }

  .ts-section__head--row .ts-textlink {
    display: inline-block;
    margin-top: 0.8rem;
  }

  .ts-story h3 {
    min-height: 0;
  }

  .ts-look__slide,
  .ts-gallery__slide {
    width: 100% !important;
    margin-right: 0 !important;
    transform: none !important;
  }

  .ts-look__slide:nth-child(odd),
  .ts-look__slide:nth-child(even),
  .ts-look__slide:hover,
  .ts-gallery__slide:hover {
    transform: none !important;
  }

  .ts-look__swiper,
  .ts-gallery__swiper {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1.5rem;
    overflow: hidden;
  }

  .ts-look__prev {
    left: 0.35rem;
  }

  .ts-look__next {
    right: 0.35rem;
  }

  .ts-look__prev,
  .ts-look__next {
    width: 2.5rem;
    height: 2.5rem;
  }

  .ts-confidence dl {
    grid-template-columns: 1fr;
  }

  .ts-confidence dl div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding-inline: 0;
  }

  .ts-values,
  .ts-category__grid,
  .ts-journal-grid,
  .ts-split {
    grid-template-columns: 1fr;
  }

  .ts-journal-card:first-child {
    grid-column: auto;
  }

  .ts-foot__inner {
    grid-template-columns: 1fr;
  }

  .ts-foot__brand,
  .ts-foot__copy {
    grid-column: auto;
  }

  .ts-btn {
    min-height: 2.85rem;
    padding-inline: 1.15rem;
    max-width: 100%;
  }

  .ts-faq summary {
    padding-right: 1.75rem;
  }
}

@media (max-width: 480px) {
  :root {
    --ts-wrap: calc(100% - 1.5rem);
    --ts-section: 2.35rem;
  }

  .ts-stories__grid,
  .ts-products__grid {
    grid-template-columns: 1fr;
  }

  .ts-story:last-child {
    grid-column: auto;
  }

  .ts-hero__swiper,
  .ts-hero__slide {
    min-height: min(24rem, 62svh);
    height: min(26rem, 64svh);
  }

  .ts-hero__copy {
    bottom: 2.9rem;
  }

  .ts-hero__lead {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 360px) {
  .ts-nav__bar {
    width: calc(100% - 1.15rem);
    min-height: 3.4rem;
  }

  .ts-mark__en {
    font-size: 1.05rem;
  }

  .ts-hero__h1 {
    font-size: 1.28rem;
    padding-inline: 0.9rem;
  }
}

@media (min-width: 1920px) {
  :root {
    --ts-wrap: min(calc(100% - 8rem), 108rem);
  }
}

@media (min-width: 2560px) {
  :root {
    --ts-wrap: min(calc(100% - 12rem), 124rem);
  }

  body.ts-body {
    font-size: 1.08rem;
  }
}
