
/* OUTOFFORME — Main Stylesheet */

* {
  box-sizing: border-box;
}

:root {
  --bg: #090909;
  --fg: #f2f0e9;
  --muted: #a2a19b;
  --line: #343431;
  --acid: #d7ff3f;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', Arial, sans-serif;
}

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

/* NAVIGATION */

.topbar {
  height: 78px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #090909ed;
  backdrop-filter: blur(14px);
  z-index: 10;
}

.brand {
  font-weight: 700;
  letter-spacing: -.045em;
  font-size: 22px;
}

.brand span {
  font-size: 10px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 4px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 11px;
  letter-spacing: .12em;
}

nav a:hover,
.text-link:hover,
footer a:hover {
  color: var(--acid);
}

.nav-cta {
  border: 1px solid var(--line);
  padding: 12px 16px;
}

.menu {
  display: none;
  background: none;
  color: var(--fg);
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 690px;
  padding: 70px 8vw 45px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 75% 48%,
    #292a24 0%,
    #111 24%,
    #090909 62%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    #777 4px,
    transparent 5px
  );
  pointer-events: none;
}

.hero-kicker,
.eyebrow {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--muted);
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  margin-right: 10px;
  box-shadow: 0 0 14px var(--acid);
}

/* LARGE OUT OF FORME HEADING */

.hero h1 {
  font-size: clamp(72px, 16vw, 240px);
  line-height: .9;
  letter-spacing: -.065em;
  margin: 80px 0 65px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.hero h1 .hero-forme {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
  letter-spacing: -.045em;
  white-space: nowrap;
}

/*
  IPA PRONUNCIATION
  Change font-size here to adjust its size.
*/

.hero h1 .hero-forme .hero-ipa {
  display: inline-block;
  font-size: clamp(18px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--fg);
  -webkit-text-stroke: 0;
  margin-left: .4em;
  vertical-align: baseline;
  white-space: nowrap;
}

/* HERO BOTTOM */

.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hero-bottom p {
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .08em;
}

.genres {
  text-align: right;
  color: var(--muted);
}

.round-link {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid #777;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
}

.round-link:hover {
  border-color: var(--acid);
  color: var(--acid);
}

/* MOVING TICKER */

.ticker {
  overflow: hidden;
  background: var(--acid);
  color: #111;
  padding: 13px 0;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  white-space: nowrap;
}

.ticker div {
  width: max-content;
  animation: move 25s linear infinite;
}

@keyframes move {
  to {
    transform: translateX(-30%);
  }
}

/* SHARED SECTIONS */

.section {
  padding: 115px 8vw;
}

.section-head {
  margin-bottom: 45px;
}

.section-head h2,
.community h2 {
  font-size: clamp(42px, 7vw, 95px);
  line-height: .98;
  letter-spacing: -.045em;
  margin: 22px 0;
}

.muted {
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.small {
  font-size: 10px;
}

/* MUSIC / RELEASE CARD */

.release-card {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1fr);
  gap: 7vw;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 35px 0;
}

.cover {
  aspect-ratio: 1;
  background: linear-gradient(
    135deg,
    #b9c2c0,
    #353a3a 45%,
    #080808 46%,
    #1a1b1a
  );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #0a0a0a;
  font-size: clamp(35px, 6vw, 70px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
}

.cover-orbit {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border: 1px solid #f2f0e988;
  border-radius: 50%;
  left: 22%;
  top: -12%;
  box-shadow:
    0 0 0 25px #fff1,
    0 0 0 55px #fff1;
}

.release-info {
  min-width: 0;
  max-width: 100%;
}

.release-info .eyebrow {
  margin: 0;
}

/* SMALLER NEXT RELEASE HEADING */

.release-info .release-title {
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.03;
  letter-spacing: -.045em;
  margin: 22px 0 20px;
  font-weight: 700;
}

/* PROJECT NAME */

.release-info .release-project {
  font-size: clamp(16px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  overflow-wrap: break-word;
}

/* RELEASE DESCRIPTION */

.release-info .release-copy {
  display: block;
  position: static;
  max-width: 48ch;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: normal;
  margin: 0 0 24px;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #565650;
  padding: 14px 17px;
  background: transparent;
  color: var(--fg);
  font: 600 10px 'Space Grotesk', Arial, sans-serif;
  letter-spacing: .1em;
  cursor: pointer;
  text-align: center;
}

.button:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.primary {
  background: var(--acid);
  color: #111;
  border-color: var(--acid);
}

.primary:hover {
  background: var(--fg);
  color: #111;
  border-color: var(--fg);
}

.release-info .release-note {
  display: block;
  position: static;
  max-width: 48ch;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .01em;
  margin: 0;
  overflow-wrap: break-word;
}

/* WEEKLY SIGNAL */

.snippet-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 35px;
  align-items: center;
  padding: 55px 0 10px;
}

.snippet-row h3 {
  font-size: 36px;
  line-height: .98;
  letter-spacing: -.035em;
}

.text-link {
  font-size: 11px;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--acid);
  padding-bottom: 8px;
  white-space: nowrap;
}

/* SHOP */

.shop {
  background: #111;
  padding-top: 100px;
}

.shop-intro {
  max-width: 58ch;
}

/* COLLECTIONS */

.collection {
  margin-top: clamp(3rem, 6vw, 6rem);
}

.collection-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.collection-heading h3 {
  margin: .25rem 0;
  font-size: clamp(1.6rem, 3.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.collection-heading .muted {
  max-width: 45ch;
}

.collection-count {
  font-size: .75rem;
  letter-spacing: .12em;
  white-space: nowrap;
  opacity: .7;
}

/* MERCH GRID */

.collection .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: 2rem;
}

.collection .product {
  min-width: 0;
}

.collection .product-image {
  aspect-ratio: 4 / 5;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  text-align: center;
  background: #222;
  color: #f3f3ef;
  border: 1px solid rgba(255,255,255,.12);
}

.collection .product-image .placeholder-art {
  display: block;
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -.065em;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  padding: 1.25rem;
}

.collection .product-image .placeholder-art--special {
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-style: italic;
}

.collection .product-image .placeholder-type {
  z-index: 1;
  font-size: .68rem;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .65;
}

.collection .product-image .placeholder-number {
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  right: 1rem;
  font-style: normal;
  font-size: .7rem;
  letter-spacing: .08em;
  opacity: .65;
}

.collection .product-image .placeholder-tag {
  position: absolute;
  z-index: 1;
  left: 1rem;
  top: 1rem;
  font-size: .62rem;
  line-height: 1.2;
  letter-spacing: .13em;
  opacity: .82;
  text-align: left;
}

/* PRODUCT PLACEHOLDER COLORS */

.collection .product-image.color-black {
  background: #171717;
  color: #f2f2f0;
}

.collection .product-image.color-grey {
  background: #858585;
  color: #111;
}

.collection .product-image.color-white {
  background: #e7e5df;
  color: #171717;
}

.collection .product-image.color-olive {
  background: #1a2f00;
  color: #f2f2f0;
}

/* PRODUCT DESCRIPTIONS */

.collection .product-meta {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: 17px 0;
}

.collection .product-meta h4 {
  margin: 0 0 .4rem;
  font-size: 1rem;
  line-height: 1.25;
}

.collection .product-meta p {
  margin: 0;
  font-size: .8rem;
}

.collection .product .button.full {
  display: block;
  width: 100%;
  text-align: center;
  cursor: not-allowed;
  opacity: .65;
}

.collection-note {
  margin: 1.25rem 0 0;
  font-size: .75rem;
}

/* MANIFESTO */

.manifesto {
  padding: 120px 8vw;
  background: var(--acid);
  color: #111;
}

.manifesto .eyebrow {
  color: #333;
}

.manifesto h2 {
  font-size: clamp(45px, 8.5vw, 120px);
  letter-spacing: -.045em;
  line-height: .95;
  margin: 55px 0;
  overflow-wrap: anywhere;
}

.manifesto h2 span {
  color: transparent;
  -webkit-text-stroke: 1.5px #111;
}

.manifesto-story {
  border-top: 1px solid rgba(0,0,0,.35);
  padding-top: clamp(1.5rem, 3vw, 3rem);
}

.manifesto-lead {
  max-width: 900px;
  font-size: clamp(1.25rem, 2.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.035em;
  margin: 0 0 clamp(2rem, 4vw, 4rem);
}

.manifesto-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 5rem);
}

.manifesto-details h3 {
  font-size: .72rem;
  letter-spacing: .14em;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.manifesto-details p {
  max-width: 52ch;
  margin: 0;
  font-size: clamp(.9rem, 1.15vw, 1rem);
  line-height: 1.8;
}

/* COMMUNITY */

.community {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}

.community > div {
  max-width: 650px;
}

.community .button {
  flex-shrink: 0;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--line);
  padding: 30px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer p,
footer div {
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted);
}

footer div {
  display: flex;
  gap: 18px;
}

/* LEGAL PAGES — IMPRINT / PRIVACY */

.legal-page .topbar {
  position: relative;
}

.legal-main {
  min-height: 70vh;
  max-width: 1200px;
  margin: auto;
}

.legal-heading {
  font-size: clamp(52px, 10vw, 120px);
  line-height: .95;
  letter-spacing: -.065em;
  margin: 30px 0 35px;
  overflow-wrap: anywhere;
}

.legal-content {
  max-width: 760px;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}

.legal-content p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}

.legal-content h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 35px 0 12px;
}

.legal-content strong {
  color: var(--fg);
  font-weight: 600;
}

.legal-content .legal-alert strong {
  color: var(--acid);
}

.legal-content a:not(.button) {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-back {
  display: inline-block;
  margin-top: 25px;
}

.legal-alert {
  border-left: 2px solid var(--acid);
  padding-left: 18px;
}

.legal-page .legal-content {
  padding-bottom: 45px;
}

/* OPTIONAL SHARED INTRO / LABEL STYLES */

.chapter-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 6vw;
  max-width: 1050px;
  margin-top: 30px;
}

.chapter-intro .lead {
  grid-row: span 2;
}

.lead {
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: -.035em;
  margin: 0;
  font-weight: 600;
}

.chapter-intro .muted,
.label-content .muted {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.label-section {
  background: #171815;
  border-top: 1px solid var(--line);
}

.label-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}

.label-content > div {
  display: grid;
  gap: 18px;
}

/* RESPONSIVE — TABLET */

@media (max-width: 900px) {
  .collection .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* RESPONSIVE — MOBILE */

@media (max-width: 760px) {
  .topbar {
    height: 65px;
  }

  nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #090909;
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }

  nav.open {
    display: flex;
  }

  .menu {
    display: block;
  }

  .hero {
    min-height: 600px;
    padding: 55px 7vw 35px;
  }

  .hero h1 {
    margin: 90px 0 65px;
    font-size: clamp(64px, 17vw, 125px);
    line-height: .94;
  }

  /* Smaller IPA pronunciation on mobile */
  .hero h1 .hero-forme .hero-ipa {
    font-size: clamp(12px, 2.8vw, 18px);
    margin-left: .3em;
  }

  .hero-bottom {
    gap: 12px;
  }

  .hero-bottom p {
    font-size: 10px;
  }

  .section {
    padding: 75px 7vw;
  }

  .release-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cover {
    max-width: 440px;
    width: 100%;
  }

  .release-info .release-title {
    font-size: clamp(32px, 8.8vw, 46px);
    margin: 18px 0;
  }

  .release-info .release-project {
    font-size: clamp(16px, 4.5vw, 21px);
  }

  .release-info .release-copy {
    font-size: 13px;
    line-height: 1.7;
  }

  .release-info .release-note {
    font-size: 11px;
  }

  .snippet-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .collection .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem .8rem;
  }

  .collection .product-image .placeholder-art {
    font-size: clamp(1rem, 5vw, 1.6rem);
  }

  .collection .product-image .placeholder-art--special {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .collection .product-image .placeholder-tag {
    font-size: .53rem;
    left: .65rem;
    top: .65rem;
  }

  .collection .product-meta h4 {
    font-size: .85rem;
  }

  .manifesto {
    padding: 85px 7vw;
  }

  .manifesto-details {
    grid-template-columns: 1fr;
  }

  .community {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  footer {
    flex-wrap: wrap;
  }

  footer .brand {
    width: 100%;
  }

  .chapter-intro,
  .label-content {
    grid-template-columns: 1fr;
  }

  .chapter-intro .lead {
    grid-row: auto;
  }

  .legal-heading {
    margin-top: 20px;
  }

  .legal-main {
    min-height: 65vh;
  }
}

@media (max-width: 390px) {
  .collection .products {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 16vw;
  }

  .hero h1 .hero-forme .hero-ipa {
    font-size: 11px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
