/* maybeliam: the pfp in a circle, the name under it, on a quiet green field. */
:root {
  --deep: #0f1f0e;
  --moss: #2a4a24;
  --lime: #9ccc5c;
  --mint: #eaf6df;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  color-scheme: dark;
  color: var(--mint);
  background: var(--deep);
  overflow: hidden;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* the inkykat stripes, turned right down, drifting slowly sideways.
   One stripe pair repeats every 144px across the stripe, which is 144·√2 ≈ 203.65px along x,
   so sliding that far loops with no jump. */
body::before {
  content: "";
  position: fixed;
  inset: -240px;
  z-index: -1;
  background: repeating-linear-gradient(45deg, transparent 0 72px, rgba(156, 204, 92, 0.035) 72px 144px);
  animation: drift 40s linear infinite;
  will-change: transform;
}
@keyframes drift { to { transform: translateX(203.65px); } }
main {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 2.5rem);
  padding: 2rem 1.25rem;
  text-align: center;
}

/* The pfp: a circle with a thick lime rim, like the edge of the hood. */
.pfp {
  display: block;
  width: clamp(180px, 34vmin, 320px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: clamp(5px, 1.1vmin, 9px) solid var(--lime);
  box-shadow: 0 0 0 clamp(6px, 1.4vmin, 12px) var(--moss), 0 24px 60px rgba(0, 0, 0, 0.45);
  background: var(--moss);
  /* a slow, gentle float: up and down a few pixels with a tiny tilt, no bounce */
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}
h1 { animation: float-name 6s ease-in-out infinite; }
@keyframes float-name {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  body::before, .pfp, h1 { animation: none; }
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--mint);
  text-wrap: balance;
}

/* short landscape phones: side by side */
@media (max-height: 520px) and (orientation: landscape) {
  main { flex-direction: row; gap: 2rem; text-align: left; }
  .pfp { width: clamp(140px, 55vh, 260px); }
}
