/* Manrope — self-hosted variable font (weights 400–800) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-cyrillic.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 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope/manrope-latin.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;
}

:root {
  --bg: #08120d;
  --panel: #101b16;
  --panel-soft: #17231d;
  --ink: #f7f4ed;
  --muted: #bdc8bd;
  --green: #dfe9d8;
  --green-deep: #214631;
  --line: rgba(247, 244, 237, 0.16);
  --shadow: rgba(6, 12, 9, 0.32);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(42, 76, 57, 0.22), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(223, 233, 216, 0.12), transparent 30%),
    var(--bg);
  font-family: "Manrope", Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

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

picture {
  display: block;
}

button {
  border: 0;
  font: inherit;
}

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

.card {
  position: relative;
  overflow: hidden;
  width: min(100%, 460px);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 80px var(--shadow);
}

.card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 32%, rgba(255, 255, 255, 0.035) 32% 33%, transparent 33% 100%);
  pointer-events: none;
  content: "";
}

.portrait {
  position: relative;
  overflow: hidden;
  width: 156px;
  height: 156px;
  margin-bottom: 22px;
  background: #b7b6b1;
  border: 1px solid rgba(247, 244, 237, 0.2);
  border-radius: 50%;
}

.portrait picture,
.portrait img {
  width: 100%;
  height: 100%;
}

.portrait img {
  object-fit: cover;
  object-position: 52% 18%;
}

.identity,
.actions,
.directions,
.proof,
footer {
  position: relative;
}

.eyebrow {
  margin: 0 0 10px;
  color: #a9cdb2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(38px, 11vw, 54px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.022em;
  text-wrap: balance;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.full-name {
  margin: 0 0 14px;
  color: #a9cdb2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.role {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.28;
}

.lead {
  max-width: 380px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.48;
}

.actions {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.action {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.action:hover {
  transform: translateY(-1px);
}

.action.primary {
  color: #07110c;
  background: var(--green);
}

.action.secondary {
  color: var(--ink);
  background: rgba(247, 244, 237, 0.075);
  border: 1px solid rgba(247, 244, 237, 0.18);
}

.action.secondary:hover {
  background: rgba(247, 244, 237, 0.12);
  border-color: rgba(247, 244, 237, 0.34);
}

.action.ghost {
  color: var(--green);
  background: transparent;
  border: 1px solid rgba(223, 233, 216, 0.2);
}

.directions {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 16px;
  background: rgba(247, 244, 237, 0.055);
  border: 1px solid rgba(247, 244, 237, 0.1);
  border-radius: 16px;
}

.directions span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.28;
}

.proof {
  margin-bottom: 22px;
  padding: 16px;
  color: #07110c;
  background: #dfe9d8;
  border-radius: 16px;
}

.proof strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.proof p {
  margin: 0;
  color: rgba(7, 17, 12, 0.72);
  font-size: 15px;
  line-height: 1.4;
}

footer {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

footer a:hover {
  color: var(--green);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

@media (max-width: 460px) {
  .card-shell {
    min-height: auto;
    padding: 12px;
  }

  .card {
    min-height: calc(100vh - 24px);
    padding: 22px;
    border-radius: 22px;
  }

  .portrait {
    width: 136px;
    height: 136px;
  }

  .lead {
    font-size: 16px;
  }
}

/* ============ High-end layer (about card) ============ */
:root {
  --e: cubic-bezier(0.32, 0.72, 0, 1);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  line-height: 1.2;
}
.action {
  transition: transform 0.5s var(--e), background 0.4s var(--e), border-color 0.4s var(--e);
}
.action:hover { transform: translateY(-2px); }
.action:active { transform: translateY(0) scale(0.98); }
.action.primary { padding-right: 7px; }
.action.primary::after {
  content: "\2197";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(7, 17, 12, 0.1);
  font-size: 14px;
  transition: transform 0.5s var(--e), background 0.4s var(--e);
}
.action.primary:hover::after {
  transform: translate(2px, -2px) scale(1.06);
  background: rgba(7, 17, 12, 0.17);
}
