:root {
  --cream: #fff6ee;
  --cream-deep: #f8f0ea;
  --midnight: #150f25;
  --ink: #1e2430;
  --plum: #2b203b;
  --lilac: #e6defa;
  --lilac-deep: #755ca8;
  --coral: #c73d38;
  --coral-bright: #ff6b5b;
  --teal: #62c7be;
  --teal-deep: #1b6260;
  --lcd-mint: #b8ffe8;
  --lcd-glow: #8dffe0;
  --surface: #fffdf9;
  --focus: #6d58a1;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Atkinson Hyperlegible", "Avenir Next", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --max: 72rem;
}

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

html {
  color-scheme: light;
  background: var(--cream);
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--lilac-deep);
}

a:hover {
  color: var(--coral);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--midnight);
  color: var(--cream);
  padding: 0.5rem 0.75rem;
}

.skip:focus {
  top: 1rem;
}

.frame {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow-x: clip;
}

.memphis {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: cover;
  object-position: right top;
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 2;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 1.25rem var(--space);
}

.mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-optical-sizing: auto;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  font-kerning: none;
  font-feature-settings: "kern" 0;
  color: var(--midnight);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.nav a {
  color: var(--plum);
  text-decoration: none;
  font-weight: 700;
  background: var(--cream);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.nav a[aria-current="page"] {
  background: var(--midnight);
  color: var(--cream);
}

.hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: calc(100dvh - 9rem);
  display: grid;
  align-content: center;
  gap: 0.6rem;
  padding: 0 var(--space) 4rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-size: clamp(5rem, 18vw, 7.5rem);
  letter-spacing: 0.08em;
  font-kerning: none;
  font-feature-settings: "kern" 0;
  line-height: 1.05;
  padding-block: 0.06em;
  color: var(--midnight);
  text-wrap: balance;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.lcd-stage {
  position: relative;
  display: block;
  width: min(100%, 42rem);
  margin: 0.55rem 0 0.35rem;
}

.lcd-stage::before,
.lcd-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.lcd-stage::before {
  inset: 14% -4% 8%;
  background: radial-gradient(
    ellipse at 50% 48%,
    rgba(141, 255, 224, 0.95) 0%,
    rgba(184, 255, 232, 0.55) 32%,
    rgba(98, 199, 190, 0.18) 58%,
    transparent 74%
  );
  filter: blur(22px);
  animation: lcd-breathe 2.8s ease-in-out infinite;
}

.lcd-stage::after {
  inset: 18% 12% 22%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(232, 255, 248, 0.9) 0%,
    rgba(141, 255, 224, 0.45) 40%,
    transparent 70%
  );
  filter: blur(16px);
  mix-blend-mode: screen;
  animation: lcd-breathe 2.8s ease-in-out infinite reverse;
}

.lcd {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter:
    drop-shadow(0 0 10px rgba(232, 255, 248, 0.95))
    drop-shadow(0 0 28px rgba(141, 255, 224, 1))
    drop-shadow(0 0 64px rgba(98, 199, 190, 0.72))
    drop-shadow(0 0 120px rgba(141, 255, 224, 0.5));
}

@keyframes lcd-breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.97);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.phrase {
  margin: 0.35rem 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--plum);
}

.by {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lilac-deep);
}

.status {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.55rem 0.95rem;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  width: max-content;
}

.legal {
  width: min(100%, 44rem);
  margin: 0 auto 4rem;
  padding: 0 var(--space);
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: -0.04em;
  color: var(--midnight);
  text-wrap: balance;
  margin: 1rem 0 0.4rem;
}

.legal .lede {
  color: var(--plum);
  font-size: 1.15rem;
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
}

.legal p,
.legal li {
  max-width: 65ch;
}

.urls {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.urls a {
  font-weight: 700;
}

.site-footer {
  color: var(--plum);
  font-size: 0.95rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 720px) {
  .memphis {
    object-position: 82% 0;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav a {
    padding: 0.22rem 0.55rem;
    font-size: 0.92rem;
  }

  .site-footer {
    font-size: 0.85rem;
  }

  .lcd-stage {
    width: calc(100% + 0.4rem);
    margin-inline: -0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
