/* Model / Actor Entry — light editorial direction */
body:has(.model-page) {
  background: #f7f7f3;
  color: #111111;
}

body:has(.model-page) .site-header {
  background: rgba(247,247,243,.9);
  border-bottom: 1px solid rgba(17,17,17,.08);
  backdrop-filter: blur(14px);
  color: #111111;
}
body:has(.model-page) .brand-name { color: #111111; }
body:has(.model-page) .desktop-nav a { color: rgba(17,17,17,.62); }
body:has(.model-page) .desktop-nav a:hover,
body:has(.model-page) .desktop-nav a:focus-visible { color: #111111; }
body:has(.model-page) .desktop-nav .nav-join {
  background: #1769e0;
  color: #ffffff;
}
body:has(.model-page) .desktop-nav .nav-hub {
  color: #111111;
  font-weight: 600;
}
body:has(.model-page) .menu-button span:not(.sr-only) { background: #111111; }
body:has(.model-page) .site-header:has(.menu-button[aria-expanded="true"]) {
  background: #0b0b0b;
  color: #ffffff;
  border-bottom-color: transparent;
}
body:has(.model-page) .site-header:has(.menu-button[aria-expanded="true"]) .brand-name { color: #ffffff; }
body:has(.model-page) .site-header:has(.menu-button[aria-expanded="true"]) .menu-button span:not(.sr-only) { background: #ffffff; }
body:has(.model-page) .mobile-nav { color: #ffffff; }

.model-page {
  background: #f7f7f3;
  color: #111111;
}
.model-page h1,
.model-page h2,
.model-page h3 { margin: 0; }

.model-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 10rem 1.5rem 6rem;
  background:
    linear-gradient(90deg, transparent 0 69%, #0b0b0b 69% 100%),
    #f7f7f3;
}
.model-hero::after {
  content: "MODEL / ACTOR";
  position: absolute;
  right: -1.5rem;
  bottom: 1.1rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: .8;
  letter-spacing: .02em;
  color: rgba(17,17,17,.045);
  white-space: nowrap;
  pointer-events: none;
}
.model-hero::before {
  content: "CREATIVE YOLO  /  KUMAMOTO";
  position: absolute;
  right: 4.2vw;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  z-index: 1;
  font-family: "Josefin Sans", sans-serif;
  font-size: .72rem;
  letter-spacing: .28em;
  color: rgba(255,255,255,.58);
  white-space: nowrap;
}
.model-hero-glow {
  position: absolute;
  left: 9%;
  bottom: 7%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(17,17,17,.05);
  filter: blur(90px);
  pointer-events: none;
}
.model-entry-glow { display: none; }
.model-hero-inner,
.model-wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.model-hero-inner { padding-right: 31%; }
.model-narrow { width: min(780px, 100%); }

.model-eyebrow,
.model-page .kicker {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .76rem;
  color: #5b6472;
  margin: 0 0 1.25rem;
}
.model-hero h1 {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  line-height: 1.16;
  letter-spacing: .015em;
  font-weight: 500;
  max-width: 760px;
  color: #111111;
}
.model-lead {
  margin: 2rem 0 0;
  max-width: 650px;
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.9;
  color: #111111;
}
.model-sublead {
  margin: 1rem 0 0;
  max-width: 620px;
  color: rgba(17,17,17,.62);
  line-height: 2;
}
.model-hero-actions,
.entry-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}
.model-text-link {
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid rgba(17,17,17,.35);
  padding: .4rem 0;
}
.model-page .button-secondary {
  appearance: none;
  border: 1px solid rgba(17,17,17,.28);
  background: transparent;
  color: #111111;
  cursor: pointer;
  font: inherit;
}
.model-page .button-secondary:hover { border-color: rgba(17,17,17,.55); }

.model-section {
  padding: 7rem 1.5rem;
  background: #f7f7f3;
  color: #111111;
}
.model-section-alt { background: #eee8dd; }
.model-section-dark {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
  color: #ffffff;
}
.model-section-dark::after {
  content: "EXCLUSIVE";
  position: absolute;
  right: -1rem;
  bottom: -1.2rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(5rem, 18vw, 12rem);
  line-height: .8;
  color: rgba(255,255,255,.025);
  letter-spacing: .04em;
  pointer-events: none;
}
.model-section h2,
.model-entry h2 {
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.35;
  font-weight: 500;
  margin-bottom: 2.3rem;
}
.model-prose {
  display: grid;
  gap: 1rem;
  font-size: 1.02rem;
  line-height: 2.05;
}
.model-prose p { margin: 0; }
.model-prose strong { font-weight: 600; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
}
.model-card {
  min-height: 235px;
  padding: 1.65rem;
  background: #faf8f3;
  border: 1px solid rgba(17,17,17,.1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px rgba(17,17,17,.035);
}
.model-card span {
  font-family: "Josefin Sans", sans-serif;
  color: #5b6472;
  font-size: .75rem;
  letter-spacing: .12em;
}
.model-card h3 {
  margin-top: auto;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.35rem;
  letter-spacing: .08em;
}
.model-card p {
  margin: .7rem 0 0;
  line-height: 1.8;
  color: rgba(17,17,17,.66);
}
.model-caption {
  margin: 1.4rem 0 0;
  color: rgba(17,17,17,.52);
  font-size: .84rem;
  line-height: 1.8;
}

.entry-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.entry-flow li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(17,17,17,.13);
}
.entry-flow li:last-child { border-bottom: 1px solid rgba(17,17,17,.13); }
.entry-flow b {
  font-family: "Josefin Sans", sans-serif;
  color: #5b6472;
  font-size: 1rem;
  letter-spacing: .12em;
}
.entry-flow div { display: grid; gap: .45rem; }
.entry-flow strong {
  font-family: "Shippori Mincho B1", serif;
  font-size: 1.25rem;
}
.entry-flow span { color: rgba(17,17,17,.64); line-height: 1.7; }

.model-section-dark .kicker { color: rgba(255,255,255,.74); }
.model-section-dark .model-prose { color: rgba(255,255,255,.72); }
.model-section-dark .model-prose strong { color: #fff; }

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.requirements-grid > div {
  padding: 2rem;
  border: 1px solid rgba(17,17,17,.11);
  background: #fbf9f5;
}
.requirements-grid h3 {
  font-family: "Shippori Mincho B1", serif;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.requirements-grid ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .7rem;
  line-height: 1.7;
}
.requirements-grid p {
  margin: 1.4rem 0 0;
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(17,17,17,.6);
}

.model-entry {
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem;
  background: #efe9dd;
  color: #111111;
  border-top: 1px solid rgba(17,17,17,.08);
}
.model-entry::before {
  content: "ENTRY";
  position: absolute;
  right: -1rem;
  top: 2rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(6rem, 20vw, 13rem);
  color: rgba(17,17,17,.035);
  line-height: .8;
  letter-spacing: .04em;
  pointer-events: none;
}
.entry-lead {
  margin: -.5rem 0 2rem;
  color: rgba(17,17,17,.64);
  line-height: 2;
}
.entry-template {
  white-space: pre-wrap;
  padding: 1.5rem;
  border: 1px solid rgba(17,17,17,.13);
  background: rgba(255,255,255,.56);
  font-family: "Noto Sans JP", sans-serif;
  font-size: .9rem;
  line-height: 1.9;
  user-select: text;
}
.entry-note {
  margin: 1.4rem 0 0;
  color: rgba(17,17,17,.5);
  font-size: .8rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .model-hero {
    background:
      linear-gradient(90deg, transparent 0 78%, #0b0b0b 78% 100%),
      radial-gradient(circle at 20% 18%, rgba(23,105,224,.16), transparent 30%),
      #f7f7f3;
  }
  .model-hero-inner { padding-right: 20%; }
  .model-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .model-hero {
    min-height: auto;
    padding: 8.6rem 1.2rem 5.4rem;
    background:
      #f7f7f3;
  }
  .model-hero::before {
    top: auto;
    right: 1.2rem;
    bottom: 1.15rem;
    transform: none;
    color: rgba(17,17,17,.36);
    font-size: .62rem;
  }
  .model-hero::after {
    right: -1rem;
    bottom: 2.7rem;
    font-size: 4.5rem;
  }
  .model-hero-inner { padding-right: 0; }
  .model-section,
  .model-entry { padding: 5.3rem 1.2rem; }
  .model-hero h1 { font-size: clamp(2.65rem, 14vw, 4.5rem); }
  .model-grid,
  .requirements-grid { grid-template-columns: 1fr; }
  .model-card { min-height: 180px; }
  .entry-flow li { grid-template-columns: 48px 1fr; gap: .7rem; }
  .model-hero-actions,
  .entry-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .model-hero-actions .button,
  .entry-actions .button,
  .model-text-link {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
