:root {
  --black: #111;
  --white: #fdfdfd;
  --gray: #828282;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Zen Kaku Gothic New', sans-serif;
  color: var(--black);
  background: var(--white);
}

/* --- NOTE BANNER --- */
.note {
  background: #ffe9b0;
  color: #5a4200;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px 5vw;
  position: relative;
  z-index: 300;
}

/* --- NAV --- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 5vw;
  color: #fff;
  transition: background 0.4s ease, color 0.4s ease, padding 0.4s ease;
}
header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  color: var(--black);
  padding: 16px 5vw;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.logo {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: inherit;
}
nav ul {
  display: flex;
  gap: 2.4vw;
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
nav a {
  color: inherit;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
nav a:hover::after,
nav a.current::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99;
}
header.nav-open ~ .nav-backdrop,
.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero .scrim-top,
.hero .scrim-bottom {
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
}
.hero .scrim-top {
  top: 0; height: 22vh;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}
.hero .scrim-bottom {
  bottom: 0; height: 22vh;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}

/* --- HERO CREDITS (end-roll style, loops with ~2s pause) --- */
.credits-wrap {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 38%;
  overflow: hidden;
}
.credits-wrap::before {
  content: '';
  position: absolute;
  inset: -15% -10%;
  background: radial-gradient(ellipse 65% 70% at 60% 50%, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}
.credits {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  gap: 6vh;
  padding: 0 2vw;
  transform: translateY(100vh);
  animation: credits-roll 37s linear infinite;
}
.credits-wrap:hover .credits {
  animation-play-state: paused;
}
@keyframes credits-roll {
  0%      { transform: translateY(100vh); }
  97.30%  { transform: translateY(-150vh); }
  100%    { transform: translateY(-150vh); }
}
.credit-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 2;
  letter-spacing: 0.1em;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.credit-body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.72);
  text-align: center;
  max-width: 28em;
  margin: 0 auto;
}

.hero-foot {
  position: absolute;
  bottom: 2.4vh; left: 5vw;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.hero-foot::before {
  content: '';
  display: inline-block;
  width: 1px; height: 22px;
  background: rgba(255,255,255,0.6);
  animation: scrollcue 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollcue {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* --- SECTION COMMON --- */
section.block {
  padding: 9vh 5vw;
}
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4vh;
}
.block-head h2 {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}
.block-head a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gray);
  text-decoration: none;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 2px;
}

/* --- TEASER GRID --- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.grid figure {
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2,0.8,0.2,1), filter 0.6s ease;
  filter: grayscale(15%);
}
.grid figure:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* --- ABOUT PAGE --- */
.about-page {
  padding: 12vh 5vw 14vh;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 7vw;
  align-items: start;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(20%);
  display: block;
}
.about-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.1em;
  margin-bottom: 0.25em;
}
.about-role {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 2.4em;
}
.about-bio p {
  font-size: 0.85rem;
  line-height: 2;
  font-weight: 300;
  color: #333;
  margin-bottom: 0.2em;
}
.about-recruit {
  margin-top: 2em;
  padding-top: 2em;
  border-top: 1px solid #ebebeb;
}
.about-recruit p {
  font-size: 0.75rem;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 0.6em;
}
.about-recruit a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.about-rule {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 2.8em 0;
}
.about-en .about-bio p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: #555;
}
.about-en .about-recruit p {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .about-page {
    grid-template-columns: 1fr;
    gap: 6vh;
    padding: 10vh 5vw 10vh;
  }
  .about-photo img { max-width: 280px; }
}

footer {
  padding: 6vh 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gray);
}
footer .social a {
  color: var(--gray);
  text-decoration: none;
  margin-left: 1.4em;
}

/* --- GALLERY PAGE (Fashion / Beauty / Portrait / Cosplay) --- */
.page-head {
  padding: 18vh 5vw 5vh;
  border-bottom: 1px solid #ececec;
}
.page-head h1 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  letter-spacing: 0.05em;
}
.page-head .page-sub {
  margin-top: 1em;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gray);
  text-transform: uppercase;
}

.gallery-list {
  padding: 10vh 5vw 6vh;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12vh;
}
.gallery-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item img {
  width: 100%;
  display: block;
}
.gallery-item .credit {
  margin-top: 1.2em;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-align: right;
}

@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .logo { font-size: 0.78rem; }

  .nav-toggle { display: flex; }
  nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 72vw;
    max-width: 320px;
    background: var(--black);
    display: flex;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 105;
  }
  header.nav-open nav { transform: translateX(0); }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 5vh;
    width: 100%;
    padding: 0 12vw;
    font-size: 1rem;
  }
  nav a { color: #fff; }
  footer { flex-direction: column; gap: 1em; text-align: center; }
  footer .social a:first-child { margin-left: 0; }

  .credits-wrap { width: 100%; }
  .credits-wrap::before { inset: 0; background: rgba(0,0,0,0.4); }

  .gallery-list { gap: 8vh; }
}
