:root {
  --cream: #faf6ee;
  --ink: #2a2520;
  --ink-soft: #5d5246;
  --burgundy: #8b2020;
  --line: #58544a1f;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 18% 14%, #5c9a9314, #0000 28%),
    radial-gradient(circle at 82% 16%, #c9a08c12, #0000 26%),
    radial-gradient(circle at 50% 58%, #d6be8e14, #0000 34%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.tape {
  position: relative;
  overflow: hidden;
  height: 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fffaf29e, #faf6ee7a);
}

.tape::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #faf6eeeb, #0000 12% 88%, #faf6eeeb);
}

.tape-track {
  display: flex;
  width: max-content;
  animation: tape 36s linear infinite;
}

.tape-track span {
  padding: 0.7rem 0;
  color: #3b3a35cc;
  font: 500 12px/1 Inter, system-ui, -apple-system, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 4rem 1.5rem 2rem;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  padding: 0 1.5rem 1.5rem;
}

.footer a {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  color: #37352fd6;
  text-decoration: none;
}

.footer svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer a:hover {
  color: var(--ink);
}

.footer a:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero-copy {
  width: min(28rem, 100%);
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.4rem, 9vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.cursor {
  color: #111;
  animation: blink 1.1s step-end infinite;
}

.bio {
  position: relative;
  margin-top: 1.55rem;
}

.portrait {
  position: absolute;
  z-index: 2;
  top: 0.78rem;
  left: 10.7rem;
  width: 6.15rem;
  height: auto;
  display: block;
  border: 1px solid #2a252018;
  border-radius: 0.7rem;
  box-shadow: 0 8px 16px #2a252014;
}

.lede {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0 0 0 1.85rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.45;
  list-style: none;
  text-shadow:
    0 0 4px #faf6eef2,
    0 0 9px #faf6eed9,
    0 0 16px #faf6ee8c;
}

.lede li {
  position: relative;
}

.lede li::before {
  content: "";
  position: absolute;
  left: -1.05rem;
  top: 0.72em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #2c2c2c, #000 68%);
  transform: translate(-50%, -50%);
  animation: bubble-float 2.8s ease-in-out infinite;
}

.lede li:nth-child(1)::before { width: 6px; height: 6px; animation-delay: 0s; }
.lede li:nth-child(2)::before { width: 9px; height: 9px; animation-delay: -0.4s; }
.lede li:nth-child(3)::before { width: 5px; height: 5px; animation-delay: -0.8s; }
.lede li:nth-child(4)::before { width: 7px; height: 7px; animation-delay: -1.2s; }
.lede li:nth-child(5)::before { width: 5px; height: 5px; animation-delay: -1.6s; }
.lede li:nth-child(6)::before { width: 9px; height: 9px; animation-delay: -2s; }
.lede li:nth-child(7)::before { width: 5px; height: 5px; animation-delay: -2.4s; }
.lede li:nth-child(8)::before { width: 10px; height: 10px; animation-delay: -2.8s; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding-left: 1.85rem;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 0.8rem 1rem;
  border: 1px solid #544f4438;
  background: #fbf8f257;
  box-shadow: inset 0 1px #ffffff38;
  color: #37352fd6;
  font: 500 12px/1 Inter, system-ui, -apple-system, sans-serif;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.action::before {
  content: "[";
  margin-right: 0.6rem;
  opacity: 0.55;
}

.action::after {
  content: "]";
  margin-left: 0.6rem;
  opacity: 0.55;
}

.action:hover {
  border-color: #544f4457;
  background: #fbf8f28c;
  color: #2a2824eb;
}

.action:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
}

@keyframes bubble-float {
  0%, 100% { transform: translate(-50%, -50%) translate(0, 2px) scale(0.92); opacity: 0.72; }
  50% { transform: translate(-50%, -50%) translate(3px, -8px) scale(1); opacity: 1; }
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes tape {
  to { transform: translateX(-50%); }
}

@media (max-width: 700px) {
  .tape-track span {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hero {
    place-items: start center;
    padding: 2.4rem 1.2rem 2.2rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor,
  .tape-track,
  .lede li::before {
    animation: none;
  }
}
