:root {
  --paper: #f3f1eb;
  --gold: #c8aa68;
  --line: #d2cec4;
}

body {
  background:
    radial-gradient(circle at 8% 5%, rgba(200,170,104,.08), transparent 27rem),
    var(--paper);
}

/* Content must remain visible even when animation observers are unavailable. */
.reveal {
  opacity: 1;
  transform: none;
}

.site-header {
  height: 88px;
  background: linear-gradient(180deg, rgba(5,5,5,.9), rgba(5,5,5,.28), transparent);
  transition: background .3s ease, border-color .3s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto clamp(24px,4vw,72px) 0;
  height: 1px;
  background: rgba(255,255,255,.16);
}

.brand img {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero::after {
  content: "RYOTA IWAKOSHI";
  position: absolute;
  right: 1.4rem;
  bottom: 2.5rem;
  z-index: 2;
  color: rgba(255,255,255,.7);
  font: italic 500 clamp(20px,2.3vw,40px)/1 var(--serif);
  letter-spacing: .06em;
  writing-mode: vertical-rl;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-profile-summary {
  width: min(620px, 100%);
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(21,21,21,.16);
  background: rgba(255,255,255,.68);
  box-shadow: 0 16px 42px rgba(20,18,14,.08);
  backdrop-filter: blur(12px);
}

@media (min-width: 761px) {
  .hero-text {
    white-space: nowrap;
  }
}

.hero-profile-summary > p {
  margin: 0;
  color: #47443f;
  font-size: 11px;
  line-height: 1.9;
}

.hero-profile-summary > .hero-profile-label {
  margin-bottom: 10px;
  color: var(--gold);
  font: 800 10px/1 var(--sans);
  letter-spacing: .24em;
}

.hero-profile-summary > .hero-profile-birth {
  margin-bottom: 15px;
  color: #171614;
  font: 600 10px/1.4 var(--sans);
  letter-spacing: .08em;
}

.hero-profile-summary details {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(21,21,21,.15);
}

.hero-profile-summary summary {
  cursor: pointer;
  color: #111;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.hero-profile-detail {
  padding-top: 15px;
}

.hero-profile-detail p,
.hero-profile-detail li {
  color: #55514b;
  font-size: 10px;
  line-height: 1.8;
}

.hero-profile-detail ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
}

.hero-profile-detail li + li {
  margin-top: 4px;
}

.hero-profile-links {
  width: min(620px, 100%);
  margin: 18px 0 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.hero-profile-links a {
  min-width: 0;
  padding: 9px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #111;
  border: 1px solid rgba(21,21,21,.18);
  background: rgba(255,255,255,.72);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  overflow: hidden;
}

.hero-profile-links b {
  min-width: 0;
  font-size: 8px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero-social-mark {
  width: 25px;
  height: 25px;
  min-width: 25px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #111;
  border-radius: 50%;
  font-size: 10px;
}

.hero-social-instagram {
  font-size: 16px;
}

.hero-social-image {
  padding: 5px;
}

.hero-social-image img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: grayscale(1) brightness(3);
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(52px,5.6vw,92px);
  letter-spacing: .02em;
}

.hero h1 span {
  display: block;
  font-size: .78em;
}

.hero-visual {
  position: relative;
  min-height: 100svh;
  background:
    linear-gradient(90deg, #f3f1eb 0%, rgba(243,241,235,.1) 24%, transparent 50%),
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,.42)),
    url("./assets/request-performance.png") center/cover no-repeat;
  filter: grayscale(1) contrast(1.08);
}

.actions .button {
  min-width: 210px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.actions .button:hover {
  transform: translateY(-2px);
}

.metrics {
  position: relative;
  z-index: 3;
  box-shadow: 0 -18px 60px rgba(0,0,0,.28);
}

.metrics div {
  min-height: 154px;
}

.profile {
  padding-top: clamp(60px,7vw,110px);
  padding-bottom: clamp(60px,7vw,110px);
}

.profile-photo {
  box-shadow: 0 26px 80px rgba(0,0,0,.15);
}

.profile-copy {
  position: relative;
  margin: clamp(30px,4vw,60px) 0;
  box-shadow: 0 22px 70px rgba(31,27,19,.09);
}

.profile-links {
  gap: 10px;
}

.profile-links a {
  min-width: 92px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}

.profile-links a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.profile-links b {
  font-size: 9px;
}

.social-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #111;
  border-radius: 50%;
  font-size: 13px;
}

.social-instagram {
  font-size: 20px;
}

.social-image {
  padding: 6px;
}

.social-image img {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  object-fit: contain;
  filter: grayscale(1) brightness(3);
}

.work-detail-card {
  scroll-margin-top: 110px;
}

.works-more-button.premium-more {
  margin: 38px auto 0;
  min-width: 260px;
  padding: 17px 24px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  border: 1px solid rgba(255,255,255,.36);
  background: transparent;
  cursor: pointer;
}

.works-more-button.premium-more:hover {
  color: #111;
  background: var(--gold);
  border-color: var(--gold);
}

.dark-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(200,170,104,.1), transparent 32rem),
    #080808;
}

.featured-track {
  gap: 24px;
}

.featured-image,
.work-card {
  border: 1px solid rgba(200,170,104,.22);
}

.featured-image {
  position: relative;
}

.featured-image::before {
  content: "♫";
  position: absolute;
  z-index: 0;
  top: 42%;
  left: 50%;
  color: #d6c486;
  font: 400 58px/1 var(--serif);
  transform: translate(-50%,-50%);
}

.featured-image::after {
  content: "MUSIC WORK";
  position: absolute;
  z-index: 0;
  top: 62%;
  left: 50%;
  color: #d6c486;
  font: 600 10px/1.5 var(--sans);
  letter-spacing: .24em;
  white-space: nowrap;
  transform: translate(-50%,-50%);
}

.featured-image img {
  position: relative;
  z-index: 1;
  background: transparent;
}

.featured-play {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #111;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}

.featured-card p {
  min-height: 1.5em;
  margin: 8px 0 0;
  color: #89857c;
  font-size: 10px;
}

.featured-card b {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  color: #fff;
  font-size: 9px;
  letter-spacing: .12em;
}

.service-card {
  transition: transform .35s ease, background .35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: #f8f4e9;
}

.works-grid {
  gap: 22px;
}

.work-card {
  box-shadow: 0 12px 36px rgba(20,18,14,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(20,18,14,.12);
}

.contact {
  min-height: 400px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.54)),
    url("./assets/request-vocal-direction.png") center/cover no-repeat;
}

@media (max-width: 760px) {
  .site-header { height: 72px; }
  .site-header::after { inset-inline: 18px; }
  .hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 42svh auto;
  }
  .hero-visual {
    grid-row: 1;
    min-height: 42svh;
    background-position: 68% center;
  }
  .hero-copy {
    grid-row: 2;
    padding: 42px 24px 70px;
  }
  .hero h1 {
    font-size: clamp(43px,13vw,60px);
  }
  .hero-profile-summary {
    margin-top: 18px;
    padding: 15px 16px;
  }
  .hero-profile-summary > p {
    font-size: 10px;
    line-height: 1.75;
  }
  .hero-profile-detail p,
  .hero-profile-detail li {
    font-size: 9px;
    line-height: 1.7;
  }
  .hero-profile-links {
    grid-template-columns: 1fr 1fr;
  }
  .hero::after {
    right: .5rem;
    bottom: 1.5rem;
    font-size: 13px;
  }
  .profile-copy { margin: 0; }
  .profile-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .profile-links a {
    min-width: 0;
    padding: 8px;
    gap: 6px;
    overflow: hidden;
  }
  .profile-links b {
    min-width: 0;
    font-size: 8px;
    line-height: 1.35;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
  }
  .profile-links .social-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    flex-basis: 30px;
  }
  .metrics div { min-height: 124px; }
  .works-grid { gap: 14px; }
  .footer-socials { flex-wrap: wrap; }
}

/* Listen / live embeds */
.listen {
  position: relative;
  padding: clamp(86px, 10vw, 150px) max(24px, calc((100vw - 1240px) / 2));
  color: #f5f2ea;
  background:
    radial-gradient(circle at 10% 0%, rgba(200,170,104,.14), transparent 28rem),
    linear-gradient(180deg, #15120e 0%, #090909 100%);
}

.listen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 100% 76px;
}

.listen .section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(38px, 5vw, 68px);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  text-align: left;
}

.listen .section-heading .section-label {
  color: var(--gold);
}

.listen .section-heading h2 {
  margin: 16px 0 0;
  color: #fff;
  font: 500 clamp(42px, 7vw, 88px)/.95 var(--serif);
  letter-spacing: -.035em;
  white-space: nowrap;
}

.listen-grid {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin-inline: auto;
  gap: 1px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.15);
}

.listen-card {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 30px);
  overflow: hidden;
  border: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: none;
}

.listen-card > strong {
  display: block;
  padding: 6px 4px 18px;
  color: var(--gold);
  font: 600 12px/1.4 var(--sans);
  letter-spacing: .16em;
}

.listen-card iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  background: #111;
}

.twitcasting-card iframe {
  height: auto;
  aspect-ratio: 16 / 9;
}

.listen-grid .listen-card > a,
.listen-grid .twitcasting-links > a {
  min-height: 0;
  margin-top: 14px;
  padding: 12px 4px 4px;
  display: inline-flex;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.twitcasting-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

/* Works archive */
.official-works-snapshot {
  --works-ink: #f5f2ea;
  --works-paper: #090909;
  --works-line: rgba(255,255,255,.14);
  position: relative;
  padding: clamp(86px, 10vw, 150px) max(24px, calc((100vw - 1240px) / 2));
  color: var(--works-ink);
  background:
    radial-gradient(circle at 88% 4%, rgba(200,170,104,.14), transparent 28rem),
    linear-gradient(180deg, #111 0%, #070707 100%);
}

.official-works-snapshot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 100% 76px;
}

#works .cinema-heading,
#works .works-browser {
  position: relative;
  z-index: 1;
}

#works .cinema-heading {
  margin-bottom: clamp(38px, 5vw, 68px);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

#works .cinema-heading p {
  margin: 0;
  color: var(--gold);
  font: 700 10px/1.4 var(--sans);
  letter-spacing: .18em;
}

#works .cinema-heading h2 {
  margin: 16px 0 0;
  color: #fff;
  font: 500 clamp(42px, 7vw, 88px)/.95 var(--serif);
  letter-spacing: -.035em;
}

#works .works-tools {
  padding: clamp(24px, 3.2vw, 42px);
  display: grid;
  grid-template-columns: minmax(220px, .75fr) 1.25fr;
  align-items: start;
  gap: 30px 48px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
}

#works .works-search span {
  color: var(--gold);
  font-weight: 700;
}

#works .works-tools input {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.42);
}

#works .works-tools input::placeholder {
  color: rgba(255,255,255,.45);
}

#works .work-category-tabs,
#works .artist-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#works .work-category-tabs button,
#works .artist-filter-tabs button {
  padding: 10px 14px;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: transparent;
  font: 700 9px/1 var(--sans);
  letter-spacing: .08em;
  transition: .25s ease;
}

#works .work-category-tabs button:hover,
#works .artist-filter-tabs button:hover,
#works .work-category-tabs button.is-active,
#works .artist-filter-tabs button.is-active {
  color: #111;
  border-color: var(--gold);
  background: var(--gold);
}

#works .artist-filter-panel {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
}

#works .artist-filter-panel summary {
  min-height: 48px;
  padding: 14px 52px 14px 0;
  color: #fff;
  font-size: 11px;
  letter-spacing: .14em;
}

#works .artist-filter-panel[open] .artist-filter-tabs {
  padding-top: 18px;
}

#works .works-list {
  margin-top: clamp(34px, 5vw, 64px);
  gap: 18px;
}

#works .work-detail-card {
  padding: clamp(22px, 2.4vw, 32px);
  color: #f3f0e9;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: none;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

#works .work-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,170,104,.55);
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.04));
}

#works .work-tags span {
  color: var(--gold);
}

#works .work-detail-card h3 {
  margin: 16px 0 22px;
  color: #fff;
  font: 500 clamp(18px, 1.7vw, 24px)/1.55 var(--serif);
}

#works .work-detail-lines {
  padding: 0;
  list-style: none;
}

#works .work-detail-lines li {
  color: rgba(255,255,255,.58);
  font-size: 10px;
  line-height: 1.75;
}

#works .work-detail-more {
  border-top-color: rgba(255,255,255,.14);
}

#works .work-detail-more summary {
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
}

/* Contact and service destinations */
.contact {
  min-height: 0;
  padding: clamp(82px, 9vw, 138px) max(20px, calc((100vw - 1240px) / 2));
  display: block;
  color: #fff;
  background:
    radial-gradient(circle at 8% 0%, rgba(200,170,104,.13), transparent 28rem),
    #080808;
}

.contact-shell {
  width: 100%;
}

.contact-heading {
  max-width: 760px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.contact-heading h2 {
  margin: 14px 0 20px;
  color: #fff;
  font: 500 clamp(40px, 6vw, 78px)/1.08 var(--serif);
  white-space: nowrap;
}

.contact .contact-heading > p:not(.section-label) {
  max-width: 620px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 2;
}

.contact-services {
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
}

.contact-services .brand-panel {
  min-height: 390px;
  padding: clamp(30px, 3vw, 48px);
}

.contact-services .brand-panel p {
  color: var(--gold);
}

.contact-services .brand-panel h2 {
  color: #fff;
  font-size: clamp(31px, 3.2vw, 52px);
  line-height: 1.15;
  white-space: nowrap;
}

.contact-services .brand-panel span {
  display: block;
  max-width: 34em;
  color: rgba(255,255,255,.7);
  line-height: 1.85;
}

.contact-services .brand-panel b {
  width: fit-content;
  padding-bottom: 7px;
  color: #fff;
  border-bottom: 1px solid var(--gold);
}

.contact-direct {
  margin-top: 1px;
  padding: 28px clamp(24px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
}

.contact-direct strong {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .16em;
}

.contact .contact-direct p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 11px;
}

@media (max-width: 760px) {
  .listen {
    padding: 78px 20px;
  }

  .listen .section-heading h2 {
    font-size: clamp(34px, 11.2vw, 50px);
  }

  #works .cinema-heading h2 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .listen-grid {
    grid-template-columns: 1fr;
  }

  .listen-card {
    padding: 12px;
  }

  .twitcasting-card {
    margin-top: 22px;
    padding-top: 20px;
  }

  #works .works-tools {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #works .artist-filter-panel {
    grid-column: auto;
  }

  #works .works-list {
    grid-template-columns: 1fr;
  }

  .contact-heading h2 {
    font-size: clamp(20px, 6.5vw, 54px);
  }

  .contact-services {
    grid-template-columns: 1fr;
  }

  .contact-services .brand-panel {
    min-height: 340px;
    padding: 34px 28px;
  }

  .contact-services .brand-panel h2 {
    font-size: clamp(24px, 8.2vw, 48px);
  }

  .contact-services .brand-panel p {
    font-size: 9px;
    line-height: 1.6;
  }

  .contact-direct {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-direct .button {
    width: 100%;
    min-width: 0;
  }
}
