/* Cʜᴜᴅᴀɪ.Mx — dark palette sampled from the logo. */
:root {
  color-scheme: dark;
  --night: #110914;
  --night-deep: #09050b;
  --surface: #211225;
  --cream: #ffe2b8;
  --peach: #ff9858;
  --coral: #ff6573;
  --purple: #8750a0;
  --purple-bright: #aa6bc4;
  --lime: #9fbd31;
  --brown: #2b0d04;
  --muted: #c9aebf;
  --line: rgba(255, 226, 184, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 10% 8%, rgba(135, 80, 160, 0.26), transparent 31rem),
    radial-gradient(circle at 92% 28%, rgba(255, 101, 115, 0.13), transparent 27rem),
    radial-gradient(circle at 48% 112%, rgba(255, 152, 88, 0.15), transparent 32rem),
    linear-gradient(155deg, #160b19 0%, var(--night) 48%, var(--night-deep) 100%);
  font-family: ui-rounded, "Arial Rounded MT Bold", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.045;
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 21rem;
  height: 21rem;
  border: 1px solid rgba(170, 107, 196, 0.14);
  border-radius: 48% 52% 64% 36% / 38% 41% 59% 62%;
  pointer-events: none;
  transform: rotate(18deg);
}

.ambient::after {
  position: absolute;
  inset: 1rem;
  border: inherit;
  border-radius: inherit;
  content: "";
}

.ambient--one {
  top: -9rem;
  right: -7rem;
  background: rgba(135, 80, 160, 0.04);
}

.ambient--two {
  bottom: -12rem;
  left: -8rem;
  width: 27rem;
  height: 27rem;
  border-color: rgba(255, 152, 88, 0.12);
  background: rgba(255, 152, 88, 0.025);
  transform: rotate(-20deg);
}

.profile {
  display: grid;
  width: min(100% - 2rem, 38rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(1.75rem, 5vh, 3.75rem) 0 1.5rem;
  grid-template-rows: auto 1fr auto;
}

.profile__header {
  text-align: center;
}

.logo {
  display: block;
  width: clamp(12.75rem, 44vw, 18.5rem);
  height: auto;
  margin: 0 auto 0.35rem;
  filter: drop-shadow(0 17px 18px rgba(0, 0, 0, 0.38));
  animation: logo-float 5s ease-in-out infinite;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(2.8rem, 13vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.dot {
  color: var(--peach);
}

.intro {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 4vw, 1.14rem);
  font-style: italic;
}

.links {
  align-self: start;
  width: 100%;
  margin-top: clamp(2.25rem, 6vh, 3.75rem);
}

.link-card {
  position: relative;
  display: grid;
  min-height: 5.75rem;
  padding: 0.85rem 1rem;
  overflow: hidden;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    linear-gradient(115deg, rgba(135, 80, 160, 0.3), rgba(255, 152, 88, 0.11)),
    rgba(33, 18, 37, 0.82);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  color: var(--cream);
  grid-template-columns: 3.65rem 1fr 2.5rem;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.link-card::before {
  position: absolute;
  top: -5rem;
  right: -3rem;
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 101, 115, 0.08);
  content: "";
  pointer-events: none;
}

.link-card__icon {
  display: grid;
  z-index: 1;
  width: 3.15rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 226, 184, 0.22);
  border-radius: 1rem;
  background: linear-gradient(145deg, #acd148, var(--lime));
  box-shadow: inset 0 -3px 0 rgba(43, 13, 4, 0.14), 0 7px 18px rgba(159, 189, 49, 0.14);
}

.link-card__icon svg {
  width: 1.85rem;
  fill: var(--brown);
}

.link-card__copy {
  display: grid;
  z-index: 1;
  padding-inline: 0.85rem;
  gap: 0.15rem;
}

.link-card__copy strong {
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: -0.015em;
}

.link-card__copy small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.link-card__arrow {
  display: grid;
  z-index: 1;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 152, 88, 0.33);
  border-radius: 50%;
  color: var(--peach);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.link-card__arrow svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.link-card:hover {
  border-color: rgba(255, 152, 88, 0.55);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.55), 0 0 36px rgba(135, 80, 160, 0.11);
  transform: translateY(-3px);
}

.link-card:hover .link-card__arrow {
  background: var(--peach);
  color: var(--brown);
  transform: translateX(2px);
}

.link-card:active {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  transform: translateY(0) scale(0.99);
}

.link-card:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 5px;
}

footer {
  display: flex;
  padding-top: 2rem;
  justify-content: center;
  color: rgba(201, 174, 191, 0.58);
  font-size: 0.65rem;
  font-weight: 750;
  gap: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer span[aria-hidden] {
  color: var(--coral);
}

@media (max-width: 28rem) {
  .profile {
    width: min(100% - 1.35rem, 38rem);
    padding-top: 1.25rem;
  }

  .logo {
    width: min(66vw, 15.5rem);
    margin-bottom: 0.1rem;
  }

  .links {
    margin-top: 2.1rem;
  }

  .link-card {
    min-height: 5.3rem;
    padding-inline: 0.75rem;
    border-radius: 1.15rem;
    grid-template-columns: 3.3rem 1fr 2.3rem;
  }

  .link-card__icon {
    width: 2.9rem;
    border-radius: 0.9rem;
  }

  .link-card__copy {
    padding-inline: 0.72rem;
  }
}

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

@media (prefers-contrast: more) {
  .link-card,
  .link-card__arrow {
    border-color: currentColor;
  }

  .link-card__copy small,
  .intro,
  footer {
    color: var(--cream);
  }
}
