:root {
  color-scheme: dark;
  --ink: #0c0a0d;
  --ink-soft: #151116;
  --cream: #f8f1ef;
  --muted: #c8b9bd;
  --rose: #d88a9b;
  --rose-light: #f1c0c9;
  --line: rgba(248, 241, 239, 0.15);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -18%, rgba(216, 138, 155, 0.18), transparent 34rem),
    linear-gradient(165deg, #131015 0%, var(--ink) 48%, #100c10 100%);
  color: var(--cream);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 34px 18px 24px;
}

.link-page {
  width: min(100%, 410px);
  animation: page-in 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.profile-header {
  display: grid;
  justify-items: center;
  padding: 8px 0 31px;
  text-align: center;
}

.portrait-frame {
  position: relative;
  width: 94px;
  aspect-ratio: 1;
  margin-bottom: 18px;
  border: 1px solid rgba(241, 192, 201, 0.86);
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, rgba(241, 192, 201, 0.62), rgba(216, 138, 155, 0.12));
  box-shadow: 0 0 0 6px rgba(216, 138, 155, 0.06);
}

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--rose-light);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 9vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.link-list {
  display: grid;
  gap: 13px;
}

.feature-card {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 1.4035 / 1;
  border: 1px solid rgba(248, 241, 239, 0.22);
  border-radius: 24px;
  background: #2a1e21;
  color: var(--cream);
  isolation: isolate;
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feature-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
}

.feature-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 5, 7, 0.02) 25%, rgba(7, 5, 7, 0.22) 54%, rgba(7, 5, 7, 0.88) 100%);
}

.feature-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 21px 21px 20px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

.feature-kicker {
  color: var(--rose-light);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 7vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.feature-action {
  margin-top: 4px;
  color: rgba(248, 241, 239, 0.9);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.social-link {
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  align-items: center;
  gap: 9px;
  min-height: 61px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 11px 17px;
  background: rgba(248, 241, 239, 0.055);
  color: var(--cream);
  font-size: 0.94rem;
  font-weight: 680;
  text-decoration: none;
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.social-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: #2b1017;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
}

.social-arrow {
  color: var(--rose-light);
  font-size: 1.12rem;
  text-align: right;
}

.feature-card:hover,
.social-link:hover {
  transform: translateY(-3px);
}

.feature-card:hover {
  border-color: rgba(241, 192, 201, 0.82);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.feature-card:hover > img {
  transform: scale(1.025);
}

.social-link:hover {
  border-color: rgba(241, 192, 201, 0.72);
  background: rgba(216, 138, 155, 0.14);
}

.feature-card:focus-visible,
.social-link:focus-visible {
  outline: 3px solid var(--rose-light);
  outline-offset: 4px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 25px 0 3px;
  color: rgba(200, 185, 189, 0.76);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
}

.footer-mark {
  width: 13px;
  height: 8px;
  border: 2px solid var(--rose);
  border-radius: 99px;
  transform: rotate(-26deg);
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 600px) {
  .page-shell {
    padding-top: 54px;
  }

  .link-page {
    width: min(100%, 440px);
  }

  .portrait-frame {
    width: 104px;
  }

  .profile-header {
    padding-bottom: 36px;
  }
}

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