/* ============================================================
   HOME PAGE (the "about me" landing page)
   Shares colours, fonts, buttons and stickers with styles.css.
   ============================================================ */
body.landing { min-height: 100vh; display: flex; flex-direction: column; }

/* floating colour blobs */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: drift 22s ease-in-out infinite alternate; }
.blobs .b1 { width: 520px; height: 520px; background: var(--pink); top: -140px; right: -80px; }
.blobs .b2 { width: 460px; height: 460px; background: var(--purple); bottom: -160px; left: -120px; animation-delay: -6s; }
.blobs .b3 { width: 280px; height: 280px; background: var(--cyan); top: 45%; left: 45%; opacity: .22; animation-delay: -12s; }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.12); } }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 48px 0; }
.mono-badge {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--lime); color: var(--bg); border: 2.5px solid var(--ink);
  font-weight: 800; font-size: 18px; letter-spacing: -.03em; box-shadow: 4px 4px 0 var(--pink);
  transform: rotate(-8deg); transition: transform .3s;
}
.mono-badge:hover { transform: rotate(10deg) scale(1.06); }

main {
  flex: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
  max-width: 1240px; width: 100%; margin: 0 auto; padding: 50px 48px 70px;
}

.hello { position: relative; }
.wave { font-size: 14px; padding: 10px 16px; transform: rotate(-3deg); }
.hello h1 {
  font-weight: 800; letter-spacing: -.045em; word-spacing: .08em; line-height: .88; margin: 26px 0 0;
  font-size: clamp(68px, 9.5vw, 148px);
}
.grad {
  background: linear-gradient(90deg, var(--pink) 0%, var(--purple) 45%, var(--cyan) 75%, var(--lime) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.hi-note { position: absolute; right: 4%; top: 64px; font-size: 34px; transform: rotate(10deg); }

.intro { max-width: 560px; margin: 34px 0 0; }
.intro p { margin: 0 0 1em; color: var(--muted); font-size: 18px; }
.intro .lead { color: var(--ink); font-size: 24px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }

.facts { list-style: none; padding: 0; margin: 30px 0 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.fact {
  background: var(--lime); color: var(--bg); border: 2.5px solid var(--ink); border-radius: 18px;
  padding: 12px 18px; font-weight: 600; font-size: 16px; line-height: 1.2; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s;
}
.fact b { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; opacity: .75; }
.fact:nth-child(odd) { transform: rotate(-2.5deg); }
.fact:nth-child(even) { transform: rotate(2deg); }
.fact:hover { transform: rotate(0) scale(1.06); }
.fact.cyan { background: var(--cyan); }
.fact.orange { background: var(--orange); }
.fact.purple { background: var(--purple); color: var(--ink); }

.ctas { display: flex; flex-wrap: wrap; gap: 18px; }

/* portrait */
.portrait { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 430px; }
.frame-blob {
  aspect-ratio: 1 / 1.15; overflow: hidden; border: 3px solid var(--ink);
  border-radius: 58% 42% 48% 52% / 46% 54% 46% 54%;
  background: linear-gradient(145deg, var(--pink), var(--purple) 55%, var(--cyan));
  box-shadow: 14px 14px 0 var(--lime);
  animation: morph 12s ease-in-out infinite alternate;
  display: grid; place-items: center;
}
.frame-blob img { width: 100%; height: 100%; object-fit: cover; }
.frame-blob .placeholder { font-weight: 800; font-size: 120px; letter-spacing: -.06em; color: var(--bg); opacity: .85; }
@keyframes morph { to { border-radius: 44% 56% 58% 42% / 56% 42% 58% 44%; } }
.portrait .badge-wrap { position: absolute; width: 140px; height: 140px; top: -30px; right: -26px; }
.portrait .est { position: absolute; left: -18px; bottom: 50px; transform: rotate(-9deg); font-size: 14px; padding: 10px 16px; border-color: var(--ink); }
.squiggle { position: absolute; left: -60px; top: 30px; width: 110px; }
.squiggle path { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; }

.foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 0 48px 30px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.foot a { color: var(--pink); text-decoration: underline wavy; text-underline-offset: 4px; }

/* entrance */
.rise { opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.2,1.3,.4,1) forwards; }
.d1 { animation-delay: .05s } .d2 { animation-delay: .18s } .d3 { animation-delay: .32s } .d4 { animation-delay: .46s } .d5 { animation-delay: .6s }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .blobs i, .grad, .frame-blob { animation: none; }
}

@media (max-width: 920px) {
  main { grid-template-columns: 1fr; gap: 70px; padding: 40px 32px 60px; }
  .portrait { max-width: 330px; order: -1; margin-top: 20px; }
  .hi-note { top: 40px; }
}
@media (max-width: 600px) {
  .top { padding: 20px 18px 0; }
  .mono-badge { width: 52px; height: 52px; font-size: 15px; }
  .top .nav a:not(:first-child) { display: none; }
  main { padding: 30px 18px 50px; gap: 56px; }
  .portrait { max-width: 250px; }
  .portrait .badge-wrap { width: 100px; height: 100px; top: -24px; right: -20px; }
  .portrait .est { left: -10px; font-size: 12px; }
  .squiggle { display: none; }
  .hi-note { right: 0; top: 30px; font-size: 28px; }
  .intro .lead { font-size: 21px; }
  .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .foot { padding: 0 18px 26px; justify-content: center; text-align: center; }
}

/* ---------- calmer look (delete to restore the playful version) ---------- */
.blobs i { opacity: .12; }
.blobs .b3 { display: none; }
.mono-badge { transform: none; box-shadow: none; border: 1px solid var(--line); background: var(--bg-3); color: var(--ink); }
.mono-badge:hover { transform: none; }
.wave { transform: none; }
.grad { background: linear-gradient(90deg, var(--pink), var(--purple)); -webkit-background-clip: text; background-clip: text; animation: none; }
.hi-note, .squiggle, .portrait .badge-wrap { display: none; }
.fact, .fact.cyan, .fact.orange, .fact.purple { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); box-shadow: none; transform: none !important; }
.fact b { color: var(--lilac); opacity: 1; }
.frame-blob { border-radius: 28px; animation: none; box-shadow: none; border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--bg-3), var(--bg-2)); }
.frame-blob .placeholder { color: var(--lilac); opacity: .6; }
.portrait .est { transform: none; }
.foot a { text-decoration: underline; text-decoration-color: rgba(232,103,159,.5); }
.rise { animation-timing-function: ease; }

/* no portrait: single column */
main { grid-template-columns: 1fr; max-width: 900px; }
.hello h1 { margin-top: 0; }
.top { justify-content: flex-end; }
.intro { margin-bottom: 0; }
.foot { justify-content: center; }
