:root {
  --black: #030303;
  --white: #f2f0e9;
  --muted: rgba(242, 240, 233, 0.54);
  --faint: rgba(242, 240, 233, 0.18);
  --line: rgba(242, 240, 233, 0.13);
  --amber: #a96b27;
  --amber-text: #d7a66a;
  --amber-soft: rgba(169, 107, 39, 0.34);
  --page-gutter: clamp(1.25rem, 4.2vw, 4.75rem);
}

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

html {
  background: var(--black);
  color: var(--white);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.page-noise {
  position: fixed;
  inset: -30%;
  z-index: 30;
  opacity: 0.07;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0 0.45px, transparent 0.65px),
    radial-gradient(circle at 78% 14%, #fff 0 0.4px, transparent 0.65px),
    radial-gradient(circle at 42% 82%, #fff 0 0.5px, transparent 0.7px);
  background-size: 11px 17px, 19px 23px, 17px 29px;
  animation: grain 11s steps(10) infinite;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2.5rem) var(--page-gutter);
  pointer-events: none;
}

.studio-mark,
.signal-state {
  pointer-events: auto;
}

.studio-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.studio-mark__name,
.signal-state,
.hero__index,
.hero__frequency-label,
.release-state__meta,
.signal-log__kicker,
.signal-log__status,
.signal-entry__meta,
.site-footer {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.studio-mark__name {
  color: rgba(242, 240, 233, 0.72);
}

.studio-mark__rule {
  display: block;
  width: clamp(2.5rem, 6vw, 6.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--faint), transparent);
}

.signal-state {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(242, 240, 233, 0.58);
}

.signal-state__dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0.9rem var(--amber-soft);
  animation: status-breath 4.8s ease-in-out infinite;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
}

.hero__art,
.hero__veil,
.hero__pulse {
  position: absolute;
  inset: 0;
}

.hero__art {
  z-index: -3;
  transform: scale(1.015);
  transform-origin: 72% 51%;
  animation: character-breath 10s ease-in-out infinite;
}

.hero__art picture,
.hero__art img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__art img {
  object-fit: cover;
  object-position: center;
  filter: brightness(0.68) contrast(1.08) saturate(0.82);
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, #030303 0%, #030303 16%, rgba(3, 3, 3, 0.92) 31%, rgba(3, 3, 3, 0.38) 58%, rgba(3, 3, 3, 0.12) 82%, rgba(3, 3, 3, 0.38) 100%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.42) 0%, transparent 28%, transparent 67%, #030303 100%);
}

.hero__pulse {
  z-index: -1;
  opacity: 0.25;
  background: radial-gradient(circle at 75% 46%, rgba(164, 104, 37, 0.16), transparent 26%);
  mix-blend-mode: screen;
  animation: light-breath 10s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  width: min(100%, 100rem);
  flex-direction: column;
  justify-content: center;
  padding: 8.5rem var(--page-gutter) 8rem;
}

.hero__index {
  margin: 0 0 clamp(1.2rem, 3vh, 2.4rem);
  color: rgba(242, 240, 233, 0.32);
}

.wordmark {
  max-width: max-content;
  margin: 0;
  padding-left: 0.08em;
  color: #f0eee8;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.3rem, 10.8vw, 10.8rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: 0.08em;
  text-indent: -0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 2.5rem rgba(255, 255, 255, 0.045);
}

.hero__whisper {
  margin: clamp(1.5rem, 3vw, 2.8rem) 0 0;
  color: rgba(242, 240, 233, 0.74);
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: clamp(0.19em, 0.55vw, 0.34em);
}

.release-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: clamp(3rem, 7vh, 5.6rem);
}

.release-state__label {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 1.05rem;
  border: 1px solid rgba(242, 240, 233, 0.34);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.release-state__meta {
  color: rgba(242, 240, 233, 0.58);
  line-height: 1.65;
}

.hero__frequency {
  position: absolute;
  top: 50%;
  right: var(--page-gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.hero__frequency-line {
  display: block;
  width: clamp(2.5rem, 8vh, 6rem);
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.hero__frequency-line::after {
  content: "";
  display: block;
  width: 38%;
  height: 100%;
  background: var(--amber);
  box-shadow: 0 0 0.5rem var(--amber-soft);
  animation: frequency-drift 5.8s ease-in-out infinite;
}

.hero__frequency-label {
  color: rgba(242, 240, 233, 0.26);
  white-space: nowrap;
}

.log-jump {
  position: absolute;
  right: var(--page-gutter);
  bottom: clamp(4.3rem, 8vh, 6.8rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.75rem;
  color: rgba(242, 240, 233, 0.64);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-decoration: none;
  transition: color 180ms ease;
}

.log-jump:hover,
.log-jump:focus-visible {
  color: var(--white);
}

.log-jump:focus-visible,
.social-links a:focus-visible,
.studio-mark:focus-visible,
.site-footer__imprint:focus-visible,
.legal-back:focus-visible,
.legal-index a:focus-visible,
.legal-content a:focus-visible {
  outline: 1px solid rgba(242, 240, 233, 0.7);
  outline-offset: 0.45rem;
}

.log-jump__arrow {
  color: var(--amber);
  font-size: 1rem;
}

.signal-log {
  position: relative;
  min-height: 78svh;
  padding: clamp(7rem, 13vh, 10rem) var(--page-gutter) clamp(8rem, 15vh, 12rem);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(169, 107, 39, 0.035), transparent 28%),
    #050505;
}

.signal-log[hidden],
.log-jump[hidden] {
  display: none;
}

.signal-log__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.8rem 2rem;
  width: min(100%, 88rem);
  margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.signal-log__kicker {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(242, 240, 233, 0.58);
}

.signal-log h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 7vw, 7.2rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: 0.055em;
}

.signal-log__status {
  margin: 0 0 0.35rem;
  color: rgba(242, 240, 233, 0.58);
}

.signal-log__entries {
  width: min(100%, 88rem);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.signal-entry {
  display: grid;
  grid-template-columns: minmax(7rem, 0.22fr) minmax(12rem, 0.42fr) minmax(15rem, 1fr);
  gap: clamp(1.25rem, 4vw, 5rem);
  padding: clamp(1.8rem, 3.5vw, 3.2rem) 0;
  border-bottom: 1px solid var(--line);
}

.signal-entry__meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: rgba(242, 240, 233, 0.58);
  line-height: 1.55;
}

.signal-entry__category {
  color: var(--amber-text);
}

.signal-entry__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1.15;
}

.signal-entry__excerpt {
  max-width: 46rem;
  margin: 0;
  color: rgba(242, 240, 233, 0.68);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.7;
}

.site-footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem var(--page-gutter) 1.4rem;
  color: rgba(242, 240, 233, 0.58);
  pointer-events: none;
}

.site-footer__legal,
.social-links {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.5rem);
  pointer-events: auto;
}

.site-footer__imprint {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: rgba(242, 240, 233, 0.64);
  pointer-events: auto;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__imprint:hover,
.site-footer__imprint:focus-visible {
  color: var(--white);
}

.social-links a {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  color: rgba(242, 240, 233, 0.64);
  text-decoration: none;
  transition: color 180ms ease;
}

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

.social-links__short {
  display: none;
}

.legal-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(169, 107, 39, 0.1), transparent 25rem),
    var(--black);
}

.legal-main {
  width: min(100%, 100rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(8.5rem, 16vh, 12rem) var(--page-gutter) clamp(10rem, 18vh, 14rem);
}

.legal-back {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.8rem;
  color: rgba(242, 240, 233, 0.58);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: color 180ms ease;
}

.legal-back span:first-child {
  color: var(--amber-text);
  font-size: 0.95rem;
}

.legal-back:hover,
.legal-back:focus-visible {
  color: var(--white);
}

.legal-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem 2rem;
  margin: clamp(4rem, 9vh, 7rem) 0 clamp(5rem, 11vh, 8rem);
}

.legal-intro__index,
.legal-intro__meta,
.legal-index,
.legal-section__number,
.legal-contact-list dt {
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.legal-intro__index {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(242, 240, 233, 0.58);
}

.legal-intro h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.3rem, 10vw, 10rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0.055em;
}

.legal-intro__meta {
  margin: 0 0 0.35rem;
  color: rgba(242, 240, 233, 0.58);
  white-space: nowrap;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(10rem, 0.24fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}

.legal-index {
  position: sticky;
  top: 7.5rem;
  color: rgba(242, 240, 233, 0.58);
  line-height: 1.5;
}

.legal-index p {
  margin: 0 0 1.4rem;
  color: var(--amber-text);
}

.legal-index ol {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-index;
}

.legal-index li {
  counter-increment: legal-index;
}

.legal-index a {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  min-height: 2.75rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.legal-index a::before {
  content: "0" counter(legal-index);
  color: rgba(242, 240, 233, 0.22);
}

.legal-index a:hover,
.legal-index a:focus-visible {
  color: var(--white);
}

.legal-content {
  border-top: 1px solid var(--line);
}

.legal-section {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  padding: clamp(2.2rem, 4.5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 7rem;
}

.legal-section__number {
  padding-top: 0.28rem;
  color: var(--amber-text);
}

.legal-section__body {
  max-width: 52rem;
}

.legal-section h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(1.35rem, 2.3vw, 2.15rem);
  font-weight: 750;
  letter-spacing: 0.025em;
  line-height: 1.15;
}

.legal-section p,
.legal-section address,
.legal-contact-list {
  margin: 0;
  color: rgba(242, 240, 233, 0.72);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.8;
}

.legal-section address {
  font-style: normal;
}

.legal-section a {
  color: var(--white);
  text-decoration-color: rgba(215, 166, 106, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.legal-section a:hover,
.legal-section a:focus-visible {
  text-decoration-color: var(--amber-text);
}

.legal-contact-list {
  display: grid;
  gap: 0;
}

.legal-contact-list > div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(242, 240, 233, 0.08);
}

.legal-contact-list > div:last-child {
  border-bottom: 1px solid rgba(242, 240, 233, 0.08);
}

.legal-contact-list dt {
  color: rgba(242, 240, 233, 0.58);
  text-transform: uppercase;
}

.legal-contact-list dd {
  margin: 0;
}

.legal-link-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(242, 240, 233, 0.1);
  border-bottom: 1px solid rgba(242, 240, 233, 0.1);
  list-style: none;
}

.legal-link-list li + li {
  border-left: 1px solid rgba(242, 240, 233, 0.1);
}

.legal-link-list a {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.1rem;
  text-decoration: none;
}

.legal-link-list a span {
  color: var(--amber-text);
}

.legal-source {
  margin-top: 2.5rem !important;
  padding: 1.2rem 0 1.2rem 1.4rem;
  border-left: 1px solid var(--amber);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 0.7rem !important;
  letter-spacing: 0.04em;
}

.legal-footer {
  background: linear-gradient(180deg, transparent, rgba(3, 3, 3, 0.94) 38%);
}

@keyframes character-breath {
  0%, 100% {
    transform: scale(1.015) translate3d(0, 0, 0);
    opacity: 0.76;
  }
  50% {
    transform: scale(1.035) translate3d(-0.25%, -0.1%, 0);
    opacity: 0.94;
  }
}

@keyframes light-breath {
  0%, 100% { opacity: 0.16; transform: scale(0.96); }
  50% { opacity: 0.42; transform: scale(1.04); }
}

@keyframes status-breath {
  0%, 100% { opacity: 0.45; transform: scale(0.84); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes frequency-drift {
  0%, 100% { transform: translateX(-20%); opacity: 0.35; }
  50% { transform: translateX(175%); opacity: 1; }
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 1%); }
  40% { transform: translate(1.5%, -2%); }
  60% { transform: translate(2%, 1.5%); }
  80% { transform: translate(-1%, -1.5%); }
  100% { transform: translate(0, 0); }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
  }

  .studio-mark__rule,
  .signal-state span:last-child,
  .hero__frequency {
    display: none;
  }

  .signal-state {
    gap: 0;
  }

  .signal-state__dot {
    width: 0.46rem;
    height: 0.46rem;
  }

  .hero__art {
    inset: 0 -42% 0 -8%;
    transform-origin: 70% 47%;
  }

  .hero__art img {
    object-position: 59% center;
    filter: brightness(0.57) contrast(1.1) saturate(0.76);
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(3, 3, 3, 0.62) 0%, rgba(3, 3, 3, 0.12) 23%, rgba(3, 3, 3, 0.16) 49%, #030303 92%),
      linear-gradient(90deg, rgba(3, 3, 3, 0.92) 0%, rgba(3, 3, 3, 0.34) 58%, rgba(3, 3, 3, 0.18) 100%);
  }

  .hero__content {
    justify-content: flex-end;
    padding-top: 7rem;
    padding-bottom: 8.5rem;
  }

  .hero__index {
    margin-bottom: 1.1rem;
  }

  .wordmark {
    font-size: clamp(4rem, 22vw, 6.8rem);
  }

  .hero__whisper {
    margin-top: 1.35rem;
    font-size: 0.7rem;
  }

  .release-state {
    margin-top: 2.2rem;
  }

  .release-state__meta {
    max-width: 17rem;
    font-size: 0.62rem;
  }

  .log-jump {
    right: auto;
    left: var(--page-gutter);
    bottom: 5.1rem;
  }

  .signal-log__heading {
    display: block;
  }

  .signal-log__status {
    margin-top: 1.1rem;
  }

  .signal-entry {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .signal-entry__meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
  }

  .site-footer {
    align-items: flex-end;
    padding-bottom: 1.2rem;
  }

  .site-footer__legal span:nth-child(n+2) {
    display: none;
  }

  .site-footer:not(.legal-footer) .site-footer__legal > span:first-child {
    display: none;
  }

  .site-footer__legal {
    gap: 1rem;
  }

  .social-links {
    gap: 0.9rem;
  }

  .social-links__full {
    display: none;
  }

  .social-links__short {
    display: inline;
  }

  .legal-main {
    padding-top: 7.5rem;
  }

  .legal-intro {
    display: block;
    margin-top: 3rem;
    margin-bottom: 4.5rem;
  }

  .legal-intro h1 {
    margin-top: 1.2rem;
    font-size: clamp(3.2rem, 16vw, 6rem);
  }

  .legal-intro__meta {
    margin-top: 1.4rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .legal-index {
    position: static;
  }

  .legal-index ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1rem;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .legal-contact-list > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .legal-link-list {
    grid-template-columns: 1fr;
  }

  .legal-link-list li + li {
    border-top: 1px solid rgba(242, 240, 233, 0.1);
    border-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 420px) {
  .legal-index ol {
    grid-template-columns: 1fr;
  }
}
