/* CRCL public website — tokens from the product design system / globals.css.
   Fonts are self-hosted. No third-party runtime requests. */

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #fef200;
  --yellow-dim: #e6da00;
  --yellow-10: rgba(254, 242, 0, 0.1);
  --yellow-20: rgba(254, 242, 0, 0.16);
  --black: #000000;
  --red: #f03e24;
  --bg-page: #080808;
  --bg-0: #0d0d0d;
  --bg-1: #121212;
  --bg-2: #1a1a1a;
  --bg-3: #222222;
  --border: rgba(255, 255, 255, 0.07);
  --border-md: rgba(255, 255, 255, 0.13);
  --border-hi: rgba(255, 255, 255, 0.22);
  --text-1: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.6);
  --font-display: "Bebas Neue", "Arial Narrow", "Arial", sans-serif;
  --font-body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;
  --wrap: 72rem;
  --gutter: 1.25rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.25, 0, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-page);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 100;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--r-sm);
}

.skip-link:focus,
.skip-link:focus-visible {
  width: auto;
  height: auto;
  padding: 0.5rem 0.9rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-sm);
  text-decoration: none;
}

.logo img {
  display: block;
  height: 1.75rem;
  width: auto;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.7rem;
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: var(--r-full);
}

.primary-nav a:hover {
  color: var(--text-1);
}

.primary-nav a[aria-current="page"] {
  color: var(--black);
  background: var(--yellow);
}

.site-main {
  min-height: calc(100dvh - 12rem);
}

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-1);
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 18%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.5rem;
}

.hero-copy-inner {
  max-width: 36rem;
}

.brand-line {
  margin: 0 0 1.25rem;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.lede {
  margin: 1.35rem 0 0;
  max-width: 36rem;
  color: var(--text-2);
  font-size: 1.125rem;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.35rem;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 160ms var(--ease), border-color 160ms var(--ease),
    box-shadow 200ms var(--ease);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow-dim);
  box-shadow: 0 0 20px rgba(254, 242, 0, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--yellow);
  border: 1px solid var(--yellow);
}

.btn-secondary:hover {
  background: var(--yellow-10);
}

.brand-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orbit-graphic {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.spotlight-motif {
  position: absolute;
  display: block;
  max-width: none;
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  user-select: none;
}

.band {
  position: relative;
  padding: 1rem 0 4.5rem;
}

.band-ways {
  overflow: hidden;
  padding-top: 2.25rem;
}

.band-ways .wrap {
  position: relative;
  z-index: 1;
}

.spotlight-home {
  display: none;
}

.band h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.band-intro {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--text-2);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.35rem 1.25rem 1.45rem;
}

.card-visual {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.card-media {
  aspect-ratio: 1448 / 1086;
  overflow: hidden;
  background: var(--bg-1);
}

.card-media picture,
.card-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.card-media img {
  object-fit: cover;
  object-position: center 32%;
}

.card-visual .card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  background: var(--yellow-10);
  border: 1px solid rgba(254, 242, 0, 0.2);
  border-radius: var(--r-md);
}

.card-icon img,
.card-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.card-kicker {
  margin: 0 0 0.35rem;
  color: var(--yellow);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.play-mark {
  display: grid;
  grid-template-columns: repeat(2, 0.45rem);
  gap: 0.28rem;
}

.play-mark span {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--yellow);
  border-radius: 1px;
}

.page-hero {
  padding: 3rem 0 0.5rem;
}

.about-visual {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--bg-page);
}

.about-media {
  position: relative;
  width: 100%;
}

.about-media picture,
.about-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1774 / 887;
}

.about-media img {
  object-fit: cover;
  object-position: center center;
}

.about-copy-orbit {
  display: none;
}

.about-body .prose {
  padding-top: 2.25rem;
}

.contact-stage {
  position: relative;
  overflow: hidden;
  min-height: min(32rem, 72dvh);
  display: grid;
  align-items: center;
}

.contact-motifs {
  position: absolute;
  inset: auto -4rem -6rem auto;
  width: min(22rem, 68vw);
  height: min(22rem, 68vw);
  pointer-events: none;
}

.orbit-contact {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.contact-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(8.5rem, 38%);
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy .prose {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.privacy-main .prose {
  padding-top: 3.25rem;
  padding-bottom: 4.25rem;
}

.page-hero h1,
.prose > h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.prose {
  max-width: 40rem;
  padding: 3rem 0 3.5rem;
}

.prose > h1 {
  margin-bottom: 1.5rem;
}

.prose p {
  margin: 0 0 1.15rem;
  color: var(--text-2);
}

.prose p:last-child {
  margin-bottom: 0;
}

.legal-quiet {
  margin-top: 2rem;
  color: var(--text-3);
  font-size: 0.875rem;
}

.contact-email {
  display: inline-flex;
  margin: 0.35rem 0 0;
  color: var(--yellow);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid rgba(254, 242, 0, 0.35);
}

.contact-email:hover {
  border-bottom-color: var(--yellow);
}

.privacy .updated {
  margin: -0.35rem 0 1.75rem;
  color: var(--text-3);
  font-size: 0.875rem;
}

.privacy h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.privacy strong {
  color: var(--text-1);
  font-weight: 600;
}

.privacy a[href^="mailto:"] {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(254, 242, 0, 0.35);
}

.privacy ul {
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
  color: var(--text-2);
}

.privacy li + li {
  margin-top: 0.4rem;
}

.draft-note {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--yellow-10);
  border: 1px solid rgba(254, 242, 0, 0.2);
  border-radius: var(--r-md);
  color: var(--text-1);
  font-size: 0.875rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #000;
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
  color: var(--text-3);
  font-size: 0.8125rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-nav a {
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--text-1);
}

@media (min-width: 720px) {
  :root {
    --gutter: 2rem;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-hero {
    padding-top: 4.5rem;
  }

  .contact-motifs {
    top: 50%;
    right: 6%;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
    width: min(26rem, 40vw);
    height: min(26rem, 40vw);
  }
}

@media (min-width: 900px) {
  .hero {
    display: grid;
    align-items: center;
    min-height: 0;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }

  .hero-media img {
    object-position: 58% 50%;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      #080808 0%,
      rgba(8, 8, 8, 0.94) 24%,
      rgba(8, 8, 8, 0.72) 34%,
      rgba(8, 8, 8, 0.28) 46%,
      transparent 58%
    );
    pointer-events: none;
  }

  .hero-copy {
    padding: 2.75rem 0 3rem;
  }

  .hero-copy-inner {
    max-width: 22rem;
    padding-right: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  }

  .hero-copy .lede {
    max-width: 22rem;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  }

  .hero-actions {
    max-width: 22rem;
  }

  .about-body {
    display: grid;
    grid-template-columns: minmax(0, 40rem) minmax(9rem, 1fr);
    align-items: start;
    column-gap: 1.5rem;
  }

  .about-copy-orbit {
    display: block;
    position: relative;
    min-height: 16rem;
    margin-top: 3.5rem;
    overflow: hidden;
    pointer-events: none;
  }

  .orbit-about-copy {
    right: -12%;
    top: 0;
    width: min(20rem, 26vw);
    height: auto;
    opacity: 0.72;
  }

  .spotlight-home {
    display: block;
    right: -8%;
    top: -4rem;
    width: min(14rem, 18vw);
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-contrast: more) {
  .card,
  .site-header,
  .site-footer,
  .draft-note {
    border-color: var(--border-hi);
  }

  .lede,
  .card p,
  .prose p,
  .band-intro {
    color: var(--text-1);
  }

  .hero::after {
    background: #080808;
  }

  @media (min-width: 900px) {
    .hero::after {
      background: linear-gradient(
        90deg,
        #080808 0%,
        #080808 48%,
        rgba(8, 8, 8, 0.85) 58%,
        transparent 78%
      );
    }
  }
}
