/* Switch Phase — official site draft v7
   Pure black background, logo blue #1AC7FB, logo purple #551EFE.
   No pink. The blue is blue, never green. */

:root {
  --bg: #000000;
  --bg-elev: #12131a;
  --text: #f3f4f7;
  --muted: #9b9ca8;
  --quiet: #6e6f7c;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #1ac7fb;
  --purple: #551efe;
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4.5vw, 4.5rem);
  --max: 68rem;
}

@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/Outfit-Variable.woff2") format("woff2"),
       url("assets/fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

::selection {
  background: var(--purple);
  color: #fff;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 40;
  padding: 0.5rem 0.8rem;
  background: var(--blue);
  color: #071018;
  font-size: 0.85rem;
  font-weight: 600;
}

.skip:focus {
  top: 0.75rem;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--pad);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-wordmark {
  width: min(168px, 42vw);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.4vw, 1.75rem);
}

.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100svh - 3.4rem);
  padding: 3.5rem var(--pad) 3rem;
  overflow: hidden;
  background: #000;
}

.hero-logo-wrap {
  position: relative;
  width: min(22rem, 72vw);
  margin: 0 auto 1.6rem;
}

.hero-logo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: none;
  animation: neon-ignite 1.85s linear both;
}

.hero h1 {
  margin: 0;
  position: relative;
}

.hero-wordmark {
  width: min(36rem, 88vw);
  margin: 0 auto;
  animation: rise-in 0.85s ease-out 1.05s both;
}

.tagline {
  position: relative;
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, 2.1vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #c6c7d1;
  animation: rise-in 0.85s ease-out 1.2s both;
}

.scroll-cue {
  position: relative;
  margin-top: 2.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--quiet);
  animation: rise-in 0.85s ease-out 1.35s both;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 2.1rem;
  margin: 0.7rem auto 0;
  background: linear-gradient(to bottom, var(--blue), var(--purple));
  opacity: 0.7;
}

.scroll-cue:hover {
  color: var(--text);
}

/* ——— Wave break ——— */

.wave-break {
  display: flex;
  justify-content: center;
  padding: 0 var(--pad) 0.5rem;
  overflow: hidden;
}

.wave-break img {
  width: min(34rem, 86vw);
  opacity: 0.55;
  filter: none;
  animation: wave-drift 16s ease-in-out infinite;
  will-change: transform;
}

/* ——— Shared sections ——— */

.section {
  padding: 4.5rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 2.25rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* ——— Releases ——— */

.releases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 740px) {
  .releases {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.card {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.card:hover,
.card:focus-within {
  border-color: rgba(26, 199, 251, 0.42);
}

.card-cover {
  display: block;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.35s ease;
}

.card:hover .card-cover img,
.card:focus-within .card-cover img {
  transform: scale(1.02);
  filter: saturate(1.06);
}

.card-body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.card-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.card-meta {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.platform-links a:hover,
.platform-links a:focus-visible {
  background: rgba(26, 199, 251, 0.1);
  border-color: rgba(26, 199, 251, 0.5);
  color: var(--text);
}

.platform-links svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: currentColor;
}

/* ——— About ——— */

#about {
  max-width: 46rem;
  text-align: center;
}

#about .section-head {
  margin-bottom: 1.25rem;
}

#about .about-copy {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.7;
  color: #d0d1d8;
}

.origin-note {
  margin: 1.7rem auto 0;
  padding-top: 1.45rem;
  max-width: 32rem;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.65;
  color: #c4c5cd;
}

.logo-meaning {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem 1.5rem;
  text-align: left;
  margin: 2.15rem auto 0;
  padding-top: 1.75rem;
  max-width: 36rem;
  border-top: 1px solid var(--line);
}

.logo-meaning-symbol {
  width: 6.75rem;
  height: auto;
  flex-shrink: 0;
  margin-top: 0.1rem;
  filter: none;
}

.logo-meaning-copy {
  min-width: 0;
}

.logo-meaning .eyebrow {
  margin-bottom: 0.55rem;
}

.logo-meaning-copy p:not(.eyebrow) {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.7;
  color: #d0d1d8;
}

/* ——— Connect ——— */

#connect {
  text-align: center;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.35rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.socials svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}


.socials a:hover,
.socials a:focus-visible {
  border-color: rgba(26, 199, 251, 0.5);
}

.socials-listen {
  margin-top: -0.75rem;
}

/* ——— About slots (bio / vision / mission drop in here) ——— */

.draft-flag {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.3rem 0.75rem;
  border: 1px dashed rgba(26, 199, 251, 0.6);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.about-slot {
  text-align: left;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.about-slot p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.7;
  color: #d0d1d8;
}

.about-slot .slot-empty {
  color: var(--quiet);
  font-style: italic;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

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

.slot-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-left: 0.6rem;
  border-left: 2px solid var(--purple);
  color: var(--muted);
}

.email {
  display: inline-block;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid rgba(26, 199, 251, 0.35);
  padding-bottom: 0.12rem;
}

.email:hover,
.email:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ——— Footer ——— */

.site-footer {
  padding: 2.4rem var(--pad) 2.8rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--quiet);
}

/* ——— Motion ——— */

@keyframes neon-ignite {
  0%,
  5% { opacity: 0; }
  8%,
  18% { opacity: 1; }
  20%,
  28% { opacity: 0; }
  32%,
  40% { opacity: 1; }
  42%,
  46% { opacity: 0.4; }
  55%,
  100% { opacity: 1; }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wave-drift {
  0%,
  100% { transform: translateX(-10px); }
  50% { transform: translateX(10px); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 560px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
    padding: 0.55rem 1rem 0.5rem;
  }

  .brand {
    justify-content: center;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 1.4rem;
    padding-bottom: 0.1rem;
  }

  .nav a {
    letter-spacing: 0.14em;
    font-size: 0.72rem;
  }

  .hero {
    min-height: calc(100svh - 5.6rem);
    padding: 2.4rem 1.1rem 2.2rem;
  }

  .hero-logo-wrap {
    width: min(16.5rem, 68vw);
    margin-bottom: 1.15rem;
  }

  .section {
    padding: 3.4rem 1.25rem;
  }

  .card-body {
    padding: 1.05rem 1.05rem 1.2rem;
  }

  .logo-meaning {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.95rem;
  }

  .logo-meaning-symbol {
    width: 5.25rem;
    margin-top: 0;
  }

  .logo-meaning-copy p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  /* Lighter, faster motion on phones */
  .hero-logo {
    animation-duration: 1.35s;
  }

  .hero-wordmark,
  .tagline,
  .scroll-cue {
    animation-duration: 0.55s;
  }

  .hero-wordmark { animation-delay: 0.7s; }
  .tagline { animation-delay: 0.82s; }
  .scroll-cue { animation-delay: 1s; }

  .wave-break img {
    animation-duration: 14s;
  }

  .js .reveal {
    transform: translateY(8px);
    transition-duration: 0.4s;
  }
}

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

  .hero-logo,
  .hero-wordmark,
  .tagline,
  .scroll-cue,
  .wave-break img {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }

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

  .card,
  .card-cover img,
  .platform-links a,
  .socials a,
  .email {
    transition: none;
  }

  .card:hover .card-cover img,
  .card:focus-within .card-cover img {
    transform: none;
  }
}

/* v7: approved About copy */
.about-slot p + p,
.logo-meaning-copy p + p {
  margin-top: 1rem;
}

#about .logo-meaning {
  margin: 1rem auto 0;
  max-width: none;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

#about .logo-meaning .slot-label {
  margin-bottom: 0.5rem;
}

#about .about-grid {
  margin-top: 1rem;
}

#about .logo-meaning picture {
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  #about .logo-meaning {
    align-items: flex-start;
    text-align: left;
  }
}
