:root {
  color-scheme: dark;
  --bg: #080a09;
  --surface: rgba(20, 23, 21, 0.78);
  --surface-hover: rgba(28, 33, 30, 0.92);
  --text: #f3f5f0;
  --muted: #9ba29c;
  --line: rgba(255, 255, 255, 0.11);
  --green: #b9ff66;
  --green-deep: #8fd43e;
  --radius: 24px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(185, 255, 102, 0.055), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--green);
  color: #0b1008;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.ambient {
  position: fixed;
  z-index: -1;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}

.ambient--one { top: -18vw; right: -8vw; background: rgba(76, 117, 59, 0.11); }
.ambient--two { bottom: -22vw; left: 20vw; background: rgba(50, 79, 63, 0.13); }

.page-shell {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(520px, 1.08fr);
  width: min(1380px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.profile {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto;
  min-height: 100svh;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.profile__topline,
.section-number,
.eyebrow,
.link-card__meta {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile__topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 24px;
  color: #bbc0bb;
  font-size: 11px;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(185, 255, 102, 0.7);
}

.portrait {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
}

.portrait img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(0.72) contrast(1.08) brightness(0.82);
  transition: transform 1.1s var(--ease), filter 500ms ease;
}

.portrait:hover img { transform: scale(1.025); filter: saturate(0.9) contrast(1.05) brightness(0.86); }

.portrait__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 10, 9, 0.86) 100%);
}

.portrait__index {
  position: absolute;
  right: 18px;
  bottom: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.identity { position: relative; padding: 28px 4px 0; }

.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 10px; font-weight: 700; }

h1, h2, p { margin-top: 0; }

h1 {
  margin-bottom: 14px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

h1 span { display: block; color: #b9bdb9; font-weight: 400; }

h1 .identity__surname { display: flex; align-items: center; gap: 12px; }
.identity__badge { display: block; flex: 0 0 auto; width: 27px; height: 27px; padding: 1px; overflow: visible; }
.identity__experience { max-width: 32ch; margin: 18px 0 20px; color: #d7dbd6; font-size: 14px; line-height: 1.55; }

.instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7dbd6;
  font-size: 12px;
  text-decoration: none;
}

.instagram__mark { color: var(--green); font-size: 18px; }
.instagram:hover { color: var(--green); }

.actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(40px, 7vw, 90px);
}

.actions__header { max-width: 610px; margin-bottom: 42px; }

.section-number { margin-bottom: 18px; color: var(--green); font-size: 10px; font-weight: 700; }

.actions h2 {
  max-width: 580px;
  margin-bottom: 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4.3vw, 62px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.actions__header > p:last-child {
  max-width: 490px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

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

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 16px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.link-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(105deg, transparent 55%, rgba(185, 255, 102, 0.055));
  opacity: 0;
  transition: opacity 220ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  z-index: 1;
  border-color: rgba(185, 255, 102, 0.38);
  background: var(--surface-hover);
  transform: translateX(6px);
}

.link-card:hover::after,
.link-card:focus-visible::after { opacity: 1; }

.link-card:focus-visible,
.instagram:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.link-card--primary {
  border-color: rgba(185, 255, 102, 0.38);
  background: linear-gradient(115deg, rgba(35, 43, 31, 0.98), rgba(20, 24, 21, 0.92));
}

.link-card--broker-featured {
  min-height: 116px;
  border-color: rgba(185, 255, 102, 0.88);
  background: linear-gradient(110deg, #aef45e, #c7ff7e);
  box-shadow: 0 18px 52px rgba(143, 212, 62, 0.16), inset 0 1px rgba(255, 255, 255, 0.42);
  color: #10150d;
}

.link-card--broker-featured::after {
  background: linear-gradient(105deg, transparent 48%, rgba(255, 255, 255, 0.28));
  opacity: 1;
}

.link-card--broker-featured:hover,
.link-card--broker-featured:focus-visible {
  border-color: #e7ffca;
  background: linear-gradient(110deg, #baff6c, #d3ff9e);
  box-shadow: 0 22px 60px rgba(143, 212, 62, 0.24);
}

.link-card--broker-featured .link-card__icon--broker {
  border-color: rgba(16, 21, 13, 0.14);
  background: rgba(16, 21, 13, 0.08);
  color: #10150d;
}

.link-card--broker-featured .link-card__meta,
.link-card--broker-featured .link-card__content small,
.link-card--broker-featured .link-card__action,
.link-card--broker-featured .link-card__action b {
  color: rgba(16, 21, 13, 0.72);
}

.link-card--broker-featured .link-card__content strong { font-size: 19px; }

.link-card__icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(185, 255, 102, 0.28);
  border-radius: 16px;
  background: rgba(185, 255, 102, 0.08);
  color: var(--green);
}

.link-card__icon svg { width: 24px; height: 24px; fill: currentColor; }
.link-card__icon--telegram { color: #69c7ff; border-color: rgba(105, 199, 255, 0.24); background: rgba(105, 199, 255, 0.07); }
.link-card__icon--youtube { color: #ff6e6e; border-color: rgba(255, 110, 110, 0.24); background: rgba(255, 110, 110, 0.07); }
.link-card__icon--broker { color: #dce0dc; border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.045); }

.link-card__content { display: flex; min-width: 0; flex-direction: column; }
.link-card__meta { margin-bottom: 5px; color: #808880; font-size: 8px; font-weight: 700; }
.link-card__content strong { margin-bottom: 5px; font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.link-card__content small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.link-card__action { display: flex; align-items: center; gap: 14px; color: #b9bebb; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.link-card__action b { color: var(--green); font-size: 17px; transition: transform 220ms var(--ease); }
.link-card:hover .link-card__action b { transform: translate(2px, -2px); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #707771;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer p { margin: 0; }

.mobile-contact { display: none; }

.press { grid-column: 1 / -1; min-width: 0; padding: 64px 40px 32px; border-top: 1px solid var(--line); background: var(--bg); position: relative; }
.press__header { max-width: 660px; margin-bottom: 32px; }
.press__header h2 { margin: 0 0 16px; font-family: "Manrope", sans-serif; font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.1; }
.press__header > p:last-child, .press__note { color: var(--muted); font-size: 14px; line-height: 1.6; }
.press__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.press-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); text-decoration: none; transition: border-color 180ms ease, transform 180ms ease; }
.press-card:hover { border-color: var(--green); transform: translateY(-4px); }
.press-card:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.press-card__image { position: relative; aspect-ratio: 16 / 9; background: #202920; display: grid; place-items: center; overflow: hidden; }
.press-card__image > span { font-family: "Manrope", sans-serif; font-size: 24px; color: var(--green); }
.press-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.press-card__play { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #080a09cc; color: white; }
.press-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.press-card__source { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 600; }
.press-card h3 { margin: 0 0 24px; font-family: "Manrope", sans-serif; font-size: 18px; line-height: 1.45; font-weight: 500; }
.press-card__cta { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; color: #d5dcd3; font-size: 13px; }
.press-card__cta > span { color: var(--green); }
.press__note { margin: 24px 0 0; font-size: 12px; }
@media (max-width: 1100px) and (min-width: 901px) { .press__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .press { padding: 44px 20px 96px; } .press__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 560px) { .press { padding-inline: 14px; } .press__grid { grid-template-columns: minmax(0, 1fr); } }

.reveal { opacity: 0; transform: translateY(18px); animation: reveal 750ms var(--ease) forwards; animation-delay: var(--delay, 0ms); }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .page-shell { grid-template-columns: 1fr; width: min(680px, 100%); border: 0; }
  .profile { position: relative; min-height: auto; padding: 20px; border-right: 0; }
  .profile__topline { padding: 4px 2px 18px; }
  .portrait { height: min(61svh, 620px); }
  .portrait img { min-height: 0; object-position: 50% 35%; }
  .identity { z-index: 2; margin-top: -118px; padding: 42px 20px 22px; background: linear-gradient(180deg, transparent, var(--bg) 38%); }
  h1 { font-size: clamp(50px, 13vw, 76px); }
  .actions { min-height: auto; padding: 38px 20px 30px; }
  .actions__header { margin-bottom: 28px; }
  .actions h2 { font-size: clamp(38px, 10vw, 54px); }
  .mobile-contact {
    position: fixed;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42), 0 0 28px rgba(185, 255, 102, 0.16);
    color: #10150d;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-contact svg { width: 19px; height: 19px; fill: currentColor; }
  .mobile-contact:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .mobile-contact {
    width: 54px;
    height: 54px;
    justify-content: center;
    padding: 0;
  }
  .mobile-contact span { display: none; }
  .mobile-contact svg { width: 22px; height: 22px; }
}

@media (max-width: 560px) {
  .profile { padding: 14px; }
  .portrait { height: 56svh; min-height: 430px; border-radius: 20px; }
  .identity { margin-top: -100px; padding: 38px 8px 12px; }
  .actions { padding: 38px 14px 24px; }
  .actions__header { padding: 0 6px; }
  .actions__header > p:last-child { font-size: 14px; }
  .link-card { grid-template-columns: 50px minmax(0, 1fr) 20px; gap: 12px; min-height: 96px; padding: 14px; border-radius: 18px; }
  .link-card__icon { width: 50px; height: 50px; border-radius: 14px; }
  .link-card__content strong { font-size: 15px; }
  .link-card__content small { max-width: 100%; font-size: 10px; }
  .link-card__action { font-size: 0; }
  .link-card__action b { font-size: 18px; }
  .link-card:hover { transform: translateY(-2px); }
  .footer { flex-direction: column; gap: 8px; padding-inline: 6px; }
}

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