:root {
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --paper: #d9d2c4;
  --ink: #f2eee5;
  --purple: #b68cff;
  --green: #74f0aa;
  --brown: #6e4527;
  --dark: #1e2021;
  --panel: #2b2d2f;
  --line: rgba(242, 238, 229, 0.22);
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../../assets/fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../../assets/fonts/IBMPlexSans-Variable.ttf") format("truetype");
  font-weight: 100 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 6%, rgba(116, 240, 170, 0.18), transparent 26%),
    radial-gradient(circle at 12% 20%, rgba(182, 140, 255, 0.14), transparent 24%),
    linear-gradient(135deg, #17191a, #2b2d2f 54%, #1a1b1d);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: inherit;
}

.gudemon-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 64px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(216, 242, 226, 0.14);
  background: rgba(5, 12, 10, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 760;
  text-decoration: none;
}

.brand span {
  max-width: 260px;
  line-height: 1.05;
}

.brand-logo-shell {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(186, 255, 194, 0.46);
  border-radius: 50%;
  background: #020503 url("/ali/assets/logo/ali-eye-oscilloscope-poster.png") center / cover no-repeat;
  box-shadow: 0 0 22px rgba(120, 240, 180, 0.28);
}

.brand-logo-video,
.brand-logo-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.32);
  transform-origin: center;
}

.brand-logo-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.58;
}

.brand-logo-shell::before,
.brand-logo-shell::after {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  content: "";
  border-radius: 50%;
}

.brand-logo-shell::before {
  inset: 5px;
  border: 1px solid rgba(235, 246, 239, 0.68);
  box-shadow:
    inset 0 0 10px rgba(120, 255, 150, 0.16),
    0 0 16px rgba(91, 255, 128, 0.18);
  animation: ali-ring-transmission 4.4s ease-out infinite;
}

.brand-logo-shell::after {
  inset: 10px;
  border: 1px solid rgba(235, 246, 239, 0.42);
  box-shadow: inset 0 0 8px rgba(91, 255, 128, 0.12);
  animation: ali-ring-transmission 4.4s ease-out infinite;
  animation-delay: 1.55s;
}

@keyframes ali-ring-transmission {
  0% {
    transform: scale(0.9);
    opacity: 0.16;
  }

  20% {
    opacity: 0.86;
  }

  66% {
    opacity: 0.34;
  }

  100% {
    transform: scale(1.08);
    opacity: 0.1;
  }
}

.brand-logo-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo-shell::before,
  .brand-logo-shell::after {
    animation: none;
  }

  .brand-logo-video {
    display: none;
  }

  .brand-logo-fallback {
    position: static;
    opacity: 1;
  }
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  color: rgba(242, 238, 229, 0.72);
  font-family: var(--font-display);
  font-weight: 650;
  text-decoration: none;
  padding: 8px 10px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--green);
}

.top-nav .lang-link {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(123, 217, 255, 0.35);
  border-radius: 50%;
  color: #7bd9ff;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  padding: 18px 0 28px;
}

.echo-logo {
  width: min(520px, 90vw);
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.kicker,
.subtitle,
.byline {
  margin: 0;
  font-family: var(--font-display);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 11vw, 8.8rem);
  font-weight: 720;
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--green);
  text-shadow: 0 0 18px rgba(116, 240, 170, 0.25);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.subtitle {
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 780;
  font-size: clamp(1.05rem, 2vw, 1.65rem);
}

.byline {
  max-width: 720px;
  color: rgba(242, 238, 229, 0.74);
  font-size: 1.05rem;
}

.byline a {
  color: var(--green);
  font-weight: 720;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.poster-card,
.radio-card,
.text-band article {
  border: 1px solid var(--line);
  background: rgba(43, 45, 47, 0.92);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.24);
}

.poster-card {
  margin: 0;
  padding: 10px;
}

.poster-card img {
  display: block;
  width: 100%;
  height: auto;
}

.radio-card {
  padding: clamp(18px, 3vw, 34px);
}

.radio {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(242, 238, 229, 0.18);
  background:
    radial-gradient(circle at 50% 30%, rgba(116, 240, 170, 0.08), transparent 30%),
    #161719;
  color: var(--paper);
  overflow: hidden;
}

.radio img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

audio {
  width: 100%;
  filter: sepia(0.26) saturate(1.1);
}

.radio-card p,
.text-band p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(242, 238, 229, 0.86);
}

.text-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.text-band article {
  padding: 22px;
}

.text-band h2 {
  margin-top: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--green);
}

.script-section {
  margin-top: 56px;
}

.script-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.script-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 0.95;
  color: var(--green);
}

.script-heading p:last-child {
  color: rgba(242, 238, 229, 0.78);
  font-size: 1.08rem;
}

.script-meta,
.script-card {
  border: 1px solid var(--line);
  background: rgba(43, 45, 47, 0.86);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
}

.script-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 22px;
  overflow: hidden;
}

.script-meta p {
  margin: 0;
  padding: 16px;
  background: rgba(22, 23, 25, 0.42);
  color: rgba(242, 238, 229, 0.82);
}

.script-meta strong,
.script-card span {
  display: block;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.script-card {
  padding: clamp(20px, 3vw, 34px);
  margin-top: 18px;
}

.script-card h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  color: var(--purple);
}

.script-card p {
  max-width: 880px;
  margin: 0 0 0.95em;
  color: rgba(242, 238, 229, 0.87);
  line-height: 1.72;
}

.script-card .stage {
  color: rgba(116, 240, 170, 0.72);
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.final-card {
  border-color: rgba(116, 240, 170, 0.38);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .gudemon-page {
    padding-top: 32px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .brand-logo-shell {
    width: 60px;
    height: 60px;
  }

  .project-grid,
  .text-band,
  .script-meta {
    grid-template-columns: 1fr;
  }
}
