:root {
  --ink: #eef3f5;
  --muted: #87949d;
  --night: #03070a;
  --night-blue: #07141b;
  --cyan: #a9f6ff;
  --cyan-strong: #39dff2;
  --red: #f03a36;
  --line: rgba(214, 241, 246, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

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

::selection {
  background: var(--cyan-strong);
  color: var(--night);
}

.artist-page {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 79% 38%, rgba(52, 185, 203, 0.13), transparent 24%),
    linear-gradient(112deg, #020507 0%, #061117 48%, #020506 100%);
}

.hero-photo,
.hero-vignette,
.laser-field,
.ambient-grid,
.scanline {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-photo {
  z-index: -5;
  background-image: url("/assets/cedare-hero-lasers-v2.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.94) contrast(1.12);
}

.hero-vignette {
  z-index: -4;
  background:
    radial-gradient(
      circle at 76% 39%,
      rgba(126, 247, 255, 0.16),
      transparent 23%
    ),
    linear-gradient(
      90deg,
      rgba(2, 5, 7, 0.98) 0%,
      rgba(2, 5, 7, 0.84) 28%,
      rgba(2, 5, 7, 0.16) 63%,
      rgba(2, 5, 7, 0.22) 100%
    ),
    linear-gradient(0deg, rgba(2, 5, 7, 0.82) 0%, transparent 34%);
}

.laser-field {
  z-index: -3;
  overflow: hidden;
  mix-blend-mode: screen;
}

.laser {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(143, 248, 255, 0.18) 8%,
    rgba(143, 248, 255, 0.98) 46%,
    rgba(143, 248, 255, 0.18) 88%,
    transparent 100%
  );
  box-shadow:
    0 0 7px rgba(94, 238, 255, 0.92),
    0 0 22px rgba(57, 223, 242, 0.72);
  display: block;
  height: 2px;
  position: absolute;
  transform-origin: left center;
}

.laser-one {
  left: 46%;
  top: 25%;
  transform: rotate(-8deg);
  width: 60vw;
}

.laser-two {
  left: 55%;
  opacity: 0.74;
  top: 61%;
  transform: rotate(-18deg);
  width: 50vw;
}

.laser-three {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 58, 54, 0.88) 48%,
    transparent
  );
  box-shadow:
    0 0 7px rgba(240, 58, 54, 0.8),
    0 0 24px rgba(240, 58, 54, 0.54);
  left: 66%;
  opacity: 0.68;
  top: 38%;
  transform: rotate(22deg);
  width: 38vw;
}

.ambient-grid {
  z-index: -2;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(154, 237, 247, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 237, 247, 0.09) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(90deg, black, transparent 61%);
  mask-image: linear-gradient(90deg, black, transparent 61%);
}

.scanline {
  z-index: -1;
  opacity: 0.08;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.11) 4px
  );
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 28px clamp(24px, 4vw, 68px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand-lockup {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wordmark {
  align-items: center;
  display: inline-flex;
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.wordmark-signal {
  background: var(--cyan-strong);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(57, 223, 242, 0.88);
  height: 7px;
  margin-left: 14px;
  width: 7px;
}

.brand-tagline {
  color: rgba(238, 243, 245, 0.56);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  margin: 0;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: clamp(22px, 3vw, 48px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.header-nav a,
.legal-links a {
  color: rgba(238, 243, 245, 0.72);
  transition: color 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible,
.legal-links a:hover,
.legal-links a:focus-visible {
  color: var(--cyan);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 114px clamp(24px, 4vw, 68px) 210px;
  position: relative;
  width: min(58%, 780px);
  z-index: 2;
}

.hero-content h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(5.9rem, 12.1vw, 11.5rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.7;
  margin: 0;
  text-transform: uppercase;
}

.hero-content h1 span:last-child {
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 243, 245, 0.68);
  transform: translateX(0.38em);
}

.signal-readout {
  bottom: 198px;
  color: rgba(202, 229, 234, 0.42);
  display: flex;
  flex-direction: column;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.54rem;
  gap: 5px;
  letter-spacing: 0.16em;
  position: absolute;
  right: clamp(24px, 4vw, 68px);
  text-align: right;
  text-transform: uppercase;
  z-index: 3;
}

.link-dock {
  align-items: stretch;
  backdrop-filter: blur(18px);
  background: rgba(2, 7, 10, 0.7);
  border-top: 1px solid var(--line);
  bottom: 54px;
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) 2fr;
  left: 0;
  min-height: 128px;
  position: absolute;
  right: 0;
  z-index: 5;
}

.link-dock-label {
  align-items: flex-start;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px clamp(24px, 4vw, 68px);
  text-transform: uppercase;
}

.link-dock-label span:first-child {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.link-dock-label span:last-child {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  margin-top: 7px;
}

.streaming-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.platform-link {
  align-items: center;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  padding: 22px clamp(14px, 1.7vw, 28px);
  transition:
    background 180ms ease,
    color 180ms ease;
}

.platform-link:last-child {
  border-right: 0;
}

.platform-link:hover,
.platform-link:focus-visible {
  background: var(--cyan);
  color: var(--night);
  outline: none;
}

.platform-index {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.52rem;
}

.platform-link > span:nth-child(2) {
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-arrow {
  font-size: 1rem;
}

.site-footer {
  align-items: center;
  bottom: 0;
  display: flex;
  height: 54px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(24px, 4vw, 68px);
  position: absolute;
  right: 0;
  z-index: 6;
}

.social-links,
.legal-links {
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.55rem;
  gap: 24px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.social-links a {
  color: rgba(238, 243, 245, 0.68);
  transition: color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--cyan);
}

.legal-links a {
  text-decoration: underline;
  text-decoration-color: rgba(238, 243, 245, 0.24);
  text-underline-offset: 4px;
}

.legal-shell {
  min-height: 100svh;
  background:
    linear-gradient(rgba(6, 17, 23, 0.96), rgba(2, 5, 7, 0.99)),
    radial-gradient(circle at 80% 0%, rgba(57, 223, 242, 0.14), transparent 36%);
}

.legal-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 26px clamp(24px, 5vw, 80px);
}

.back-link {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-content {
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(70px, 10vw, 140px) 24px 100px;
}

.legal-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.055em;
  line-height: 0.86;
  margin: 0 0 56px;
  text-transform: uppercase;
}

.legal-content h2 {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin: 36px 0 14px;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: rgba(238, 243, 245, 0.68);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 20px;
}

.draft-notice {
  border: 1px solid rgba(240, 58, 54, 0.46);
  color: #ffaaa7 !important;
  padding: 18px 20px;
}

.legal-content a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-overlay {
  align-items: stretch;
  display: flex;
  inset: 0;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition:
    opacity 240ms ease,
    visibility 240ms ease;
  visibility: hidden;
  z-index: 40;
}

.contact-overlay:target {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.contact-backdrop {
  backdrop-filter: blur(12px);
  background: rgba(1, 4, 6, 0.72);
  inset: 0;
  position: absolute;
}

.contact-panel {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(57, 223, 242, 0.13),
      transparent 32%
    ),
    rgba(3, 9, 12, 0.97);
  border-left: 1px solid rgba(169, 246, 255, 0.28);
  box-shadow: -32px 0 90px rgba(0, 0, 0, 0.48);
  overflow-y: auto;
  padding: clamp(34px, 5vw, 70px);
  position: relative;
  transform: translateX(36px);
  transition: transform 260ms ease;
  width: min(100%, 620px);
}

.contact-overlay:target .contact-panel {
  transform: translateX(0);
}

.contact-panel-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.contact-panel-header p,
.contact-note,
.contact-form label span,
.contact-submit-row p {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.contact-panel-header p {
  color: var(--cyan);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.contact-panel-header h2 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  letter-spacing: -0.06em;
  line-height: 0.88;
  margin: 0;
  max-width: 470px;
  text-transform: uppercase;
}

.contact-panel-header > a {
  align-items: center;
  border: 1px solid var(--line);
  display: flex;
  flex: 0 0 auto;
  font-size: 1.6rem;
  height: 44px;
  justify-content: center;
  margin-left: 22px;
  transition:
    background 180ms ease,
    color 180ms ease;
  width: 44px;
}

.contact-panel-header > a:hover,
.contact-panel-header > a:focus-visible {
  background: var(--cyan);
  color: var(--night);
  outline: none;
}

.contact-note {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin: 30px 0;
  max-width: 460px;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: rgba(238, 243, 245, 0.58);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  appearance: none;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(214, 241, 246, 0.24);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 14px 15px;
  resize: vertical;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(57, 223, 242, 0.12);
}

.contact-submit-row {
  align-items: center;
  display: flex;
  gap: 18px;
  margin-top: 4px;
}

.contact-submit-row button {
  background: var(--cyan);
  border: 1px solid var(--cyan);
  color: var(--night);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 16px 20px;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.contact-submit-row button:hover,
.contact-submit-row button:focus-visible {
  background: transparent;
  color: var(--cyan);
  outline: none;
}

.contact-submit-row p {
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.4;
  margin: 0;
}

.honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

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

  .contact-panel {
    transition: none;
  }
}

@media (max-width: 800px) {
  .artist-page {
    min-height: auto;
    overflow: visible;
  }

  .hero-photo {
    background-position: 62% top;
    height: 72svh;
  }

  .hero-vignette {
    background:
      linear-gradient(0deg, var(--night) 4%, rgba(3, 7, 10, 0.1) 60%),
      linear-gradient(90deg, rgba(3, 7, 10, 0.4), transparent 70%);
    height: 74svh;
  }

  .laser-field,
  .ambient-grid,
  .scanline {
    height: 74svh;
  }

  .header-nav {
    gap: 18px;
  }

  .hero-content {
    justify-content: flex-end;
    min-height: 82svh;
    padding: 120px 24px 48px;
    width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(5rem, 26vw, 8.5rem);
  }

  .hero-content h1 span:last-child {
    transform: translateX(0.12em);
  }

  .signal-readout {
    display: none;
  }

  .link-dock {
    backdrop-filter: none;
    background: var(--night);
    border-top: 1px solid var(--line);
    bottom: auto;
    display: block;
    min-height: 0;
    position: relative;
  }

  .link-dock-label {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 24px;
  }

  .streaming-links {
    display: block;
  }

  .platform-link {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 24px;
  }

  .site-footer {
    align-items: flex-start;
    background: var(--night);
    bottom: auto;
    flex-direction: column;
    gap: 28px;
    height: auto;
    padding: 30px 24px 46px;
    position: relative;
  }

  .social-links,
  .legal-links {
    flex-wrap: wrap;
  }

  .contact-panel {
    border-left: 0;
    padding: 34px 24px 50px;
  }

  .contact-panel-header h2 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .contact-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 24px 20px;
  }

  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}
