/*
Theme Name: RDG TUNE
Description: RDG TUNE music catalogue with Spotify playback, videos and artist spotlight.
Version: 1.0.0
Author: RDG TUNE
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: rdg-tune
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#101011;--surface:#19191b;--muted:#aaa9ad;--red:#ef402f;--line:#ffffff20}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--bg);color:#f8f6f3;font:16px/1.6 'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid var(--red);outline-offset:6px}header{height:96px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#101011f5;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;font:800 23px Manrope,Arial;letter-spacing:1px}.brand img{width:68px;height:58px;object-fit:contain}.brand-light{font-weight:400;margin-left:5px}nav{display:flex;gap:32px;font-size:14px}nav a:hover,.text-link:hover,.socials a:hover{color:var(--red)}.header-contact{font-size:14px;border:1px solid #ffffff50;border-radius:30px;padding:10px 21px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:5%;padding:62px 5% 66px;max-width:1600px;margin:auto;align-items:center}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;margin:0 0 20px;color:#c3bcb8}h1,h2,h3,p{margin-top:0}h1{font:800 clamp(54px,6.7vw,103px)/1.05 Manrope,Arial;letter-spacing:-5px;margin-bottom:26px}em{font-style:normal;color:var(--red)}.intro{color:var(--muted);font-size:18px;line-height:1.75}.hero-actions{display:flex;align-items:center;gap:30px;margin-top:32px}.button{display:inline-flex;justify-content:center;align-items:center;padding:14px 26px;border-radius:3px;font-size:14px;font-weight:700;min-height:48px}.primary{background:var(--red);color:white}.primary:hover{background:#ff5141}.text-link{font-size:14px;border-bottom:1px solid #777;padding-bottom:4px}.hero-foot{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px;margin-top:55px}.small-rule{width:35px;height:1px;background:var(--red)}.hero-art{position:relative;max-width:640px;width:100%;justify-self:end}.hero-poster{display:block;width:100%;aspect-ratio:1;object-fit:contain}.featured{position:absolute;bottom:0;left:0;right:0;padding:65px 25px 24px;background:linear-gradient(transparent,#000e);display:flex;justify-content:space-between;align-items:end}.featured .eyebrow{font-size:10px;margin-bottom:7px}.featured h2{font:700 29px Manrope;margin-bottom:3px}.featured p{font-size:12px;margin:0;color:#ddd}.round-play{border:0;background:var(--red);color:white;border-radius:50%;width:53px;height:53px;flex-shrink:0;padding-left:7px}.ticker{display:flex;justify-content:space-around;gap:25px;padding:19px 4%;border-block:1px solid var(--line);font:600 12px Manrope;letter-spacing:2px;overflow:hidden;white-space:nowrap}.ticker b{color:var(--red)}.section{padding:85px 5%;max-width:1600px;margin:auto}.section-top{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:35px}.section-top .eyebrow{margin-bottom:12px}.section h2{font:700 clamp(30px,3.3vw,48px)/1.2 Manrope;letter-spacing:-1.6px;margin-bottom:0}.section-top>p{color:var(--muted);font-size:14px;margin-bottom:0}.music-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:35px 24px}.artwork{position:relative;overflow:hidden;background:#222;aspect-ratio:1}.artwork img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .35s}.song-card:hover img{transform:scale(1.025)}.artwork button{position:absolute;right:14px;bottom:14px;box-shadow:0 4px 20px #0009}.song-card h3{font:700 18px/1.4 Manrope;margin:15px 0 5px}.song-card p{font-size:14px;color:var(--muted);margin:0}.song-card details{margin-top:8px;font-size:12px;color:#bdb8b6}.song-card summary{cursor:pointer;font-size:14px}.song-card details p{font-size:12px;line-height:1.7;margin-top:6px}.badge{display:inline-block;font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#f5887e;margin-top:9px}.upcoming-section{background:#171718;border-block:1px solid var(--line);max-width:none}.video-section{display:flex;align-items:center;gap:45px;position:relative;overflow:hidden;min-height:420px}.video-number{font-size:55px;color:var(--red);border:1px solid #ef402f66;border-radius:50%;width:105px;height:105px;display:grid;place-items:center;flex-shrink:0;padding-left:9px}.video-section h2{font-size:54px;margin-bottom:20px}.video-section p:not(.eyebrow){color:var(--muted)}.outline{border:1px solid #ffffff60}.video-word{position:absolute;right:-28px;bottom:0;font:800 180px Manrope;color:#ffffff04;pointer-events:none}.about-section{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:70px}.about-copy>p{font-size:18px;color:#bab8ba}.about-copy strong{color:#eee;font-weight:500}dl{display:flex;gap:65px;margin:30px 0}dt{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:1.5px}dd{margin:6px 0;font-size:16px}.contact-email{font-size:clamp(20px,2.4vw,32px);border-bottom:1px solid var(--red)}.about-copy .contact-note{font-size:12px;margin-top:10px}footer{padding:48px 5% 25px;background:#080809;display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.footer-name{font:800 26px Manrope}.footer-name span{display:block;font:14px 'DM Sans';color:var(--muted);margin-top:10px}.socials{display:flex;align-items:center;gap:25px;font-size:14px}.copyright{width:100%;border-top:1px solid var(--line);padding-top:23px;margin:15px 0 0;font-size:12px;color:#888}dialog{width:min(640px,92vw);background:#1b1b1e;color:white;border:1px solid #444;padding:25px;border-radius:12px}dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top .eyebrow{margin:0}.close{background:transparent;border:none;color:white;font-size:32px;line-height:1;min-width:44px;min-height:44px}dialog h2{font:700 28px Manrope;margin:15px 0 4px}#player-credit{color:var(--muted);font-size:14px}iframe{border:0;width:100%;height:352px;border-radius:12px;margin:12px 0}.player-note{font-size:12px;color:var(--muted);margin:16px 0 0}.skip{position:fixed;top:-100px;left:10px;z-index:30;background:white;color:black;padding:10px}.skip:focus{top:10px}@media(min-width:1600px){.upcoming-section{padding-inline:calc((100vw - 1440px)/2)}}@media(max-width:900px){header{height:80px}.header-contact{display:none}nav{gap:20px}.hero{gap:28px;padding-top:42px}h1{letter-spacing:-3px}.hero-foot{margin-top:30px}.hero-actions{gap:15px;flex-wrap:wrap}.featured{padding:50px 16px 16px}.featured h2{font-size:23px}.featured p{display:none}.section{padding-block:60px}.music-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-section{gap:35px}.socials{flex-wrap:wrap}.video-section h2{font-size:44px}}@media(max-width:600px){header{height:auto;min-height:85px;flex-wrap:wrap;padding-block:10px;gap:9px}.brand{font-size:20px}.brand img{width:43px;height:37px}nav{gap:18px;font-size:13px;width:100%;justify-content:space-between}.hero{grid-template-columns:1fr;padding-top:35px;gap:30px}.hero h1{font-size:58px}.hero-copy .eyebrow{font-size:10px}.hero-foot{display:none}.hero-art{max-width:none}.featured p{display:block;font-size:11px}.ticker{justify-content:flex-start;font-size:10px;gap:18px}.section-top{align-items:start;flex-direction:column;gap:15px}.section h2{font-size:31px;letter-spacing:-1px}.music-grid{gap:25px 14px}.song-card h3{font-size:16px}.song-card p{font-size:13px}.round-play{width:44px;height:44px}.artwork button{right:9px;bottom:9px}.about-section{grid-template-columns:1fr;gap:28px}.about-copy>p{font-size:16px}dl{gap:30px}.video-section{gap:20px;align-items:start}.video-number{width:48px;height:48px;font-size:22px;padding-left:3px}.video-section h2{font-size:36px}.video-section .eyebrow{font-size:10px}.video-word{font-size:100px}.hero-actions .button{padding-inline:20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}



/* Keep featured release information outside the original poster artwork. */
.hero-art .featured{position:static;background:#19191b;padding:20px 24px;align-items:center;gap:20px}
.hero-art .featured p{display:block;font-size:12px;line-height:1.6}
.hero-art .featured .eyebrow{line-height:1.6}
@media(max-width:600px){.hero-art .featured{padding:18px 16px;gap:12px}.hero-art .featured h2{font-size:23px}}
.hero-art .featured .eyebrow{display:block;margin:6px 0 8px}
/* Compact Spotify player: keep playback in the official embedded player. */
#player{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:20px;background:#121212;border:1px solid #333;border-radius:16px;box-shadow:0 24px 90px #0009}
#player .dialog-top .eyebrow{color:#1ed760;font-size:11px;letter-spacing:1.6px}
#player .close{font-size:26px;border-radius:50%;background:#242424;min-width:36px;min-height:36px}
#player .close:hover{background:#363636}
#player h2{font-size:23px;line-height:1.3;margin:14px 0 4px;letter-spacing:-.4px}
#player #player-credit{margin:0 0 14px;color:#b3b3b3}
#player #embed iframe{display:block;width:100%;height:152px;margin:0 0 16px;border-radius:12px}
#player #spotify-fallback{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 18px;background:#1ed760;color:#000;border:0;border-radius:24px;font-size:14px;font-weight:700}
#player #spotify-fallback:hover{background:#3be477}
#player .player-note{font-size:12px;line-height:1.5;margin:12px 0 0;color:#aaa}
@media(max-width:400px){#player{padding:16px}#player h2{font-size:20px}}
/* Glass treatment around the official Spotify player. */
#player{background:linear-gradient(145deg,rgba(65,68,73,.72),rgba(20,22,26,.86));border:1px solid rgba(255,255,255,.25);border-radius:28px;backdrop-filter:blur(28px) saturate(155%);-webkit-backdrop-filter:blur(28px) saturate(155%);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -1px 0 rgba(255,255,255,.06),0 24px 80px rgba(0,0,0,.55)}
#player::backdrop{background:rgba(0,0,0,.48);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
#player #embed{padding:7px;margin:0 0 16px;border:1px solid rgba(255,255,255,.24);border-radius:23px;background:linear-gradient(135deg,rgba(255,255,255,.17),rgba(255,255,255,.035) 55%,rgba(255,255,255,.10));box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 8px 25px rgba(0,0,0,.22);overflow:hidden}
#player #embed iframe{margin:0;border-radius:16px}
#player .close{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.14)}
#player .close:hover{background:rgba(255,255,255,.18)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#player{background:#25272b}}
/* Liquid-glass inspired shell; native Spotify controls stay unchanged. */
#player{isolation:isolate;background:linear-gradient(135deg,rgba(255,255,255,.20) 0%,rgba(255,255,255,.075) 38%,rgba(31,33,40,.38) 72%,rgba(255,255,255,.12) 100%);border:1px solid rgba(255,255,255,.46);border-radius:32px;backdrop-filter:blur(32px) saturate(185%);-webkit-backdrop-filter:blur(32px) saturate(185%);box-shadow:inset 1px 1px 1px rgba(255,255,255,.60),inset -1px -1px 1px rgba(255,255,255,.22),inset 0 0 22px rgba(255,255,255,.065),0 8px 18px rgba(0,0,0,.17),0 28px 80px rgba(0,0,0,.38)}
#player::backdrop{background:rgba(0,0,0,.32);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
#player #embed{padding:6px;border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.035) 48%,rgba(255,255,255,.16));border:1px solid rgba(255,255,255,.35);box-shadow:inset 1px 1px 1px rgba(255,255,255,.44),inset -1px -1px 1px rgba(255,255,255,.16),0 10px 28px rgba(0,0,0,.2)}
#player #embed iframe{border-radius:18px}
#player .close{background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.32);box-shadow:inset 0 1px 1px rgba(255,255,255,.35),0 3px 10px rgba(0,0,0,.12)}
#player #player-credit,#player .player-note{color:#e1e1e5;text-shadow:0 1px 3px rgba(0,0,0,.65)}
#player h2,#player .dialog-top .eyebrow{text-shadow:0 1px 4px rgba(0,0,0,.55)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#player{background:#303237}}
@media(prefers-reduced-transparency:reduce){#player{background:#292b30;backdrop-filter:none;-webkit-backdrop-filter:none}}


/* Noticeable navigation zoom without moving surrounding links. */
header nav>a{display:inline-block;transform:scale(1);transform-origin:center;transition:transform .35s ease,color .2s ease;position:relative}
@media(hover:hover){header nav>a:hover{transform:scale(1.14);color:#fff}}
header nav>a:focus-visible{transform:scale(1.14);color:#fff}
@media(prefers-reduced-motion:reduce){header nav>a{transition:none}}

/* Anchor destinations align content, rather than the section's outer padding. */
html{scroll-padding-top:var(--navigation-height,96px)}
main>.section[id]{scroll-margin-top:-61px}
@media(max-width:900px){main>.section[id]{scroll-margin-top:-36px}}
/* Videos align 56px below the header to match the latest reference. */
main>#videos{scroll-margin-top:-29px}
@media(max-width:900px){main>#videos{scroll-margin-top:-4px}}

/* Match the compact Music and Upcoming destinations in the supplied screenshots. */
main>#music,main>#upcoming{scroll-margin-top:-65px}
@media(max-width:900px){main>#music,main>#upcoming{scroll-margin-top:-40px}}

/* Mobile screenshot alignment: 60px section padding minus 48px scroll offset. */
@media(max-width:600px){
 main>#music,main>#upcoming,main>#videos,main>#about{scroll-margin-top:-48px}
}

/* Reserve the player footprint so network loading cannot move the dialog. */
#player #embed{height:166px;min-height:166px;position:relative}
#player #embed iframe{height:152px;transition:opacity .18s ease}
#player #embed[data-loading="true"] iframe{opacity:0}
#player #embed::before{content:"";position:absolute;inset:6px;z-index:1;border-radius:18px;background:radial-gradient(ellipse at center,#ef402f12,transparent 65%),#18191b;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility .25s}
#player #embed::after{content:"";position:absolute;z-index:2;width:140px;height:140px;left:50%;top:50%;background:url("assets/logo.png") center/220px auto no-repeat;transform:translate(-50%,-50%);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility .25s}
#player #embed[data-loading="true"]::before,#player #embed[data-loading="true"]::after{opacity:1;visibility:visible}
#player #embed[data-loading="true"]::after{animation:rdg-loading 1.8s ease-in-out infinite}
@keyframes rdg-loading{0%,100%{transform:translate(-50%,-50%) scale(.94);opacity:.65;filter:drop-shadow(0 0 3px #ef402f20)}50%{transform:translate(-50%,-50%) scale(1);opacity:1;filter:drop-shadow(0 0 12px #ef402f66)}}
@media(prefers-reduced-motion:reduce){#player #embed[data-loading="true"]::after{animation:none}#player #embed::before,#player #embed::after{transition:none}}
#player[open]{animation:player-enter .18s ease-out}
#player[open]::backdrop{animation:player-backdrop .18s ease-out}
@keyframes player-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes player-backdrop{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){#player[open],#player[open]::backdrop{animation:none}}

/* Give the logo a calm handoff to the Spotify controls. */
#player #embed iframe{transition:opacity .6s ease}
#player #embed::before,#player #embed::after{transition:opacity .6s ease,visibility .6s}
@media(prefers-reduced-motion:reduce){#player #embed iframe,#player #embed::before,#player #embed::after{transition:none}}

/* Current section stays visible independently of hover. */
header nav>a[aria-current="location"]{color:#ff6758}
header nav>a::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:2px;border-radius:2px;background:#ef402f;transform:scaleX(0);opacity:0;transition:transform .2s ease,opacity .2s ease}
header nav>a[aria-current="location"]::after{transform:scaleX(1);opacity:1}
@media(prefers-reduced-motion:reduce){header nav>a::after{transition:none}}

/* Slightly enlarge the header mark while preserving navigation spacing. */
header .brand img{transform:scale(1.6);transform-origin:center}

/* Use Spotify's compact layout, with one visible title and artist. */
#player #player-title,#player #player-credit{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#player #embed{height:94px;min-height:94px;margin-top:12px;margin-bottom:12px}
#player #embed iframe{height:80px}
#player #embed::after{width:80px;height:80px;background-size:150px auto}

