/* Static Works/News detail pages generated by scripts/build.mjs.
   Brand colours: teal #0e6e7d (the logo ground), white #fbffff (the mark and wordmark), sky #8decfc ("MUSIC"). */
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400 800;font-display:swap;src:url('/assets/fonts/hanken-grotesk-latin-normal-v12.woff2') format('woff2')}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/quicksand-latin-normal-v37.woff2') format('woff2')}

:root {
  --brand: #0e6e7d;
  --brand-deep: #0a4f5b;
  --brand-night: #073640;
  --sky: #8decfc;
  --white: #fbffff;
  --ink: #fbffff;
  --soft: rgba(251, 255, 255, .78);
  --muted: rgba(251, 255, 255, .58);
  --paper: #fffdf8;
  --accent: #8decfc;
  --line: rgba(251, 255, 255, .14);
  --glass: rgba(251, 255, 255, .07);
  --cjk-primary: 'Nanum Gothic';
  --cjk-secondary: 'Noto Sans JP';
  --body: 'Hanken Grotesk', var(--cjk-primary), var(--cjk-secondary), system-ui, sans-serif;
  --display: 'Quicksand', var(--cjk-primary), var(--cjk-secondary), sans-serif;
  color-scheme: dark;
}
:root:lang(ja) { --cjk-primary: 'Noto Sans JP'; --cjk-secondary: 'Nanum Gothic'; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--brand-night); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 50% -8%, rgba(141, 236, 252, .16), rgba(141, 236, 252, 0) 62%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 46%, var(--brand-night) 100%) fixed;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
html:lang(ja) body { word-break: normal; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.tt-d-skip { position: absolute; left: -9999px; }
.tt-d-skip:focus { left: 16px; top: 12px; z-index: 10; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--brand-night); }

.tt-d-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 22px 24px; }
.tt-d-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.tt-d-brand img { width: 34px; height: 40px; object-fit: contain; }
.tt-d-word { display: inline-flex; flex-direction: column; align-items: flex-end; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .3em; line-height: 1.1; color: var(--white); }
.tt-d-word small { font-size: 8.5px; letter-spacing: .42em; margin-right: -.42em; color: var(--sky); }
.tt-d-langs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(251, 255, 255, .1); border: 1px solid rgba(251, 255, 255, .18); }
.tt-d-langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 32px; padding: 0 10px; border-radius: 999px; text-decoration: none; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 12px; line-height: 1; color: var(--soft); }
.tt-d-langs a[aria-current="true"] { background: var(--white); color: var(--brand); }

main { max-width: 1120px; margin: 0 auto; padding: 8px 24px 72px; }

.tt-d-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 13px; font-weight: 700; color: var(--muted); }
.tt-d-crumbs li + li::before { content: '/'; margin-right: 8px; color: rgba(251, 255, 255, .3); }
.tt-d-crumbs a { color: var(--sky); text-decoration: none; }

/* the music video first */
.tt-d-stage { margin: 0 0 clamp(28px, 4vw, 44px); }
.tt-yt { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #04252c; box-shadow: 0 34px 80px rgba(2, 20, 26, .5), 0 0 0 1px rgba(251, 255, 255, .1); }
.tt-yt img { width: 100%; height: 100%; object-fit: cover; }
.tt-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tt-yt-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(180deg, rgba(4, 30, 36, 0) 40%, rgba(4, 30, 36, .5)); }
.tt-yt-play span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(251, 255, 255, .94); box-shadow: 0 14px 34px rgba(0, 0, 0, .35), 0 0 0 10px rgba(251, 255, 255, .16); transition: transform .3s cubic-bezier(.2, .8, .2, 1.3); }
.tt-yt-play span::before { content: ''; margin-left: 6px; border-left: 24px solid var(--brand); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.tt-yt-play:hover span, .tt-yt-play:focus-visible span { transform: scale(1.08); }
.tt-d-cover { margin: 0 auto; width: min(560px, 100%); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(2, 20, 26, .45); }
.tt-d-cover img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

/* the story beside the record */
.tt-d-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tt-d-kicker { margin: 0 0 12px; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--sky); }
h1 { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.02em; overflow-wrap: anywhere; }
.tt-d-artist { margin: 0 0 22px; font-weight: 800; font-size: 18px; color: var(--soft); }
.tt-d-lead { margin: 0 0 28px; font-size: 17px; line-height: 1.8; color: var(--soft); white-space: pre-line; text-wrap: pretty; }

.tt-d-record { display: grid; gap: 18px; padding: 18px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.tt-d-record-cover { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px rgba(2, 20, 26, .4); }
.tt-d-facts { display: grid; gap: 10px; margin: 0; }
.tt-d-facts div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.tt-d-facts dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); padding-top: 2px; }
.tt-d-facts dd { margin: 0; font-weight: 700; }

.tt-d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.tt-d-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--white); color: var(--brand); font-weight: 800; font-size: 14px; line-height: 1; text-decoration: none; transition: transform .2s, background .2s; }
.tt-d-button:hover { transform: translateY(-1px); }
.tt-d-button span { display: inline-block; line-height: 1; transform: translateY(-.04em); }
.tt-d-button.is-ghost { background: transparent; color: var(--white); border: 1px solid rgba(251, 255, 255, .4); }
.tt-d-button.is-ghost:hover { background: rgba(251, 255, 255, .08); }
.tt-d-button:focus-visible, .tt-d-langs a:focus-visible, .tt-d-brand:focus-visible, .tt-yt-play:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.tt-d-listen { margin: 0; }
.tt-d-listen span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tt-d-listen audio, .tt-d-tracks audio { color-scheme: light; }
.tt-d-listen audio { width: 100%; }

.tt-d-section { margin-top: 56px; }
.tt-d-section h2 { margin: 0 0 16px; font-family: var(--display); font-size: 24px; letter-spacing: -.01em; }
.tt-d-card { padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.tt-d-credits { margin: 0; white-space: pre-wrap; font-family: var(--body); font-size: 15px; line-height: 1.8; color: var(--soft); }

.tt-d-tracks { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.tt-d-tracks li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.tt-d-tracks li:last-child { border-bottom: 0; }
.tt-d-tracks .no { font-family: 'Quicksand', sans-serif; font-weight: 700; color: var(--sky); }
.tt-d-tracks .title { font-weight: 800; }
.tt-d-tracks .title small { display: block; font-weight: 600; font-size: 13px; color: var(--muted); }
.tt-d-tracks audio { width: 220px; height: 36px; }

/* news pages share this stylesheet */
.tt-d-hero.is-wide { display: block; }
.tt-d-hero.is-wide .tt-d-cover { width: 100%; }
.tt-d-hero.is-wide .tt-d-cover img { aspect-ratio: 16 / 9; }
.tt-d-article { max-width: 760px; }
.tt-d-article p { margin: 0 0 1.1em; font-size: 17px; color: var(--soft); }

.tt-d-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.tt-d-pager a { display: block; padding: 18px 20px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.tt-d-pager a:hover { background: rgba(251, 255, 255, .12); }
.tt-d-pager a.next { text-align: right; grid-column: 2; }
.tt-d-pager small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.tt-d-pager strong { display: block; margin-top: 4px; overflow-wrap: anywhere; }

/* the invitation: a light card on the teal, its button in the brand colour */
.tt-d-cta { display: flex; flex-direction: column; align-items: center; margin-top: 64px; padding: clamp(32px, 5vw, 56px); border-radius: 26px; background: var(--paper); color: #0b3a44; text-align: center; }
.tt-d-cta h2 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(26px, 4vw, 40px); line-height: 1.15; color: var(--brand-night); }
.tt-d-cta p { margin: 0; max-width: 560px; color: rgba(11, 58, 68, .74); text-wrap: balance; }
.tt-d-cta .tt-d-button { margin: 32px 0; background: var(--brand); color: var(--white); }
.tt-d-cta .tt-d-button:hover { background: var(--brand-deep); }
.tt-d-guide-title { margin: 0 0 10px !important; font-weight: 800; font-size: 14px; color: var(--brand-night) !important; }
.tt-d-guide { margin: 0; padding-left: 18px; text-align: left; font-size: 14px; line-height: 1.8; color: rgba(11, 58, 68, .74); }

.tt-d-foot { max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; font-size: 12px; font-weight: 700; color: var(--muted); }

@media (max-width: 860px) {
  .tt-d-body { grid-template-columns: 1fr; }
  .tt-d-record { grid-template-columns: 120px minmax(0, 1fr); align-items: center; }
  .tt-d-record .tt-d-listen { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .tt-d-top { padding: 16px; }
  main { padding: 4px 16px 56px; }
  .tt-yt { border-radius: 16px; }
  .tt-yt-play span { width: 64px; height: 64px; }
  .tt-yt-play span::before { border-left-width: 19px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 5px; }
  .tt-d-record { grid-template-columns: 96px minmax(0, 1fr); }
  .tt-d-facts div { grid-template-columns: 72px minmax(0, 1fr); }
  .tt-d-tracks li { grid-template-columns: 28px minmax(0, 1fr); }
  .tt-d-tracks audio { grid-column: 2; width: 100%; }
  .tt-d-pager { grid-template-columns: 1fr; }
  .tt-d-pager a.next { grid-column: 1; }
  .tt-d-foot { padding: 0 16px 32px; }
}

/* with a video on the page the side card holds only the facts */
.tt-d-record.is-facts { gap: 0; padding: 20px 22px; }
.tt-d-record.is-facts .tt-d-facts { gap: 14px; }
@media (max-width: 860px) { .tt-d-record.is-facts { grid-template-columns: 1fr; } }
/* long credits scroll inside their card */
.tt-d-credits { max-height: min(360px, 55vh); overflow-y: auto; overscroll-behavior: contain; padding-right: 10px;
  scrollbar-width: thin; scrollbar-color: rgba(141, 236, 252, .45) transparent; }
.tt-d-credits::-webkit-scrollbar { width: 6px; }
.tt-d-credits::-webkit-scrollbar-thumb { background: rgba(141, 236, 252, .45); border-radius: 6px; }
.tt-d-credits:focus-visible { outline: 2px solid #8decfc; outline-offset: 6px; border-radius: 4px; }
.tt-d-credits { padding-bottom: 28px; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 40px), transparent); }
