@font-face {
  font-family: Manrope;
  src: url("assets/manrope-cyrillic.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 800;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 800;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--paper);
  background: #0c1118;
  --paper: #f4f8fc;
  --muted: #a9bacb;
  --accent: #9ed5f6;
  --ink: #0d1a26;
  --line: #2b3948;
  --hero-surface: #101923;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 75% 4%, #172534 0%, transparent 48rem);
}

h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.shell { width: min(100% - 5rem, 72rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 3;
  inset: .75rem auto auto .75rem;
  padding: .65rem 1rem;
  transform: translateY(-160%);
  border-radius: .45rem;
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
}

.skip-link:focus { transform: none; }

.site-header {
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-mark {
  display: grid;
  width: 2.45rem;
  aspect-ratio: 1;
  place-items: center;
  background: var(--accent);
  border-radius: .58rem;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.65rem;
  line-height: 1;
}

.brand-name {
  display: grid;
  gap: .18rem;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1;
}

.brand-name > span { color: var(--accent); }
.header-link { padding: .65rem 0 .65rem .8rem; color: var(--muted); font-size: .94rem; font-weight: 700; }
.header-link:hover { color: var(--paper); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(24rem, 37vw, 29rem);
  overflow: hidden;
  border: 1px solid #344757;
  border-radius: 1.5rem;
  background: var(--hero-surface);
}

.hero-picture, .hero::after { position: absolute; z-index: -1; inset: 0; }
.hero-picture { left: 21%; }
.hero-picture img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 70% 52%; }
.hero::after {
  content: "";
  background:
    linear-gradient(90deg, var(--hero-surface) 12%, #101923f7 25%, #1019238f 52%, transparent 76%),
    linear-gradient(0deg, #0d141d6b, transparent 50%);
}

.hero-content { padding: clamp(2rem, 5.1vw, 4.5rem); }
.hero h1 {
  font-size: clamp(3.2rem, 6.7vw, 6.45rem);
  font-weight: 800;
  letter-spacing: -.083em;
  line-height: .96;
}

.hero strong { color: var(--accent); font-weight: inherit; }
.hero p {
  max-width: 22rem;
  margin-top: 1.5rem;
  color: #d7e3ed;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.platforms li {
  padding: .38rem .63rem;
  border: 1px solid #405669;
  border-radius: .4rem;
  color: #d5e9f8;
  background: #1a2836;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
}

.contacts, .socials { scroll-margin-top: 1.5rem; }
.contacts { margin-top: 1.8rem; }
.socials { margin-top: 1.75rem; }
.contacts h2, .socials h2 {
  margin-bottom: .75rem;
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: -.035em;
  font-weight: 800;
}

.contact-grid, .social-grid { display: grid; gap: .8rem; }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.telegram-community { grid-column: 1 / -1; }

.contact-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: #151e28;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.contact-card-primary { min-height: 5.45rem; background: #1a2734; border-color: #3a5265; }
.contact-card-social { min-height: 4.75rem; }
.contact-card:hover { transform: translateY(-2px); background: #22354a; border-color: #698da8; }
.contact-card:active { transform: none; }
.contact-icon {
  position: relative;
  flex: none;
  display: grid;
  width: 2.75rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: .62rem;
  color: #9de0ff;
  background: #1d3448;
}

.contact-card-primary .contact-icon { width: 3.15rem; }
.telegram-icon::before {
  content: "";
  width: 1.4rem;
  aspect-ratio: 1;
  background: currentColor;
  clip-path: polygon(3% 42%, 95% 8%, 79% 94%, 53% 71%, 40% 84%, 43% 60%, 76% 29%, 34% 54%);
}

.whatsapp-icon { color: #9ee7bf; background: #213e34; }
.whatsapp-icon > span {
  display: grid;
  width: 1.5rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 20%;
  font-family: "Segoe UI Symbol", sans-serif;
  font-size: .76rem;
  line-height: 1;
}

.contact-copy { display: grid; min-width: 0; gap: .13rem; overflow-wrap: anywhere; }
.contact-copy strong { font-size: 1.02rem; font-weight: 800; }
.contact-card-primary .contact-copy strong { font-size: 1.12rem; }
.contact-copy > span { color: var(--muted); font-size: .88rem; font-weight: 600; }
.contact-action {
  margin-left: auto;
  padding: .55rem .72rem;
  border: 1px solid #47677f;
  border-radius: .45rem;
  color: #c8e8f9;
  font-size: .875rem;
  font-weight: 800;
  white-space: nowrap;
}

.instagram-profile {
  display: grid;
  grid-template-areas: "avatar identity action" "avatar stats action";
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .6rem 1rem;
  padding: 1rem;
  border-color: #3a5265;
  background-color: #172431;
  background-image: linear-gradient(110deg, #1d31424d, transparent 72%);
}

.profile-avatar {
  grid-area: avatar;
  width: 4.65rem;
  height: 4.65rem;
  padding: .18rem;
  border: 1px solid #47677f;
  border-radius: 50%;
  background: #0c1118;
  object-fit: cover;
}

.profile-identity { grid-area: identity; display: grid; min-width: 0; gap: .12rem; }
.profile-network {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #b6d2e7;
  font-size: .875rem;
  font-weight: 700;
}

.instagram-symbol {
  position: relative;
  flex: none;
  display: grid;
  width: 1.125rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: .32rem;
  background: radial-gradient(circle at 27% 100%, #ffd067, #f0486f 48%, #9a45da 76%, #6250e6);
}

.instagram-symbol::before,
.instagram-symbol::after {
  content: "";
  aspect-ratio: 1;
  border: 1px solid #fff;
}

.instagram-symbol::before {
  width: .75rem;
  border-radius: .23rem;
  background: radial-gradient(circle at 79% 21%, #fff 0 .6px, transparent .9px);
}

.instagram-symbol::after { position: absolute; width: .35rem; border-radius: 50%; }
.profile-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; }
.profile-heading > strong { font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 800; }
.profile-name { color: var(--muted); font-size: .88rem; line-height: 1.42; }

.profile-link-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .4rem;
  border: 1px solid #4a78a6;
  border-radius: .26rem;
  color: #a7d6ff;
  background: #16344d;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
}

.profile-link-badge::before {
  content: "";
  width: .34rem;
  height: .58rem;
  margin-inline: .12rem;
  border: solid currentColor;
  border-width: 0 .11rem .11rem 0;
  transform: translateY(-.05rem) rotate(45deg);
}

.profile-stats { grid-area: stats; display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.profile-stats > span { display: grid; gap: .04rem; color: var(--muted); font-size: .8125rem; }
.profile-stats strong { color: var(--paper); font-size: 1rem; font-weight: 800; }
.profile-action { grid-area: action; }

.site-footer {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  gap: .7rem;
  margin-top: 1.65rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

.age { padding: .24rem .42rem; border: 1px solid #435264; border-radius: .35rem; font-weight: 800; }

@media (max-width: 880px) {
  .shell { width: calc(100% - 3rem); }
  .contact-card { gap: .68rem; padding-inline: .8rem; }
}

@media (max-width: 1140px) {
  .instagram-profile {
    grid-template-areas: "avatar identity" "avatar stats";
    grid-template-columns: auto minmax(0, 1fr);
  }
  .profile-action { display: none; }
}

@media (max-width: 800px) {
  .social-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (641px <= width <= 745px) {
  .contact-action { display: none; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .site-header { min-height: 4.2rem; }
  .hero { min-height: auto; border-radius: 1.15rem; }
  .hero-picture { inset: 0 0 auto; height: 13.5rem; }
  .hero-picture img { object-position: 50% 47%; }
  .hero::after {
    bottom: auto;
    height: 13.6rem;
    background: linear-gradient(0deg, var(--hero-surface), #101923d1 10%, transparent 37%);
  }
  .hero-content { padding: 12.35rem 1.25rem 1.5rem; }
  .hero h1 { font-size: clamp(2.85rem, 11vw, 4.35rem); }
  .hero p { margin-top: 1rem; }
  .platforms { margin-top: 1.05rem; }
  .contacts, .socials { margin-top: 1.4rem; }
  .contact-grid, .social-grid { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .contact-card-primary { min-height: 4.85rem; }
  .contact-card-social { min-height: 4.45rem; }
  .instagram-profile {
    grid-template-areas: "avatar identity" "stats stats";
    gap: .85rem .75rem;
  }
  .profile-avatar { width: 3.75rem; height: 3.75rem; }
  .profile-stats { justify-content: space-between; gap: .4rem .5rem; padding-top: .65rem; border-top: 1px solid #344757; }
  .site-footer { min-height: 4.5rem; }
}

@media (max-width: 350px) {
  .hero h1 { font-size: 2.5rem; }
  .contact-action { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-card { transition: none; }
}
