:root {
  color-scheme: dark;
  --bg: #05060a;
  --panel: rgba(255, 255, 255, 0.06);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.45);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  letter-spacing: -0.01em;
}

.shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(16px, 2vw, 56px) clamp(12px, 2vw, 56px);
  min-height: 100svh;
}

.shell-fixed {
  min-height: 100svh;
}

.shell-fixed .footer {
  padding-bottom: 4px;
  margin-top: auto;
}

.bg {
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 22% 18%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(800px 520px at 75% 22%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(860px 600px at 55% 78%, rgba(168, 85, 247, 0.16), transparent 58%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 92px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 92px
    );
  filter: blur(0px) saturate(115%);
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
}

.hero {
  position: relative;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  align-self: center;
  padding: clamp(10px, 1.8vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.site-logo {
  width: min(330px, 50vw);
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 10;
}

.about-btn {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.about-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Overlay */
.about-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.about-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Panel */
.about-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(520px, 92vw);
  height: 100%;
  background: rgba(8, 10, 18, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  z-index: 50;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 340ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 48px 40px 60px;
}

.about-panel.is-open {
  transform: translateX(0);
}

.about-close {
  position: absolute;
  top: 20px;
  right: 20px;
  appearance: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 140ms ease;
}

.about-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.about-content {
  margin-top: 16px;
}

.about-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(34, 211, 238, 0.85);
}

.about-title {
  margin: 0 0 36px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(200,255,255,0.8));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-section {
  margin-bottom: 36px;
}

.about-section h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.about-section p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.value-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.value-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.value-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 400px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .about-panel {
    padding: 48px 24px 60px;
  }
}

/* Hamburger menu */
.menu-wrapper {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  z-index: 20;
}

.hamburger {
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: background 140ms ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: rgba(12, 14, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px);
}

.dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 8px;
  transition: background 120ms ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.media {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
}

.video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.video-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(360px, 72%);
  height: auto;
  transform: translate(-50%, -50%) scale(0.98);
  opacity: 0;
  transition: opacity 420ms ease, transform 420ms ease;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.65));
  pointer-events: none;
}

.video-logo.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.kicker {
  margin: 0 0 8px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.title {
  margin: 0;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.title span {
  display: block;
}

.title span:first-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(200, 255, 255, 0.85));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title span:last-child {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.95), rgba(34, 211, 238, 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subheadline {
  margin: 6px 0 10px;
  max-width: 72ch;
  color: var(--muted);
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.45;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

.button {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.button:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.55);
  outline-offset: 3px;
}

.button.primary {
  border-color: rgba(34, 211, 238, 0.35);
  background: linear-gradient(
    180deg,
    rgba(34, 211, 238, 0.18),
    rgba(99, 102, 241, 0.14)
  );
}

.meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chip {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.14);
  margin: 0 4px;
}

.stat {
  display: grid;
  gap: 2px;
  padding: 6px 0;
}

.stat-label {
  color: var(--faint);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-value {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 14px;
}

.footer {
  position: relative;
  max-width: 980px;
  width: 100%;
  margin: auto auto 0;
  padding: 16px 0 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  display: flex;
  justify-content: center;
}

.about-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-page-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border-color: rgba(34, 211, 238, 0.35);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.12), rgba(99, 102, 241, 0.1));
}

.meta-spacer {
  flex: 1;
}

.contact-chip {
  text-decoration: none;
  margin-left: auto;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.contact-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.contact-btn {
  margin-left: auto;
  padding: 10px 22px;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .divider {
    display: none;
  }

  .title {
    font-size: clamp(32px, 10vw, 56px);
  }

  .kicker {
    font-size: 11px;
  }

  .subheadline {
    font-size: 13px;
    margin: 6px 0 10px;
  }

  .chip {
    padding: 5px 8px;
    font-size: 10px;
  }

  .stat-label {
    font-size: 10px;
  }

  .stat-value {
    font-size: 12px;
  }

  .site-logo {
    width: min(180px, 45vw);
  }
}
