/* Creative modern one-page actor card (v2) */

:root {
  --bg: #07080b;
  --bg2: #0d1020;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --muted2: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
  --glass2: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow2: 0 12px 40px rgba(0, 0, 0, 0.36);

  --accent1: #ff3b72;
  --accent2: #6cf3ff;
  --accent3: #b09bff;

  --max: 1180px;
  --r: 18px;
  --r2: 26px;
  --gap: clamp(14px, 2vw, 22px);
  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-ui: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(255, 59, 114, 0.22), transparent 55%),
    radial-gradient(900px 700px at 95% 10%, rgba(108, 243, 255, 0.2), transparent 60%),
    radial-gradient(900px 700px at 60% 110%, rgba(176, 155, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.55;
  overflow-x: hidden;
}

/* 404 page */
.page-404 {
  min-height: calc(100vh - 64px);
  padding: 90px 0 60px;
  display: grid;
  align-items: center;
}

.page-404__section {
  padding-top: 0;
}

.page-404__card {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-404__code {
  margin: 0 0 8px;
  font-size: clamp(9.5rem, 32vw, 17rem);
  letter-spacing: 0.03em;
}

.page-404__text {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}

.page-404__card .cta-row {
  justify-content: center;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  z-index: 9999;
  border-radius: 8px;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* Top bar */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.74), rgba(7, 8, 11, 0.16));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  text-decoration: none;
}

.brand strong {
  font-family: var(--font-title);
  letter-spacing: 0.02em;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.brand span {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.section-head .btn {
  flex: 0 0 auto;
}
.burger {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.burger:hover,
.burger:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.burger__lines {
  display: block;
  width: 18px;
  height: 12px;
  margin: 0 auto;
  position: relative;
}

.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 2px;
}

.burger__lines::before {
  top: 0;
  box-shadow: 0 5px 0 rgba(255, 255, 255, 0.88);
}

.burger__lines::after {
  bottom: 0;
}

/* Fullscreen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.menu[hidden] {
  display: none;
}

.menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.menu__panel {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  background: rgba(10, 12, 18, 0.94);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu__title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.menu__nav {
  padding: 18px 14px;
  display: grid;
  gap: 12px;
}

.menu__nav a {
  text-decoration: none;
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  font-size: 1.1rem;
}

.menu__nav a:hover,
.menu__nav a:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.menu__actions {
  margin-top: auto;
  padding: 14px 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav a:hover,
.nav a:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 92px 0 46px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* create predictable stacking for video/poster/overlay */
  isolation: isolate;
  --focus-x: 0.5;
  --focus-y: 0.35;
  background: url("media/1.jpg") center / cover no-repeat;
}

.hero-media.has-video {
  background: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Make the center clearer while keeping edges/bottom readable for text */
  background: radial-gradient(
      900px 700px at calc(var(--focus-x) * 100%) calc(var(--focus-y) * 100%),
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.14) 40%,
      rgba(0, 0, 0, 0.46) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
}

.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Some Windows GPU drivers render filtered video as black */
  transform: none;
  filter: none;
}

.hero-video {
  z-index: 1;
  opacity: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: none;
}

.hero-media.has-canvas .hero-canvas {
  display: block;
}

.hero-media.has-canvas .hero-video {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

@media (max-width: 520px) {
  /* Move face higher on mobile so CTA doesn't cover it */
  .hero-media {
    --focus-y: 0.15;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-sound-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(92px + 100px); /* below topbar + extra offset */
  z-index: 2;
  pointer-events: none; /* allow hero interactions */
}

.hero-sound-inner {
  display: flex;
  justify-content: flex-end;
}

.hero-sound {
  pointer-events: auto;
  min-width: 170px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gap);
  align-items: end;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  /* Push hero content lower on adaptive screens (less overlap with video) */
  .hero {
    padding-bottom: 22px;
  }
}

@media (max-width: 520px) {
  /* Mobile layout: video block on top, content below (no overlap) */
  .hero {
    min-height: auto;
    padding: 64px 0 22px; /* below fixed topbar */
    align-items: start;
  }

  .hero-inner {
    transform: none;
  }

  .hero-media {
    position: relative;
    inset: auto;
    height: min(62svh, 520px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow2);
    margin: 0 18px;
  }

  .hero-media::after {
    border-radius: 22px;
  }

  /* Sound toggle on top of the video block */
  .hero-sound-wrap {
    display: block;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px; /* a bit lower from the topbar */
    z-index: 3;
    pointer-events: none;
  }

  .hero-sound-inner {
    justify-content: flex-end;
  }

  .hero-sound {
    pointer-events: auto;
    min-width: auto;
    min-height: 38px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.16);
    margin-top: 8px;
  }

  /* Make blocks more compact below video */
  .headline {
    padding: 12px 12px 10px;
  }

  .panel-inner {
    padding: 12px;
  }
}

@media (max-width: 520px) {
  /* CTAs are below video now; keep them visible and compact */
  .cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 14px;
    padding-bottom: 0;
  }

  /* In column layout, flex-basis becomes height — reset it */
  .cta-row .btn {
    width: 100%;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    backdrop-filter: blur(12px);
  }

  .cta-row .btn--primary {
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.42);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .cta-row .btn:not(.btn--primary) {
    background: rgba(0, 0, 0, 0.24);
    border-color: rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 520px) {
  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.headline {
  padding: 18px 18px 18px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent2), var(--accent1));
  opacity: 0.85;
}

.h1 {
  margin: 12px 0 0;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  max-width: 62ch;
}

.cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cta-row .btn {
  flex: 0 1 auto;
  min-width: 170px;
}

/* Desktop: keep hero CTAs in one row (as before) */
@media (min-width: 901px) {
  .cta-row {
    flex-wrap: nowrap;
  }

  .cta-row .btn {
    flex: 0 0 auto;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 14px;
  line-height: 1;
  font: inherit;
  white-space: nowrap;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

/* Normalize button.btn across browsers */
button.btn {
  appearance: none;
  -webkit-appearance: none;
}

.btn:hover,
.btn:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--primary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 59, 114, 0.8), rgba(108, 243, 255, 0.55));
}

.btn--ghost {
  background: transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--sm {
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.about-more {
  margin-top: 10px;
  width: 100%;
}

.panel {
  border-radius: var(--r2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow2);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.panel-inner {
  padding: 16px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .facts {
    grid-template-columns: 1fr;
  }
}

.fact {
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}

.fact dt {
  margin: 0;
  color: var(--muted2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.fact dd {
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.section {
  padding: 68px 0 0;
}

#videos {
  scroll-margin-top: 150px;
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-title);
  letter-spacing: 0.02em;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap);
  align-items: start;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  border-radius: var(--r2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(16px);
  padding: 18px;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card p:last-child {
  margin-bottom: 0;
}

.about-lead {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 520px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-block {
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-title {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.about-list li {
  position: relative;
  padding-left: 18px;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent2), var(--accent1));
}

.link-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.link-list__featured {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.link-list__featured a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.link-list__featured a:hover,
.link-list__featured a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.link-list__heading {
  margin: 2px 0 0;
}

.link-list__heading span {
  display: block;
  padding: 8px 4px 2px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.link-list a:hover,
.link-list a:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Gallery */
.gallery-wrap {
  position: relative;
  /* make controls align to viewport edges */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.gal-arrow,
.gal-dot {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: none;
  place-items: center;
  backdrop-filter: blur(12px);
}

.gal-arrow--prev {
  left: 12px;
}

.gal-arrow--next {
  right: 12px;
}

.gal-arrow:hover,
.gal-arrow:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
}

.gal-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -32px;
  z-index: 2;
  display: none;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.gal-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.22);
  pointer-events: auto;
}

.gal-dot[aria-current="true"] {
  background: rgba(255, 255, 255, 0.9);
}

.gallery {
  /* Full-width horizontal slider */
  column-count: initial;
  column-gap: 0;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 18px 10px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  scroll-behavior: smooth;
  cursor: grab;
  scrollbar-width: none; /* Firefox */
}

.gallery.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.gallery::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}

.shot {
  flex: 0 0 auto;
  width: min(86vw, 440px);
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: var(--shadow2);
  position: relative;
  cursor: zoom-in;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.shot--clone {
  cursor: default;
}

.shot img {
  width: 100%;
  height: auto;
  object-fit: initial;
  background: transparent;
  display: block;
  transform: none;
  transition: transform 0.25s ease;
}

.shot:hover img {
  transform: scale(1.06);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.shot:hover::after {
  opacity: 1;
}

/* Show controls when carousel is used */
.gal-arrow,
.gal-dots {
  display: grid;
}

.gal-dots {
  display: flex;
}

@media (max-width: 520px) {
  .shot {
    width: 86vw;
  }
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 14px;
}

.lb[hidden] {
  display: none;
}

.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lb-title {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.icon-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
}

.lb-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  position: relative;
  touch-action: none;
}

.lb-img {
  max-width: min(1100px, 96vw);
  max-height: min(76vh, calc(100vh - 210px));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: var(--shadow);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 1.2rem;
}

.lb-prev {
  left: 6px;
}

.lb-next {
  right: 6px;
}

.lb-bottom {
  padding-top: 10px;
  display: flex;
  gap: 10px;
  overflow: auto;
  scrollbar-width: none;
}

.lb-bottom::-webkit-scrollbar {
  display: none;
}

.thumb {
  flex: 0 0 auto;
  width: 90px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.65;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb[aria-current="true"] {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.92);
}

/* Contacts */
.contacts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.contacts-card {
  padding: 16px;
}

.contacts-card__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  align-items: start;
}

.contacts-card__grid > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .contacts-card__grid {
    grid-template-columns: 1fr;
  }
}

.service-logos {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
}

.service-logos::-webkit-scrollbar {
  display: none;
}

.service-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  transition: transform 0.15s ease, background 0.15s ease;
  flex: 0 0 auto;
}


.service-logo:hover,
.service-logo:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.service-logo img {
  display: block;
  height: 16px;
  width: auto;
}

.service-logo--text {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
}

.contacts-card__title {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-title);
  letter-spacing: 0.02em;
  font-size: 1.2rem;
}

.contacts-card__right {
  min-width: 0;
}

.contacts-card__email {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 4px;
}

.contacts-card__email-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.contacts-card__email-value {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
  transition: transform 0.15s ease, background 0.15s ease;
}

.contact:hover,
.contact:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.contact img,
.contact svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.contact svg {
  fill: currentColor;
}

.contact--static {
  cursor: default;
  pointer-events: none;
}

.fine {
  margin-top: 20px;
  color: var(--muted2);
  font-size: 0.92rem;
}

.footer {
  padding: 54px 0 40px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}


.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 60;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
}

.toast[hidden] {
  display: none;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 14px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(980px, 96vw);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 18, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.video-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal__title {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.video-modal__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* Experience modal */
.exp-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 14px;
}

/* Share modal */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 86;
  display: grid;
  place-items: center;
  padding: 14px;
}

.share-modal[hidden] {
  display: none;
}

.share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.share-modal__panel {
  position: relative;
  z-index: 1;
  width: min(860px, 96vw);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 18, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.share-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.share-modal__title {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-family: var(--font-title);
}

.share-modal__content {
  padding: 14px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
  align-items: start;
}

@media (max-width: 720px) {
  .share-modal__content {
    grid-template-columns: 1fr;
  }
}

.share-qr {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  display: grid;
  place-items: center;
}

.share-qr__img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  background: #fff;
}

.share-link__label {
  display: block;
  margin: 2px 0 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.share-link__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.share-link__input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.share-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.share-chip:hover,
.share-chip:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.exp-modal[hidden] {
  display: none;
}

.exp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.exp-modal__panel {
  position: relative;
  z-index: 1;
  width: min(980px, 96vw);
  max-height: min(86vh, 860px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 18, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.exp-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-modal__title {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-family: var(--font-title);
}

.exp-modal__content {
  overflow: auto;
  padding: 14px;
}

.exp-section + .exp-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.exp-section__title {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
}

.exp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 720px) {
  .exp-list {
    grid-template-columns: 1fr;
  }
}

.exp-list li {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.exp-name {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.exp-meta {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Video gallery */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(16px);
}

.video-card__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-card__cap {
  padding: 10px 12px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.video-empty {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
}

/* VK embeds */
.vk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 520px) {
  .vk-grid {
    grid-template-columns: 1fr;
  }
}

.vk-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(16px);
  display: grid;
}

.vk-title {
  margin: 0;
  padding: 12px 12px 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.vk-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.vk-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vk-open {
  display: block;
  padding: 10px 12px 12px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vk-open:hover,
.vk-open:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.vk-note {
  padding: 0 12px 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

/* Generic embeds (Ivi / RuTube / etc.) */
.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 520px) {
  .embed-grid {
    grid-template-columns: 1fr;
  }
}

.embed-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(16px);
  display: grid;
}

.embed-title {
  margin: 0;
  padding: 12px 12px 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.embed-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}

.embed-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.embed-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72));
  color: rgba(255, 255, 255, 0.94);
  border: 0;
  cursor: pointer;
  font-size: 44px;
  line-height: 1;
}

.embed-play:hover,
.embed-play:focus-visible {
  outline: none;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.72));
}

.embed-link {
  display: block;
  padding: 10px 12px 12px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.embed-link:hover,
.embed-link:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.embed-note {
  padding: 10px 12px 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

