/* The Lions E-Sports — Primär Schwarz, Sekundär Rot */
:root {
  --black: #050505;
  --black-soft: #0c0c0c;
  --surface: #111111;
  --border: #1f1f1f;
  --red: #dc2626;
  --red-bright: #ef4444;
  --red-glow: rgba(220, 38, 38, 0.45);
  --white: #f5f5f5;
  --muted: #9ca3af;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

/* Roter Seiten-Nebel: weiche Schichten ohne harte „Scheinwerfer“ */
.page-atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-atmosphere::before,
.page-atmosphere::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.page-atmosphere::before {
  background:
    radial-gradient(ellipse 110% 70% at 50% 0%, rgba(95, 18, 18, 0.42), transparent 58%),
    radial-gradient(ellipse 100% 65% at 50% 100%, rgba(55, 10, 10, 0.5), transparent 58%),
    radial-gradient(ellipse 70% 90% at 0% 50%, rgba(45, 8, 8, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 90% at 100% 50%, rgba(45, 8, 8, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 28% 22%, rgba(110, 22, 22, 0.2), transparent 45%),
    radial-gradient(ellipse 55% 45% at 78% 78%, rgba(110, 22, 22, 0.2), transparent 45%),
    radial-gradient(ellipse 85% 55% at 50% 48%, rgba(25, 5, 5, 0.35), transparent 68%);
  filter: blur(56px);
  animation: fog-breathe-a 26s ease-in-out infinite;
}

.page-atmosphere::after {
  background:
    radial-gradient(circle at 15% 85%, rgba(140, 28, 28, 0.14), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(140, 28, 28, 0.14), transparent 40%),
    radial-gradient(circle at 48% 40%, rgba(90, 16, 16, 0.1), transparent 50%);
  filter: blur(88px);
  opacity: 0.9;
  animation: fog-breathe-b 34s ease-in-out infinite;
}

@keyframes fog-breathe-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(1%, -1.5%) scale(1.02);
    opacity: 0.94;
  }
}

@keyframes fog-breathe-b {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.85;
  }
  50% {
    transform: translate(-1.2%, 1%);
    opacity: 1;
  }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Texture overlays */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise-shift 8s steps(10) infinite;
}

@keyframes noise-shift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2%, 2%);
  }
  50% {
    transform: translate(2%, -1%);
  }
  75% {
    transform: translate(-1%, -2%);
  }
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.5;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.95), transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 5, 5, 0.88);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: logo-enter 0.9s var(--ease-out-expo) both;
}

@keyframes logo-enter {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
}

.logo-img {
  width: 48px;
  height: auto;
  filter: drop-shadow(0 0 12px var(--red-glow));
  transition: transform 0.35s var(--ease-out-expo), filter 0.35s;
}

.logo-link:hover .logo-img {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 20px var(--red-glow));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-text em {
  font-style: normal;
  color: var(--red-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 102;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: nav-enter 0.9s var(--ease-out-expo) 0.1s both;
}

@keyframes nav-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  transition: color 0.25s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.35s var(--ease-out-expo);
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), transparent);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.15);
  animation: cta-pulse 3s ease-in-out infinite;
}

.nav-cta::after {
  display: none;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.15);
  }
  50% {
    box-shadow: 0 0 28px rgba(220, 38, 38, 0.35);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(5, 5, 5, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    font-size: 1.25rem;
  }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(5rem + env(safe-area-inset-top, 0px)) 1.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 48px 48px, 48px 48px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0.35rem auto 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--red-glow);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.1);
    box-shadow: 0 0 0 8px transparent;
  }
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 1rem;
}

.hero-claws {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%) rotate(-6deg);
  width: min(92vw, 360px);
  max-width: 360px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}

.hero-claws-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(220, 38, 38, 0.35));
}

.claw-path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: claw-draw 2.4s var(--ease-out-expo) 0.4s forwards, claw-shimmer 4s ease-in-out 2.8s infinite;
}

.claw-path--2 {
  animation-delay: 0.55s, 3s;
}

.claw-path--3 {
  animation-delay: 0.7s, 3.2s;
}

.claw-path--4 {
  animation-delay: 0.85s, 3.4s;
}

.claw-path--5,
.claw-path--6 {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: claw-draw-short 1.6s var(--ease-out-expo) 0.95s forwards;
}

.claw-path--6 {
  animation-delay: 1.1s;
}

@keyframes claw-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes claw-draw-short {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes claw-shimmer {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(50vw, 220px);
  height: auto;
  margin: 0;
  filter: drop-shadow(0 0 30px var(--red-glow));
  animation: logo-float 5s ease-in-out infinite;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  width: 100%;
  text-align: center;
}

.hero-title .line {
  display: block;
}

.hero-title .line--accent {
  background: linear-gradient(180deg, #fff 0%, var(--red-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s ease-in-out infinite;
  background-size: 100% 200%;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 0% 100%;
  }
}

.hero-sub {
  color: var(--muted);
  max-width: 32rem;
  width: 100%;
  margin: 0 auto 2rem;
  padding: 0 0.25rem;
  font-weight: 400;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, #991b1b 100%);
  color: var(--white);
  box-shadow: 0 4px 24px var(--red-glow);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px var(--red-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red-bright);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.hero-scroll {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2.75rem;
  padding-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(245, 245, 245, 0.88);
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 0 24px rgba(220, 38, 38, 0.35);
  animation: fade-blink 2s ease-in-out infinite;
}

@keyframes fade-blink {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(248, 250, 252, 0.55);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 18px rgba(220, 38, 38, 0.25);
  background: rgba(5, 5, 5, 0.35);
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheel-bounce 1.8s ease-in-out infinite;
}

@keyframes wheel-bounce {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(10px);
  }
}

/* Entrance animations */
.anim-fade-down,
.anim-fade-up,
.anim-scale-in,
.anim-split .line {
  opacity: 0;
  animation-fill-mode: forwards;
}

.anim-fade-down {
  animation: fade-down 0.8s var(--ease-out-expo) var(--d, 0s) both;
}

.anim-fade-up {
  animation: fade-up 0.8s var(--ease-out-expo) var(--d, 0s) both;
}

.anim-scale-in {
  animation: scale-in 1s var(--ease-out-expo) var(--d, 0s) both;
}

.anim-split .line:nth-child(1) {
  animation: split-in 0.9s var(--ease-out-expo) 0.3s both;
}

.anim-split .line:nth-child(2) {
  animation: split-in 0.9s var(--ease-out-expo) 0.42s both;
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes split-in {
  from {
    opacity: 0;
    transform: translateY(40px) skewY(-4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0);
  }
}

/* Marquee: mehrere identische Sets → Spur mindestens ~4× Textbreite (keine Lücke rechts); -25 % = eine Periode */
.marquee-wrap {
  background: transparent;
  overflow: hidden;
}

.marquee {
  padding: 0.85rem 0;
}

.marquee-inner {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee-seamless 50s linear infinite;
  will-change: transform;
}

.marquee-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
  margin-inline-end: 2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.marquee-set span:nth-child(odd) {
  color: var(--red-bright);
}

@keyframes marquee-seamless {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

/* Sections */
.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container--narrow {
  max-width: 520px;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red-bright);
  margin: 0 0 0.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.02em;
}

.text-gradient {
  background: linear-gradient(90deg, var(--white), var(--red-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transform: rotate(var(--r, 0deg));
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.08), transparent);
  transition: left 0.6s var(--ease-out-expo);
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(0deg) translateY(-6px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  animation: icon-wiggle 3s ease-in-out infinite;
}

@keyframes icon-wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-4deg);
  }
  75% {
    transform: rotate(4deg);
  }
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Team */
.team-block {
  margin-bottom: 3rem;
}

.team-block:last-of-type {
  margin-bottom: 2rem;
}

.team-group-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--red-bright);
  margin: 0 0 1.25rem;
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

.team-grid--founders {
  max-width: 720px;
  margin-inline: auto;
}

@media (min-width: 540px) {
  .team-grid--founders {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) {
  .team-grid--players {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid--players {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition:
    transform 0.35s var(--ease-out-expo),
    border-color 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.team-card:hover::before {
  opacity: 1;
}

.team-card--open {
  border-style: dashed;
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(17, 17, 17, 0.65);
}

.team-card--open:hover {
  border-color: var(--red-bright);
}

.team-avatar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border: 2px solid rgba(220, 38, 38, 0.45);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.15);
}

.team-avatar--player {
  border-color: rgba(239, 68, 68, 0.55);
}

.team-avatar--open {
  font-size: 1.75rem;
  color: var(--red-bright);
  border-color: rgba(220, 38, 38, 0.4);
  animation: open-pulse 2.5s ease-in-out infinite;
}

@keyframes open-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.25);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }
}

.team-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.35rem;
}

.team-role {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.team-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
}

.team-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.team-cta strong {
  color: var(--white);
  font-weight: 600;
}

/* Values */
.section--values {
  background: transparent;
}

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin-inline: auto;
}

.value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding-left 0.35s var(--ease-out-expo);
}

.value-item:hover {
  padding-left: 0.5rem;
}

.value-item span:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.95rem;
}

.value-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  opacity: 0.5;
  line-height: 1;
}

.value-item strong {
  font-size: 1.15rem;
}

/* Join */
.section--join .join-panel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.join-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--red-glow);
  filter: blur(60px);
  top: -50%;
  right: -10%;
  animation: glow-float 10s ease-in-out infinite;
}

@keyframes glow-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(5%, 8%) scale(1.05);
  }
  66% {
    transform: translate(-4%, -5%) scale(0.95);
  }
}

.join-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.join-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.join-content p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.join-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.join-panel .btn {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .section--join .join-panel {
    flex-direction: column;
    text-align: center;
  }

  .join-list {
    text-align: left;
  }
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form label span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--white);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form select {
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.contact-form select:invalid {
  color: var(--muted);
}

.contact-form select option {
  background: var(--surface);
  color: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.form-hint a {
  color: var(--red-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-hint--success {
  color: #86efac;
}

.form-hint--error {
  color: #fca5a5;
}

.form-hint[hidden] {
  display: none !important;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-wrap {
  display: grid;
  width: 100%;
}

.contact-wrap > .contact-form,
.contact-wrap > .contact-success {
  grid-area: 1 / 1;
}

.contact-form[hidden],
.contact-success[hidden] {
  display: none !important;
}

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 32px rgba(220, 38, 38, 0.12);
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo);
}

.contact-success.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.contact-success-logo {
  width: min(40vw, 120px);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 24px var(--red-glow));
  animation: logo-float 5s ease-in-out infinite;
}

.contact-success-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.75rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  color: var(--white);
}

.contact-success-text {
  margin: 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  padding: 2.5rem 1.5rem 2.75rem;
  background: transparent;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.footer-inner > div {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  filter: drop-shadow(0 0 8px var(--red-glow));
  animation: logo-float 6s ease-in-out infinite;
}

.footer-tag {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  width: 100%;
  text-align: center;
  padding-top: 1.25rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .footer-copy {
    width: auto;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    text-align: right;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none !important;
    transform: none !important;
  }

  .page-atmosphere::before,
  .page-atmosphere::after {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .claw-path,
  .claw-path--5,
  .claw-path--6 {
    stroke-dashoffset: 0 !important;
  }

  .contact-success {
    opacity: 1 !important;
    transform: none !important;
  }

  .team-avatar--open {
    animation: none !important;
  }
}
