:root {
  --bg: #07090f;
  --panel: #10141f;
  --panel-2: #151b29;
  --text: #f4f0e8;
  --muted: #a8afc1;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #d6b46d;
  --gold-2: #f0d99b;
  --blue: #88a9df;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 10%, rgba(136, 169, 223, 0.18), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(214, 180, 109, 0.16), transparent 26%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
}

.hero__content,
.profile-card,
.panel,
.section-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(21, 27, 41, 0.96), rgba(10, 13, 22, 0.96));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.04rem;
}

.hero__text {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  border-color: transparent;
  background: var(--gold);
  color: #11141d;
}

.button--ghost {
  color: var(--text);
}

.button--ghost:hover {
  border-color: var(--gold);
}

.profile-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(136, 169, 223, 0.28), transparent 48%),
    var(--panel);
}

.profile-card__mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: auto;
  border: 1px solid rgba(214, 180, 109, 0.45);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 1.35rem;
  font-weight: 900;
}

.profile-card ul,
.compact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-card li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.profile-card li:last-child {
  border-bottom: 0;
}

.profile-card span,
.compact-list span,
.timeline__date,
.mini-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.strip span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-2);
  font-weight: 800;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
}

.sidebar,
.content {
  display: grid;
  gap: 18px;
  align-content: start;
}

.panel,
.section-card {
  padding: 26px;
}

.panel p,
.timeline__item p,
.mini-card p {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 8px 10px;
  border: 1px solid rgba(214, 180, 109, 0.25);
  border-radius: 999px;
  background: rgba(214, 180, 109, 0.08);
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 750;
}

.tags--muted span {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.compact-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.compact-list li:last-child {
  border-bottom: 0;
}

.compact-list strong {
  color: var(--text);
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading p {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline__item {
  position: relative;
  padding-left: 26px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--panel);
}

.timeline__item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 23px;
  bottom: -18px;
  width: 1px;
  background: var(--line);
}

.timeline__item:last-child::after {
  display: none;
}

.timeline__item p {
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 900px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .profile-card__mark {
    margin-bottom: 32px;
  }

  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 20px, 1180px);
    padding: 20px 0;
  }

  .hero__content,
  .profile-card,
  .panel,
  .section-card {
    padding: 20px;
  }

  .strip,
  .cards {
    grid-template-columns: 1fr;
  }
}
