:root {
  --paper: #fdf6ef;
  --charcoal: #171511;
  --charcoal-soft: #2d2922;
  --sun-yellow: #d89b00;
  --wood: #6b4326;
  --line: rgba(23, 21, 17, 0.24);
  --line-soft: rgba(23, 21, 17, 0.14);
  --max-width: 1120px;
  --heading-serif: "Charter", "Bookman Old Style", "Iowan Old Style", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image: url("assets/images/paper-texture.jpg");
  background-repeat: repeat;
  background-size: 370px auto;
  color: var(--charcoal);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--wood);
}

a:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--charcoal);
  color: var(--paper);
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background-color: var(--paper);
  background-image: url("assets/images/paper-texture.jpg");
  background-repeat: repeat;
  background-size: 370px auto;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.site-header.is-visible,
body.is-past-hero .site-header {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.site-header__inner {
  width: min(100% - 40px, var(--max-width));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  font-size: 0.8rem;
}

.site-nav a {
  text-decoration: none;
}

.section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 20px 72px;
}

.hero__inner {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 20px;
}

.hero__title {
  margin: 0;
  line-height: 0;
}

.hero__logo {
  width: auto;
  height: auto;
  max-width: min(78vw, 1080px);
  max-height: 66svh;
  object-fit: contain;
  opacity: 0;
  animation: logo-fade 4.8s linear 0.18s both;
}

.hero__tagline {
  margin: 0;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--charcoal-soft);
  opacity: 0;
  animation: tagline-fade 1.5s ease-out 3.4s both;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  color: rgba(23, 21, 17, 0.64);
  opacity: 0;
  animation: scroll-cue-fade 0.9s ease-out 4.55s both;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: rgba(23, 21, 17, 0.34);
}

.section:not(.hero) {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid transparent;
  scroll-margin-top: 78px;
}

.section:not(.hero)::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.section__body {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.section h2 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
}

.about h2,
.works h2,
.works-group h3,
.contact h2 {
  font-family: var(--heading-serif);
  font-weight: 900;
  letter-spacing: 0;
}

.section p {
  margin: 0;
  font-size: 1.08rem;
}

.about p {
  max-width: 820px;
}

.service-list {
  border-top: 0;
}

.service-item {
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
}

.service-item:last-child {
  border-bottom: 0;
}

.service-item h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.service-item p {
  max-width: 650px;
}

.works-list {
  border-top: 0;
}

.works-group {
  padding: 38px 0 46px;
  border-bottom: 1px solid var(--line-soft);
}

.works-group:first-child {
  border-top: 1px solid var(--line);
}

.works-group--songwriting {
  position: relative;
  border-bottom-color: transparent;
}

.works-group--songwriting::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--line-soft);
}

.works-group h3,
.works-category h4 {
  margin: 0;
}

.works-group h3 {
  font-family: var(--heading-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.12;
  color: var(--wood);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.works-category h4 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.24;
  color: var(--charcoal);
}

.works-group p {
  max-width: 680px;
}

.works-group h3 + p {
  margin-top: 18px;
}

.works .works-status {
  margin-top: 18px;
  color: var(--wood);
  font-weight: 700;
}

.label-release {
  margin-top: 28px;
  padding: 20px 0 8px;
}

.label-release__header {
  max-width: 760px;
}

.label-release__title {
  margin: 0;
  font-family: var(--heading-serif);
  font-size: clamp(1.625rem, 3.5vw, 1.75rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--charcoal);
}

.label-release__meta {
  margin-top: 12px;
  color: var(--wood);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.55;
}

.label-release__media {
  width: min(42vw, 340px);
  aspect-ratio: 1;
  margin-top: 26px;
}

.label-release__media[hidden] {
  display: none;
}

.label-release__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label-release__content {
  max-width: 760px;
  margin-top: 28px;
}

.label-release__description {
  max-width: 760px;
  font-size: 1.02rem;
  line-height: 2;
}

.work-accordion {
  margin-top: 24px;
}

.work-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  color: var(--wood);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  list-style: none;
}

.work-accordion summary::-webkit-details-marker {
  display: none;
}

.work-accordion summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--charcoal-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.work-accordion[open] summary::after {
  content: "-";
}

.work-accordion summary:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 4px;
}

.work-accordion__body {
  padding: 2px 0 22px;
  color: var(--charcoal-soft);
}

.work-accordion__body p {
  max-width: 760px;
}

.work-accordion[open] .work-accordion__body {
  animation: accordion-fade 0.28s ease-out both;
}

.release-credits {
  margin-top: 36px;
}

.release-credits h5,
.full-credits__section h6 {
  margin: 0;
  color: var(--charcoal-soft);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.35;
}

.credit-list {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
}

.credit-pair {
  min-width: 0;
}

.credit-pair dt {
  color: var(--charcoal-soft);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.credit-pair dd {
  margin: 4px 0 0;
  color: var(--charcoal);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.full-credits {
  margin-top: 20px;
}

.full-credits__section {
  padding-top: 22px;
}

.works-categories {
  margin-top: 44px;
}

.works-category {
  padding: 0 0 44px;
}

.works-category:last-child {
  padding-bottom: 0;
}

.works-category--featured {
  padding-top: 0;
}

.works-category__heading {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.works-category:first-child .works-category__heading {
  padding-top: 0;
  border-top: 0;
}

.works .works-intro {
  margin-top: 12px;
  font-size: 1.08rem;
}

.works .works-note {
  margin-top: 10px;
  color: var(--charcoal-soft);
  font-size: 0.96rem;
}

.discography-title {
  margin: 48px 0 0;
  color: var(--charcoal-soft);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.35;
}

.works-category h4 + .discography-title {
  margin-top: 28px;
}

.release-list {
  margin-top: 22px;
  border-top: 0;
}

.release-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
}

.release-item + .release-item {
  border-top: 1px solid var(--line-soft);
}

.release-item--image-missing {
  grid-template-columns: minmax(0, 1fr);
}

.release-item__media {
  width: 118px;
  aspect-ratio: 1;
}

.release-item__media[hidden] {
  display: none;
}

.release-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-item__body h6 {
  margin: 0 0 8px;
  font-size: clamp(1.28rem, 2.2vw, 1.62rem);
  line-height: 1.25;
  font-weight: 700;
}

.release-date,
.release-credit {
  color: var(--charcoal-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.release-credit {
  margin-top: 6px;
}

.mail-link {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.social-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 30px 0 0;
  padding: 0;
}

.social-links:empty {
  display: none;
}

.social-links a {
  font-weight: 700;
}

.site-footer {
  position: relative;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 36px 0 44px;
  border-top: 1px solid transparent;
  font-size: 0.86rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.site-footer p {
  margin: 0;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.92s ease-out,
    transform 0.92s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .section[data-section-reveal]::before {
  opacity: 0;
  transition: opacity 0.92s ease-out;
}

.reveal-ready .section[data-section-reveal].is-section-revealed::before {
  opacity: 1;
}

.reveal-ready .works-group--songwriting[data-group-line-reveal]::after,
.reveal-ready .site-footer[data-footer-line-reveal]::before {
  opacity: 0;
  transition: opacity 0.92s ease-out;
}

.reveal-ready .works-group--songwriting[data-group-line-reveal].is-group-line-revealed::after,
.reveal-ready .site-footer[data-footer-line-reveal].is-footer-line-revealed::before {
  opacity: 1;
}

@keyframes logo-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes tagline-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scroll-cue-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes accordion-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 899px) {
  .site-header__inner {
    width: min(100% - 32px, var(--max-width));
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 6px 18px;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero__logo {
    max-width: 91vw;
    max-height: 58svh;
  }

  .section:not(.hero) {
    width: min(100% - 32px, var(--max-width));
    padding: 72px 0;
    scroll-margin-top: 94px;
  }

  .section p {
    font-size: 1rem;
  }

  .label-release__media {
    width: min(54vw, 260px);
  }
}

@media (max-width: 560px) {
  .site-brand {
    font-size: 0.82rem;
  }

  .site-nav {
    font-size: 0.74rem;
    gap: 6px 14px;
  }

  .hero__inner {
    gap: 16px;
  }

  .hero__logo {
    max-width: 92vw;
    max-height: 54svh;
  }

  .hero__tagline {
    font-size: 0.92rem;
  }

  .section:not(.hero) {
    padding: 64px 0;
  }

  .label-release {
    margin-top: 24px;
    padding-top: 20px;
  }

  .label-release__media {
    width: min(72vw, 240px);
    margin-top: 22px;
  }

  .work-accordion summary {
    letter-spacing: 0.1em;
  }

  .works-intro,
  .works-note {
    font-size: 1rem;
  }

  .release-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .release-item__media {
    width: min(44vw, 150px);
  }
}

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

  .hero__logo {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero__tagline {
    animation: none;
    opacity: 1;
  }

  .scroll-cue {
    animation: none;
    opacity: 1;
  }

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .reveal-ready .section[data-section-reveal]::before {
    opacity: 1 !important;
    transition: none !important;
  }

  .reveal-ready .works-group--songwriting[data-group-line-reveal]::after,
  .reveal-ready .site-footer[data-footer-line-reveal]::before {
    opacity: 1 !important;
    transition: none !important;
  }

  .work-accordion[open] .work-accordion__body {
    animation: none;
  }
}
