/* mikegt.com — palette borrowed from Groovelit, fonts matched */
:root {
  --bg: oklch(0.9934 0.0107 95.16); /* warm cream */
  --body: oklch(0.3962 0.0467 233.68); /* prose */
  --muted: oklch(0.5575 0.0165 244.89);
  --faint: oklch(0.7692 0.0145 248.02);
  --line: oklch(0.9109 0.007 247.9);
  --yellow: oklch(0.8198 0.1466 81.17);
  --yellow-hl: oklch(0.9241 0.0831 89.31); /* highlighter */
  --tangerine: oklch(0.7812 0.1488 55.74); /* accent */
  --display: "Fredoka", sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* warm ambient wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      60% 50% at 12% -5%,
      oklch(0.8198 0.1466 81.17 / 0.18),
      transparent 60%
    ),
    radial-gradient(
      45% 40% at 100% 102%,
      oklch(0.7812 0.1488 55.74 / 0.1),
      transparent 55%
    );
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 6.5rem) clamp(1.5rem, 5vw, 2.5rem) 4rem;
}

/* top line */
.topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.topline .status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--tangerine);
}
.topline .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tangerine);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

/* hero */
h1 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--body);
  font-size: clamp(2.9rem, 10vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: clamp(3rem, 7vh, 4rem);
}
.lede {
  font-family: var(--display);
  font-weight: 400;
  color: var(--body);
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 34rem;
  margin-top: 1rem;
}

/* prose */
.para {
  font-size: clamp(1.06rem, 2.3vw, 1.18rem);
  line-height: 1.68;
  max-width: 38rem;
  margin-top: 2.5rem;
}

/* highlighter swipe under key phrases */
.hl {
  box-shadow: inset 0 -0.5em 0 var(--yellow-hl);
}
a.hl {
  text-decoration: none;
  color: var(--body);
  font-weight: 600;
  transition: box-shadow 0.25s;
}
a.hl:hover {
  box-shadow: inset 0 -1.1em 0 var(--yellow-hl);
}

.link {
  text-decoration: underline;
  color: var(--body);
}

/* point of view — the heart of the page */
.pov {
  position: relative;
  max-width: 35rem;
  margin-top: 2.5rem;
  padding-left: 1.5rem;
}
.pov::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    var(--tangerine) 0 6px,
    transparent 6px 12px
  );
}
.pov p {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(1.3rem, 3.2vw, 1.65rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* stack */
.stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 2.5rem;
}
.stack .row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
}
.stack .label {
  min-width: 6.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tangerine);
}
.stack .items {
  font-size: 0.92rem;
  color: var(--muted);
}

/* links */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 2rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
}
.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--tangerine);
  transition: width 0.28s;
}
.links a:hover::after {
  width: 100%;
}
.links a .note {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--faint);
}

/* staggered load-in for each block */
.wrap > * {
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.wrap > *:nth-child(1) {
  animation-delay: 0.05s;
}
.wrap > *:nth-child(2) {
  animation-delay: 0.15s;
}
.wrap > *:nth-child(3) {
  animation-delay: 0.26s;
}
.wrap > *:nth-child(4) {
  animation-delay: 0.38s;
}
.wrap > *:nth-child(5) {
  animation-delay: 0.5s;
}
.wrap > *:nth-child(6) {
  animation-delay: 0.62s;
}
.wrap > *:nth-child(7) {
  animation-delay: 0.74s;
}
.wrap > *:nth-child(8) {
  animation-delay: 0.86s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dot-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wrap > *,
  .topline .dot {
    animation: none;
    opacity: 1;
  }
}
