@font-face {
  font-family: "Geist Local";
  src: url("./fonts/geist-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono Local";
  src: url("./fonts/geist-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-geist-sans: "Geist Local";
  --font-geist-mono: "Geist Mono Local";
  --ice: #b8ecff;
  --ice-bright: #e2f8ff;
  --ice-muted: #70a9bd;
  --blue-black: #03090d;
  --panel: rgba(7, 21, 29, 0.66);
  --line: rgba(184, 236, 255, 0.2);
  --pointer-x: 0;
  --pointer-y: 0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--blue-black);
  color: var(--ice-bright);
  font-family: var(--font-geist-sans), "Arial Narrow", Arial, sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.metz-site {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 38%, rgba(52, 126, 153, 0.18), transparent 28%),
    linear-gradient(115deg, #020508 0%, #071219 48%, #02070a 100%);
}

.atmosphere,
.atmosphere > * {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.atmosphere {
  z-index: -1;
  overflow: hidden;
}

.sky-glow {
  inset: -25% -10% 5% 30%;
  background:
    linear-gradient(113deg, transparent 36%, rgba(126, 212, 243, 0.08) 47%, transparent 59%),
    radial-gradient(ellipse, rgba(132, 223, 255, 0.13), transparent 58%);
  filter: blur(18px);
  transform: translate3d(calc(var(--pointer-x) * -12px), calc(var(--pointer-y) * -8px), 0);
  transition: transform 0.5s ease-out;
}

.fog {
  width: 145%;
  left: -25%;
  height: 42%;
  top: auto;
  bottom: 8%;
  filter: blur(28px);
  opacity: 0.48;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(137, 200, 221, 0.17), transparent 22%),
    radial-gradient(ellipse at 52% 45%, rgba(191, 232, 245, 0.16), transparent 25%),
    radial-gradient(ellipse at 82% 65%, rgba(113, 179, 202, 0.18), transparent 20%);
  animation: fog-drift 17s ease-in-out infinite alternate;
}

.fog-two {
  bottom: 31%;
  opacity: 0.22;
  transform: scaleX(-1);
  animation-duration: 25s;
  animation-direction: alternate-reverse;
}

.rain-field {
  overflow: hidden;
  transform: skewX(-8deg);
}

.rain-field i {
  position: absolute;
  display: block;
  top: -18%;
  width: 1px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(203, 241, 255, 0.95));
  box-shadow: 0 0 5px rgba(166, 225, 246, 0.26);
  animation: rain-fall linear infinite;
}

.rain-field-back {
  filter: blur(1px);
}

.rain-field-front {
  z-index: 8;
}

.rain-field-front i:nth-child(4n) {
  width: 1.5px;
  filter: blur(0.2px);
}

.wet-floor {
  top: 76%;
  background:
    linear-gradient(to bottom, rgba(3, 8, 11, 0), rgba(2, 7, 10, 0.94)),
    repeating-linear-gradient(95deg, transparent 0 7%, rgba(135, 212, 240, 0.025) 8% 8.2%);
  transform: perspective(420px) rotateX(55deg) scale(1.35);
  transform-origin: center bottom;
  box-shadow: inset 0 28px 50px rgba(3, 16, 22, 0.68);
}

.screen-grain {
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.52'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.vignette {
  z-index: 9;
  box-shadow:
    inset 0 0 150px 35px rgba(0, 3, 5, 0.82),
    inset 0 -120px 120px rgba(0, 4, 7, 0.64);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 4.2vw;
  border-bottom: 1px solid rgba(184, 236, 255, 0.11);
  background: linear-gradient(to bottom, rgba(1, 7, 10, 0.65), transparent);
}

.monogram {
  width: 112px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.monogram > span {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.12em;
  transform: scaleX(1.2);
  text-shadow: 0 0 22px rgba(175, 231, 250, 0.38);
}

.monogram i {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.monogram small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.weather-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.58rem;
  color: rgba(188, 230, 244, 0.7);
  letter-spacing: 0.12em;
}

.weather-status span:last-child {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.status-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 0 5px rgba(184, 236, 255, 0.08), 0 0 12px var(--ice);
  animation: pulse 2.2s ease-out infinite;
}

.site-header nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(1.3rem, 3vw, 3.4rem);
}

.site-header nav button {
  position: relative;
  padding: 0.65rem 0;
  border: 0;
  background: transparent;
  color: rgba(218, 244, 252, 0.74);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: color 180ms ease;
}

.site-header nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ice);
  transition: right 180ms ease;
}

.site-header nav button:hover,
.site-header nav button:focus-visible {
  color: var(--ice-bright);
}

.site-header nav button:hover::after,
.site-header nav button:focus-visible::after {
  right: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 104px 4.2vw 70px;
}

.hero-copy {
  position: absolute;
  z-index: 12;
  top: 49%;
  left: 8.8vw;
  width: min(47vw, 740px);
  transform: translateY(-48%);
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(88%, 590px);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  color: rgba(193, 232, 245, 0.64);
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(0.52rem, 0.7vw, 0.66rem);
  letter-spacing: 0.13em;
}

.title-lockup {
  position: relative;
  height: clamp(100px, 14.2vw, 218px);
  margin-top: 0.25rem;
}

.title-lockup h1,
.title-ghost {
  position: absolute;
  top: 50%;
  left: -0.04em;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(7rem, 16.8vw, 16rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.075em;
  transform: translateY(-50%) scaleX(0.93);
  transform-origin: left center;
}

.title-lockup h1 {
  color: #d8f4fd;
  text-shadow:
    0 0 25px rgba(138, 219, 247, 0.14),
    0 18px 46px rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 76%);
}

.title-ghost {
  top: calc(50% + 2px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(169, 226, 246, 0.2);
  clip-path: polygon(0 74%, 100% 57%, 100% 100%, 0 100%);
  filter: blur(0.2px);
}

.manifesto {
  margin: 0.15rem 0 1.8rem;
  color: rgba(223, 246, 253, 0.8);
  font-size: clamp(0.72rem, 0.95vw, 0.88rem);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.23em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.primary-action {
  width: clamp(228px, 22vw, 300px);
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(193, 237, 252, 0.28);
  background:
    linear-gradient(105deg, rgba(158, 222, 243, 0.16), rgba(13, 37, 48, 0.54)),
    var(--panel);
  backdrop-filter: blur(14px);
  color: var(--ice-bright);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 3, 5, 0.28);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(205, 242, 255, 0.62);
  background-color: rgba(20, 54, 69, 0.8);
}

.play-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(208, 243, 255, 0.38);
  border-radius: 50%;
  color: var(--ice-bright);
  font-size: 0.62rem;
  text-indent: 2px;
}

.primary-action > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.primary-action small {
  color: var(--ice-muted);
  font-size: 0.49rem;
  letter-spacing: 0.2em;
}

.primary-action b {
  font-size: 1rem;
  font-weight: 400;
}

.text-action {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: rgba(204, 238, 249, 0.68);
  border: 0;
  background: transparent;
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  cursor: pointer;
}

.text-action span {
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 180ms ease;
}

.text-action:hover span {
  transform: rotate(90deg);
}

.character-stage {
  position: absolute;
  z-index: 10;
  top: 9.5%;
  left: 50%;
  width: min(48vw, 720px);
  height: 88%;
  transform: translate3d(calc(var(--pointer-x) * 10px), calc(var(--pointer-y) * 7px), 0);
  transform-origin: center bottom;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.metz-character {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -3%;
  width: auto;
  height: min(91vh, 940px);
  max-width: none;
  transform: translateX(-48%);
  user-select: none;
  filter:
    drop-shadow(0 32px 35px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 26px rgba(118, 199, 229, 0.08));
}

.character-halo {
  position: absolute;
  z-index: 1;
  inset: 10% 3% 2%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(128, 213, 245, 0.16), rgba(23, 67, 84, 0.07) 41%, transparent 68%);
  filter: blur(18px);
}

.character-outline {
  position: absolute;
  z-index: 2;
  right: 2%;
  top: 19%;
  width: 60%;
  height: 56%;
  border: 1px solid rgba(169, 226, 246, 0.12);
  border-radius: 50%;
  transform: rotate(-9deg);
  box-shadow: 0 0 70px rgba(109, 201, 234, 0.05);
}

.character-mist {
  z-index: 4;
  top: auto;
  bottom: -2%;
  height: 25%;
  background:
    radial-gradient(ellipse at 30% 55%, rgba(161, 216, 235, 0.2), transparent 36%),
    radial-gradient(ellipse at 70% 65%, rgba(99, 168, 192, 0.18), transparent 38%);
  filter: blur(18px);
}

.signal-card {
  position: absolute;
  z-index: 12;
  right: 4.2vw;
  bottom: 16%;
  width: clamp(205px, 17vw, 260px);
  padding: 1rem 1.05rem 0.9rem;
  border-top: 1px solid rgba(188, 234, 250, 0.25);
  background: linear-gradient(to bottom, rgba(7, 22, 29, 0.55), transparent);
  backdrop-filter: blur(8px);
}

.signal-bars {
  height: 36px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: 0.75rem;
}

.signal-bars i {
  width: 2px;
  max-height: 34px;
  background: linear-gradient(to top, rgba(111, 182, 207, 0.25), var(--ice));
  transform-origin: bottom;
  animation: equalize 1.8s ease-in-out infinite alternate;
}

.signal-bars i:nth-child(3n) {
  animation-delay: -0.8s;
  animation-duration: 1.25s;
}

.signal-card > div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.signal-card span {
  color: rgba(163, 215, 233, 0.58);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.46rem;
  letter-spacing: 0.13em;
}

.signal-card strong {
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.edge-copy {
  position: absolute;
  z-index: 12;
  color: rgba(187, 231, 245, 0.34);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.46rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.edge-copy-left {
  left: 2.1vw;
  top: 35%;
  transform: rotate(180deg);
}

.edge-copy-right {
  right: 2.1vw;
  top: 29%;
}

.site-footer {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: 0 4.2vw;
  border-top: 1px solid rgba(184, 236, 255, 0.1);
  color: rgba(186, 225, 238, 0.48);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
}

.site-footer > div:first-child {
  display: flex;
  gap: 1.2rem;
}

.site-footer .coordinates {
  color: rgba(194, 231, 243, 0.58);
}

.site-footer > button {
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(211, 241, 251, 0.7);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.panel-backdrop {
  position: fixed;
  z-index: 39;
  inset: 0;
  border: 0;
  background: rgba(0, 4, 7, 0.56);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: opacity 360ms ease, visibility 360ms ease;
}

.panel-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.signal-drawer {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 42vw);
  display: flex;
  flex-direction: column;
  padding: 2.2rem clamp(1.6rem, 3vw, 3rem) 1.8rem;
  overflow: hidden;
  border-left: 1px solid rgba(187, 234, 250, 0.26);
  background:
    radial-gradient(circle at 80% 10%, rgba(138, 220, 248, 0.1), transparent 28%),
    rgba(4, 15, 21, 0.94);
  box-shadow: -35px 0 80px rgba(0, 3, 5, 0.42);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), visibility 520ms ease;
}

.signal-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(167, 224, 244, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 224, 244, 0.17) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.drawer-header,
.drawer-intro,
.platform-list,
.drawer-footer {
  position: relative;
  z-index: 1;
}

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(187, 234, 250, 0.14);
}

.drawer-header > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-header span,
.drawer-header strong {
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
}

.drawer-header span {
  color: var(--ice-muted);
}

.drawer-header strong {
  font-weight: 500;
}

.drawer-header > button {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(187, 234, 250, 0.24);
  background: rgba(169, 225, 245, 0.04);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.drawer-header > button:hover,
.drawer-header > button:focus-visible {
  border-color: rgba(211, 243, 253, 0.56);
  background: rgba(169, 225, 245, 0.1);
}

.drawer-header > button i {
  position: absolute;
  left: 10px;
  top: 18px;
  width: 17px;
  height: 1px;
  background: var(--ice-bright);
  transform: rotate(45deg);
}

.drawer-header > button i:last-child {
  transform: rotate(-45deg);
}

.drawer-intro {
  padding: clamp(2rem, 6vh, 4rem) 0 clamp(1.3rem, 3vh, 2.3rem);
}

.drawer-intro > span {
  display: block;
  margin-bottom: 1rem;
  color: var(--ice-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.53rem;
  letter-spacing: 0.16em;
}

.drawer-intro h2 {
  margin: 0;
  color: var(--ice-bright);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.drawer-intro p {
  max-width: 320px;
  margin: 1.2rem 0 0;
  color: rgba(201, 234, 245, 0.58);
  font-size: 0.68rem;
  line-height: 1.7;
  letter-spacing: 0.07em;
}

.platform-list {
  border-top: 1px solid rgba(187, 234, 250, 0.15);
}

.platform-list a {
  min-height: clamp(62px, 8vh, 82px);
  display: grid;
  grid-template-columns: 32px 1fr auto 26px;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(187, 234, 250, 0.13);
  transition: background 180ms ease, padding 180ms ease;
}

.platform-list a:hover,
.platform-list a:focus-visible {
  padding: 0 0.8rem;
  background: linear-gradient(90deg, rgba(142, 217, 243, 0.11), transparent);
}

.platform-list a > span,
.platform-list a > small {
  color: rgba(164, 210, 226, 0.5);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.45rem;
  letter-spacing: 0.12em;
}

.platform-list a > strong {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.15em;
}

.platform-list a > b {
  color: rgba(203, 239, 251, 0.7);
  font-size: 0.95rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.platform-list a:hover > b {
  transform: translate(3px, -3px);
}

.drawer-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: rgba(172, 217, 232, 0.46);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.45rem;
  letter-spacing: 0.11em;
}

.drawer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 9px var(--ice);
}

@keyframes rain-fall {
  from { transform: translate3d(0, -15vh, 0); }
  to { transform: translate3d(-8vw, 132vh, 0); }
}

@keyframes fog-drift {
  from { transform: translate3d(-3%, 0, 0) scale(1); }
  to { transform: translate3d(6%, -4%, 0) scale(1.08); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 236, 255, 0.07), 0 0 10px var(--ice); }
  50% { box-shadow: 0 0 0 8px rgba(184, 236, 255, 0), 0 0 18px var(--ice); }
}

@keyframes equalize {
  from { transform: scaleY(0.3); opacity: 0.48; }
  to { transform: scaleY(1); opacity: 0.9; }
}

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

  .weather-status {
    display: none;
  }

  .hero-copy {
    left: 6.5vw;
    width: 58vw;
  }

  .character-stage {
    left: 47%;
    width: 57vw;
  }

  .signal-card {
    display: none;
  }
}

@media (max-width: 680px) {
  .metz-site {
    min-height: 100svh;
  }

  .site-header {
    height: 76px;
    padding: 0 6vw;
  }

  .monogram {
    width: 82px;
  }

  .monogram i,
  .monogram small {
    display: none;
  }

  .site-header nav {
    gap: 1.15rem;
  }

  .site-header nav button {
    font-size: 0.51rem;
    letter-spacing: 0.12em;
  }

  .site-header nav button:nth-child(2) {
    display: none;
  }

  .hero {
    padding: 76px 6vw 58px;
  }

  .hero-copy {
    top: 28%;
    left: 6vw;
    width: 88vw;
    transform: translateY(-50%);
  }

  .eyebrow {
    width: 100%;
    padding-bottom: 0.65rem;
  }

  .title-lockup {
    height: 26vw;
  }

  .title-lockup h1,
  .title-ghost {
    font-size: 30vw;
  }

  .manifesto {
    margin-top: 0.55rem;
    font-size: 0.63rem;
  }

  .hero-actions {
    position: fixed;
    z-index: 20;
    left: 6vw;
    right: 6vw;
    bottom: 76px;
    align-items: stretch;
    flex-direction: column;
    gap: 0.9rem;
  }

  .primary-action {
    width: 100%;
    min-height: 64px;
    background: rgba(6, 21, 29, 0.8);
  }

  .text-action {
    justify-content: space-between;
    padding: 0 0.2rem;
  }

  .character-stage {
    top: 20%;
    left: 33%;
    width: 87vw;
    height: 66%;
  }

  .metz-character {
    left: 50%;
    bottom: -6%;
    height: min(65vh, 660px);
    transform: translateX(-50%);
    opacity: 0.92;
  }

  .character-halo {
    inset: 0 -10% 5%;
  }

  .character-outline {
    right: 5%;
    top: 17%;
    width: 67%;
    height: 56%;
  }

  .edge-copy-left {
    display: none;
  }

  .edge-copy-right {
    right: 2vw;
    top: 42%;
  }

  .site-footer {
    min-height: 54px;
    grid-template-columns: 1fr auto;
    padding: 0 6vw;
  }

  .site-footer > div:first-child span:last-child,
  .site-footer .coordinates {
    display: none;
  }

  .fog {
    height: 34%;
    bottom: 15%;
  }

  .signal-drawer {
    top: auto;
    width: 100%;
    height: min(76svh, 720px);
    padding: 1.4rem 6vw 1.2rem;
    border-top: 1px solid rgba(187, 234, 250, 0.26);
    border-left: 0;
    transform: translateY(102%);
  }

  .signal-drawer.is-open {
    transform: translateY(0);
  }

  .drawer-intro {
    padding: 1.8rem 0 1.2rem;
  }

  .drawer-intro h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .platform-list a {
    min-height: 58px;
    grid-template-columns: 26px 1fr 24px;
  }

  .platform-list a > small {
    display: none;
  }
}

@media (max-height: 720px) and (min-width: 681px) {
  .hero-copy {
    top: 49%;
    transform: translateY(-50%) scale(0.88);
    transform-origin: left center;
  }

  .metz-character {
    height: 87vh;
  }
}

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

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

  .rain-field {
    opacity: 0.35;
  }
}

/* ===== DIRECT ALL-LINKS REVISION ===== */
.direct-layout .site-header nav a {
  position: relative;
  padding: 0.65rem 0;
  color: rgba(218, 244, 252, 0.74);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  transition: color 180ms ease;
}

.direct-layout .site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ice);
  transition: right 180ms ease;
}

.direct-layout .site-header nav a:hover,
.direct-layout .site-header nav a:focus-visible {
  color: var(--ice-bright);
}

.direct-layout .site-header nav a:hover::after,
.direct-layout .site-header nav a:focus-visible::after {
  right: 0;
}

.direct-layout .hero {
  display: grid;
  place-items: center;
}

.center-content {
  position: absolute;
  z-index: 15;
  top: 51%;
  left: 50%;
  width: min(980px, 78vw);
  transform: translate(-50%, -50%);
}

.center-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(184, 236, 255, 0.25);
  color: rgba(201, 237, 249, 0.66);
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(0.5rem, 0.64vw, 0.62rem);
  letter-spacing: 0.15em;
}

.center-title {
  position: relative;
  z-index: 3;
  width: 100%;
  height: clamp(128px, 17vw, 248px);
}

.center-title h1,
.center-title > span {
  position: absolute;
  inset: 50% 0 auto;
  margin: 0;
  color: #ddf7ff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(8.4rem, 18vw, 17rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  transform: translateY(-50%) scaleX(0.94);
  text-shadow:
    0 3px 0 rgba(255, 255, 255, 0.2),
    0 0 28px rgba(155, 226, 250, 0.18),
    0 26px 52px rgba(0, 0, 0, 0.56);
}

.center-title > span {
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(178, 233, 251, 0.28);
  transform: translate(7px, calc(-50% + 7px)) scaleX(0.94);
}

.center-tagline {
  margin: 0.2rem 0 0;
  color: rgba(223, 246, 253, 0.84);
  font-size: clamp(0.6rem, 0.76vw, 0.72rem);
  font-weight: 650;
  letter-spacing: 0.28em;
  text-align: center;
}

.all-links {
  position: relative;
  z-index: 4;
  width: 100%;
  margin-top: clamp(1.5rem, 3.5vh, 2.5rem);
  scroll-margin-top: 120px;
}

.links-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  color: rgba(187, 230, 245, 0.55);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.48rem;
  letter-spacing: 0.17em;
}

.links-heading span:first-child {
  color: var(--ice-bright);
  font-weight: 650;
}

.direct-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(190, 235, 250, 0.3);
  border-bottom: 1px solid rgba(190, 235, 250, 0.19);
  background: rgba(3, 15, 21, 0.5);
  box-shadow: 0 24px 60px rgba(0, 3, 5, 0.4);
  backdrop-filter: blur(16px);
}

.direct-links a {
  position: relative;
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 0.34rem 0.8rem;
  padding: 1rem 1.15rem;
  overflow: hidden;
  border-right: 1px solid rgba(190, 235, 250, 0.14);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.direct-links a:last-child {
  border-right: 0;
}

.direct-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(174, 230, 250, 0.17), transparent 58%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.direct-links a:hover,
.direct-links a:focus-visible {
  z-index: 2;
  background: rgba(24, 67, 83, 0.54);
  outline: 1px solid rgba(206, 241, 253, 0.45);
  outline-offset: -1px;
  transform: translateY(-4px);
}

.direct-links a:hover::before,
.direct-links a:focus-visible::before {
  opacity: 1;
}

.link-index {
  position: absolute;
  top: 0.65rem;
  left: 0.75rem;
  color: rgba(169, 216, 232, 0.4);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.42rem;
}

.direct-links strong {
  position: relative;
  align-self: end;
  min-width: 0;
  font-size: clamp(0.62rem, 0.86vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.direct-links small {
  position: relative;
  color: rgba(168, 214, 230, 0.5);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.direct-links b {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: rgba(220, 245, 253, 0.82);
  font-size: 1rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.direct-links a:hover b {
  transform: translate(3px, -3px);
}

.direct-layout .character-stage {
  z-index: 5;
  top: 8%;
  left: auto;
  right: -5vw;
  width: min(48vw, 720px);
  height: 89%;
  opacity: 0.72;
  mask-image: linear-gradient(to left, black 68%, rgba(0, 0, 0, 0.52) 88%, transparent 100%);
}

.direct-layout .metz-character {
  left: 54%;
  height: min(88vh, 910px);
}

.direct-layout .site-footer > a {
  justify-self: end;
  color: rgba(211, 241, 251, 0.7);
}

@media (max-width: 960px) {
  .center-content {
    width: 86vw;
  }

  .direct-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .direct-links a:nth-child(2) {
    border-right: 0;
  }

  .direct-links a:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(190, 235, 250, 0.14);
  }
}

@media (max-width: 680px) {
  .direct-layout .site-header nav {
    gap: 1.2rem;
  }

  .direct-layout .site-header nav a {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }

  .direct-layout .site-header nav a:nth-child(2) {
    display: none;
  }

  .center-content {
    top: 49%;
    width: 88vw;
  }

  .center-eyebrow {
    padding-bottom: 0.55rem;
    font-size: 0.46rem;
  }

  .center-eyebrow span:last-child {
    display: none;
  }

  .center-title {
    height: clamp(92px, 27vw, 118px);
  }

  .center-title h1,
  .center-title > span {
    font-size: clamp(6.6rem, 30vw, 8.2rem);
  }

  .center-title > span {
    transform: translate(4px, calc(-50% + 4px)) scaleX(0.94);
  }

  .center-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.18em;
  }

  .all-links {
    margin-top: 1.35rem;
  }

  .links-heading {
    font-size: 0.43rem;
  }

  .direct-links a {
    min-height: 70px;
    padding: 0.9rem 0.78rem 0.72rem;
  }

  .direct-links strong {
    font-size: 0.61rem;
    letter-spacing: 0.1em;
  }

  .direct-links small {
    display: none;
  }

  .direct-links b {
    grid-row: 1;
    font-size: 0.82rem;
  }

  .direct-layout .character-stage {
    top: 16%;
    right: -34vw;
    width: 104vw;
    height: 71%;
    opacity: 0.42;
    mask-image: linear-gradient(to left, black 54%, rgba(0, 0, 0, 0.4) 78%, transparent 100%);
  }

  .direct-layout .metz-character {
    height: min(64vh, 650px);
  }

  .direct-layout .site-footer > a {
    font-size: 0.43rem;
  }
}

@media (max-height: 680px) and (min-width: 681px) {
  .center-content {
    top: 50%;
    transform: translate(-50%, -50%) scale(0.86);
  }
}

/* ===== CENTERED LINKTREE COMPOSITION ===== */
.linktree-layout {
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 44%, rgba(70, 151, 180, 0.16), transparent 33%),
    radial-gradient(circle at 8% 30%, rgba(18, 59, 74, 0.16), transparent 24%),
    linear-gradient(118deg, #020609 0%, #071118 51%, #02070a 100%);
}

.linktree-scene {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: max(100svh, 900px);
  overflow: hidden;
}

.profile-title {
  position: absolute;
  z-index: 20;
  top: 46px;
  left: 50%;
  width: min(520px, 84vw);
  text-align: center;
  transform: translateX(-50%);
}

.profile-title h1 {
  margin: 0;
  color: #e4f8ff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.5rem, 6.8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-shadow:
    0 0 24px rgba(151, 225, 250, 0.15),
    0 16px 40px rgba(0, 0, 0, 0.58);
}

.profile-title > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.profile-title > div i {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 232, 250, 0.34));
}

.profile-title > div i:last-child {
  background: linear-gradient(90deg, rgba(181, 232, 250, 0.34), transparent);
}

.profile-title > div span {
  color: rgba(203, 238, 250, 0.55);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
}

.profile-title p {
  margin: 1rem 0 0;
  color: var(--ice);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-shadow: 0 0 14px rgba(155, 225, 250, 0.36);
}

.link-composition {
  position: absolute;
  z-index: 10;
  top: 205px;
  left: 50%;
  width: min(960px, 94vw);
  height: 685px;
  transform: translateX(-50%);
}

.linktree-panel {
  position: absolute;
  z-index: 8;
  top: calc(108px + var(--panel-y, 0px));
  left: 50%;
  width: min(460px, 88vw);
  min-height: 558px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(174, 226, 245, 0.23);
  border-radius: 27px;
  background:
    linear-gradient(135deg, rgba(130, 207, 234, 0.045), transparent 33%),
    rgba(4, 12, 18, 0.91);
  box-shadow:
    0 35px 90px rgba(0, 2, 4, 0.68),
    inset 0 1px 0 rgba(218, 245, 255, 0.04),
    0 0 58px rgba(83, 177, 211, 0.055);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.linktree-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(186, 232, 248, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 232, 248, 0.16) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 64%);
}

.panel-top-line {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ice), transparent);
  box-shadow: 0 0 14px rgba(175, 232, 252, 0.48);
}

.release-row {
  position: relative;
  z-index: 2;
  min-height: 78px;
  display: grid;
  grid-template-columns: 58px 1fr 38px;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem;
  border: 1px solid rgba(180, 230, 248, 0.2);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(107, 190, 220, 0.11), rgba(9, 23, 31, 0.68));
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.release-row:hover,
.release-row:focus-visible {
  border-color: rgba(205, 241, 253, 0.46);
  background: linear-gradient(110deg, rgba(107, 190, 220, 0.19), rgba(12, 32, 42, 0.84));
  transform: translateY(-2px);
}

.release-cover {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  color: #e9faff;
  background:
    linear-gradient(145deg, transparent 20%, rgba(194, 239, 255, 0.18) 20% 23%, transparent 23% 62%, rgba(194, 239, 255, 0.12) 62% 65%, transparent 65%),
    radial-gradient(circle at 32% 24%, #23566a, #07131a 68%);
  box-shadow: inset 0 0 20px rgba(115, 210, 244, 0.13);
}

.release-cover b {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.release-cover i {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 4px;
  color: #061016;
  background: var(--ice);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.34rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.release-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.release-copy small {
  color: var(--ice-muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.43rem;
  letter-spacing: 0.16em;
}

.release-copy strong {
  overflow: hidden;
  color: #e1f6fd;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.release-copy em {
  color: rgba(166, 211, 226, 0.48);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.4rem;
  font-style: normal;
  letter-spacing: 0.12em;
}

.release-play {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(190, 235, 250, 0.2);
  border-radius: 50%;
  color: var(--ice-bright);
  background: rgba(182, 231, 249, 0.06);
  font-size: 0.56rem;
  text-indent: 2px;
}

.link-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.linktree-panel.no-release {
  min-height: 466px;
}

.linktree-panel.no-release .link-stack {
  margin-top: 0;
}

.link-stack a {
  min-height: 70px;
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(184, 232, 249, 0.105);
  border-radius: 13px;
  background: rgba(216, 245, 255, 0.026);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.link-stack a:hover,
.link-stack a:focus-visible {
  border-color: rgba(197, 238, 252, 0.34);
  background: linear-gradient(90deg, rgba(99, 187, 219, 0.13), rgba(216, 245, 255, 0.035));
  transform: translateX(4px);
}

.platform-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(194, 236, 251, 0.11);
  border-radius: 11px;
  background: rgba(196, 237, 251, 0.045);
  font-family: var(--font-geist-mono), monospace;
  font-size: 1.02rem;
  font-weight: 800;
}

.platform-mark.spotify { color: #55e69a; }
.platform-mark.instagram { color: #ff77b6; }
.platform-mark.youtube { color: #ff6673; font-size: 0.72rem; }
.platform-mark.soundcloud { color: #ffad69; }

.platform-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.platform-copy strong {
  color: #e2f6fd;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
}

.platform-copy small {
  color: rgba(164, 208, 224, 0.44);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.4rem;
  letter-spacing: 0.11em;
}

.link-stack a > b {
  color: rgba(212, 242, 252, 0.6);
  font-size: 0.94rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.link-stack a:hover > b {
  transform: translate(3px, -3px);
}

.panel-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  color: rgba(170, 214, 229, 0.42);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.41rem;
  letter-spacing: 0.12em;
}

.panel-footer span:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 9px var(--ice);
}

.lean-character {
  position: absolute;
  z-index: 9;
  left: calc(50% - 300px + var(--character-x, 0px));
  bottom: calc(-2px - var(--character-y, 0px));
  width: 255px;
  pointer-events: none;
  transform: translateX(-50%) rotate(var(--character-rotation, 3.2deg)) scale(var(--character-scale, 1));
  transform-origin: 82% 66%;
}

.lean-character img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.signal-note {
  position: absolute;
  z-index: 3;
  top: 205px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(178, 222, 237, 0.25);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.signal-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice-muted);
  box-shadow: 0 0 9px rgba(119, 200, 229, 0.28);
}

.signal-note-left { left: 17vw; }
.signal-note-right { right: 17vw; }

.ambient-card {
  position: absolute;
  z-index: 3;
  width: 220px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(132, 207, 234, 0.1);
  border-radius: 15px;
  background: rgba(5, 17, 23, 0.33);
  color: rgba(178, 222, 237, 0.28);
  box-shadow: 0 0 32px rgba(36, 113, 142, 0.03);
}

.ambient-card small,
.ambient-card strong,
.ambient-card span {
  display: block;
}

.ambient-card small {
  color: rgba(128, 202, 229, 0.38);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.43rem;
  letter-spacing: 0.16em;
}

.ambient-card strong {
  margin-top: 0.45rem;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.ambient-card span {
  margin-top: 0.36rem;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.39rem;
  letter-spacing: 0.12em;
}

.ambient-card-left {
  top: 340px;
  left: 8vw;
  transform: rotate(-2deg);
}

.ambient-card-right {
  top: 530px;
  right: 8vw;
  transform: rotate(2deg);
}

.camera-ui {
  position: fixed;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  color: rgba(166, 220, 240, 0.48);
  font-family: var(--font-geist-mono), monospace;
}

.frame-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.62;
}

.frame-tl { top: 8px; left: 8px; border-top: 1px solid var(--ice); border-left: 1px solid var(--ice); }
.frame-tr { top: 8px; right: 8px; border-top: 1px solid var(--ice); border-right: 1px solid var(--ice); }
.frame-bl { bottom: 8px; left: 8px; border-bottom: 1px solid var(--ice); border-left: 1px solid var(--ice); }
.frame-br { right: 8px; bottom: 8px; border-right: 1px solid var(--ice); border-bottom: 1px solid var(--ice); }

.rec-state {
  position: absolute;
  top: 21px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.52rem;
  letter-spacing: 0.2em;
}

.rec-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice-muted);
  box-shadow: 0 0 8px rgba(118, 203, 234, 0.45);
  animation: pulse 2.2s ease-out infinite;
}

.codec-state {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 0.42rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: right;
}

.camera-time {
  position: absolute;
  right: 25px;
  bottom: 22px;
  font-size: 0.43rem;
  letter-spacing: 0.13em;
}

.side-signal {
  position: absolute;
  top: 40%;
  font-size: 0.42rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.side-signal-left { left: 20px; transform: rotate(180deg); }
.side-signal-right { right: 20px; }

@media (max-width: 1100px) {
  .ambient-card,
  .signal-note {
    opacity: 0.48;
  }

  .ambient-card-left { left: 3vw; }
  .ambient-card-right { right: 3vw; }

  .lean-character {
    left: calc(50% - 293px + var(--character-x, 0px));
    width: 230px;
  }
}

@media (max-width: 820px) {
  .linktree-scene {
    min-height: 930px;
  }

  .profile-title {
    top: 54px;
  }

  .profile-title h1 {
    font-size: clamp(4rem, 16vw, 5.8rem);
  }

  .signal-note,
  .ambient-card {
    display: none;
  }

  .link-composition {
    top: 210px;
    width: 100%;
    height: 690px;
  }

  .linktree-panel {
    top: calc(155px + var(--panel-y, 0px));
    width: min(460px, 90vw);
    min-height: 552px;
    padding: 20px;
  }

  .lean-character {
    z-index: 7;
    top: calc(15px + var(--character-y, 0px));
    bottom: auto;
    left: calc(50% - 144px + var(--character-x, 0px));
    width: 170px;
    opacity: 0.92;
    transform: translateX(-50%) rotate(var(--character-rotation, 4.5deg)) scale(var(--character-scale, 1));
  }
}

@media (max-width: 520px) {
  .linktree-scene {
    min-height: 910px;
  }

  .profile-title {
    top: 58px;
  }

  .profile-title h1 {
    font-size: 4.4rem;
  }

  .profile-title > div {
    margin-top: 0.75rem;
  }

  .profile-title p {
    margin-top: 0.8rem;
  }

  .link-composition {
    top: 206px;
  }

  .linktree-panel {
    top: calc(157px + var(--panel-y, 0px));
    width: 92vw;
    padding: 16px;
    border-radius: 23px;
  }

  .lean-character {
    top: calc(30px + var(--character-y, 0px));
    left: calc(50% - 105px + var(--character-x, 0px));
    width: 150px;
  }

  .release-row {
    grid-template-columns: 52px 1fr 32px;
    gap: 0.68rem;
  }

  .release-cover {
    width: 52px;
    height: 52px;
  }

  .link-stack a {
    min-height: 66px;
    grid-template-columns: 41px 1fr auto;
    gap: 0.72rem;
    padding: 0.58rem 0.7rem;
  }

  .platform-mark {
    width: 40px;
    height: 40px;
  }

  .platform-copy small {
    font-size: 0.36rem;
  }

  .frame-corner {
    width: 28px;
    height: 28px;
  }

  .side-signal,
  .codec-state {
    display: none;
  }
}
