:root {
  --ink: #f5fffc;
  --muted: rgba(213, 235, 229, 0.62);
  --mint: #7ff5d8;
  --mint-bright: #a9ffe9;
  --deep: #030706;
  --panel: #081310;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--deep);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -8%, rgba(92, 231, 197, 0.17), transparent 34rem),
    radial-gradient(circle at 10% 72%, rgba(41, 168, 137, 0.1), transparent 28rem),
    linear-gradient(150deg, #010302 0%, #07100e 50%, #020504 100%);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  align-content: center;
  gap: 17px;
  padding:
    max(18px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  overflow: hidden;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
}

.ambientOne {
  top: -17rem;
  left: calc(50% - 12rem);
  background: #36d5b0;
}

.ambientTwo {
  right: -18rem;
  bottom: -14rem;
  background: #0a745f;
}

.profileCard {
  position: relative;
  width: min(100%, 420px);
  padding: 18px 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(161, 255, 232, 0.19);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(25, 43, 38, 0.82), rgba(4, 9, 8, 0.97) 60%),
    var(--panel);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.68),
    0 0 70px rgba(57, 224, 184, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
}

.profileCard::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 25% 75%, rgba(87, 245, 207, 0.04));
  content: "";
  pointer-events: none;
}

.cardGrid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(135, 255, 226, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 255, 226, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

.spark {
  position: absolute;
  z-index: 2;
  color: var(--mint-bright);
  text-shadow: 0 0 18px rgba(127, 245, 216, 0.65);
}

.sparkOne {
  top: 33px;
  left: 31px;
  font-size: 14px;
}

.sparkTwo {
  top: 82px;
  right: 37px;
  font-size: 20px;
  opacity: 0.68;
}

.portraitStage {
  position: relative;
  display: grid;
  height: 247px;
  place-items: center;
  border-radius: 23px;
  background:
    radial-gradient(circle at 50% 48%, rgba(97, 239, 204, 0.17), transparent 38%),
    linear-gradient(150deg, rgba(15, 26, 23, 0.75), rgba(2, 5, 4, 0.92));
  box-shadow: inset 0 0 0 1px rgba(166, 255, 233, 0.07);
}

.portraitStage::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg, transparent 38%, rgba(127, 245, 216, 0.06) 49%, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(77, 223, 188, 0.12), transparent 42%);
  content: "";
}

.portraitHalo {
  position: absolute;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: rgba(76, 237, 199, 0.14);
  filter: blur(26px);
}

.portraitFrame {
  position: relative;
  width: 166px;
  height: 166px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(176, 255, 236, 0.42);
  border-radius: 48% 48% 45% 45%;
  background: linear-gradient(145deg, rgba(154, 255, 231, 0.3), rgba(8, 21, 18, 0.2));
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.5),
    0 0 38px rgba(86, 231, 195, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.16);
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 46% 46% 43% 43%;
  object-fit: cover;
  transform: scale(1.015);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(127, 245, 216, 0.21);
  border-radius: 50%;
  pointer-events: none;
}

.orbitOne {
  width: 252px;
  height: 118px;
  transform: rotate(-24deg);
}

.orbitTwo {
  width: 212px;
  height: 212px;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(28deg);
}

.portraitMark {
  position: absolute;
  right: 20px;
  bottom: 17px;
  color: rgba(177, 229, 217, 0.43);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.profileCopy {
  padding: 23px 11px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: rgba(187, 234, 227, 0.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(127, 245, 216, 0.4);
}

h1 {
  margin: 0;
  font-family: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", sans-serif;
  font-size: clamp(43px, 13vw, 57px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

h1 span {
  color: var(--mint-bright);
  font-weight: 400;
}

.intro {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.topics {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: rgba(210, 239, 231, 0.52);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.topics i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px rgba(127, 245, 216, 0.8);
}

.links {
  margin-top: 22px;
}

.primaryLink {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px 12px 20px;
  overflow: hidden;
  border: 1px solid rgba(191, 255, 240, 0.42);
  border-radius: 21px;
  background:
    linear-gradient(105deg, rgba(13, 94, 78, 0.96), rgba(53, 189, 157, 0.9)),
    #176e5d;
  box-shadow:
    0 16px 38px rgba(10, 124, 100, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.primaryLink::before {
  position: absolute;
  top: -90%;
  left: -36%;
  width: 46%;
  height: 270%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  content: "";
  transform: rotate(22deg);
  transition: left 520ms ease;
}

.primaryLink:hover {
  border-color: rgba(216, 255, 246, 0.72);
  box-shadow:
    0 19px 44px rgba(10, 144, 115, 0.31),
    inset 0 1px rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.primaryLink:hover::before {
  left: 110%;
}

.primaryLink:active {
  transform: translateY(0) scale(0.988);
}

.primaryLink:focus-visible {
  outline: 3px solid rgba(169, 255, 233, 0.72);
  outline-offset: 4px;
}

.linkCopy {
  display: grid;
  gap: 3px;
}

.linkCopy small {
  color: rgba(235, 255, 250, 0.7);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.linkCopy strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.linkArrow {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(3, 34, 28, 0.27);
  font-size: 21px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09);
}

.linkNote {
  margin: 11px 0 0;
  color: rgba(179, 210, 202, 0.42);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.linkNote span {
  margin: 0 4px;
  color: rgba(127, 245, 216, 0.55);
}

footer {
  color: rgba(159, 190, 184, 0.34);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

footer span {
  margin-left: 5px;
  color: rgba(127, 245, 216, 0.48);
}

@media (max-height: 760px) {
  .landing {
    align-content: start;
    overflow-y: auto;
  }

  .portraitStage {
    height: 218px;
  }

  .portraitFrame {
    width: 150px;
    height: 150px;
  }

  .profileCopy {
    padding-top: 19px;
  }

  .links {
    margin-top: 18px;
  }
}

@media (max-width: 360px) {
  .profileCard {
    padding: 14px 14px 17px;
    border-radius: 25px;
  }

  .portraitStage {
    height: 218px;
  }

  h1 {
    font-size: 43px;
  }

  .linkCopy strong {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
