:root {
  color-scheme: dark;

  --bg: #070a12;
  --surface: rgba(15, 20, 34, 0.72);
  --surface-2: rgba(10, 14, 26, 0.68);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke-2: rgba(255, 255, 255, 0.08);

  --text: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.54);

  --accent: 206 95% 62%;
  --violet: 274 66% 64%;

  --radius: 22px;
  --container: 1180px;
  --pad: clamp(18px, 3.2vw, 42px);
  --topbar-h: 60px;
  --below-topbar: 28px;
  --anchor-offset: calc(var(--topbar-h) + var(--below-topbar));

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans";
  --font-brand: "Pacifico", ui-rounded, "Segoe Script", "Apple Chancery", cursive;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

.section[id] {
  scroll-margin-top: calc(var(--anchor-offset) - 24px);
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  background: radial-gradient(1000px 700px at 20% -10%, rgba(30, 80, 200, 0.18), transparent 62%),
    radial-gradient(900px 650px at 80% 10%, rgba(220, 100, 10, 0.12), transparent 60%),
    radial-gradient(1200px 900px at 50% 120%, rgba(140, 60, 240, 0.1), transparent 64%),
    var(--bg);
}

a {
  color: hsl(var(--accent) / 0.95);
  text-decoration: none;
}

a:hover {
  color: hsl(var(--accent) / 1);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid hsl(var(--accent) / 0.7);
  outline-offset: 3px;
  border-radius: 12px;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.bg__stars {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.65;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 10;
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.92), rgba(7, 10, 18, 0.55));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke-2);
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 140px;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.topbar__nav a {
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 10px;
  border-radius: 999px;
}

.topbar__nav a:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
  justify-content: flex-end;
}

.brand {
  --glow: 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 8px hsl(var(--accent) / 0.45),
    0 0 22px hsl(var(--accent) / 0.22);

  display: inline-flex;
  gap: 0.18em;
  font-family: var(--font-brand);
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  opacity: 0.92;
  user-select: none;
  white-space: nowrap;
}

.brand__word {
  text-shadow: var(--glow);
}

.brand__word--lana {
  animation: neon-flicker-lana 14s infinite;
}

.brand__word--orch {
  animation: neon-orch 10s infinite steps(1, end);
}

@keyframes neon-orch {
  0%,
  62%,
  64%,
  66%,
  78%,
  100% {
    color: rgba(245, 246, 255, 0.95);
    text-shadow: var(--glow);
  }
  62.2%,
  64.2%,
  66.2%,
  77.9% {
    color: rgba(245, 246, 255, 0.08);
    text-shadow: none;
  }
}

@keyframes neon-flicker-lana {
  0%,
  6.7%,
  8%,
  52%,
  53.5%,
  100% {
    color: rgba(245, 246, 255, 0.95);
    text-shadow: var(--glow);
  }
  7.1%,
  53% {
    color: rgba(245, 246, 255, 0.1);
    text-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand__word {
    animation: none;
  }
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--topbar-h) + var(--below-topbar)) var(--pad) 56px;
}

.hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}

.card {
  background: linear-gradient(180deg, rgba(15, 20, 34, 0.76), rgba(10, 14, 26, 0.6));
  border: 1px solid var(--stroke-2);
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.hero__portrait {
  overflow: hidden;
  position: relative;
  padding: 14px;
}

.hero__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 50% 30%, hsl(var(--accent) / 0.22), transparent 60%),
    radial-gradient(70% 80% at 20% 100%, hsl(var(--violet) / 0.18), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.hero__portraitInner {
  position: relative;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
}

.hero__portraitInner img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.95) contrast(1.02) brightness(0.92);
}

.hero__content {
  padding: 26px;
}

.kicker {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__title {
  margin: 0;
}

.hero__brand {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lead {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke-2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1;
}

.pill svg {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.07);
}

.sections {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.section {
  padding: 24px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.section p {
  margin: 0.6em 0;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.82);
}

.section ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

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

.competency {
  border-radius: calc(var(--radius) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.competency ul {
  margin-top: 10px;
}

.section--compact {
  background: radial-gradient(70% 80% at 10% 0%, hsl(var(--accent) / 0.14), transparent 55%),
    radial-gradient(70% 80% at 90% 100%, hsl(var(--violet) / 0.12), transparent 55%),
    linear-gradient(180deg, rgba(15, 20, 34, 0.76), rgba(10, 14, 26, 0.6));
}

.summary {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
}

.divider {
  margin: 18px 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.mediaGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.video {
  position: relative;
  padding-top: 56.25%;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  border: 1px solid var(--stroke-2);
  background: rgba(0, 0, 0, 0.14);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.gallery a {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.gallery img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 220ms ease, filter 220ms ease;
  filter: saturate(0.98) contrast(1.02);
}

.gallery a:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.05);
}

.footer {
  margin-top: 30px;
  opacity: 0.5;
  font-size: 13px;
  text-align: center;
}

.reveal {
  opacity: 0;
  translate: 0 10px;
  transition: opacity 520ms ease, translate 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

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

  .topbar__nav {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery img {
    height: 110px;
  }

  .competencies {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding-top: calc(var(--topbar-h) + 18px);
  }

  .hero__content {
    padding: 20px;
  }

  .section {
    padding: 20px;
  }

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

  .gallery img {
    height: 104px;
  }
}
