/* INAVALON.RU — минимализм (~70%) + хаус/граффити акценты (~30%), палитра BR / king / cyber. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Permanent+Marker&family=Syne:wght@400;600;700;800&display=swap');

:root {
  --c-red: #cd183c;
  --c-gold: #cda518;
  --c-blue: #4760f9;
  --wz-accent: var(--c-red);
  --wz-accent-2: #a81432;
  --bl-yellow: #ffffff;
  --bl-ink: rgba(255, 255, 255, 0.12);
  --bl-ink-soft: #16161a;
  --bg: #0d0d0f;
  --bg2: rgba(22, 22, 26, 0.94);
  --stroke: rgba(205, 24, 60, 0.35);
  --stroke2: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --muted2: rgba(255, 255, 255, 0.48);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 48px rgba(0, 0, 0, 0.45);
  --panel-border: 1px solid rgba(255, 255, 255, 0.1);
  --bg-photo-city: url("https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?w=1920&q=70&auto=format&fit=crop");
  /* Техническая сетка + крест в каждом узле (тайл 56×56), тёмная тема */
  --bg-tech-grid: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cline x1='56' y1='0' x2='56' y2='56' stroke='rgba(255%2C255%2C255%2C0.055)' stroke-width='1'/%3E%3Cline x1='0' y1='56' x2='56' y2='56' stroke='rgba(255%2C255%2C255%2C0.055)' stroke-width='1'/%3E%3Cg stroke='%23cda518' stroke-opacity='0.32' stroke-width='1.2' stroke-linecap='square'%3E%3Cline x1='0' y1='-3.5' x2='0' y2='3.5'/%3E%3Cline x1='-3.5' y1='0' x2='3.5' y2='0'/%3E%3C/g%3E%3C/svg%3E");
  --font-ui: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Syne", system-ui, sans-serif;
  --font-tag: "Permanent Marker", cursive;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(165deg, rgba(13, 13, 15, 0.97) 0%, rgba(13, 13, 15, 0.88) 40%, rgba(13, 13, 15, 0.96) 100%),
    var(--bg-tech-grid),
    var(--bg-photo-city);
  background-size:
    auto,
    56px 56px,
    cover;
  background-position:
    0 0,
    0 0,
    center 20%;
  background-attachment: fixed;
  background-repeat: no-repeat, repeat, no-repeat;
  font-family: var(--font-ui);
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.5) 2px,
    rgba(0, 0, 0, 0.5) 3px
  );
}

a { color: inherit; text-decoration: none; }

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 15, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(71, 96, 249, 0.12);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  max-width: min(1720px, 96vw);
  margin: 0 auto;
  padding: 14px clamp(12px, 2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand .name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 12px;
  white-space: nowrap;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--muted);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 2px;
  border: 1px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(71, 96, 249, 0.35);
  background: rgba(71, 96, 249, 0.08);
  box-shadow: 0 0 20px rgba(71, 96, 249, 0.12);
}

.actions { display: flex; gap: 10px; }
.btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  padding: 10px 16px;
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 11px;
  transition: border-color .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover {
  border-color: rgba(205, 165, 24, 0.45);
  background: rgba(205, 165, 24, 0.08);
}
.btn.primary {
  border-color: rgba(205, 24, 60, 0.5);
  background: linear-gradient(135deg, var(--c-red) 0%, var(--wz-accent-2) 100%);
  color: #ffffff;
  box-shadow: 0 0 32px rgba(205, 24, 60, 0.35);
}
.btn.primary:hover {
  border-color: var(--c-red);
  box-shadow: 0 0 40px rgba(205, 24, 60, 0.45);
  filter: brightness(1.05);
}

.wrap { flex: 1; }
.container {
  max-width: min(1720px, 96vw);
  margin: 0 auto;
  padding: 26px clamp(12px, 2vw, 24px) 44px;
}

/* —— Landing: тёмная сцена + лёгкие «spray» пятна (хаус/граффити без шума) —— */
.hero-cinematic {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px clamp(12px, 3vw, 24px) 48px;
  overflow: hidden;
}
.hero-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.11;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse 140px 48px at 86% 18%, rgba(205, 24, 60, 0.95), transparent 72%),
    radial-gradient(ellipse 100px 42px at 10% 78%, rgba(71, 96, 249, 0.85), transparent 68%),
    radial-gradient(ellipse 90px 36px at 52% 8%, rgba(205, 165, 24, 0.5), transparent 70%);
}
.hero-cinematic-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 15, 0.82) 0%, rgba(13, 13, 15, 0.5) 42%, rgba(13, 13, 15, 0.9) 100%),
    radial-gradient(ellipse 90% 60% at 70% 20%, rgba(71, 96, 249, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(205, 24, 60, 0.1), transparent 50%),
    url("https://images.unsplash.com/photo-1514565131-fce0801e5785?w=1920&q=70&auto=format&fit=crop");
  background-size: auto, auto, auto, cover;
  background-position: 0 0, 0 0, 0 0, center 30%;
  pointer-events: none;
}
.hero-cinematic-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.12;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, black 25%, transparent 72%);
}
.hero-cinematic-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 24px);
}
.hero-cinematic-kicker {
  margin: 0 auto;
}
.hero-cinematic-lead {
  margin: 22px 0 0;
  font-size: clamp(15px, 2.4vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-cinematic-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.role-rotator {
  margin-top: 18px;
}
.role-rotator-inner {
  position: relative;
  min-height: clamp(4.2rem, 12vw, 5.5rem);
}
.role-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2em 0.35em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.role-line.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.role-line-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 3.5vw, 20px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.role-line-accent {
  font-family: var(--font-tag);
  font-size: clamp(34px, 9vw, 62px);
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 40px rgba(205, 24, 60, 0.4),
    0 0 72px rgba(71, 96, 249, 0.2);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 12px;
}

.section-block { margin-top: 28px; }
.section-block:first-of-type { margin-top: 8px; }

.h2-section {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3.2vw, 26px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--c-red), var(--c-gold), var(--c-blue)) 1;
  width: fit-content;
  max-width: 100%;
}
.h2-section.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.h2-tight { margin-bottom: 8px; }

.section-intro .h2-section {
  color: #ffffff;
  font-size: clamp(22px, 3.5vw, 30px);
}

.mechanics-grid {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.mechanics-item {
  margin: 0;
}
.mechanics-item.panel {
  padding: 16px 18px;
}
.mechanics-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.mechanics-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.section-lead { margin-top: 10px; max-width: 75ch; }
.muted-strong { color: var(--muted); font-weight: 700; }

.section-sub {
  margin: 0 auto 18px;
  max-width: 52ch;
  color: var(--muted2);
  font-size: 15px;
  line-height: 1.55;
}
.section-sub.centered { text-align: center; }

.section-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.path-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 20px;
  border: var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transform: rotate(-0.35deg);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  border-radius: 2px;
}
.path-card:nth-child(even) {
  transform: rotate(0.35deg);
}
.path-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow), 0 0 36px rgba(71, 96, 249, 0.12);
  transform: rotate(0deg) translateY(-2px);
}
.path-card--solo {
  border-color: rgba(205, 24, 60, 0.22);
  box-shadow: var(--shadow), 0 0 28px rgba(205, 24, 60, 0.08);
}
.path-card--squad {
  border-color: rgba(71, 96, 249, 0.22);
  box-shadow: var(--shadow), 0 0 28px rgba(71, 96, 249, 0.1);
}
.path-card-tag {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.path-card-title {
  margin: 0;
  font-family: var(--font-tag);
  font-size: clamp(24px, 3.8vw, 32px);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
}
.path-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  flex: 1;
}
.path-card-go {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 4px;
}

.scroll-cue {
  text-align: center;
  margin: 28px 0 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
}

.section-media {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: start;
  margin-top: 24px;
}
.media-video-caption {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.video-poster {
  display: block;
  position: relative;
  border: var(--panel-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  line-height: 0;
  border-radius: 2px;
}
.video-poster img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0b0d12;
  filter: saturate(1.05) contrast(1.02);
}
.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 45%);
  pointer-events: none;
}
.video-poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(205, 165, 24, 0.5);
  background: linear-gradient(135deg, var(--c-gold), #a88912);
  color: #0d0d0f;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(205, 165, 24, 0.35);
  line-height: 1.2;
  pointer-events: none;
}
.video-poster-icon {
  font-size: 14px;
}
.video-poster:hover .video-poster-play {
  filter: brightness(1.08);
}

.media-fallback-btns {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-mosaic {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery-cell {
  display: block;
  border: var(--panel-border);
  box-shadow: var(--shadow);
  overflow: hidden;
  line-height: 0;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  border-radius: 2px;
}
.gallery-cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 0 24px rgba(71, 96, 249, 0.12);
}
.gallery-cell img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  background: #0b0d12;
}

.steps-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.step-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.step-card .step-card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--c-red);
  margin-bottom: 6px;
}
.step-card p {
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.step-card .btn { margin-right: 8px; margin-bottom: 8px; }

.join-strip { margin-top: 28px; }
.join-strip-text { margin-top: 8px; max-width: 70ch; }
.join-strip-text .link-inline {
  color: var(--c-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.join-strip-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  max-width: min(800px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.faq-item.panel {
  overflow: visible;
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  font-size: 18px;
  color: var(--c-gold);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.footer-columns {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}
.footer-col-title {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.footer-col a:hover {
  color: var(--bl-yellow);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 14px;
  align-items: stretch;
}

.panel {
  border: var(--panel-border);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 240px at 8% 0%, rgba(205, 24, 60, 0.08), transparent 60%),
    radial-gradient(380px 220px at 92% 15%, rgba(71, 96, 249, 0.07), transparent 58%);
  pointer-events: none;
  opacity: 1;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  pointer-events: none;
  border-radius: 1px;
}

.panel > * { position: relative; z-index: 1; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 14px rgba(205, 24, 60, 0.85), 0 0 28px rgba(71, 96, 249, 0.35);
}

.h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.5vw, 44px);
  letter-spacing: 0.04em;
  line-height: 1.08;
  color: #fff;
}
.lead {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 85ch;
}

.pillrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pill {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(71, 96, 249, 0.06);
  padding: 8px 12px;
  border-radius: 2px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.grid3 {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.grid3.section-block {
  margin-top: 32px;
}

.card {
  border: var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
  padding: 16px;
  box-shadow: var(--shadow);
  transform: rotate(-0.4deg);
}
.card:nth-child(even) {
  transform: rotate(0.4deg);
}

.card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.card p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

.card-media {
  margin: -6px -6px 12px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  background: #0b0d12;
}

.hero-media {
  margin-top: 14px;
  border-radius: 2px;
  overflow: hidden;
  border: var(--panel-border);
  box-shadow: var(--shadow);
  max-height: min(340px, 38vh);
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(340px, 38vh);
  object-fit: cover;
}

.steps-4 {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.step-tile {
  border: var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.step-tile .step-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0b0d12;
}
.step-tile .step-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-tile .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--c-gold);
  text-transform: uppercase;
}
.step-tile h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.step-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  flex: 1;
}
.step-tile .step-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.donate-banner {
  margin: 14px 0;
  border-radius: 2px;
  overflow: hidden;
  border: var(--panel-border);
  box-shadow: var(--shadow);
}
.donate-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

.kv {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 10px;
  margin-top: 12px;
}
.kv .k { color: var(--muted2); font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; }
.kv .v { font-weight: 900; font-size: 13px; }

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 12, 0.98);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
}
.footer-inner {
  max-width: min(1720px, 96vw);
  margin: 0 auto;
  padding: 20px clamp(12px, 2vw, 24px);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 800;
}

.footer-links-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  text-align: right;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: flex-end;
  align-items: center;
}
.footer-social span.footer-social-label {
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
}
.social-link:hover {
  color: #ffffff;
  border-color: rgba(205, 24, 60, 0.45);
  background: rgba(205, 24, 60, 0.1);
  box-shadow: 0 0 20px rgba(205, 24, 60, 0.15);
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .actions { display: none; }
  .grid3 { grid-template-columns: 1fr; }
  .h1 { font-size: 32px; }
  .kv { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
  .footer-links-wrap { align-items: flex-start; text-align: left; }
  .footer-social { justify-content: flex-start; }

  .hero-cinematic {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 36px;
  }
  .section-media {
    grid-template-columns: 1fr;
  }
  .section-paths {
    grid-template-columns: 1fr;
  }
  .path-card,
  .path-card:nth-child(even) {
    transform: none;
  }
  .path-card:hover {
    transform: translate(-2px, -2px);
  }
  .steps-2 {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after { opacity: 0; }
  .hero-cinematic::after { opacity: 0; }
  .nav a,
  .btn {
    transform: none;
  }
  .btn.primary:hover {
    transform: none;
  }
  .card,
  .card:nth-child(even) {
    transform: none;
  }
  .role-line {
    transition: none;
  }
  .path-card,
  .path-card:nth-child(even),
  .path-card:hover {
    transform: none;
  }
  .gallery-cell:hover {
    transform: none;
  }
}
