:root {
  --text: #0b0b0b;
  --bg: #ffffff;
  --box: #efefef;
  --inner: #bdbdbd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Caveat Brush", cursive;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 60px 24px;
}

.layout {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 520px;
  column-gap: 80px;
  align-items: start;
}

/* LEFT COLUMN */
.left {
  padding-left: 40px;
}

.name {
  font-size: clamp(56px, 6vw, 86px);
  line-height: 1;
  margin: 40px 0 10px 0;
  font-weight: 400;
}

.links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.7;
}

.links a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 12px;

  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'>\
<path d='M0 6 Q 12 0 25 6 T 50 6 T 75 6 T 100 6' \
fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/>\
</svg>");

  background-repeat: no-repeat;
  background-size: 100% 100%;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.links a:hover::after {
  transform: scaleX(1);
}


/* RIGHT COLUMN */
.right {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.photo {
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.photo::after {
  content: "";
  width: 120px;
  height: 120px;
  border-radius: 14px;
}

/* MOBILE */
@media (max-width: 820px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .right {
    display: none;
  }
  .left {
    padding-left: 0;
  }
  .name {
    margin: 20px 0 40px 0;
  }
}

/* 90s monochrome cursor bubbles */
.bubble-90s {
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9999;
  background: transparent;
  border: 2px solid #000;
  opacity: 0.9;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
.bubble-90s::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 18%;
  width: 26%;
  height: 26%;
  border-radius: 999px;
  background: #000;
  opacity: 0.10;
}

