/* =========================================================
   OMES — omesmusic.com
   Colorful, accessible, interactive. WCAG 2.1 AA targeted.
   ========================================================= */

:root {
  --bg:        #0b0713;
  --bg-2:      #120b1f;
  --surface:   #191026;
  --surface-2: #221634;
  --line:      #2e2142;
  --text:      #f6f3fb;
  --muted:     #b7a8d0;      /* ~5.4:1 on --bg — AA for body/large */
  --muted-2:   #cbbfe0;      /* higher-contrast muted for small text */
  --violet:    #a855f7;
  --magenta:   #ec4899;
  --amber:     #f59e0b;
  --cyan:      #22d3ee;
  --lime:      #a3e635;
  --grad:  linear-gradient(120deg, #a855f7, #ec4899 45%, #f59e0b);
  --grad-2: linear-gradient(120deg, #22d3ee, #a855f7 55%, #ec4899);
  --radius: 18px;
  --radius-sm: 11px;
  --maxw: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --player-h: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-player { padding-bottom: var(--player-h); }

h1,h2,h3,.brand__name { font-family:"Space Grotesk",system-ui,sans-serif; letter-spacing:-.02em; }
a { color: inherit; text-decoration: none; }
img,video { max-width:100%; height:auto; display:block; }
em { color: var(--muted-2); font-style: italic; }

/* --- Utilities --- */
.visually-hidden {
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link {
  position:absolute; left:-999px; top:0; z-index:300;
  background:var(--violet); color:#fff; padding:.7rem 1.1rem; border-radius:0 0 10px 0; font-weight:600;
}
.skip-link:focus { left:0; }

/* Visible focus for keyboard users (accessibility) */
:focus-visible { outline:3px solid var(--cyan); outline-offset:3px; border-radius:6px; }

/* --- Buttons --- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  padding:.85rem 1.5rem; border-radius:999px; font-weight:600; font-size:1rem;
  border:1.5px solid transparent; cursor:pointer; font-family:inherit;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
  white-space:nowrap;
}
.btn--sm { padding:.55rem 1.05rem; font-size:.9rem; }
.btn--lg { padding:1rem 1.8rem; font-size:1.08rem; }
.btn--primary { background:var(--grad); color:#12071d; font-weight:700; box-shadow:0 10px 34px -10px rgba(236,72,153,.7); }
.btn--primary:hover { transform:translateY(-2px); box-shadow:0 16px 44px -10px rgba(168,85,247,.8); }
.btn--ghost { background:rgba(255,255,255,.03); color:var(--text); border-color:var(--line); }
.btn--ghost:hover { border-color:var(--violet); background:rgba(168,85,247,.12); transform:translateY(-2px); }

/* --- Nav --- */
.nav { position:sticky; top:0; z-index:120; backdrop-filter:blur(16px);
  background:rgba(11,7,19,.72); border-bottom:1px solid transparent; transition:border-color .3s, background .3s; }
.nav.is-scrolled { border-bottom-color:var(--line); background:rgba(11,7,19,.92); }
.nav__inner { max-width:var(--maxw); margin:0 auto; padding:.8rem 1.25rem; display:flex; align-items:center; gap:1.4rem; }
.brand { display:inline-flex; align-items:center; gap:.55rem; font-weight:700; }
.brand__mark { width:36px; height:36px; border-radius:10px; display:grid; place-items:center;
  background:var(--grad); color:#12071d; font-weight:700; font-size:1.2rem; font-family:"Space Grotesk"; }
.brand__logo { width:38px; height:38px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 1.5px rgba(255,255,255,.1); }
.brand__name { font-size:1.3rem; font-weight:700; }
.nav__links { display:flex; gap:1.4rem; margin-left:auto; }
.nav__links a { color:var(--muted-2); font-weight:500; font-size:.96rem; transition:color .2s; }
.nav__links a:hover { color:var(--text); }
.nav__toggle { display:none; background:none; border:0; flex-direction:column; gap:5px; cursor:pointer; padding:8px; }
.nav__toggle span { width:24px; height:2px; background:var(--text); border-radius:2px; transition:.3s; }

/* --- Hero --- */
.hero { position:relative; min-height:92vh; display:grid; place-items:center; text-align:center; overflow:hidden; padding:6rem 1.25rem 4rem; }
.hero__bg { position:absolute; inset:0; z-index:0; background:#0b0713 url("/assets/img/hero-bg.jpg") center/cover no-repeat; }
.aurora { position:absolute; border-radius:50%; filter:blur(90px); opacity:.4; mix-blend-mode:screen; animation:float 18s var(--ease) infinite; }
.aurora--1 { width:48vw; height:48vw; background:var(--violet);  top:-10%; left:-8%; }
.aurora--2 { width:42vw; height:42vw; background:var(--magenta); bottom:-14%; right:-8%; animation-delay:-6s; }
.aurora--3 { width:34vw; height:34vw; background:var(--cyan);    top:24%; left:52%; opacity:.4; animation-delay:-10s; }
.aurora--4 { width:30vw; height:30vw; background:var(--amber);   bottom:10%; left:18%; opacity:.35; animation-delay:-3s; }
@keyframes float { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(3%,-5%) scale(1.1);} }
.grain { position:absolute; inset:0; opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero::before { content:""; position:absolute; inset:0; z-index:1;
  background:radial-gradient(120% 85% at 50% 44%, rgba(8,5,14,.72), rgba(8,5,14,.5) 42%, rgba(11,7,19,.9) 100%); }
.hero::after { content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(11,7,19,.9) 0%, rgba(11,7,19,.15) 22%, rgba(11,7,19,.45) 68%, var(--bg) 100%); }
.hero__content { position:relative; z-index:2; max-width:820px; }
.hero__logo { width:clamp(112px,15vw,164px); height:auto; aspect-ratio:1; border-radius:50%; display:block;
  margin:0 auto 1.5rem; box-shadow:0 24px 60px -18px rgba(236,72,153,.65), 0 0 0 4px rgba(255,255,255,.06);
  animation:floatLogo 6s ease-in-out infinite; }
@keyframes floatLogo { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-9px);} }
.hero__eyebrow { color:var(--muted-2); text-transform:uppercase; letter-spacing:.28em; font-size:.78rem; font-weight:600; margin:0 0 1rem; }
.hero__title { font-size:clamp(4.5rem,20vw,13rem); line-height:.85; margin:0; font-weight:700;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:0 0 90px rgba(168,85,247,.4); }
.hero__tag { font-size:clamp(1.05rem,2.4vw,1.4rem); color:var(--text); opacity:.92; margin:1.3rem auto 2rem; max-width:44ch; }
.hero__actions { display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; margin-top:2.2rem; }
.platform-strip { list-style:none; display:flex; flex-wrap:wrap; gap:.4rem 1.5rem; justify-content:center; padding:0; margin:2.4rem 0 0; }
.platform-strip a { color:var(--muted-2); font-weight:500; font-size:.94rem; position:relative; transition:color .2s; }
.platform-strip a::after { content:""; position:absolute; left:0; bottom:-3px; width:0; height:2px; background:var(--grad); transition:width .25s var(--ease); }
.platform-strip a:hover { color:var(--text); }
.platform-strip a:hover::after { width:100%; }
.hero__scroll { position:absolute; bottom:1.6rem; left:50%; transform:translateX(-50%); z-index:2; color:var(--muted-2); font-size:1.5rem; animation:bob 2s infinite; }
@keyframes bob { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,9px);} }

/* --- Sections --- */
.section { max-width:var(--maxw); margin:0 auto; padding:6rem 1.25rem; }
.section__head { margin-bottom:2.5rem; }
.kicker { color:var(--magenta); text-transform:uppercase; letter-spacing:.2em; font-size:.78rem; font-weight:700; margin:0 0 .5rem; }
.section__title { font-size:clamp(2.1rem,5vw,3.2rem); margin:0; font-weight:700; }
.section__sub { color:var(--muted-2); margin:.7rem 0 0; max-width:54ch; }

/* --- Featured --- */
.featured__card { display:grid; grid-template-columns:minmax(0,360px) 1fr; gap:2.5rem; align-items:center;
  background:linear-gradient(160deg,var(--surface),var(--bg-2)); border:1px solid var(--line); border-radius:var(--radius); padding:2rem; }
.featured__visual { position:relative; border-radius:var(--radius-sm); overflow:hidden; aspect-ratio:1; box-shadow:0 30px 60px -25px rgba(168,85,247,.6); }
.featured__visual img { width:100%; height:100%; object-fit:cover; }
.featured__canvas { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .6s; }
.featured__card:hover .featured__canvas { opacity:1; }
.featured__song { font-size:clamp(1.8rem,4vw,2.6rem); margin:.2rem 0 .5rem; }
.featured__desc { color:var(--muted-2); margin:0 0 1.5rem; max-width:44ch; }
.featured__cta { display:flex; gap:.7rem; flex-wrap:wrap; }

/* --- Music bar / search --- */
.music__bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1.8rem; }
.music__actions { display:flex; gap:.6rem; }
.search { position:relative; }
.search input { background:var(--surface); border:1.5px solid var(--line); border-radius:999px; color:var(--text);
  padding:.6rem 1rem .6rem 2.4rem; font:inherit; min-width:230px; transition:border-color .2s; }
.search input:focus { outline:none; border-color:var(--violet); }
.search__icon { position:absolute; left:.95rem; top:50%; transform:translateY(-50%); color:var(--muted); font-size:1.1rem; }

/* --- Grid / releases --- */
.grid { list-style:none; padding:0; margin:0; display:grid; gap:1.4rem; }
.grid--covers { grid-template-columns:repeat(auto-fill,minmax(168px,1fr)); }
.release { display:block; }
.is-hidden { display:none !important; }
.release__art { position:relative; aspect-ratio:1; border-radius:var(--radius-sm); overflow:hidden; margin-bottom:.75rem;
  transition:transform .28s var(--ease), box-shadow .28s var(--ease); background:var(--surface); }
.release__art img { width:100%; height:100%; object-fit:cover; }
.release__canvas { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .5s; }
.release:hover .release__art, .release:focus-within .release__art { transform:translateY(-6px); box-shadow:0 22px 46px -20px rgba(236,72,153,.75); }
.release:hover .release__canvas { opacity:1; }
.release__play { position:absolute; right:.6rem; bottom:.6rem; width:52px; height:52px; border-radius:50%;
  border:0; cursor:pointer; background:var(--grad); color:#12071d; font-size:1.1rem; font-weight:700;
  display:grid; place-items:center; transform:translateY(8px); opacity:0; transition:.25s var(--ease);
  box-shadow:0 8px 24px -6px rgba(0,0,0,.6); }
.release:hover .release__play, .release:focus-within .release__play, .release__play:focus-visible { opacity:1; transform:none; }
.release.is-playing .release__play { opacity:1; transform:none; }
.release__title { font-size:1rem; font-weight:600; margin:0; }
.release__title a { color:inherit; text-decoration:none; }
.release__title a:hover { color:var(--magenta); text-decoration:underline; text-underline-offset:3px; }
.release__meta { display:flex; justify-content:space-between; gap:.5rem; color:var(--muted); font-size:.85rem; margin:.15rem 0 0; }
.release.is-playing .release__title { color:var(--magenta); }
.music__note { color:var(--muted); font-size:.9rem; margin-top:2rem; text-align:center; }
.music__note a { color:var(--cyan); text-decoration:underline; text-underline-offset:3px; }

/* --- Videos --- */
.grid--videos { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1.4rem; }
.reel video { width:100%; aspect-ratio:9/16; object-fit:cover; border-radius:var(--radius); background:#000; box-shadow:0 20px 44px -22px rgba(0,0,0,.7); }
.reel__cap { margin:.6rem 0 0; font-weight:600; }
.reel__cap a { color:inherit; text-decoration:none; }
.reel__cap a:hover { color:var(--magenta); }

/* --- Mailing list --- */
.join__card { display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center; background:linear-gradient(120deg,var(--surface),var(--bg-2)); border:1px solid var(--line); border-radius:var(--radius); padding:2.2rem; }
.join__card .section__title { margin:.2rem 0 .5rem; }
.join__card p { color:var(--muted-2); margin:0; max-width:46ch; }
.join__form { display:flex; gap:.6rem; }
.join__form input[type=email] { background:var(--bg-2); border:1.5px solid var(--line); border-radius:999px; color:var(--text); padding:.85rem 1.2rem; font:inherit; min-width:240px; }
.join__form input[type=email]:focus { outline:none; border-color:var(--violet); }
@media (max-width:760px){ .join__card { grid-template-columns:1fr; } .join__form { flex-direction:column; } .join__form input[type=email]{ min-width:0; width:100%; } }

/* --- Platforms --- */
.grid--platforms { grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); }
.spotify-embed { max-width:100%; margin:0 auto 2.4rem; }
.spotify-embed iframe { display:block; width:100%; border:0; border-radius:14px; box-shadow:0 20px 50px -24px rgba(29,185,84,.5); }
.plat { display:flex; align-items:center; justify-content:space-between; padding:1.1rem 1.3rem;
  border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface); font-weight:600;
  transition:.22s var(--ease); position:relative; overflow:hidden; }
.plat::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--grad); }
.plat__go { color:var(--muted); font-weight:500; font-size:.9rem; transition:color .2s; }
.plat:hover { border-color:var(--violet); background:var(--surface-2); transform:translateY(-3px); }
.plat:hover .plat__go { color:var(--magenta); }
.plat--spotify::before{background:#1db954} .plat--apple::before{background:linear-gradient(#fa57c1,#fc3c44)}
.plat--youtube::before{background:#ff0000} .plat--soundcloud::before{background:#ff5500}
.plat--amazon::before{background:#25d1da} .plat--tidal::before{background:#00ffe0}
.plat--deezer::before{background:linear-gradient(#00c7f2,#a238ff)} .plat--pandora::before{background:#3668ff}

/* --- About --- */
.about__grid { display:grid; grid-template-columns:minmax(0,300px) 1fr; gap:2.8rem; align-items:center; }
.about__photo { max-width:340px; margin:0 auto; }
.about__photo img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:50%; box-shadow:0 24px 50px -20px rgba(236,72,153,.6), 0 0 0 4px rgba(255,255,255,.05); }
.about__text p { color:var(--muted-2); }
.about__stats { display:flex; gap:2.2rem; margin-top:1.8rem; flex-wrap:wrap; }
.about__stats span { display:flex; flex-direction:column; color:var(--muted); font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; }
.about__stats strong { font-family:"Space Grotesk"; font-size:2rem; color:var(--text); letter-spacing:-.02em;
  background:var(--grad-2); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* --- Shows --- */
.shows__empty { text-align:center; padding:3rem 1rem; border:1px solid var(--line); border-radius:var(--radius);
  background:linear-gradient(160deg,var(--surface),var(--bg-2)); }
.shows__empty p { color:var(--muted-2); margin:0 0 1.2rem; }
.shows__cta { display:flex; gap:.7rem; justify-content:center; flex-wrap:wrap; }

/* --- Contact --- */
.contact__grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.contact__socials { list-style:none; padding:0; margin:1.5rem 0 0; display:flex; flex-direction:column; gap:.6rem; }
.contact__socials a { color:var(--muted-2); font-weight:500; width:fit-content; transition:color .2s; }
.contact__socials a:hover { color:var(--magenta); }
.form { display:grid; gap:1rem; background:var(--surface); border:1px solid var(--line); padding:1.8rem; border-radius:var(--radius); position:relative; }
.form__row { display:grid; gap:.4rem; }
.form__row label { font-size:.85rem; color:var(--muted-2); font-weight:600; }
.form input,.form select,.form textarea { background:var(--bg-2); border:1.5px solid var(--line); border-radius:10px;
  color:var(--text); padding:.75rem .9rem; font:inherit; transition:border-color .2s; width:100%; }
.form input:focus,.form select:focus,.form textarea:focus { outline:none; border-color:var(--violet); }
.form textarea { resize:vertical; }
.form__note { color:var(--muted); font-size:.85rem; margin:0; text-align:center; }
.form__hp { position:absolute; left:-9999px; }

/* --- Footer --- */
.footer { border-top:1px solid var(--line); background:var(--bg-2); margin-top:3rem; position:relative; }
.footer__inner { max-width:var(--maxw); margin:0 auto; padding:3.5rem 1.25rem; display:flex; flex-direction:column; align-items:center; text-align:center; gap:1.4rem; }
.footer__brand { display:flex; align-items:center; gap:.55rem; }
.footer__links { display:flex; gap:1.3rem; justify-content:center; }
.footer__links a { color:var(--muted-2); font-size:.92rem; transition:color .2s; }
.footer__links a:hover { color:var(--text); }
.footer__imprint { color:var(--muted); font-size:.85rem; text-align:center; margin:0; display:flex; flex-direction:column; align-items:center; }
.footer__imprint p { margin:0; }
.oneword-logo { width:auto; height:190px; max-width:min(80vw,340px); opacity:.95; margin:.4rem auto .8rem; display:block; }
.to-top { position:absolute; right:1.25rem; top:-22px; width:44px; height:44px; border-radius:50%; background:var(--grad);
  color:#12071d; display:grid; place-items:center; font-size:1.2rem; box-shadow:0 10px 30px -8px rgba(168,85,247,.7); transition:transform .2s; }
.to-top:hover { transform:translateY(-3px); }

/* --- Sticky player --- */
.player { position:fixed; left:0; right:0; bottom:0; z-index:200; background:rgba(18,11,31,.96);
  backdrop-filter:blur(18px); border-top:1px solid var(--line); box-shadow:0 -10px 40px -10px rgba(0,0,0,.6); }
.player[hidden] { display:none; }
.player__inner { max-width:var(--maxw); margin:0 auto; height:var(--player-h); padding:0 1rem;
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr); align-items:center; gap:1rem; }
.player__now { display:flex; align-items:center; gap:.75rem; min-width:0; }
.player__now img { width:56px; height:56px; border-radius:10px; object-fit:cover; flex-shrink:0; background:var(--surface); }
.player__meta { min-width:0; display:flex; flex-direction:column; }
.player__title { font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.player__sub { color:var(--muted); font-size:.82rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.player__center { display:flex; flex-direction:column; gap:.35rem; }
.player__controls { display:flex; align-items:center; justify-content:center; gap:.5rem; }
.player__btn { background:none; border:0; color:var(--text); cursor:pointer; font-size:1.15rem; line-height:1;
  width:38px; height:38px; border-radius:50%; display:grid; place-items:center; transition:background .2s, transform .15s, color .2s; }
.player__btn:hover { background:rgba(255,255,255,.08); }
.player__btn[aria-pressed="true"] { color:var(--magenta); }
.player__btn--play { background:var(--grad); color:#12071d; width:46px; height:46px; font-size:1.15rem; }
.player__btn--play:hover { transform:scale(1.06); background:var(--grad); }
.player__seek { display:flex; align-items:center; gap:.6rem; }
.player__time { color:var(--muted); font-size:.75rem; font-variant-numeric:tabular-nums; width:38px; text-align:center; flex-shrink:0; }
.player__right { display:flex; align-items:center; justify-content:flex-end; gap:.4rem; }

/* range inputs */
input[type="range"] { -webkit-appearance:none; appearance:none; height:6px; border-radius:999px; cursor:pointer;
  background:linear-gradient(90deg,var(--magenta) var(--pct,0%), rgba(255,255,255,.16) var(--pct,0%)); width:100%; }
#p-vol { width:80px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance:none; width:14px; height:14px; border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.5); }
input[type="range"]::-moz-range-thumb { width:14px; height:14px; border:0; border-radius:50%; background:#fff; }

/* --- Reveal on scroll --- */
[data-reveal] { opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity:1; transform:none; }

/* --- Responsive --- */
@media (max-width:920px){
  .player__right { display:none; }
  .player__inner { grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); }
}
@media (max-width:820px){
  .nav__links,.nav__cta { display:none; }
  .nav__toggle { display:flex; margin-left:auto; }
  .nav.is-open .nav__links { display:flex; position:absolute; top:100%; left:0; right:0; flex-direction:column;
    background:var(--bg-2); border-bottom:1px solid var(--line); padding:1.1rem 1.25rem; gap:1.1rem; }
  .featured__card,.about__grid,.contact__grid { grid-template-columns:1fr; }
  .featured__visual,.about__photo { max-width:340px; }
  .footer__inner { grid-template-columns:1fr; text-align:center; justify-items:center; }
  .footer__imprint { text-align:center; }
}
@media (max-width:560px){
  .grid--covers { grid-template-columns:repeat(2,1fr); gap:1rem; }
  .music__bar { flex-direction:column; align-items:stretch; }
  .search input { width:100%; }
  .player__now img { width:46px; height:46px; }
  .player__center { grid-column:1 / -1; }
  .player__inner { grid-template-columns:1fr; height:auto; padding:.7rem 1rem; gap:.6rem; }
  body.has-player { padding-bottom:150px; }
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
  [data-reveal] { opacity:1!important; transform:none!important; }
}

/* About — welcome line */
.about__welcome{
  font-size:1.15rem;
  line-height:1.55;
  color:#f3e9ff;
  border-left:3px solid rgba(255,255,255,.28);
  padding-left:1rem;
  margin-bottom:1.1rem;
}
