/* ==========================================================================
   alexonta.com — kinetic editorial, locked dark, square corners.
   Accent: electric blue (#4d8dff), single accent, used page wide.
   Type: Bricolage Grotesque (display) + Geist (text) + Geist Mono (labels).
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #17171a;
  --line: #232327;
  --line-2: #33333a;
  --ink: #f5f5f6;
  --dim: #9c9ca4;
  --mute: #6b6b74;

  --accent: #4d8dff;
  --accent-dim: #2f6ad6;
  --on-accent: #0a0a0b;

  --spotify: #1db954;
  --applemusic: #fa586a;
  --soundcloud: #ff5500;
  --youtube: #ff0033;
  --tidal: #ffffff;
  --amazonmusic: #46c3d3;
  --songstats: #ffffff;
  --linktree: #43e660;
  --instagram: #e1306c;
  --tiktok: #ffffff;
  --kick: #53fc18;
  --community: #29a9eb;
  --whop: #ff6243;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --display: 'Bricolage Grotesque', 'Geist', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Helvetica, Arial, sans-serif;
  --text: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
    Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

p {
  margin: 0 0 1.1em;
}

.section {
  padding: clamp(80px, 13vw, 168px) 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--ink);
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 11px 18px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Header — hidden over the hero, slides in once the hero is behind you
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 68px;
  background: rgb(10 10 11 / 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.header.is-visible {
  transform: none;
  opacity: 1;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.brand img {
  width: 26px;
  height: 26px;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 15px;
  color: var(--dim);
}

.nav a {
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Hero — name at poster scale, portrait wedged between the two words
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 12vh, 140px) 0 clamp(40px, 7vh, 80px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20vh;
  right: -10vw;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(
    circle,
    rgb(77 141 255 / 0.15),
    transparent 62%
  );
  pointer-events: none;
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(4px, 1.5vw, 24px);
}

.hero-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.6rem, 15.5vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.055em;
  margin: 0;
  white-space: nowrap;
}

.hero-word span {
  display: inline-block;
}

.hero-portrait {
  position: relative;
  width: clamp(150px, 21vw, 300px);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  filter: grayscale(1) contrast(1.08);
  transition: filter 0.6s var(--ease);
}

.hero-portrait:hover {
  filter: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-top: clamp(36px, 6vh, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero-lead {
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--dim);
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .hero {
    padding-top: clamp(84px, 11vh, 120px);
  }

  .hero-stage {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .hero-word {
    font-size: clamp(3rem, 17vw, 6rem);
  }

  .hero-portrait {
    width: min(42vw, 220px);
    margin-left: auto;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
    margin-top: clamp(24px, 4vh, 44px);
  }

  .hero-lead {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Ticker — one per page, and it is a real link
   -------------------------------------------------------------------------- */

.ticker {
  display: block;
  background: var(--accent);
  color: var(--on-accent);
  border-block: 1px solid var(--accent);
  padding: 16px 0;
  overflow: hidden;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.ticker:hover {
  background: var(--ink);
  color: var(--bg);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.ticker span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  padding-right: 0.5em;
  flex: none;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   About — text column, photographs drifting against it
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.about-text {
  max-width: 60ch;
  color: var(--dim);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
}

.about-text strong {
  color: var(--ink);
  font-weight: 600;
}

.about-text a {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--accent);
  transition: color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.about-text a:hover {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.about-lede {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.4em;
}

.about-shots {
  display: grid;
  gap: clamp(18px, 3vw, 34px);
}

.about-shots figure {
  margin: 0;
  overflow: hidden;
}

.about-shots figure:last-child {
  margin-left: clamp(24px, 6vw, 72px);
}

.about-shots img {
  width: 100%;
  transition: transform 0.7s var(--ease);
}

.about-shots figure:hover img {
  transform: scale(1.04);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(48px, 7vw, 92px);
}

.facts div {
  background: var(--bg);
  padding: clamp(22px, 3vw, 34px);
}

.facts dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}

.facts dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  letter-spacing: -0.03em;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-shots {
    grid-template-columns: 1fr 1fr;
  }

  .about-shots figure:last-child {
    margin-left: 0;
  }

  .facts {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Release — full-bleed, cover carries the section
   -------------------------------------------------------------------------- */

.release {
  position: relative;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.release-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.release-art {
  position: relative;
  overflow: hidden;
}

.release-art img {
  width: 100%;
  transition: transform 0.8s var(--ease);
}

.release:hover .release-art img {
  transform: scale(1.03);
}

.release-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  margin-bottom: 20px;
}

.release-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 26px;
}

.release-copy {
  max-width: 42ch;
  color: var(--dim);
  margin-bottom: 30px;
}

@media (max-width: 860px) {
  .release-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Index — the link wall. Type-scale rows, accent floods in from the left.
   -------------------------------------------------------------------------- */

.index-group + .index-group {
  margin-top: clamp(44px, 6vw, 76px);
}

.group-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--accent);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
  margin: 0 0 4px;
}

.row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  padding: clamp(15px, 2vw, 22px) clamp(12px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}

.row::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.row:hover::before,
.row:focus-visible::before {
  transform: scaleX(1);
}

.row-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--brand, var(--ink));
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.row-mark svg {
  width: 100%;
  height: 100%;
}

.row-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1;
  transition: color 0.3s var(--ease);
}

.row-handle {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.3s var(--ease);
}

.row-go {
  width: 20px;
  height: 20px;
  color: var(--mute);
  transform: translateX(-8px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease),
    color 0.3s var(--ease);
}

.row:hover .row-mark,
.row:hover .row-name,
.row:hover .row-handle,
.row:hover .row-go {
  color: var(--on-accent);
}

.row:hover .row-mark {
  transform: scale(1.08);
}

.row:hover .row-go {
  transform: none;
  opacity: 1;
}

@media (max-width: 600px) {
  .row-handle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  text-align: center;
}

.contact-mail {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 6.5vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1;
  word-break: break-word;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0 3px;
  background-position: left 100%;
  transition: color 0.3s var(--ease), background-size 0.45s var(--ease);
}

.contact-mail:hover {
  color: var(--accent);
  background-size: 100% 3px;
}

.contact p {
  color: var(--dim);
  margin: 26px 0 0;
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 14px;
  color: var(--mute);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Motion — entry choreography and scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-word span,
.hero-portrait,
.hero-foot > * {
  animation: rise 1s var(--ease) both;
}

.hero-word span:nth-child(1) { animation-delay: 0.05s; }
.hero-word span:nth-child(2) { animation-delay: 0.1s; }
.hero-word span:nth-child(3) { animation-delay: 0.15s; }
.hero-word span:nth-child(4) { animation-delay: 0.2s; }
.hero-portrait { animation-delay: 0.34s; }
.hero-foot > *:nth-child(1) { animation-delay: 0.44s; }
.hero-foot > *:nth-child(2) { animation-delay: 0.52s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
  }

  .header {
    transform: none;
    opacity: 1;
  }
}
