:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: rgba(10, 10, 10, 0.62);
  --border: rgba(10, 10, 10, 0.16);
  --accent: #ffd400;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-wrapper {
  min-height: 100vh;
  background: var(--bg);
}

.navbar .nav-component-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.navbar .nav-menu {
  justify-self: center;
}

.navbar .menu-button {
  justify-self: end;
}

.rawlife-main {
  min-height: calc(100vh - 88px);
}

.rawlife-section {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 24px 84px;
}

.rawlife-inner {
  width: min(100%, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.rawlife-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 0.78;
}

.rawlife-line {
  display: block;
  overflow: visible;
}

.rawlife-line-top {
  transform: translateX(-0.03em);
}

.rawlife-line-bottom {
  margin-top: -0.1em;
  transform: translateX(0.05em);
}

.rawlife-word {
  display: inline-block;
  font-size: clamp(64px, 13vw, 182px);
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.rawlife-word-sans {
  font-family: "Aspekta 1000", Inter, system-ui, sans-serif;
  font-weight: 400;
}

.rawlife-word-serif {
  font-family: "Nyght Serif", Georgia, serif;
  font-weight: 400;
}

.rawlife-meta-row {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.rawlife-file-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
}

.rawlife-file-label::after {
  content: attr(data-meta);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: var(--muted);
}

.rawlife-file-meta {
  display: none;
}

.player-shell {
  width: 100%;
  max-width: 760px;
}

.player-frame-wrap {
  position: relative;
}

.rawlife-sound-button {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  appearance: none;
  border: 2px solid var(--fg);
  background: var(--accent);
  color: var(--fg);
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 1);
  transform: rotate(-2deg);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.rawlife-sound-button:hover,
.rawlife-sound-button:focus-visible {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 1);
  outline: none;
}

.rawlife-sound-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.player-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border: 2px solid var(--fg);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 1);
  overflow: hidden;
}

.player-frame iframe,
.player-frame #rawlife-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.rawlife-player-shield {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
  pointer-events: auto;
}

.rawlife-probe {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  border: 0;
}

.rawlife-info-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(10, 10, 10, 0.68);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}

.rawlife-info-button:hover,
.rawlife-info-button:focus-visible {
  color: rgba(10, 10, 10, 1);
  outline: none;
}

.rawlife-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(4px);
  z-index: 1190;
}

.rawlife-about-panel {
  position: fixed;
  top: 0;
  right: 24px;
  width: min(100vw - 72px, 460px);
  height: auto;
  min-height: 0;
  z-index: 1200;
  background: rgba(10, 10, 10, 0.97);
  color: #ffffff;
  border-left: 0;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  transform: translateY(-120%);
  transition: transform 260ms ease;
  display: flex;
  align-items: center;
  padding: 34px 22px 24px;
  box-sizing: border-box;
  pointer-events: none;
}

.rawlife-about-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.rawlife-about-panel.is-open {
  transform: translateY(24px);
  pointer-events: auto;
}

.rawlife-about-panel[hidden] {
  display: none;
}

.rawlife-about-panel.is-open {
  transform: translateX(0);
}

.rawlife-panel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.rawlife-about-copy {
  width: 100%;
  max-width: 360px;
  margin: 2.2em auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.rawlife-about-copy p {
  margin: 0;
}

.rawlife-about-copy p + p {
  margin-top: 0;
}


.more-button {
  appearance: none;
  border: 2px solid var(--fg);
  background: var(--accent);
  color: var(--fg);
  padding: 12px 28px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 1);
  transform: rotate(-2deg);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.more-button:hover,
.more-button:focus-visible {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 1);
  outline: none;
}

.rawlife-copy {
  margin-top: 42px;
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.rawlife-copy p {
  margin: 0;
}

.rawlife-copy p + p {
  margin-top: 0.9em;
}

.rawlife-credit {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1100;
  display: block;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 18, 23, 0.58);
  text-decoration: none;
  border: 0;
  padding: 0;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.rawlife-credit:hover,
.rawlife-credit:focus,
.rawlife-credit:active {
  color: rgba(17, 18, 23, 0.58);
  text-decoration: none;
  outline: none;
}

@media (max-width: 767px) {
  .rawlife-section {
    padding: 108px 18px 36px;
  }

  .rawlife-inner {
    gap: 22px;
  }

  .rawlife-line-bottom {
    margin-top: -0.06em;
  }

  .player-frame {
    border-width: 2px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 1);
  }

  .rawlife-sound-button {
    left: 10px;
    top: 10px;
    padding: 8px 10px;
    max-width: calc(100% - 20px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 1);
  }

  .more-button {
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 1);
  }

  .more-button:hover,
  .more-button:focus-visible {
    box-shadow: 7px 7px 0 rgba(0, 0, 0, 1);
  }

  .rawlife-copy {
    margin-top: 36px;
    font-size: 13px;
    line-height: 1.65;
  }

  .rawlife-meta-row {
    gap: 14px;
  }

  .rawlife-about-panel {
    top: 0;
    right: 0;
    width: calc(100vw - 24px);
    transform: translateY(-120%);
    padding: 28px 18px 20px;
  }

  .rawlife-about-panel.is-open {
    transform: translateY(0);
  }

  .rawlife-about-copy {
    max-width: 100%;
    margin-top: 2em;
    font-size: 17px;
    line-height: 1.7;
  }

  .rawlife-credit {
    bottom: 14px;
    font-size: 11px;
    max-width: calc(100vw - 32px);
    white-space: normal;
  }
}
