@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/manrope-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/montserrat-cyrillic-900-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/montserrat-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Lora;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lora-cyrillic-400-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Lora;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lora-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ink: #0d0d0d;
  --ink-muted: #5c5c5c;
  --ink-faint: #9a9a9a;
  --inverse: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4f4f0;
  --hairline: rgb(13 13 13 / 0.12);
  --accent: #e6ff2b;
  --accent-deep: #c8e012;
  --accent-readable: #8fa600;
  --accent-ink: #0d0d0d;
  --font-brutal: Montserrat, "Arial Black", system-ui, sans-serif;
  --font-brutal-weight: 900;
  --font-display: Lora, "PT Serif", Georgia, serif;
  --font-body: Manrope, "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --radius: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.25s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

.anim-item {
  opacity: 0;
  animation: fadeInUp 0.55s var(--ease) forwards;
  animation-delay: calc(var(--delay, 0) * 0.08s);
}

.page {
  position: relative;
  max-width: 26.25rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  padding-bottom: max(3rem, env(safe-area-inset-bottom));
}

.profile {
  text-align: center;
  margin-bottom: 2rem;
}

.profile__avatar-wrap {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  line-height: 0;
}

.profile__avatar {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  box-shadow: none;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
}

.profile__name {
  margin: 0 0 0.75rem;
  font-family: var(--font-brutal);
  font-size: clamp(1.65rem, 7vw, 2.15rem);
  font-weight: var(--font-brutal-weight);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.profile__bio {
  max-width: 34ch;
  margin-inline: auto;
}

.profile__bio-intro {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.profile__divider {
  width: 2.5rem;
  height: 1px;
  margin: 1rem auto;
  background: var(--hairline);
}

.profile__bio-tagline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.profile__social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.profile__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--ink-muted);
  transition:
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.profile__social-link:hover {
  color: var(--accent-readable);
  transform: translateY(-2px);
}

.profile__social-link:active {
  transform: translateY(0);
}

.profile__social-link svg {
  display: block;
  flex-shrink: 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta,
.link-card {
  display: block;
  min-height: 48px;
  padding: 1rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.cta {
  background: var(--accent);
  color: var(--accent-ink);
}

.cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.cta:active,
.link-card:active {
  transform: translateY(0);
}

.link-card {
  background: var(--surface);
  border-color: var(--hairline);
}

.link-card:hover {
  border-color: var(--ink);
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.cta__label,
.link-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta__desc,
.link-card__desc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.cta__desc {
  color: rgb(13 13 13 / 0.72);
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 400;
}

.link-card__desc {
  color: var(--ink-muted);
  font-family: var(--font-body);
}

.footer {
  margin-top: 2.5rem;
  text-align: center;
}

.footer__main,
.footer__rotating,
.footer__easter {
  font-family: var(--font-mono);
}

.footer__main {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: default;
  transition: color var(--duration) var(--ease);
}

.footer__main:hover {
  color: var(--accent-readable);
}

.footer__rotating {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: var(--ink-faint);
  min-height: 1.2em;
}

.footer__easter {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: var(--accent-readable);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.footer__easter.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .anim-item {
    animation: none;
    opacity: 1;
  }

  .cta,
  .link-card,
  .profile__social-link,
  .footer__easter {
    transition: none;
  }

  .cta:hover,
  .link-card:hover,
  .profile__social-link:hover,
  .footer__easter {
    transform: none;
  }
}
