/* Ayolume home: a wet road at night. Midnight asphalt, the logo's turquoise as light trails,
   headlight cream for type, and sodium-lamp amber only for what is new. */
:root {
  --night: #060a12;
  --asphalt: #101826;
  --line: #1e2a3b;
  --glow: #52e2d8;
  --headlight: #f8efe0;
  --mist: #93a1b5;
  --sodium: #ffb347;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--headlight);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--glow); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sodium); outline-offset: 3px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(6, 10, 18, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--headlight); text-decoration: none;
  font: 700 1.1rem var(--display); letter-spacing: .02em; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.top nav { display: flex; gap: clamp(12px, 3vw, 28px); }
.top nav a { color: var(--mist); text-decoration: none; font-weight: 500; }
.top nav a:hover { color: var(--headlight); }

/* hero: the cover sits on wet asphalt, a light trail runs behind it */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(24px, 4vw, 48px);
  max-width: 1280px; margin: 0 auto;
}
.trail {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  fill: none; stroke: var(--glow); stroke-width: 6; stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(82, 226, 216, .75)) drop-shadow(0 0 30px rgba(82, 226, 216, .35));
  opacity: .55;
}
.trail path { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: drive 2.6s cubic-bezier(.3, .1, .2, 1) .2s forwards; }
.trail .trail-thin { stroke-width: 2; opacity: .6; animation-delay: .5s; }
@keyframes drive { to { stroke-dashoffset: 0; } }

.cover-wrap { position: relative; z-index: 1; }
.cover {
  width: 100%; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(82, 226, 216, .25), 0 30px 80px -20px rgba(82, 226, 216, .45);
}
.reflection {
  width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: bottom;
  transform: scaleY(-1); margin-top: 6px; border-radius: 6px;
  opacity: .35; filter: blur(3px) saturate(1.3);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero-text { position: relative; z-index: 1; }
.kicker { margin: 0 0 12px; color: var(--sodium); font-weight: 600; }
h1 {
  margin: 0; font: 800 clamp(2.6rem, 7.2vw, 6rem)/.95 var(--display); letter-spacing: -.02em;
  text-wrap: balance;
}
.lede { max-width: 34ch; margin: 20px 0 28px; color: var(--mist); font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { margin: 26px 0 0; color: var(--mist); font-size: .95rem; }
.badge span { color: var(--glow); margin-right: 6px; }

.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  border: 1px solid rgba(82, 226, 216, .55); color: var(--headlight);
  font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s;
}
.btn:hover { background: rgba(82, 226, 216, .12); }
.btn-main { background: var(--glow); border-color: var(--glow); color: var(--night); }
.btn-main:hover { background: var(--headlight); border-color: var(--headlight); }
.btn-small { padding: 9px 18px; font-size: .95rem; }

/* next release strip */
.next {
  display: flex; align-items: center; gap: 16px;
  max-width: 1280px; margin: 0 auto clamp(48px, 8vw, 96px); padding: 14px var(--gutter);
}
.next img { width: 64px; height: 64px; border-radius: 4px; }
.next p { margin: 0; flex: 1; color: var(--mist); }
.next strong { color: var(--headlight); font-weight: 600; }

/* sections */
.releases, .watch, .about { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 9vw, 112px); }
h2 { margin: 0 0 10px; font: 700 clamp(1.6rem, 3.4vw, 2.4rem)/1.1 var(--display); }
.section-note { max-width: 62ch; margin: 0 0 32px; color: var(--mist); }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px 20px;
}
.grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.grid h3 { margin: 12px 0 4px; font: 500 1rem/1.3 var(--display); }
.grid p { margin: 0; display: flex; gap: 14px; font-size: .95rem; }
.grid a { text-decoration: none; }
.grid a:hover { text-decoration: underline; }
.grid .stream { color: var(--sodium); }

.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.video, .videos iframe {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 6px;
  overflow: hidden; background: var(--asphalt); cursor: pointer;
}
.video img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: rgba(6, 10, 18, .7); border: 2px solid var(--glow);
}
.play::after {
  content: ""; position: absolute; left: 26px; top: 20px;
  border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--glow);
}
.video:hover .play { background: var(--glow); }
.video:hover .play::after { border-left-color: var(--night); }
.video-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; text-align: left;
  background: linear-gradient(transparent, rgba(6, 10, 18, .9)); color: var(--headlight);
  font: 500 1rem var(--display);
}
.more { margin: 28px 0 0; }

.about p { max-width: 62ch; color: var(--mist); }
.about p:first-of-type { color: var(--headlight); font-size: 1.25rem; }
.socials { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 24px var(--gutter); border-top: 1px solid var(--line); color: var(--mist); font-size: .9rem;
}
footer p { margin: 0; }
footer a { margin-right: 18px; }

@media (max-width: 760px) {
  .top nav a:nth-child(3) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .cover-wrap { max-width: 420px; }
  .reflection { display: none; }
  .videos { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .next { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trail path { animation: none; stroke-dashoffset: 0; }
}
