/* PGX brand system (Brand Book, Xperience 01), dark edition.
   Black is the base. Per the brand book, on a black background every other
   brand colour is allowed: cream for text, red as the main accent, sand,
   yellow and blue for the four energies.
   Fonts come from the Adobe Fonts kit nna5fup (linked in each page's <head>).
   Mendl Sans Dusk is in the kit. Mendl Serif Dusk is not yet: headers fall back
   to Fraunces until it is added to the kit, then switch automatically. */

:root {
  /* Brand palette */
  --cream: #FBF3DD;   /* Soft Cream */
  --black: #000000;   /* Classic Black */
  --red: #BF0A0A;     /* Bold Red */
  --sand: #D9C69B;    /* Warm Sand */
  --yellow: #FBD21B;  /* Mellow Yellow */
  --blue: #465FF5;    /* Cool Blue */

  /* Dark theme roles */
  --bg: #000000;
  --surface: #121110;
  --surface-2: #1b1a18;
  --fg: var(--cream);
  --fg-2: rgba(251, 243, 221, 0.72);
  --fg-3: rgba(251, 243, 221, 0.5);
  --line: rgba(251, 243, 221, 0.14);
  --line-2: rgba(251, 243, 221, 0.28);
  --accent: #E0241B;  /* Bold Red, brightened one step for contrast on black */

  --serif: "mendl-serif-dusk", "Fraunces", Georgia, serif;
  --sans: "mendl-sans-dusk", "Optima", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1240px;
  --wrap: min(var(--max), calc(100% - 2 * var(--gutter)));
  --radius: 14px;
  --gap: clamp(16px, 2vw, 24px);
  --section: clamp(88px, 11vw, 150px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
/* Headers: serif, caps. Subheads: sans, caps, bold. Body: sans, sentence case. No added letter-spacing. */
h2 { font: 700 clamp(40px, 5.6vw, 76px)/0.95 var(--serif); text-transform: uppercase; font-variation-settings: "SOFT" 100, "WONK" 0; text-wrap: balance; }
.sub { font: 700 13px/1.3 var(--sans); text-transform: uppercase; }
h3 { font: 700 20px/1.25 var(--sans); }
::selection { background: var(--red); color: var(--cream); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* One content width for everything, so all left edges line up */
.wrap, .section, .stats, .hero-grid, .footer-inner { width: var(--wrap); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font: 700 14px/1 var(--sans); text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn-red { background: var(--red); color: var(--cream); }
.btn-red:hover { background: var(--accent); }
.btn-cream { background: var(--cream); color: var(--black); }
.btn-line { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--fg); }
.link { background: none; border: 0; padding: 0; color: var(--yellow); font: inherit; cursor: pointer; text-decoration: underline; }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; color: var(--fg); cursor: pointer; display: grid; place-items: center; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
  background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(0, 0, 0, 0.88); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 24px; width: auto; }
.brand-sub { font: 700 12px/1.15 var(--sans); text-transform: uppercase; color: var(--sand); max-width: 140px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { white-space: nowrap; text-decoration: none; font: 700 13px var(--sans); text-transform: uppercase; color: var(--fg-2); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }

/* Hero: drifting wall of episode thumbnails behind the type */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 clamp(64px, 9vh, 110px); overflow: hidden; isolation: isolate; }
.wall { position: absolute; inset: -12% -8%; z-index: -2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; transform: rotate(-6deg) scale(1.06); }
.wall-col { display: flex; flex-direction: column; gap: 14px; animation: drift 90s linear infinite; will-change: transform; }
.wall-col:nth-child(even) { animation-direction: reverse; animation-duration: 115s; }
.wall-col img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; filter: grayscale(.85) contrast(1.05); opacity: .5; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 80% at 20% 60%, rgba(0,0,0,.92) 25%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,.7) 0%, transparent 25%, transparent 70%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.kicker { margin: 0 0 20px; color: var(--sand); }
.hero-title { font: 700 clamp(54px, 8.4vw, 128px)/0.88 var(--serif); text-transform: uppercase; font-variation-settings: "SOFT" 100, "WONK" 0; }
.hero-title span { color: var(--accent); }
.hero-grid > * { min-width: 0; }
.hero-lede { max-width: 560px; margin: 28px 0 36px; font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn-line { background: rgba(0,0,0,.35); backdrop-filter: blur(8px); }
.hero-mark { justify-self: end; width: min(100%, 400px); filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); transform: rotate(-2deg); }

/* Stats */
.stats { margin-top: 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 24px 32px; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font: 700 clamp(44px, 5.4vw, 80px)/1 var(--serif); font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 100, "WONK" 0; white-space: nowrap; }
.stat-num span { color: var(--accent); }
.stat-label { margin-top: 10px; color: var(--fg-2); font-size: 15px; }
.stats-note { margin: 14px 0 0; color: var(--fg-3); font-size: 13px; }

/* Sections */
.section { padding-top: var(--section); }
.band { margin-top: var(--section); background: var(--surface); }
.band > .section { padding-bottom: var(--section); }
.band-red { background: var(--red); color: var(--cream); }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head .kicker { color: var(--accent); }
.section-sub { margin: 18px 0 0; color: var(--fg-2); max-width: 560px; }

/* Episode card */
.card { position: relative; display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.thumb { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .thumb img { transform: scale(1.05); }
.play { position: absolute; inset: 0; margin: auto; z-index: 1; width: 60px; height: 60px; border-radius: 50%; background: var(--red); color: var(--cream); display: grid; place-items: center; transform: scale(.7); opacity: 0; transition: .3s; }
.card:hover .play, .card:focus-visible .play { transform: scale(1); opacity: 1; }
.dur { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.8); color: var(--cream); font: 700 12px/1.4 var(--sans); }
.card-body { padding-top: 14px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 8px; font: 700 12px/1 var(--sans); text-transform: uppercase; color: var(--fg-3); }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; color: var(--black); font: 700 11px/1 var(--sans); text-transform: uppercase; }
.card-guest { font: 700 19px/1.25 var(--sans); }
.card-title { margin-top: 4px; color: var(--fg-2); font-size: 15px; line-height: 1.45; }

/* Latest */
.latest { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap) calc(var(--gap) * 1.5); }
.latest-side { display: grid; gap: var(--gap); align-content: start; }
.latest .card.feature .card-guest { font: 700 clamp(30px, 3.4vw, 48px)/1 var(--serif); text-transform: uppercase; font-variation-settings: "SOFT" 100, "WONK" 0; }
.latest .card.feature .card-title { font-size: 17px; }
.latest .card.feature .play { width: 84px; height: 84px; opacity: 1; transform: none; }
.latest-side .card { display: grid; grid-template-columns: 44% 1fr; gap: 16px; align-items: start; }
.latest-side .card-body { padding-top: 0; }

/* Energies */
.energies { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.energy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; min-height: 340px; border: 0; border-radius: 18px; text-align: left; font: inherit; color: var(--black); cursor: pointer; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.energy:hover { transform: translateY(-6px); }
.energy-art { width: 100%; height: 130px; margin-bottom: auto; display: flex; align-items: flex-end; }
.energy-art img { max-width: 100%; max-height: 100%; object-fit: contain; object-position: left bottom; }
.energy .sub { font-size: 12px; opacity: .7; margin-top: 18px; }
.energy h3 { font: 700 32px/1 var(--serif); text-transform: uppercase; font-variation-settings: "SOFT" 100, "WONK" 0; }
.energy p { font-size: 15px; }
.energy .go { margin-top: 6px; font: 700 12px var(--sans); text-transform: uppercase; }
.bg-red { background: var(--red); }
.bg-sand { background: var(--sand); }
.bg-yellow { background: var(--yellow); }
.bg-blue { background: var(--blue); }

/* Library */
.search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; width: min(360px, 100%); border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--fg-3); background: var(--surface); transition: border-color .2s; }
.search:focus-within { border-color: var(--fg); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--fg); font: 400 16px var(--sans); }
.search input::placeholder { color: var(--fg-3); }
.chips { display: flex; gap: 8px; margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: none; color: var(--fg); font: 700 13px var(--sans); text-transform: uppercase; cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--fg); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; }
.chip[aria-selected="true"] { background: var(--cream); color: var(--black); border-color: var(--cream); }
.chip .count { opacity: .55; font-weight: 400; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px var(--gap); }
.grid .card { animation: rise .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.empty { color: var(--fg-2); }
.more-wrap { display: flex; justify-content: center; margin-top: 48px; }

/* Ranks */
.ranks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rank { border-bottom: 1px solid var(--line); }
.rank button { width: 100%; display: grid; grid-template-columns: 64px 128px minmax(0, 1fr) 220px; align-items: center; gap: 24px; padding: 16px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.rank-n { font: 700 44px/1 var(--serif); color: var(--fg-3); transition: color .2s; font-variation-settings: "SOFT" 100, "WONK" 0; }
.rank button:hover .rank-n { color: var(--accent); }
.rank img { width: 128px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.rank-text { min-width: 0; }
.rank-guest { display: block; font: 700 19px/1.3 var(--sans); }
.rank-title { display: block; color: var(--fg-3); font-size: 14px; }
.rank-stat { display: block; }
.rank-bar { display: block; position: relative; height: 8px; border-radius: 4px; background: rgba(251, 243, 221, .1); }
.rank-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--accent); width: 0; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.rank-views { display: block; margin-top: 8px; font: 700 13px var(--sans); color: var(--fg-2); text-align: right; }

/* Host */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p { color: var(--fg-2); }
.about-copy p + p { margin-top: 1.1em; }
.about-copy p.big { font: 700 clamp(22px, 2.2vw, 30px)/1.25 var(--serif); color: var(--fg); font-variation-settings: "SOFT" 100, "WONK" 0; }
.about-copy a { color: var(--yellow); }
.about-copy strong { color: var(--fg); font-weight: 700; }

/* All portrait frames share one shape and one caption style */
.photo { position: relative; border-radius: 20px; overflow: hidden; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 14px; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); color: var(--cream); }
.photo-cap strong { font: 700 22px/1.1 var(--serif); text-transform: uppercase; font-variation-settings: "SOFT" 100, "WONK" 0; }
.photo-cap span { font-size: 14px; color: var(--sand); }
.about-photo { aspect-ratio: 4/5; width: 100%; max-width: 460px; justify-self: center; }

.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: var(--section); }
.chapters { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1.5px solid var(--line-2); }
.chapters li { position: relative; padding-bottom: 28px; }
.chapters li:last-child { padding-bottom: 0; }
.chapters li::before { content: ""; position: absolute; left: -35px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--fg-2); }
.chapters li.now::before { background: var(--accent); border-color: var(--accent); }
.chapters .sub { font-size: 12px; color: var(--accent); }
.chapters h3 { margin: 6px 0 4px; }
.chapters p { color: var(--fg-2); font-size: 15px; }
.road { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.road .photo { aspect-ratio: 3/4; }
.road .photo:nth-child(2) { transform: translateY(48px); }
.road .photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.road .photo:hover img { transform: scale(1.04); }
.road-cap { grid-column: 1 / -1; margin-top: 64px; color: var(--fg-3); font-size: 12px; text-align: center; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--section); }
.value { padding: 28px 26px; border: 1.5px solid var(--line-2); border-radius: 18px; }
.value h3 { font: 700 28px/1 var(--serif); text-transform: uppercase; margin-bottom: 10px; font-variation-settings: "SOFT" 100, "WONK" 0; }
.value p { color: var(--fg-2); font-size: 15px; }

/* Recognition: three equal columns, same height */
.awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.awards .photo { aspect-ratio: 3/4; }
.award-stack { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gap); }
.award-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; color: var(--black); }
.award-card .sub { font-size: 12px; }
.award-card strong { margin-top: auto; font: 700 clamp(36px, 3.6vw, 52px)/0.9 var(--serif); text-transform: uppercase; font-variation-settings: "SOFT" 100, "WONK" 0; }
.award-card p { font-size: 15px; }
.photo-cap .sub { color: var(--yellow); font-size: 12px; }
.photo-cap h3 { font: 700 clamp(26px, 2.6vw, 36px)/1 var(--serif); text-transform: uppercase; margin-top: 4px; font-variation-settings: "SOFT" 100, "WONK" 0; }
.photo-cap p { margin-top: 6px; font-size: 14px; color: var(--fg-2); }

/* Book (on red) */
.book-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.book-art { display: grid; place-items: center; }
.book-art img { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(24px 34px 40px rgba(0,0,0,.45)); transform: rotate(-3deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.book-card:hover .book-art img { transform: rotate(0) translateY(-6px); }
.band-red .kicker { color: var(--black) !important; }
.book-copy h2 { margin-bottom: 22px; }
.book-copy p { color: var(--cream); max-width: 560px; }
.book-copy p + p { margin-top: 1em; }
.book-copy p.note { opacity: .8; }
.book-copy .btn { margin-top: 28px; background: var(--black); color: var(--cream); }

/* Work with PGX */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.work-card { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; min-height: 280px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); text-decoration: none; transition: transform .3s, background .3s, color .3s, border-color .3s; }
.work-card:hover { transform: translateY(-4px); background: var(--sand); color: var(--black); border-color: var(--sand); }
.work-card .sub { font-size: 12px; color: var(--accent); }
.work-card:hover .sub { color: var(--red); }
.work-card h3 { font: 700 32px/1 var(--serif); text-transform: uppercase; font-variation-settings: "SOFT" 100, "WONK" 0; }
.work-card p { flex: 1; opacity: .8; }
.work-card .arrow { font: 700 14px var(--sans); }

/* Blog teasers on the home page */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }

/* Footer */
.footer { margin-top: var(--section); border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { padding: clamp(56px, 8vw, 96px) 0 36px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.footer-big { font: 700 clamp(44px, 7vw, 104px)/0.9 var(--serif); text-transform: uppercase; font-variation-settings: "SOFT" 100, "WONK" 0; }
.footer-big span { color: var(--accent); }
.footer-mark { width: clamp(130px, 16vw, 210px); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.footer-links a { padding: 10px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; text-decoration: none; font: 700 13px var(--sans); text-transform: uppercase; color: var(--fg-2); transition: .2s; }
.footer-links a:hover { color: var(--fg); border-color: var(--fg); }
.footer-fine { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--fg-3); font-size: 14px; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); text-decoration: none; font: 700 13px var(--sans); text-transform: uppercase; color: var(--fg); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.socials a:hover { background: var(--cream); color: var(--black); border-color: var(--cream); transform: translateY(-2px); }
.socials svg { flex: none; }
.socials a:hover svg circle[fill="currentColor"] + path { stroke: var(--cream); }
.footer-links { margin-top: 16px; }

/* Player */
.player {
  /* Fit inside the window both ways: the 16:9 video plus ~96px of info bar must never exceed the viewport height */
  --bar: 96px;
  width: min(1100px, calc(100vw - 32px), calc((100dvh - 48px - var(--bar)) * 16 / 9));
  max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--fg); overflow: hidden;
}
.player-frame iframe:focus, .player-frame iframe:focus-visible { outline: none; }
.player-title { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.player::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(6px); }
.player[open] { animation: pop .3s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.player-frame { aspect-ratio: 16/9; background: #000; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; flex-wrap: nowrap; }
.player-bar > div:first-child { min-width: 0; }
.player-bar .sub { color: var(--sand); font-size: 12px; }
.player-title { font-weight: 700; margin-top: 4px; }
.player-actions { display: flex; gap: 8px; align-items: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .brand-sub { display: none; }
  .nav-links { gap: 20px; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .wall { grid-template-columns: repeat(4, 1fr); }
  .grid, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .energies { grid-template-columns: repeat(2, 1fr); }
  .energy { min-height: 300px; }
  .latest { grid-template-columns: 1fr; }
  .about-grid, .journey { grid-template-columns: 1fr; }
  .about-photo { justify-self: start; max-width: 420px; }
  .work, .values { grid-template-columns: 1fr; }
  .work-card { min-height: 0; }
  .rank button { grid-template-columns: 52px 104px minmax(0, 1fr); }
  .rank img { width: 104px; }
  .rank-stat { grid-column: 3; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .award-stack { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .award-card { min-height: 240px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { min-height: 92svh; }
  .hero-title { font-size: min(54px, 13.5vw); }
  h2 { font-size: min(40px, 10vw); }
  .wall { grid-template-columns: repeat(3, 1fr); }
  .grid, .posts { grid-template-columns: 1fr; gap: 36px; }
  .energies { grid-template-columns: 1fr; }
  .energy { min-height: 0; }
  .latest-side .card { grid-template-columns: 42% 1fr; }
  .latest-side .card-title { display: none; }
  .book-card { grid-template-columns: 1fr; }
  .book-art img { max-width: 220px; }
  .rank button { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .rank img { display: none; }
  .rank-n { font-size: 32px; }
  .rank-stat { grid-column: 2; }
  .stat { padding: 26px 14px 24px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .about-photo { max-width: none; }
  .road .photo:nth-child(2) { transform: translateY(32px); }
  .road-cap { margin-top: 44px; }
  .awards { grid-template-columns: 1fr; }
  .award-stack { grid-column: auto; grid-template-columns: 1fr; }
  .award-card { min-height: 200px; }
  .footer-top { grid-template-columns: 1fr; }
  .player-actions .btn { display: none; }
  .player-actions #player-next { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
