/* Artist pages (DJ subdomains) — shared styles, builds on /assets/css/styles.css. Classes use the ryo- prefix. */

/* ---------- Top bar ---------- */

.ryo-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.ryo-bar-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 3vw, 36px); height: 76px; }
.ryo-back {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--navy);
}
.ryo-back:hover span { border-bottom-color: currentColor; }
.ryo-back span { border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color 0.25s; }
.ryo-back svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.ryo-back:hover svg { transform: translateX(-3px); }
.ryo-bar .btn-solid { padding: 14px 22px; font-size: 12px; }

/* The language switch, beside Book on a page that can be read in the artist's own language
   (src/translate.js): EN and the other language, square like the site's buttons, the one showing filled */
.ryo-bar-end { display: flex; align-items: center; gap: 14px; }
.ryo-lang { display: inline-flex; flex: none; border: 1px solid var(--line-strong); }
.ryo-lang-link {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 36px; padding: 0 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; color: var(--navy);
  transition: background 0.2s, color 0.2s;
}
.ryo-lang-link:hover { background: rgba(43, 54, 64, 0.08); }
.ryo-lang-link[aria-current="true"] { background: var(--navy); color: var(--paper); }

/* Mini player in the top bar */
.ryo-bar-player {
  justify-self: center; width: min(100%, 440px);
  display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; align-items: center;
}
.ryo-bar-toggle {
  grid-row: 1 / span 2; width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; background: var(--slate); color: var(--cream); cursor: pointer; transition: background 0.25s;
}
.ryo-bar-toggle:hover { background: var(--navy); }
.ryo-bar-toggle svg { width: 18px; height: 18px; }
.ryo-bar-toggle .i-pause { display: none; }
.ryo-bar-player.is-playing .ryo-bar-toggle .i-play { display: none; }
.ryo-bar-player.is-playing .ryo-bar-toggle .i-pause { display: block; }
.ryo-bar-info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-width: 0; }
.ryo-bar-title {
  font-family: var(--font-display); font-size: 19px; line-height: 1.1; text-transform: uppercase; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ryo-bar-time { flex: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.ryo-bar-progress { position: relative; height: 14px; cursor: pointer; }
.ryo-bar-progress::before, .ryo-bar-fill {
  content: ""; position: absolute; left: 0; top: 50%; height: 3px; transform: translateY(-50%);
}
.ryo-bar-progress::before { right: 0; background: var(--line); }
.ryo-bar-fill { width: 0; background: var(--accent); transition: width 0.9s linear; }
.ryo-bar-progress:hover::before, .ryo-bar-progress:hover .ryo-bar-fill { height: 5px; }

/* ---------- Hero ---------- */

.ryo-hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 100px) 0 clamp(56px, 7vw, 88px); background: var(--paper); }
.ryo-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }

.ryo-name {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--slate);
  font-size: clamp(96px, 15vw, 220px); line-height: 0.86; letter-spacing: 0.005em;
  margin: 26px 0 30px;
}
/* Longer single-word names (e.g. GIOVANI) step down so they fit the column */
.ryo-name--long { font-size: clamp(52px, 11.5vw, 160px); }
/* Names and layouts for pages created in the /admin editor, where name length and photos vary */
.ryo-name--xlong { font-size: clamp(40px, 7.5vw, 104px); line-height: 0.95; overflow-wrap: anywhere; }
.ryo-hero-grid--solo { grid-template-columns: 1fr; }
/* An artist's own logo shown in place of the big name (YAMATOMAYA's page). The heading stays, hidden
   from view, so search engines and screen readers still get the name */
/* Centred over the text under it, the Listen and Booking rows (.ryo-actions, 460px wide; full width on
   phones), not the whole grid column, which runs on past them to the photo. Centring on the column put
   the logo off to the right of everything below it. */
.ryo-logo { --logo-w: min(clamp(200px, 30vw, 380px), 100%); --logo-under: min(100%, 460px); display: block; width: var(--logo-w); max-width: 100%; height: auto; margin: 26px 0 30px max(0px, calc((var(--logo-under) - var(--logo-w)) / 2)); }
/* More air above and below a logo that's mostly solid shape (Chris Ryo's stamp), so it doesn't crowd the text */
.ryo-logo--roomy { margin-top: clamp(36px, 4vw, 52px); margin-bottom: clamp(40px, 4.5vw, 56px); }
.ryo-name--logo { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ryo-preview-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 12px var(--gutter); background: var(--navy); color: var(--cream); font-size: 15px; }
.ryo-preview-bar a { color: var(--cream); text-decoration: underline; }
.ryo-hero-copy .lede { color: var(--muted); max-width: 470px; }

.ryo-portrait { position: relative; margin: 0; }
.ryo-portrait::before {
  content: ""; position: absolute; inset: 7% -6% -6% 7%; z-index: -1;
  border: 1px solid var(--slate);
}
.ryo-portrait img {
  width: 100%; height: auto; object-fit: cover;
}
.ryo-portrait figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 12px 16px; background: var(--slate); color: var(--cream);
}

.ryo-facts {
  display: grid; grid-template-columns: repeat(var(--facts, 4), 1fr); margin: clamp(56px, 7vw, 88px) 0 0;
  border-top: 1px solid var(--line-strong);
}
.ryo-facts div { padding: 26px 22px 0 0; }
.ryo-facts div + div { padding-left: 22px; border-left: 1px solid var(--line-strong); }
.ryo-facts dt { font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 48px); line-height: 1; text-transform: uppercase; color: var(--navy); }
.ryo-facts dd { margin: 10px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Bio ---------- */

.ryo-bio { background: var(--slate); }
.ryo-bio .h2 em { color: var(--ink); }
.ryo-bio-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ryo-bio-copy p { font-size: 19px; line-height: 1.75; }
/* Bios pasted with headings, "Label: value" lines and lists (src/bio.js) */
.ryo-bio-copy > :first-child { margin-top: 0; }
.ryo-bio-copy a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ryo-bio-h { display: flex; align-items: center; gap: 12px; margin: 40px 0 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); }
.ryo-bio-h::before { content: ""; flex: none; width: 24px; height: 1px; background: currentColor; opacity: 0.6; }
.ryo-bio-list { display: grid; gap: 10px; margin: 0 0 1em; padding: 0; list-style: none; }
.ryo-bio-list li { position: relative; padding-left: 24px; font-size: 18px; line-height: 1.6; color: rgba(220, 225, 229, 0.92); }
.ryo-bio-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 2px; background: var(--cream); }
.ryo-bio-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0 0 32px; border-top: 1px solid rgba(220, 225, 229, 0.25); }
.ryo-bio-facts div { padding: 14px 16px 14px 0; border-bottom: 1px solid rgba(220, 225, 229, 0.25); }
.ryo-bio-facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(220, 225, 229, 0.92); }
.ryo-bio-facts dd { margin: 4px 0 0; font-size: 17px; line-height: 1.4; color: var(--cream); overflow-wrap: anywhere; }
.ryo-dropcap::first-letter {
  float: left; font-family: var(--font-display); font-size: 96px; line-height: 0.82;
  padding: 6px 14px 0 0; color: var(--cream);
}

/* ---------- Sound ---------- */

.ryo-sound { padding: clamp(64px, 8vw, 100px) 0; background: var(--paper-2); }
.ryo-sound-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 32px; }
.ryo-sound-head p { margin: 0; font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: var(--muted); }
.ryo-tags { display: flex; flex-wrap: wrap; gap: 14px; }
.ryo-tags li {
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(20px, 2.2vw, 30px); color: var(--slate);
  padding: 12px 22px; border: 1px solid var(--slate);
  transition: background 0.3s, color 0.3s;
}
.ryo-tags li:hover { background: var(--slate); color: var(--cream); }

/* ---------- Listen ---------- */

/* Hero action stack: Listen, Booking, Bio as editorial rows (matches the site's line-and-square style) */
.ryo-actions { display: grid; width: min(100%, 460px); margin: 36px 0 6px; border-top: 1px solid var(--line-strong); }
.ryo-action {
  display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line-strong); color: var(--navy);
}
.ryo-action-icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid var(--slate); color: var(--slate);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.ryo-action-icon svg { width: 22px; height: 22px; }
.ryo-action-text { display: grid; gap: 6px; }
.ryo-action-text strong { font-family: var(--font-body); font-weight: 500; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.18em; color: var(--navy); transition: color 0.3s; }
.ryo-action-text small { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ryo-action-arrow { color: var(--slate); transition: transform 0.35s var(--ease); }
.ryo-action-arrow svg { width: 22px; height: 22px; display: block; }

.ryo-action:hover .ryo-action-icon { background: var(--slate); color: var(--cream); }
.ryo-action:hover .ryo-action-text strong { color: var(--slate); }
.ryo-action:hover .ryo-action-arrow { transform: translateX(6px); }

/* Profile links: smaller squares in the same style */
.ryo-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.ryo-follow-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ryo-socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ryo-social {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--slate); color: var(--slate);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.ryo-social svg { width: 20px; height: 20px; }
.ryo-social:hover, .ryo-social:focus-visible { background: var(--slate); color: var(--cream); }
.ryo-footer .ryo-social { border-color: rgba(220, 225, 229, 0.45); color: var(--cream); }
.ryo-footer .ryo-social:hover, .ryo-footer .ryo-social:focus-visible { background: var(--cream); border-color: var(--cream); color: var(--navy); }

/* Listen leads: filled square */
.ryo-action--listen .ryo-action-icon { background: var(--slate); color: var(--cream); }
.ryo-action--listen .ryo-play { margin-left: 2px; }
.ryo-action--listen:hover .ryo-action-icon { background: var(--navy); border-color: var(--navy); }

/* Equalizer shown while a mix is playing */
.ryo-eq { display: none; align-items: flex-end; gap: 3px; height: 22px; }
.ryo-eq i { width: 4px; background: currentColor; transform-origin: bottom; animation: ryoEq 0.9s ease-in-out infinite alternate; }
.ryo-eq i:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.ryo-eq i:nth-child(2) { height: 90%; animation-delay: -0.5s; }
.ryo-eq i:nth-child(3) { height: 60%; animation-delay: -0.1s; }
.ryo-eq i:nth-child(4) { height: 80%; animation-delay: -0.7s; }
@keyframes ryoEq { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
.ryo-listen-btn.is-playing .ryo-play { display: none; }
.ryo-listen-btn.is-playing .ryo-eq { display: flex; }

.ryo-listen { background: var(--navy); }
.ryo-player { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }

.ryo-now { background: var(--paper); color: var(--text); display: grid; grid-template-columns: 180px 1fr; }
.ryo-now-art { width: 180px; height: 180px; object-fit: cover; }
.ryo-now-info { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.ryo-now-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--slate); }
.on-dark .ryo-mixes-wrap .ryo-now-label { color: rgba(220, 225, 229, 0.92); }
.ryo-now-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); text-transform: uppercase; color: var(--navy); margin: 8px 0 6px; }
.on-dark .ryo-now-meta { margin: 0; font-size: 15px; color: var(--muted); }
.ryo-widget { grid-column: 1 / -1; display: block; width: 100%; height: 60px; border: 0; border-top: 1px solid var(--line); background: #fff; }
.ryo-widget--sc { height: 166px; }
.ryo-widget[hidden] { display: none; }

/* Mixes / Remixes & Edits switcher on pages with both Mixcloud and SoundCloud */
/* Two big switches, styled like the hero buttons: the filled one is the list showing */
.ryo-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: -6px; }
.ryo-tab {
  display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 12px; padding: 14px 16px;
  background: transparent; border: 1px solid var(--line-light); color: var(--cream);
  text-align: left; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.ryo-tab svg { width: 30px; height: 30px; }
.ryo-tab-text { display: grid; gap: 3px; min-width: 0; }
.ryo-tab-text strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1; text-transform: uppercase; }
.ryo-tab-text small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.ryo-tab:hover { border-color: var(--cream); }
.ryo-tab.is-active { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.ryo-tab:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.ryo-panel { width: 100%; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ryo-panel[hidden] { display: none; }
.ryo-panel .ryo-mixes { border-top: 1px solid var(--line-light); }

/* Video under the player: a poster until tapped, then the YouTube player */
.ryo-watch { margin-top: clamp(48px, 6vw, 80px); }
.ryo-video { position: relative; margin-top: 28px; aspect-ratio: 16 / 9; background: #000; }
.ryo-video iframe, .ryo-video-poster, .ryo-video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ryo-video-poster { display: block; color: var(--cream); overflow: hidden; }
.ryo-video-poster img { object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.3s; }
/* Caption sits at the top: the video's own still carries its title bottom-left */
.ryo-video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 11, 13, 0.75), transparent 40%); }
.ryo-video-poster:hover img { transform: scale(1.03); }
.ryo-video-play {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center; background: var(--cream); color: var(--navy); transition: transform 0.3s var(--ease);
}
.ryo-video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.ryo-video-poster:hover .ryo-video-play, .ryo-video-poster:focus-visible .ryo-video-play { transform: scale(1.08); }
.ryo-video-caption { position: absolute; z-index: 1; left: 24px; top: 20px; display: grid; gap: 6px; }
.ryo-video-caption strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; line-height: 1; }
.ryo-video-caption small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(220, 225, 229, 0.92); }
.ryo-video-caption[hidden] { display: none; }
/* More than one video: a row of pictures under the player, each plays in it */
.ryo-video-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.ryo-video-pick {
  display: grid; gap: 10px; height: 100%; padding-bottom: 4px; color: rgba(220, 225, 229, 0.92); text-decoration: none;
  border-bottom: 2px solid transparent; transition: color 0.25s, border-color 0.25s;
}
.ryo-video-pick img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; opacity: 0.7; transition: opacity 0.25s; }
.ryo-video-pick span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ryo-video-pick:hover, .ryo-video-pick:focus-visible, .ryo-video-pick.is-active { color: var(--cream); }
.ryo-video-pick:hover img, .ryo-video-pick:focus-visible img, .ryo-video-pick.is-active img { opacity: 1; }
.ryo-video-pick.is-active { border-bottom-color: var(--cream); }

/* Releases on Beatport: cards under the player */
.ryo-releases { margin-top: clamp(48px, 6vw, 80px); }
.ryo-releases-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-light);
}
.on-dark .ryo-releases-head .ryo-now-label { color: rgba(220, 225, 229, 0.92); }
.ryo-release-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.ryo-release {
  display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line-light);
  color: var(--cream); text-decoration: none; transition: border-color 0.25s, transform 0.4s var(--ease);
}
.ryo-release:hover { border-color: var(--cream); transform: translateY(-4px); }
.ryo-release img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.ryo-release-text { display: grid; gap: 6px; padding: 20px 20px 16px; flex: 1; }
.ryo-release-text strong { font-family: var(--font-display); font-weight: 400; font-size: 30px; text-transform: uppercase; line-height: 1; }
.ryo-release-text em { font-style: normal; color: var(--slate-light); font-size: 16px; margin-bottom: 6px; }
.ryo-release-text small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(220, 225, 229, 0.92); }
.ryo-release-buy {
  padding: 14px 20px; border-top: 1px solid var(--line-light);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.ryo-release:hover .ryo-release-buy { background: var(--cream); color: var(--navy); }

.ryo-mixes-wrap { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ryo-mixes { width: 100%; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.ryo-mix {
  width: 100%; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 18px;
  padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-light);
  color: var(--cream); text-align: left; cursor: pointer; font: inherit;
}
.ryo-mix img { width: 64px; height: 64px; object-fit: cover; }
.ryo-mix-text { display: grid; gap: 4px; }
.ryo-mix-text strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; text-transform: uppercase; line-height: 1; }
.ryo-mix-text small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(220, 225, 229, 0.92); }
.ryo-mix-play {
  width: 46px; height: 46px; border: 1px solid var(--line-light);
  display: grid; place-items: center; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.ryo-mix-play svg { width: 16px; height: 16px; margin-left: 2px; }
.ryo-mix:hover .ryo-mix-play, .ryo-mix.is-active .ryo-mix-play { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.ryo-mix.is-active .ryo-mix-text strong { color: var(--slate-light); }
.ryo-mixes-wrap .btn-outline { margin-top: 12px; }
.ryo-mix-links { display: flex; flex-wrap: wrap; gap: 12px; }
.ryo-mix-links .btn-outline { margin-top: 12px; }

/* ---------- Events ---------- */

.ryo-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ryo-event {
  display: flex; flex-direction: column; gap: 14px;
  padding: 38px 32px 36px; background: var(--paper-2); border-top: 4px solid var(--accent);
  transition: transform 0.4s var(--ease);
}
.ryo-event:hover { transform: translateY(-6px); }
.ryo-event-num { font-family: var(--font-display); font-size: 72px; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.ryo-event p { color: var(--muted); margin: 0; font-size: 17px; }

/* ---------- Footer ---------- */

.ryo-footer { padding: 72px 0 32px; border-top: 3px solid var(--accent); background: var(--slate); color: var(--cream); }
.ryo-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ryo-footer-inner p { margin: 0; color: rgba(220, 225, 229, 0.92); font-size: 16px; }
.ryo-footer .btn-outline { color: var(--cream); }
.ryo-footer .btn-outline:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.ryo-footer .footer-base { margin-top: 48px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .ryo-name--long { font-size: clamp(52px, 21vw, 160px); }
  .ryo-name--xlong { font-size: clamp(40px, 11vw, 104px); }
  .ryo-hero-grid, .ryo-bio-grid { grid-template-columns: 1fr; }  .ryo-portrait { max-width: 520px; margin-right: 6%; }
  .ryo-portrait img { aspect-ratio: 4 / 5; object-position: center 30%; }
  .ryo-events { grid-template-columns: 1fr 1fr; }
  .ryo-events .ryo-event:last-child { grid-column: 1 / -1; }
  .ryo-player { grid-template-columns: 1fr; }
  .ryo-release-grid { grid-template-columns: 1fr 1fr; }
  .ryo-back span, .ryo-hide-sm { display: none; }
}

@media (max-width: 640px) {
  .ryo-bar-inner { height: 64px; }
  .ryo-back span { display: none; }
  .ryo-facts { grid-template-columns: 1fr 1fr; }
  .ryo-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ryo-facts div { padding-bottom: 20px; }
  .ryo-events { grid-template-columns: 1fr; }
  .ryo-tags li { padding: 10px 24px; }
  .ryo-now { grid-template-columns: 110px 1fr; }
  .ryo-now-art { width: 110px; height: 110px; }
  .ryo-now-info { padding: 16px 18px; }
  .ryo-release-grid { grid-template-columns: 1fr; }
  .ryo-release { display: grid; grid-template-columns: 110px 1fr; }
  .ryo-release img { width: 110px; height: 110px; }
  .ryo-release-text { padding: 14px 16px; }
  .ryo-release-text strong { font-size: 24px; }
  .ryo-release-buy { grid-column: 1 / -1; }
  .ryo-tab { grid-template-columns: 24px 1fr; gap: 10px; padding: 12px; }
  .ryo-tab svg { width: 24px; height: 24px; }
  .ryo-tab-text strong { font-size: 19px; }
  .ryo-tab-text small { font-size: 10px; letter-spacing: 0.08em; }
  .ryo-video-play { width: 52px; height: 52px; margin: -20px 0 0 -26px; }
  .ryo-video-play svg { width: 20px; height: 20px; margin-left: 3px; }
  .ryo-video-caption { left: 14px; top: 12px; gap: 4px; }
  .ryo-video-caption strong { font-size: 20px; }
  .ryo-video-caption small { font-size: 10.5px; }
  .ryo-video-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ryo-actions { width: 100%; }
  .ryo-logo { --logo-under: 100%; }
  .ryo-action { grid-template-columns: 48px 1fr auto; gap: 14px; }
  .ryo-action-icon { width: 48px; height: 48px; }
  .ryo-action-text small { font-size: 10.5px; letter-spacing: 0.08em; }
  .ryo-bar-inner { gap: 10px; }
  .ryo-bar-player { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; }
  .ryo-bar-toggle { width: 36px; height: 36px; }
  .ryo-bar-title { font-size: 16px; }
  .ryo-bar-time { font-size: 10px; letter-spacing: 0.04em; }
  .ryo-bar .btn-solid { padding: 11px 14px; font-size: 11px; }
  .ryo-hide-sm { display: none; }
  .ryo-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Played at: the artist's past gigs (Artist Manager › Past gigs) ---------- */
.ryo-played { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.ryo-played .section-head { margin-bottom: 28px; }
.ryo-played-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(43, 54, 64, 0.18); }
.ryo-played-list li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid rgba(43, 54, 64, 0.18); }
.ryo-played-list time { grid-row: span 2; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.ryo-played-list strong { font-weight: 500; font-size: 17px; color: var(--navy); }
.ryo-played-list span { font-size: 14px; color: var(--muted); }

/* ---------- Link in bio: /links on an artist's address ---------- */
body.ryo-links { min-height: 100vh; background: var(--paper); }
.ryo-links-main { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 520px; margin: 0 auto; padding: 48px 16px 40px; text-align: center; }
.ryo-links-photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 3px solid var(--navy); }
.ryo-links-name { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 12vw, 64px); line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; color: var(--slate); }
.ryo-links-tagline { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.ryo-links-list { display: grid; gap: 12px; width: 100%; margin: 14px 0 10px; padding: 0; list-style: none; }
.ryo-link-btn { display: grid; gap: 3px; padding: 16px 20px; border: 1.5px solid var(--navy); color: var(--navy); text-decoration: none; transition: background 0.2s, color 0.2s; }
a.ryo-link-btn:hover, a.ryo-link-btn:focus-visible { background: var(--navy); color: var(--cream); }
.ryo-link-btn strong { font-weight: 500; font-size: 17px; }
.ryo-link-btn small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; opacity: 0.8; }
.ryo-link-btn--book { background: var(--navy); color: var(--cream); }
a.ryo-link-btn--book:hover, a.ryo-link-btn--book:focus-visible { background: var(--slate); border-color: var(--slate); }
.ryo-link-btn--gig { border-width: 2px; }
.ryo-links .ryo-socials { justify-content: center; }
.ryo-links-foot { margin: 10px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Press kit pieces: track grid, venues by region, photo wall (public/cirillo-jr/) ---------- */
/* Tracks: smaller release cards, four to a row, the whole card links to the track */
.ryo-release-grid--tracks { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ryo-release-grid--tracks .ryo-release-text { padding: 14px 14px 12px; gap: 4px; }
.ryo-release-grid--tracks .ryo-release-text strong { font-size: 22px; }
.ryo-release-grid--tracks .ryo-release-text em { font-size: 14px; margin-bottom: 2px; }
.ryo-release-grid--tracks .ryo-release-text small { font-size: 11px; letter-spacing: 0.1em; }
.ryo-release-grid--tracks .ryo-release-buy { padding: 10px 14px; font-size: 11px; letter-spacing: 0.14em; }
.ryo-release-grid--tracks .ryo-release-plain { padding: 10px 14px; border-top: 1px solid var(--line-light); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(220, 225, 229, 0.92); }

/* Clubs & festivals, one column per region */
.ryo-venues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 4vw, 56px); }
.ryo-venues h3 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); font-family: var(--font-display); font-weight: 400; font-size: 26px; text-transform: uppercase; color: var(--navy); }
.ryo-venues ul { margin: 0; padding: 0; list-style: none; }
.ryo-venues li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--navy); }
.ryo-venues li small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ryo-supports { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-strong); }
.ryo-supports p { margin: 12px 0 0; font-size: 17px; line-height: 1.7; color: var(--muted); }

/* Photo wall */
.ryo-photos { background: var(--paper-2); }
.ryo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ryo-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

@media (max-width: 960px) {
  .ryo-release-grid--tracks { grid-template-columns: repeat(3, 1fr); }
  .ryo-venues { grid-template-columns: 1fr 1fr; }
  .ryo-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* Keep covers on top, two to a row, rather than the one-per-row release layout */
  .ryo-release-grid--tracks { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ryo-release-grid--tracks .ryo-release { display: flex; }
  .ryo-release-grid--tracks .ryo-release img { width: 100%; height: auto; }
  .ryo-release-grid--tracks .ryo-release-text strong { font-size: 19px; }
  .ryo-venues { grid-template-columns: 1fr; }
  .ryo-gallery { gap: 8px; }
}

/* ---------- Credits list on a dark section (public/blue-james/) ---------- */
.ryo-venues--two { grid-template-columns: repeat(2, 1fr); }
.ryo-discs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.ryo-discs li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.ryo-discs strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.05; text-transform: uppercase; color: var(--cream); }
.ryo-discs span { font-size: 16px; color: rgba(220, 225, 229, 0.92); }
.ryo-discs small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(220, 225, 229, 0.92); }
/* The record she's best known for leads the list, across both columns */
.ryo-discs .is-lead { grid-column: 1 / -1; padding: 26px 0; }
.ryo-discs .is-lead strong { font-size: clamp(40px, 5vw, 64px); }
.ryo-discs-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@media (max-width: 640px) {
  .ryo-discs { grid-template-columns: 1fr; }
  .ryo-discs strong { font-size: 22px; }
}

/* ---------- Phones and touch screens: Apple's Human Interface Guidelines and Material Design ----------
   Everything you can press is at least 48 x 48 px and no text is under 11px (tools/mobile-audit.mjs
   checks it in npm test). The top bar works like a phone's mini player: a full-size play button and a
   title to tap; the thin line under the title shows how far the mix has got, and seeking is done in the
   player in the Listen section (a 3px line can't be a 48px slider in a 64px bar). */
@media (max-width: 760px), (pointer: coarse) {
  .ryo-back { min-width: 48px; min-height: 48px; }
  .ryo-bar .btn-solid { min-height: 48px; display: inline-flex; align-items: center; }
  .ryo-bar-end { gap: 8px; }
  .ryo-lang-link { min-width: 48px; height: 48px; padding: 0 8px; }
  .ryo-bar-player { grid-template-columns: 48px minmax(0, 1fr); column-gap: 10px; }
  .ryo-bar-toggle { width: 48px; height: 48px; }
  .ryo-bar-info { align-items: center; }
  .ryo-bar-player { position: relative; }
  .ryo-bar-title { display: block; min-width: 48px; height: 48px; line-height: 48px; }
  .ryo-bar-progress { position: absolute; left: 58px; right: 0; bottom: 0; height: 4px; pointer-events: none; }
  .ryo-bar-time { font-size: 11px; }
  .ryo-social { width: 48px; height: 48px; }
  .ryo-tab-text small, .ryo-video-caption small, .ryo-action-text small { font-size: 11px; }
}
/* Phones: the language switch is one button, for the language the page isn't in, so the bar keeps room
   for the player's title */
@media (max-width: 640px) {
  .ryo-lang-link[aria-current="true"] { display: none; }
  .ryo-bar-inner:has(.ryo-lang) .ryo-bar-time { display: none; }
}
@media (max-width: 380px) {
  .ryo-bar-inner:has(.ryo-lang) { gap: 6px; }
  .ryo-bar-inner:has(.ryo-lang) .ryo-bar-end { gap: 4px; }
  .ryo-bar-inner:has(.ryo-lang) .ryo-bar-player { column-gap: 6px; }
  /* No room left for the mix's name: the play button stays, the name is in Listen below */
  .ryo-bar-inner:has(.ryo-lang) .ryo-bar-info, .ryo-bar-inner:has(.ryo-lang) .ryo-bar-progress { display: none; }
}
/* The smallest phones: the bar keeps the title to tap and drops the time, which the line under it shows */
@media (max-width: 380px) {
  .ryo-bar-time { display: none; }
}
