/* Shared navigation, simple film controls, and an illustrated creator story. */
#af-black.fx-site.fx-hud .af-navlinks a.af-nav-about {
  display: flex;
  letter-spacing: .035em;
}

/* Homepage only: the film, its title, and one clear destination. */
#af-black.fx-site.fx-hud .af-hero-minimal .af-hero-bottom {
  display: block;
  bottom: 74px;
  padding-inline: 7%;
  pointer-events: none;
}
#af-black.fx-site.fx-hud .af-hero-minimal .hero-feature-copy {
  max-width: 75%;
}
#af-black.fx-site.fx-hud .af-hero-minimal .hero-detail-button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 46px;
  margin-top: 26px;
  padding: 11px 20px;
  border: 1px solid var(--af-accent);
  border-radius: 999px;
  background: var(--af-accent);
  color: #090b07;
  font-size: 12px;
  font-weight: 700;
  pointer-events: auto;
  transition: background .2s, transform .2s;
}
#af-black.fx-site.fx-hud .af-hero-minimal .hero-detail-button:hover {
  background: #e8ff90;
  transform: translateY(-2px);
}
#af-black.fx-site.fx-hud .af-hero-minimal .hero-slide-navigation .af-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #070a0a55;
  border-color: #ffffff40;
}
#af-black.fx-site.fx-hud .af-hero-minimal .hero-previous { left: 22px; }
#af-black.fx-site.fx-hud .af-hero-minimal .hero-next { right: 22px; }
#af-black.fx-site.fx-hud .af-hero-minimal .af-hero-count {
  position: absolute;
  bottom: 32px;
  left: 7%;
  z-index: 4;
  font-family: var(--fx-mono);
  font-size: 11px;
  color: #e1e4dd;
}
#af-black.fx-site.fx-hud .hero-media-controls {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 8px;
  bottom: 22px;
  right: 7%;
}
#af-black.fx-site.fx-hud .hero-media-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #080b0a66;
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
}
#af-black.fx-site.fx-hud .hero-media-controls button:hover {
  color: #090b07;
  background: var(--af-accent);
  border-color: var(--af-accent);
}
#af-black.fx-site.fx-hud .hero-media-controls button:disabled { opacity: .45; cursor: default; }
#af-black.fx-site.fx-hud .af-hero-minimal .af-hero-status {
  position: absolute;
  left: 20%;
  bottom: 31px;
  z-index: 4;
  color: #fff;
}

/* Real img elements avoid CSS custom-property URLs resolving from assets/. */
#af-black.fx-site.fx-hud .af-song-card .af-mv-image::before { content: none; }
#af-black.fx-site.fx-hud .af-song-card .song-thumbnail {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
#af-black.fx-site.fx-hud .af-song-card .af-mv-image:hover .song-thumbnail { transform: scale(1.035); }
#af-black.fx-site.fx-hud .af-song-card :is(.af-mv-play, .af-duration) { z-index: 2; }

/* AI Guide: thumbnail and title, with one route to the complete guide. */
#af-black.fx-site.fx-hud .guide-preview .guide-preview-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 34px;
}
#af-black.fx-site.fx-hud .guide-preview-heading > .af-action { flex-shrink: 0; }
#af-black.fx-site.fx-hud .guide-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 22px;
  padding-bottom: 70px;
}
#af-black.fx-site.fx-hud .guide-preview-card { min-width: 0; }
#af-black.fx-site.fx-hud .guide-preview-card > a { display: block; }
#af-black.fx-site.fx-hud .guide-preview-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #181d19;
}
#af-black.fx-site.fx-hud .guide-preview-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}
#af-black.fx-site.fx-hud .guide-preview-card a:hover img { transform: scale(1.035); }
#af-black.fx-site.fx-hud .guide-source {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 9px;
  background: #070b09df;
  color: #fff;
  border: 1px solid #ffffff24;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.5;
}
#af-black.fx-site.fx-hud .guide-preview-card h3 {
  margin: 13px 0 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: pretty;
  color: #f0f2ed;
}
#af-black.fx-site.fx-hud .guide-preview-card a:hover h3 { color: var(--af-accent); }
#af-black.fx-site.fx-hud .guide-read {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  color: #aeb5a8;
  font-size: 11px;
}

/* About: paired text and real project imagery within a continuous narrative. */
#af-black.fx-site.fx-hud .profile-main { position: relative; padding-top: 132px; }
#af-black.fx-site.fx-hud .profile-flow { max-width: 1560px; }
#af-black.fx-site.fx-hud .profile-chapter {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  padding-block: 72px;
  border-bottom: 1px solid #ffffff17;
  scroll-margin-top: 100px;
}
#af-black.fx-site.fx-hud .profile-intro { padding-top: 12px; padding-bottom: 54px; border: 0; }
#af-black.fx-site.fx-hud .profile-copy { min-width: 0; }
#af-black.fx-site.fx-hud .profile-eyebrow {
  margin: 0 0 20px;
  color: var(--af-accent);
  font-size: 11px;
  font-family: var(--fx-mono), 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  letter-spacing: .08em;
}
#af-black.fx-site.fx-hud .profile-copy :is(h1, h2) {
  margin: 0 0 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(27px, 2.55vw, 40px);
  line-height: 1.5;
  letter-spacing: -.02em;
  color: #f1f3ec;
  text-wrap: pretty;
}
#af-black.fx-site.fx-hud .profile-intro h1 { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.6; }
#af-black.fx-site.fx-hud .profile-copy > p:not(.profile-eyebrow),
#af-black.fx-site.fx-hud .profile-background > div > p:not(.profile-eyebrow) {
  color: #b6beb2;
  font-size: 14px;
  line-height: 2.05;
  margin: 0 0 17px;
  text-wrap: pretty;
}
#af-black.fx-site.fx-hud .profile-copy strong { color: #e7ebe2; font-weight: 500; }
#af-black.fx-site.fx-hud .profile-copy .af-action { display: inline-flex; margin-top: 12px; }
#af-black.fx-site.fx-hud .profile-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding-block: 9px;
  color: #e9eee0;
  font-size: 12px;
  border-bottom: 1px solid #ffffff38;
}
#af-black.fx-site.fx-hud a.profile-text-link:hover { color: var(--af-accent); border-color: var(--af-accent); }
#af-black.fx-site.fx-hud .profile-identity { position: relative; margin: 0; isolation: isolate; }
#af-black.fx-site.fx-hud .profile-identity img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: 70% center;
  mask-image: radial-gradient(ellipse 70% 70% at 55% 48%, #000 38%, transparent 78%);
}
#af-black.fx-site.fx-hud .profile-identity figcaption {
  position: absolute;
  left: 7%;
  bottom: 5%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#af-black.fx-site.fx-hud .profile-identity b {
  font-family: var(--fx-display);
  font-size: clamp(40px, 5.3vw, 80px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #f1f3ec;
}
#af-black.fx-site.fx-hud .profile-identity figcaption > span { font-family: var(--fx-mono); font-size: 10px; letter-spacing: .16em; color: #c4cabc; }
#af-black.fx-site.fx-hud .profile-connection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-block: 1px solid #ffffff20;
  font-size: 12px;
  color: #b5bfaa;
  letter-spacing: .06em;
}
#af-black.fx-site.fx-hud .profile-connection > span:last-child { color: var(--af-accent); font-size: 22px; }
#af-black.fx-site.fx-hud .profile-media { min-width: 0; margin: 0; }
#af-black.fx-site.fx-hud .profile-media > a { position: relative; display: block; overflow: hidden; border-radius: 10px; }
#af-black.fx-site.fx-hud .profile-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .6s ease;
}
#af-black.fx-site.fx-hud .profile-media a:hover img { transform: scale(1.025); }
#af-black.fx-site.fx-hud .profile-media-link {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 45px 22px 20px;
  font-family: var(--fx-display);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, #000b);
}
#af-black.fx-site.fx-hud .profile-media-link > span { font-size: 20px; color: var(--af-accent); }
#af-black.fx-site.fx-hud .profile-media figcaption { margin-top: 12px; color: #a0aa99; font-size: 11px; line-height: 1.7; }
#af-black.fx-site.fx-hud .profile-making { padding: 22px; border: 1px solid #ffffff20; border-radius: 12px; background: #121611a6; }
#af-black.fx-site.fx-hud .profile-making img { display: block; width: 100%; height: auto; border-radius: 6px; }
#af-black.fx-site.fx-hud .profile-making-source { display: block; margin-top: 20px; font-family: var(--fx-mono); font-size: 10px; color: var(--af-accent); letter-spacing: .06em; }
#af-black.fx-site.fx-hud .profile-making h3 { margin: 10px 0; font-size: clamp(18px, 1.65vw, 24px); font-family: 'Noto Sans JP', sans-serif; line-height: 1.6; }
#af-black.fx-site.fx-hud .profile-background {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 88px);
  padding-block: 72px;
  border-bottom: 1px solid #ffffff17;
  scroll-margin-top: 100px;
}
#af-black.fx-site.fx-hud :is(.profile-background, .profile-follow) h2 { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(23px, 2.2vw, 32px); line-height: 1.6; }
#af-black.fx-site.fx-hud .profile-follow { padding-block: 64px 80px; scroll-margin-top: 100px; }
#af-black.fx-site.fx-hud .profile-socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-top: 28px; }
#af-black.fx-site.fx-hud .profile-socials a { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 24px 24px 24px 0; border-top: 1px solid #ffffff26; }
#af-black.fx-site.fx-hud .profile-socials strong { font-size: 19px; font-weight: 600; }
#af-black.fx-site.fx-hud .profile-socials a > span { font-size: 11px; line-height: 1.65; color: #aab3a2; }
#af-black.fx-site.fx-hud .profile-socials b { position: absolute; right: 2px; top: 28px; font-size: 18px; font-weight: 400; color: var(--af-accent); }
#af-black.fx-site.fx-hud .profile-socials a:hover strong { color: var(--af-accent); }
#af-black.fx-site.fx-hud :is(.hero-detail-button, .hero-media-controls button, .hero-slide-navigation button, .guide-preview-card a, .profile-flow a):focus-visible { outline: 2px solid var(--af-accent); outline-offset: 5px; }

@media (max-width: 1000px) {
  #af-black.fx-site.fx-hud .guide-preview-grid { gap: 28px 16px; }
  #af-black.fx-site.fx-hud .profile-chapter { gap: 32px; }
}
@media (max-width: 760px) {
  #af-black.fx-site.fx-hud .af-hero.af-hero-minimal {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1 / 1;
  }
  #af-black.fx-site.fx-hud .af-hero-minimal .af-hero-bottom { bottom: 80px; padding-inline: 6%; }
  #af-black.fx-site.fx-hud .af-hero-minimal .hero-feature-copy { max-width: 100%; }
  #af-black.fx-site.fx-hud .af-hero-minimal h1.af-feature-title {
    font-size: clamp(34px, 9.2vw, 66px);
    margin-top: 10px;
    line-height: .94;
    max-width: 14ch;
  }
  #af-black.fx-site.fx-hud .af-hero-minimal[data-title-script="ja"] h1.af-feature-title { font-size: clamp(31px, 8vw, 56px); line-height: 1.12; }
  #af-black.fx-site.fx-hud .af-hero-minimal .af-hero-eyebrow { font-size: 8px; letter-spacing: .08em; }
  #af-black.fx-site.fx-hud .af-hero-minimal .af-hero-caption[data-hero-artist] { font-size: 9px; letter-spacing: .08em; margin-top: 12px; }
  #af-black.fx-site.fx-hud .af-hero-minimal .hero-detail-button { margin-top: 15px; min-height: 44px; padding: 9px 17px; font-size: 11px; }
  #af-black.fx-site.fx-hud .af-hero-minimal .hero-slide-navigation .af-hero-arrow { top: auto; bottom: 17px; transform: none; width: 44px; height: 44px; }
  #af-black.fx-site.fx-hud .af-hero-minimal .hero-previous { left: 6%; }
  #af-black.fx-site.fx-hud .af-hero-minimal .hero-next { left: calc(6% + 52px); right: auto; }
  #af-black.fx-site.fx-hud .af-hero-minimal .af-hero-count { left: calc(6% + 108px); bottom: 32px; font-size: 10px; min-width: 0; }
  #af-black.fx-site.fx-hud .hero-media-controls { right: 6%; bottom: 17px; }
  #af-black.fx-site.fx-hud .af-hero-minimal .af-hero-status { left: 6%; bottom: 65px; font-size: 9px; }
  #af-black.fx-site.fx-hud .guide-preview .guide-preview-heading { align-items: flex-start; flex-direction: column; }
  #af-black.fx-site.fx-hud .guide-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; padding-bottom: 44px; }
  #af-black.fx-site.fx-hud .guide-preview-card h3 { font-size: 15px; }
  #af-black.fx-site.fx-hud .profile-main { padding-top: 102px; }
  #af-black.fx-site.fx-hud :is(.profile-chapter, .profile-background) { grid-template-columns: 1fr; gap: 28px; padding-block: 42px; }
  #af-black.fx-site.fx-hud .profile-intro { padding-top: 6px; padding-bottom: 32px; }
  #af-black.fx-site.fx-hud .profile-intro h1 { font-size: clamp(25px, 5vw, 34px); }
  #af-black.fx-site.fx-hud .profile-copy > p:not(.profile-eyebrow) { font-size: 14px; }
  #af-black.fx-site.fx-hud .profile-identity img { aspect-ratio: 4 / 3; }
  #af-black.fx-site.fx-hud .profile-identity b { font-size: clamp(48px, 10vw, 72px); }
  #af-black.fx-site.fx-hud .profile-media img { aspect-ratio: 16 / 10; }
  #af-black.fx-site.fx-hud .profile-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  #af-black.fx-site.fx-hud .profile-follow { padding-block: 42px 54px; }
}
@media (max-width: 440px) {
  #af-black.fx-site.fx-hud .guide-preview-grid { grid-template-columns: 1fr; gap: 28px; }
  #af-black.fx-site.fx-hud .guide-preview-card h3 { font-size: 16px; }
  #af-black.fx-site.fx-hud .profile-connection { font-size: 10px; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #af-black.fx-site.fx-hud :is(.song-thumbnail, .guide-preview-image img, .profile-media img, .hero-detail-button) { transition: none; }
}
