/* ==========================================================================
   PUMP Management - Clean Modern CSS
   ========================================================================== */

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Lato", sans-serif;
  font-size: 0.5rem;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0.4, 0, 1);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Colors */
  --color-text-primary: #333333;
  --color-text-secondary: #222222;
  --color-text-dark: #000000;
  --color-text-light: #ffffff;
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #eeeeee;
  --color-bg-overlay: rgba(0, 0, 0, 0.16);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Layout */
  --container-padding: 5rem;
  --section-padding: 4rem 0;

  /* Typography */
  --font-primary: "Lato", sans-serif;
  --font-secondary: "Futura", sans-serif;

  /* Transitions */
  --transition-smooth: cubic-bezier(0.4, 0.4, 0, 1);
  --transition-ease: ease-in-out;

  /* Breakpoints */
  --breakpoint-desktop: 1280px;
  --breakpoint-tablet: 840px;
  --breakpoint-mobile: 410px;

  /* Z-index layers */
  --z-background: -3;
  --z-base: 1;
  --z-header: 100;
  --z-modal: 1000;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Section Title */
.section-title {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  margin: 1.25rem 7.5rem;
  color: var(--color-text-primary);
}

/* Section Divider */
.section-divider {
  width: 100%;
  height: 2px;
  background-color: #000;
  margin: 0;
}

.section-divider--light {
  background-color: #ccc;
  margin-bottom: 1rem;
}

/* ==========================================================================
   FIXED BACKGROUND
   ========================================================================== */

.background-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: 100%;
  z-index: var(--z-background);
  background-image: url("https://storage.googleapis.com/studio-design-asset-files/projects/9YWyYKQeWM/s-1200x563_v-fms_webp_fe83a30b-646f-4369-b8e9-12239cdbcaf5.webp");
  background-position: center top;
  background-repeat: repeat;
  background-size: cover;
  filter: sepia(30%) saturate(89%);
  opacity: 0.5;
  transition: opacity 1000ms var(--transition-smooth);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  position: relative;
  width: 100%;
  z-index: var(--z-header);
  background: #ffffff;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5rem;
  max-width: 100%;
}

.header__logo-link {
  display: block;
  flex: 0 0 auto;
}

.header__logo {
  height: auto;
  width: 150px;
  max-width: 300px;
}

/* Navigation */
.header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-left: 2rem;
}

.nav__list {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  color: var(--color-text-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav__text {
  position: relative;
}

.nav__underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-text-dark);
  transition: width 300ms var(--transition-ease);
}

.nav__link:hover .nav__underline,
.nav__link:focus .nav__underline {
  width: 100%;
}

/* Mobile Menu Toggle */
.header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-text-dark);
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

.main {
  position: relative;
  z-index: var(--z-base);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero__line {
  position: relative;
  width: 100%;
  flex: none;
  background-color: #000;
}

.hero__line--thick {
  height: 5px;
  margin: 0;
}

.hero__line--thin {
  height: 2px;
  margin: 10px 0 0 0;
}

.hero__pump-logo {
  display: block;
  height: auto;
  margin: 25px auto;
  width: 540px;
  max-width: 60%;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero__pump-large {
  display: block;
  height: auto;
  margin: 50px auto;
  padding: 0 60px;
  border-radius: 0;
  flex: none;
  width: auto;
  max-width: 1000px;
  object-fit: contain;
  opacity: 0;
  filter: blur(20px);
  animation: heroBlurIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

/* ==========================================================================
   NEWS SECTION
   ========================================================================== */

.news {
  padding: var(--section-padding);
}

.news__carousel {
  margin: 2rem 0;
}

/* Carousel (Swiper) */
.news-swiper {
  position: relative;
  width: 100%;
  height: 486px;
  overflow: hidden;
}

.news-swiper .swiper-wrapper {
  align-items: stretch;
}

.news-swiper .swiper-slide {
  width: 671px !important;
  max-width: 671px;
  height: 486px !important;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.carousel__link {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel__content {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0 5rem 5.5rem;
  position: relative;
}

.carousel__text {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  color: var(--color-text-dark);
}

.carousel__date {
  font-size: 0.9375rem;
  text-align: center;
}

.carousel__heading {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.carousel__description {
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Carousel Navigation Controls (absolute inside .news-swiper) */
.carousel-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
  z-index: 10;
  pointer-events: none;
}

.carousel-nav__btn {
  pointer-events: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  cursor: pointer;
  transition: background 200ms ease;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.carousel-nav__btn:hover {
  background: #e1e1e1;
}

.carousel-nav__btn .material-icons {
  font-size: 1.5rem;
  pointer-events: none;
}

.news__archive-link-wrap {
  text-align: center;
  margin: 2rem 0 1.5rem;
}

.news__archive-link {
  display: inline-block;
  font-family: "Lato", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  text-decoration: none;
  border: 1px solid var(--color-text-primary);
  padding: 0.6rem 2rem;
  transition:
    background 0.2s,
    color 0.2s;
}

.news__archive-link:hover {
  background: var(--color-text-primary);
  color: #fff;
}

/* ==========================================================================
   MARQUEE / TICKER
   ========================================================================== */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: transparent;
  padding: 12px 0;
}

.marquee__track {
  display: inline-flex;
  animation: marquee-scroll 60s linear infinite;
}

.marquee__text {
  display: inline-block;
  color: #333;
  font-family: "Futura", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBlurIn {
  0% {
    opacity: 0;
    filter: blur(20px);
  }
  40% {
    opacity: 1;
    filter: blur(12px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   TALENT SECTION
   ========================================================================== */

.talent,
.newface,
.kids {
  padding: var(--section-padding);
}

.talent__grid,
.newface__grid,
.kids__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 0 5rem;
  margin: 2rem 0;
}

.talent__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  background: transparent;
  transition: transform 300ms var(--transition-ease);
}

.talent__card:hover {
  transform: scale(0.97);
}

.talent__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-radius: 0;
  flex-shrink: 0;
}

.talent__name {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 1.125rem;
  font-weight: 900;
  -webkit-text-stroke: 0.2px currentColor;
  color: var(--color-text-primary);
  margin-top: 0.75rem;
  text-align: left;
  line-height: 1.3;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about {
  padding: 6.25rem 0 0 0;
}

.about__content {
  max-width: 71.625rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about__item:hover {
  opacity: 1;
}

.about__heading {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  transition: color 200ms var(--transition-ease);
}

.about__heading--section {
  font-size: 1.75rem;
}

.about__item:hover .about__heading {
  color: var(--color-text-dark);
}

.about__text {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: #141414;
  font-feature-settings: "palt" 1;
  letter-spacing: normal;
  transition: color 200ms var(--transition-ease);
}

.about__text--ja {
  font-size: 0.875rem;
}

.about__item:hover .about__text {
  color: var(--color-text-dark);
}

/* Social Icons */
.about__social {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 6.25rem 0;
}

.about__social-link {
  display: block;
  width: auto;
  transition: transform 200ms var(--transition-ease);
}

.about__social-link:hover {
  transform: scale(1.1);
}

.about__social-icon {
  height: 2.5rem;
  width: auto;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact {
  padding: 6.25rem 0;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 71.625rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact__item:hover {
  opacity: 1;
}

.contact__heading {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  transition: color 200ms var(--transition-ease);
}

.contact__heading--section {
  font-size: 1.75rem;
}

.contact__item:hover .contact__heading {
  color: var(--color-text-dark);
}

.contact__text,
.contact__link {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-secondary);
  font-feature-settings: "palt" 1;
  transition: color 200ms var(--transition-ease);
}

.contact__item:hover .contact__text,
.contact__item:hover .contact__link {
  color: var(--color-text-dark);
}

.contact__link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   POP SECTION
   ========================================================================== */

.pop {
  padding: 6.25rem 0;
}

.pop__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 71.625rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.pop__heading {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.pop__heading--section {
  font-size: 1.75rem;
}

.pop__text {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-secondary);
  font-feature-settings: "palt" 1;
}

.pop__link {
  display: block;
  margin-top: 2rem;
  transition: transform 300ms var(--transition-ease);
}

.pop__link:hover {
  transform: scale(1.05);
}

.pop__image {
  max-height: 17.1875rem;
  width: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: transparent;
  padding: 4rem 2.5rem 1.5rem;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer__logo-container {
  display: flex;
  justify-content: center;
}

.footer__logo {
  height: 2.1875rem;
  width: auto;
}

/* Footer Navigation */
.footer__nav {
  display: flex;
  justify-content: center;
}

.footer__nav-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__nav-item {
  position: relative;
}

.footer__nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0;
  color: var(--color-text-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer__nav-underline {
  width: 0;
  height: 2px;
  background: var(--color-text-dark);
  transition: width 300ms var(--transition-ease);
}

.footer__nav-link:hover .footer__nav-underline {
  width: 100%;
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--color-text-primary);
  transition: color 200ms var(--transition-ease);
}

.footer__link:hover {
  color: var(--color-text-dark);
  text-decoration: underline;
}

.footer__copyright {
  font-size: 0.875rem;
  color: var(--color-text-primary);
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet (max-width: 1280px) */
@media screen and (max-width: 1280px) {
  :root {
    --container-padding: 5rem;
  }

  .header__container {
    padding: 1.5rem 3rem;
  }

  .section-title {
    margin: 1.25rem 5rem;
    font-size: 1.625rem;
  }

  .about__heading--section,
  .contact__heading--section,
  .pop__heading--section {
    font-size: 1.625rem;
  }

  .news-swiper .swiper-slide {
    height: 300px;
    max-width: 75%;
  }

  .carousel__content {
    padding: 0 5rem 2rem;
  }

  .hero__pump-logo {
    height: auto;
    margin: 8px auto;
    width: 400px;
    max-width: 50%;
  }

  .hero__pump-large {
    display: block;
    flex: none;
    height: auto;
    margin: 50px auto;
    padding: 24px;
    width: 90%;
    max-width: 800px;
  }

  .talent__grid,
  .newface__grid,
  .kids__grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 0 5rem;
  }
}

/* Tablet (max-width: 840px) */
@media screen and (max-width: 840px) {
  .header__container {
    padding: 1rem 2.5rem;
  }

  .header__logo {
    width: 110px;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    width: auto;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    flex-direction: column;
    margin-left: 0;
    padding: 0.75rem 0;
  }

  .header__nav--active {
    display: flex;
  }

  .header__nav--active .nav__list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .header__nav--active .nav__link {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
  }

  .header__menu-toggle {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .section-title {
    margin: 1.25rem 0;
    padding: 0 2rem;
    font-size: 1.5rem;
  }

  .about__heading--section,
  .contact__heading--section,
  .pop__heading--section {
    font-size: 1.5rem;
  }

  .news-swiper {
    height: 220px;
  }

  .news-swiper .swiper-slide {
    height: 220px !important;
    width: 290px !important;
    max-width: 290px;
  }

  .carousel__date {
    font-size: 0.75rem;
  }

  .carousel__content {
    padding: 0 1.5rem 1.5rem;
    aspect-ratio: 4 / 3;
  }

  .carousel__heading {
    font-size: 1.125rem;
    line-height: 1.2;
  }

  .carousel__description {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .talent__grid,
  .newface__grid,
  .kids__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0 1.5rem;
  }

  .talent__card {
    padding: 0.5rem;
  }

  .talent__name {
    font-size: 0.875rem;
  }

  .about {
    padding: 3.125rem 0 0 0;
  }

  .hero__pump-logo {
    height: auto;
    margin: 16px auto;
    width: 300px;
    max-width: 70%;
  }

  .about__social {
    margin: 3.125rem 0;
  }

  .contact {
    padding: 3.125rem 0;
  }

  .pop {
    padding: 3.125rem 0;
  }

  .footer {
    padding: 4rem 2rem 1.5rem;
  }
}

/* Small tablet / large phone (max-width: 600px) */
@media screen and (max-width: 600px) {
  .carousel__date {
    font-size: 0.6875rem;
  }

  .carousel__heading {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .carousel__description {
    font-size: 0.6875rem;
    line-height: 1.35;
  }

  .talent__grid,
  .newface__grid,
  .kids__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0 1rem;
  }
}

/* Mobile (max-width: 410px) */
@media screen and (max-width: 410px) {
  .header__container {
    padding: 1rem 1.25rem;
  }

  .header__logo {
    width: 99px;
    height: auto;
  }

  .section-title {
    margin: 0 0 0 1.25rem;
    font-size: 1.25rem;
  }

  .about__heading--section,
  .contact__heading--section,
  .pop__heading--section {
    font-size: 1.25rem;
  }

  .section-divider {
    margin: 0;
  }

  .carousel__track-container {
    height: 230px;
  }

  .carousel__slide {
    max-width: 100%;
    width: 15.25rem;
  }

  .news-swiper {
    height: 180px;
  }

  .news-swiper .swiper-slide {
    height: 180px !important;
    width: 240px !important;
    max-width: 240px;
  }

  .carousel__date {
    font-size: 0.6875rem;
  }

  .carousel__content {
    padding: 0 0.75rem 1rem;
    aspect-ratio: 4 / 3;
  }

  .carousel__heading {
    font-size: 0.875rem;
  }

  .carousel__description {
    font-size: 0.625rem;
    line-height: 1.4;
  }

  .carousel__controls {
    height: 3.0625rem;
    transform: scale(0.5);
  }

  .talent__grid,
  .newface__grid,
  .kids__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .talent__card {
    padding: 0.375rem;
  }

  .talent__name {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }

  .about {
    padding: 3.125rem 0 0 0;
  }

  .about__content {
    padding: 0 1rem;
  }

  .about__text {
    font-size: 0.6875rem;
  }

  .about__text--ja {
    font-size: 0.8125rem;
  }

  .about__social {
    margin: 3.125rem 0;
  }

  .contact {
    padding: 3.125rem 0;
  }

  .contact__text,
  .contact__link {
    font-size: 0.6875rem;
  }

  .pop {
    padding: 3.125rem 0;
  }

  .footer {
    padding: 3rem 1rem 1rem;
  }

  .footer__nav-list {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Keep key hero and marquee motion active on mobile even when the device
   advertises reduced motion, because these are core brand cues on the top page. */
@media screen and (max-width: 840px) {
  .hero__pump-logo {
    animation: heroFadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards !important;
    opacity: 0;
    transform: translateY(30px);
  }

  .hero__pump-large {
    animation: heroBlurIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards !important;
    opacity: 0;
    filter: blur(20px);
  }

  .marquee__track {
    animation: marquee-scroll 60s linear infinite !important;
    will-change: transform;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-text-dark);
  outline-offset: 2px;
}

button:focus-visible {
  outline: 2px solid var(--color-text-dark);
}

/* ===================================================================
   Talent Detail Page (.td)
   =================================================================== */

.td {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #fff;
}

/* Hero */
.td-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px 0;
}

.td-hero__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}

/* Info */
.td-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 60px 30px;
}

.td-info__names {
  text-align: right;
  margin-bottom: 30px;
}

.td-info__name-en {
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
  color: var(--color-text-dark);
}

.td-info__name-ja {
  font-family: "Lato", sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  color: var(--color-text-dark);
}

/* Measurements */
.td-info__measurements {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  margin-top: 24px;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.8;
  color: var(--color-text-dark);
}

.td-info__meas-labels {
  text-align: right;
  white-space: nowrap;
}

.td-info__meas-values {
  text-align: left;
  min-width: 40px;
}

.td-info__meas-values p {
  margin: 0;
  line-height: 1.8;
}

/* COMPCARD */
.td-info__asset-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 36px;
}

.td-info__compcard {
  text-align: right;
}

.td-info__compcard-link {
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: underline;
  color: var(--color-text-dark);
  transition: opacity 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.td-info__compcard-link:hover {
  opacity: 0.6;
}

/* Compcard Modal */
.compcard-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compcard-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
}

.compcard-modal__body {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

.compcard-modal__close {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

.compcard-modal__close:hover {
  opacity: 0.7;
}

.compcard-modal__images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.compcard-modal__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

/* SNS Links */
.td-info__sns {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 20px;
}

.td-info__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  transition: opacity 0.2s;
}

.td-info__sns-link:hover {
  opacity: 0.5;
}

.td-info__sns-icon {
  width: 56px;
  height: 56px;
}

/* More Info Toggle */
.td-more {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 60px;
}

.td-more__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
}

.td-more__toggle-text {
  text-decoration: underline;
}

.td-more__toggle-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.td-more__content {
  padding: 20px 0 10px;
}

.td-more__inner {
  font-family: "Lato", sans-serif;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--color-text-dark);
}

.td-more__profile,
.td-more__career,
.td-more__model-work {
  margin-bottom: 24px;
}

/* Gallery */
.td-gallery {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 30px;
}

.td-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.td-gallery__item {
  overflow: hidden;
}

.td-gallery__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===================================================================
   News Detail Page (.nd)
   =================================================================== */

.nd {
  width: 100%;
  max-width: 100%;
}

.nd-header {
  padding: 80px 40px 24px;
  max-width: 1144px;
  margin: 0 auto;
  text-align: center;
}

.nd-header__title {
  font-family: "Lato", sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
  color: var(--color-text-dark);
}

.nd-header__date {
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--color-text-dark);
}

.nd-body {
  max-width: 1144px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.nd-body__content {
  width: 60%;
  margin: 0 auto;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--color-text-dark);
}

.nd-body__content p {
  margin: 0 0 16px;
}

.nd-body__content a {
  color: var(--color-text-dark);
  text-decoration: underline;
}

.nd-body__content a:hover {
  opacity: 0.6;
}

.nd-body__content img {
  width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
}

.nd-gallery {
  width: 60%;
  margin: 32px auto 0;
}

.nd-gallery__item {
  margin: 0 0 16px;
}

.nd-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

/* ===================================================================
   Detail Pages - Responsive
   =================================================================== */

@media (max-width: 768px) {
  /* Talent Detail */
  .td-hero {
    padding: 20px 16px 0;
  }
  .td-hero__image {
    height: auto;
  }
  .td-info {
    padding: 30px 20px 20px;
  }
  .td-info__name-ja {
    font-size: 32px;
  }
  .td-info__name-en {
    font-size: 16px;
  }
  .td-more {
    padding: 0 20px;
  }
  .td-gallery {
    padding: 0 16px;
    margin: 30px auto 40px;
  }
  .td-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  /* News Detail */
  .nd-header {
    padding: 48px 16px 16px;
  }
  .nd-header__title {
    font-size: 28px;
  }
  .nd-header__date {
    font-size: 16px;
  }
  .nd-body {
    padding: 20px 16px 60px;
  }
  .nd-body__content {
    width: 100%;
  }
  .nd-gallery {
    width: 100%;
  }
}

/* =============================================
   NEWS Archive Page
   ============================================= */
.news-archive {
  padding: var(--section-padding);
}

.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 0 5rem;
  margin: 2rem 0;
}

.news-archive__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  background: transparent;
  transition: transform 300ms var(--transition-ease);
  text-decoration: none;
  color: inherit;
}

.news-archive__card:hover {
  transform: scale(0.97);
}

.news-archive__image {
  width: 100%;
  aspect-ratio: 671 / 486;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-radius: 4px;
  flex-shrink: 0;
}

.news-archive__image--empty {
  background-color: #f0f0f0;
}

.news-archive__info {
  margin-top: 0.5rem;
}

.news-archive__date {
  font-family: "Lato", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #999;
  display: block;
}

.news-archive__name {
  font-family: "Lato", "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 0.25rem;
  text-align: left;
  line-height: 1.3;
}

.news-archive__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #999;
  padding: 3rem 0;
}

.news-archive__pagination {
  text-align: center;
  padding: 2rem 0;
}

.news-archive__pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  text-decoration: none;
  color: var(--color-text-primary);
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.875rem;
}

.news-archive__pagination .page-numbers.current {
  background: var(--color-text-primary);
  color: #fff;
  border-color: var(--color-text-primary);
}

/* Responsive: NEWS Archive */
@media (max-width: 840px) {
  .news-archive__grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 2rem;
  }
}

@media (max-width: 600px) {
  .news-archive__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
    gap: 0.75rem;
  }
}
