/* PUBG UA — Tactical Editorial concept
   Homepage-only progressive layer. Other pages keep the production styles. */

.editorial-page {
  --shell: 1320px;
  --ed-ink: #04090d;
  --ed-ink-soft: #071017;
  --ed-surface: #09151d;
  --ed-surface-up: #0c1c25;
  --ed-white: #f2f5f6;
  --ed-muted: #93a2ac;
  --ed-amber: #f3a52d;
  --ed-cyan: #25a5df;
  --ed-line: rgba(190, 215, 228, 0.12);
  --ed-line-strong: rgba(203, 226, 237, 0.22);
  background: var(--ed-ink);
}

.editorial-page::before { opacity: 0.018; }

.editorial-page .editorial-main,
.editorial-page .footer {
  position: relative;
  z-index: 1;
}

.editorial-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.editorial-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent 8%, #000 32%, #000 72%, transparent 96%);
  -webkit-mask-image: linear-gradient(180deg, transparent 8%, #000 32%, #000 72%, transparent 96%);
}

.editorial-atmosphere i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.055;
}
.editorial-atmosphere i:nth-child(1) { top: 28%; left: -14rem; width: 38rem; height: 38rem; background: var(--ed-amber); }
.editorial-atmosphere i:nth-child(2) { top: 52%; right: -18rem; width: 44rem; height: 44rem; background: var(--ed-cyan); }
.editorial-atmosphere i:nth-child(3) { bottom: -24rem; left: 35%; width: 50rem; height: 50rem; background: #153f56; }

/* Header */
.editorial-page .site-header { z-index: 45; }
.editorial-page .topbar {
  height: 82px;
  padding-inline: 4px;
  border-color: rgba(229, 239, 244, 0.18);
  background: linear-gradient(90deg, rgba(3, 10, 14, 0.78), rgba(3, 11, 17, 0.42) 48%, rgba(3, 10, 15, 0.8));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  animation: ed-header-in 650ms cubic-bezier(.2, .74, .2, 1) both;
}
.editorial-page .brand { width: 150px; height: 67px; }
.editorial-page .brand img { width: 150px; }
.editorial-page .desktop-nav { gap: 27px; }
.editorial-page .desktop-nav a { padding-block: 31px 28px; color: #cbd5da; font-size: 0.93rem; }
.editorial-page .desktop-nav a::after { bottom: 20px; height: 2px; background: var(--ed-cyan); }
.editorial-page .desktop-nav a[aria-current="page"]::after { background: linear-gradient(90deg, var(--ed-amber), var(--ed-cyan)); }
.editorial-page .discord-link { min-height: 46px; border-left-color: var(--ed-amber); background: rgba(2, 9, 13, 0.8); }
.editorial-page .discord-link svg { background: var(--ed-amber); }

@keyframes ed-header-in {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero as a cinematic cover */
.editorial-page .editorial-hero {
  min-height: max(780px, 100svh);
  padding: 130px 24px 92px;
  background-image:
    linear-gradient(180deg, rgba(1, 6, 9, 0.18) 0%, rgba(2, 8, 12, 0.04) 36%, rgba(3, 9, 13, 0.36) 62%, #04090d 100%),
    url("/assets/hero-old.jpg");
  background-position: center;
}

.editorial-page .editorial-hero::before {
  background:
    linear-gradient(90deg, rgba(4, 8, 10, 0.34), transparent 29%, transparent 68%, rgba(2, 10, 15, 0.33)),
    radial-gradient(ellipse at 50% 38%, transparent 10%, rgba(2, 8, 11, 0.13) 54%, rgba(3, 8, 11, 0.57) 100%);
}

.editorial-page .hero-grid {
  inset: 82px 28px 22px;
  opacity: 0.13;
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}

.hero-scope {
  position: absolute;
  inset: 118px max(28px, calc((100% - var(--shell)) / 2)) 42px;
  z-index: 1;
  pointer-events: none;
}
.hero-scope::before,
.hero-scope::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(213, 232, 241, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero-scope::before { width: min(52vw, 680px); aspect-ratio: 1; }
.hero-scope::after { width: min(36vw, 470px); aspect-ratio: 1; border-color: rgba(37, 165, 223, 0.1); }
.hero-scope i { position: absolute; width: 54px; height: 54px; border-color: rgba(224, 237, 243, 0.46); border-style: solid; }
.hero-scope i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hero-scope i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.hero-scope i:nth-child(3) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.hero-scope i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }

.hero-axis {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: clamp(68px, 9vw, 150px);
  height: 1px;
  opacity: 0.7;
  pointer-events: none;
}
.hero-axis::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; }
.hero-axis--amber { left: 5%; color: var(--ed-amber); background: linear-gradient(90deg, transparent, currentColor); }
.hero-axis--amber::after { right: 0; }
.hero-axis--blue { right: 5%; color: var(--ed-cyan); background: linear-gradient(90deg, currentColor, transparent); }
.hero-axis--blue::after { left: 0; }

.editorial-page .hero-content { width: min(860px, 100%); }
.editorial-page .hero-logo { width: min(625px, 76vw); filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.54)); }
.editorial-page .hero-copy {
  width: min(780px, 100%);
  margin-block: 22px 30px;
  padding: 19px 34px;
  border: 0;
  color: #e0e7ea;
  background: linear-gradient(90deg, transparent, rgba(3, 11, 16, 0.78) 17%, rgba(3, 11, 16, 0.78) 83%, transparent);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.72;
}
.editorial-page .primary-button {
  min-height: 56px;
  padding-left: 28px;
  border-color: rgba(255, 255, 255, 0.48);
  background: linear-gradient(105deg, #ffd47f, var(--ed-amber) 72%);
  box-shadow: 0 18px 55px rgba(243, 165, 45, 0.22);
}
.editorial-page .primary-button svg { width: 44px; height: 44px; background: #071017; color: #f3a52d; }

/* Editorial section heading */
.editorial-page .section-shell { padding-block: 72px; }
.editorial-page .feature-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 22px;
  align-items: end;
  padding-top: 112px;
  padding-bottom: 46px;
}
.editorial-page .feature-section .section-heading { grid-column: 1 / span 7; margin-bottom: 46px; }
.editorial-page .feature-section .section-intro { grid-column: 8 / -1; margin: 0 0 48px; }
.editorial-page .feature-section .feature-grid { grid-column: 1 / -1; }

.editorial-page .section-heading { gap: 17px; }
.editorial-page .section-mark { gap: 4px; }
.editorial-page .section-mark i { width: 44px; height: 6px; }
.editorial-page .section-mark i:last-child { width: 24px; }
.editorial-page .section-heading h2 {
  color: var(--ed-white);
  font-size: clamp(2.8rem, 5.1vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.editorial-page .section-intro { max-width: 54ch; color: var(--ed-muted); font-size: 1.02rem; line-height: 1.76; }

/* Asymmetrical feature bento */
.editorial-page .feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.editorial-page .feature-card {
  --card-accent: var(--ed-cyan);
  --card-glow: rgba(37, 165, 223, 0.1);
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 420px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--ed-line);
  border-radius: 2px;
  background:
    radial-gradient(circle at 86% 20%, var(--card-glow), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 42%),
    var(--ed-surface);
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.23);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.editorial-page .feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 44%;
  height: 2px;
  background: linear-gradient(90deg, var(--card-accent), transparent);
}
.editorial-page .feature-card::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 26px;
  height: 26px;
  border-top: 1px solid color-mix(in srgb, var(--card-accent), transparent 35%);
  border-right: 1px solid color-mix(in srgb, var(--card-accent), transparent 35%);
}
.editorial-page .feature-card:hover {
  border-color: color-mix(in srgb, var(--card-accent), transparent 58%);
  box-shadow: 0 40px 92px rgba(0, 0, 0, 0.31);
  transform: translateY(-4px);
}

.feature-card--search { grid-column: 1 / 9; min-height: 500px; --card-accent: var(--ed-amber); --card-glow: rgba(243, 165, 45, 0.12); }
.feature-card--stats { grid-column: 9 / -1; min-height: 500px; }
.feature-card--reputation { grid-column: 1 / 6; --card-accent: #9d63ff; --card-glow: rgba(127, 69, 255, 0.12); }
.feature-card--clans { grid-column: 6 / -1; --card-accent: var(--ed-amber); --card-glow: rgba(243, 165, 45, 0.09); }
.feature-card--cabinet { grid-column: 1 / 8; }
.feature-card--community { grid-column: 8 / -1; --card-accent: var(--ed-amber); --card-glow: rgba(243, 165, 45, 0.08); }
.editorial-page .rank-panel { grid-column: 1 / -1; min-height: 390px; padding: 46px; }

.feature-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  width: 48%;
}
.feature-card--stats .feature-copy,
.feature-card--reputation .feature-copy,
.feature-card--community .feature-copy { width: 100%; }
.feature-card--cabinet .feature-copy { width: 44%; }
.feature-card--stats .feature-copy { padding-bottom: 168px; }
.feature-card--reputation .feature-copy,
.feature-card--community .feature-copy { padding-bottom: 170px; }
.editorial-page .feature-card.feature-card--community .text-link { margin-top: 0; }

.editorial-page .feature-card .icon-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 30px;
  border: 0;
  color: var(--card-accent);
  transform: none;
}
.editorial-page .feature-card .icon-frame::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--card-accent), transparent 58%);
  transform: rotate(45deg);
}
.editorial-page .feature-card .icon-frame svg { width: 28px; height: 28px; color: inherit; transform: none; stroke-width: 1.45; }

.editorial-page .feature-card h3 { margin-bottom: 16px; color: var(--ed-white); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.14; }
.editorial-page .feature-card p { max-width: 48ch; color: #aab7be; line-height: 1.72; }
.editorial-page .feature-card .text-link { color: color-mix(in srgb, var(--card-accent), white 24%); }
.editorial-page .feature-card .text-link::after { color: var(--card-accent); }
.editorial-page .feature-card:not(.rank-panel) .text-link { margin-top: auto; }

.feature-visual {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.feature-visual svg { width: 100%; height: 100%; overflow: visible; }

/* Search visual */
.squad-visual { right: -3%; bottom: -6%; width: 59%; height: 88%; opacity: 0.86; }
.squad-grid-line { fill: none; stroke: rgba(179, 213, 229, 0.11); stroke-width: 1; }
.squad-route { fill: none; stroke: url(#squadPath); stroke-width: 4; stroke-linecap: square; stroke-linejoin: bevel; }
.squad-route--ghost { opacity: 0.22; stroke-width: 14; filter: blur(5px); }
.squad-node { fill: #091923; stroke: var(--ed-cyan); stroke-width: 3; filter: drop-shadow(0 0 13px rgba(37, 165, 223, 0.42)); }
.squad-node--amber { stroke: var(--ed-amber); filter: drop-shadow(0 0 13px rgba(243, 165, 45, 0.4)); }
.squad-person { fill: none; stroke: #e6f0f4; stroke-width: 2; stroke-linecap: round; }
.squad-crosshair { fill: none; stroke: rgba(243, 165, 45, 0.6); stroke-width: 1; }

/* Stats visual */
.stats-visual { right: 22px; bottom: 20px; left: 22px; height: 175px; opacity: 0.94; }
.stats-grid { fill: none; stroke: rgba(188, 216, 230, 0.12); stroke-width: 1; }
.stats-area { fill: rgba(37, 165, 223, 0.09); }
.stats-line { fill: none; stroke: var(--ed-cyan); stroke-width: 3; filter: drop-shadow(0 0 7px rgba(37, 165, 223, 0.42)); }
.stats-visual circle { fill: var(--ed-amber); stroke: #0a1820; stroke-width: 4; }

/* Reputation */
.reputation-visual { right: 20px; bottom: 30px; left: 20px; display: flex; align-items: flex-end; justify-content: center; height: 175px; }
.reputation-visual::before { content: ""; position: absolute; right: 8%; bottom: 10px; left: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(157, 99, 255, 0.75), transparent); box-shadow: 0 0 22px rgba(157, 99, 255, 0.4); }
.reputation-visual img { position: relative; width: 132px; height: 132px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.4)); }
.reputation-visual img:nth-child(1) { z-index: 1; transform: translate(18px, 10px) scale(.83); }
.reputation-visual img:nth-child(2) { z-index: 3; transform: translateY(-10px); }
.reputation-visual img:nth-child(3) { z-index: 2; transform: translate(-18px, 8px) scale(.88); }

/* Clans */
.clan-visual { right: 2%; bottom: -4%; width: 50%; height: 95%; opacity: 0.83; }
.clan-orbit { fill: none; stroke: rgba(243, 165, 45, 0.22); stroke-width: 2; }
.clan-orbit--cross { stroke: rgba(37, 165, 223, 0.17); }
.clan-shield { fill: rgba(243, 165, 45, 0.055); stroke: var(--ed-amber); stroke-width: 3; filter: drop-shadow(0 0 22px rgba(243, 165, 45, 0.18)); }
.clan-home { fill: none; stroke: #e7eef1; stroke-width: 3; stroke-linejoin: bevel; }
.clan-visual circle { fill: var(--ed-cyan); filter: drop-shadow(0 0 8px var(--ed-cyan)); }

/* Cabinet */
.cabinet-visual { right: 5%; bottom: 12%; width: 40%; height: 72%; }
.cabinet-frame { position: absolute; inset: 0; border: 1px solid rgba(37, 165, 223, 0.34); background: linear-gradient(145deg, rgba(17, 43, 57, 0.66), rgba(5, 17, 24, 0.36)); box-shadow: 0 24px 46px rgba(0, 0, 0, 0.24); transform: none; }
.cabinet-frame::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(204, 227, 238, 0.08); }
.cabinet-avatar { position: absolute; top: 38px; left: 36px; display: grid; place-items: center; width: 82px; height: 82px; border: 1px solid rgba(37, 165, 223, 0.52); color: var(--ed-cyan); }
.cabinet-avatar svg { width: 45px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cabinet-frame i { position: absolute; left: 145px; display: block; height: 7px; background: rgba(211, 229, 238, 0.2); }
.cabinet-frame i:nth-of-type(1) { top: 48px; right: 34px; background: rgba(243, 165, 45, 0.64); }
.cabinet-frame i:nth-of-type(2) { top: 75px; right: 76px; }
.cabinet-frame i:nth-of-type(3) { top: 102px; right: 52px; }
.cabinet-frame i:nth-of-type(4) { top: 148px; right: 34px; height: 1px; background: rgba(211, 229, 238, 0.12); }
.cabinet-seal { position: absolute; right: 34px; bottom: 30px; display: grid; place-items: center; width: 82px; height: 82px; color: var(--ed-amber); }
.cabinet-seal svg { width: 62px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Community */
.community-visual { right: 0; bottom: 14px; left: 0; height: 210px; opacity: 0.94; }
.community-visual img {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 25px;
  width: 160px;
  height: 160px;
  object-fit: contain;
  transform: translateX(50%);
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.46));
}
.community-orbit {
  position: absolute;
  z-index: 1;
  right: 50%;
  bottom: 13px;
  width: 184px;
  height: 184px;
  border: 1px solid rgba(243, 165, 45, 0.28);
  border-radius: 50%;
  transform: translateX(50%);
}
.community-orbit--inner { bottom: 33px; width: 144px; height: 144px; border-color: rgba(37, 165, 223, 0.24); }
.community-visual i {
  position: absolute;
  z-index: 3;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ed-cyan);
  box-shadow: 0 0 14px rgba(37, 165, 223, 0.9);
}
.community-visual i:nth-of-type(1) { top: 59px; left: calc(50% - 99px); background: var(--ed-amber); box-shadow: 0 0 14px rgba(243, 165, 45, 0.9); }
.community-visual i:nth-of-type(2) { top: 29px; right: calc(50% - 72px); }
.community-visual i:nth-of-type(3) { top: 111px; right: calc(50% - 103px); }

/* Ranked runway */
.editorial-page .rank-panel-grid { grid-template-columns: minmax(320px, .76fr) minmax(0, 1.45fr); gap: 36px; }
.editorial-page .rank-panel-grid > div:first-child { position: relative; z-index: 2; }
.editorial-page .rank-panel h3 { white-space: nowrap; }
.editorial-page .rank-progression { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: center; gap: 8px; padding: 20px 0; }
.editorial-page .rank-progression::before { display: none; }
.editorial-page .rank-badge { position: relative; z-index: 1; aspect-ratio: 1; border: 1px solid var(--ed-line); background: rgba(0, 0, 0, 0.14); overflow: hidden; transition: border-color 190ms ease, background 190ms ease; }
.editorial-page .rank-badge img { width: 100%; max-width: none; margin-left: 0; filter: none; transition: transform 190ms ease; }
.editorial-page .rank-badge:hover { border-color: rgba(37, 165, 223, 0.42); background: rgba(37, 165, 223, 0.06); }
.editorial-page .rank-badge:hover img { transform: translateY(-3px); }

/* Three-step editorial rail */
.editorial-page .steps-section { padding-top: 50px; padding-bottom: 50px; }
.editorial-page .steps-section .section-heading { margin-bottom: 42px; }
.editorial-page .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ed-line-strong); border-bottom: 1px solid var(--ed-line); }
.editorial-page .step-card { min-height: 330px; padding: 44px 38px 42px; border: 0; border-right: 1px solid var(--ed-line); background: transparent; box-shadow: none; }
.editorial-page .step-card:last-child { border-right: 0; }
.editorial-page .step-card::before { content: ""; position: absolute; top: -1px; left: 0; width: 34%; height: 2px; background: var(--ed-amber); }
.editorial-page .step-card:nth-child(2)::before { background: #d8dfe2; }
.editorial-page .step-card:nth-child(3)::before { background: var(--ed-cyan); }
.editorial-page .step-number { margin-bottom: 44px; color: rgba(242, 245, 246, 0.13); font-size: clamp(4.2rem, 7vw, 7rem); line-height: .8; }
.editorial-page .step-number::after { display: none; }
.editorial-page .step-card h3 { font-size: 1.38rem; }
.editorial-page .step-card p { max-width: 36ch; color: var(--ed-muted); }

/* FAQ as editorial rows */
.editorial-page .about-section { padding-top: 50px; padding-bottom: 50px; }
.editorial-page .about-section .section-heading { margin-bottom: 40px; }
.editorial-page .faq-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--ed-line); }
.editorial-page .faq-item { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 58px; align-items: start; padding: 38px 8px; border: 0; border-top: 1px solid var(--ed-line); background: transparent; box-shadow: none; }
.editorial-page .faq-item h3 { margin: 0; font-size: 1.23rem; }
.editorial-page .faq-item p { max-width: 65ch; margin: 0; color: var(--ed-muted); }

/* Final action panel */
.editorial-page .cta-section { width: min(1320px, calc(100% - 40px)); padding-top: 50px; padding-bottom: 84px; }
.editorial-page .cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: 330px;
  padding: 54px 60px;
  overflow: hidden;
  border-color: var(--ed-line-strong);
  background:
    linear-gradient(90deg, var(--ed-amber), var(--ed-cyan)) top / 100% 2px no-repeat,
    radial-gradient(circle at 10% 50%, rgba(243, 165, 45, 0.13), transparent 34%),
    radial-gradient(circle at 88% 50%, rgba(37, 165, 223, 0.14), transparent 36%),
    linear-gradient(135deg, #0b1a23, #061017 72%);
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.36), inset 0 1px rgba(243, 165, 45, 0.22);
  text-align: left;
}
.editorial-page .cta-panel::before { opacity: 0.13; background-size: 72px 72px; }
.editorial-page .cta-panel::after { content: ""; position: absolute; top: 50%; right: -116px; width: 340px; height: 340px; border: 1px solid rgba(37, 165, 223, 0.18); border-radius: 50%; box-shadow: inset 0 0 0 42px rgba(37, 165, 223, 0.025), inset 0 0 0 88px rgba(243, 165, 45, 0.022); transform: translateY(-50%); pointer-events: none; }
.editorial-page .cta-panel h2 { grid-column: 1 / 8; margin-bottom: 18px; font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: .97; }
.editorial-page .cta-panel p { grid-column: 1 / 7; width: auto; margin: 0; color: #bdc8cd; }
.editorial-page .cta-panel .button-row { grid-column: 9 / -1; grid-row: 1 / span 2; justify-content: flex-end; }

/* Footer */
.editorial-page .footer { border-color: var(--ed-line); background: rgba(3, 8, 12, 0.96); }
.editorial-page .footer-inner { padding-block: 42px; }

/* Restrained motion: no blur, scale or moving text after arrival. */
@supports (animation-timeline: view()) {
  .editorial-page .feature-section .section-heading,
  .editorial-page .feature-section .section-intro,
  .editorial-page .feature-card,
  .editorial-page .steps-section .section-heading,
  .editorial-page .step-card,
  .editorial-page .about-section .section-heading,
  .editorial-page .faq-item {
    animation: ed-reveal linear both;
    animation-timeline: view(block);
    animation-range: entry 5% cover 28%;
  }
}

@keyframes ed-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .editorial-page .desktop-nav { gap: 17px; }
  .editorial-page .desktop-nav a { font-size: .84rem; }
  .editorial-page .feature-section { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .editorial-page .feature-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .editorial-page .feature-section .section-heading { grid-column: 1 / 4; }
  .editorial-page .feature-section .section-intro { grid-column: 4 / -1; }
  .feature-card--search { grid-column: 1 / 5; }
  .feature-card--stats { grid-column: 5 / -1; }
  .feature-card--reputation { grid-column: 1 / 4; }
  .feature-card--clans { grid-column: 4 / -1; }
  .feature-card--cabinet { grid-column: 1 / 5; }
  .feature-card--community { grid-column: 5 / -1; }
  .editorial-page .rank-panel { grid-column: 1 / -1; }
  .feature-copy { width: 56%; }
  .feature-card--stats .feature-copy,
  .feature-card--community .feature-copy { width: 100%; }
  .editorial-page .cta-panel h2 { grid-column: 1 / 9; }
  .editorial-page .cta-panel p { grid-column: 1 / 8; }
}

@media (max-width: 900px) {
  .editorial-page .feature-section { display: block; }
  .editorial-page .feature-section .section-heading { margin-bottom: 28px; }
  .editorial-page .feature-section .section-intro { margin: 0 0 52px auto; }
  .editorial-page .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card--search,
  .feature-card--clans,
  .feature-card--cabinet,
  .editorial-page .rank-panel { grid-column: 1 / -1; }
  .feature-card--stats,
  .feature-card--reputation,
  .feature-card--community { grid-column: auto; }
  .feature-card--stats,
  .feature-card--reputation,
  .feature-card--community { min-height: 460px; }
  .feature-copy { width: 54%; }
  .feature-card--stats .feature-copy,
  .feature-card--reputation .feature-copy,
  .feature-card--community .feature-copy { width: 100%; }
  .editorial-page .rank-panel-grid { grid-template-columns: 1fr; }
  .editorial-page .cta-panel { padding: 56px 48px; }
  .editorial-page .cta-panel h2 { grid-column: 1 / 9; }
  .editorial-page .cta-panel p { grid-column: 1 / 9; }
  .editorial-page .cta-panel .button-row { grid-column: 9 / -1; }
}

@media (max-width: 680px) {
  .editorial-page .topbar { height: 78px; }
  .editorial-page .brand { width: 130px; height: 59px; }
  .editorial-page .brand img { width: 130px; }
  .editorial-page .editorial-hero { min-height: max(740px, 100svh); padding: 112px 12px 78px; background-position: center; }
  .editorial-page .hero-grid { inset: 78px 12px 18px; background-size: 58px 58px; }
  .hero-scope { inset: 102px 14px 30px; }
  .hero-scope::before { width: min(92vw, 520px); }
  .hero-scope::after { width: min(70vw, 390px); }
  .hero-axis { display: none; }
  .editorial-page .hero-logo { width: min(94vw, 540px); }
  .editorial-page .hero-copy { padding-inline: 10px; font-size: .95rem; line-height: 1.66; }
  .editorial-page .section-shell { width: min(100% - 24px, var(--shell)); padding-block: 56px; }
  .editorial-page .feature-section { padding-top: 76px; padding-bottom: 34px; }
  .editorial-page .section-heading h2 { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .editorial-page .section-intro { margin-left: 0; font-size: .96rem; }
  .editorial-page .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card--search,
  .feature-card--stats,
  .feature-card--reputation,
  .feature-card--clans,
  .feature-card--cabinet,
  .feature-card--community,
  .editorial-page .rank-panel { grid-column: 1; min-height: 0; }
  .editorial-page .feature-card { display: flex; flex-direction: column; padding: 28px 22px; }
  .feature-copy,
  .feature-card--stats .feature-copy,
  .feature-card--reputation .feature-copy,
  .feature-card--cabinet .feature-copy,
  .feature-card--community .feature-copy { width: 100%; padding-bottom: 0; }
  .editorial-page .feature-card h3 { font-size: 1.4rem; }
  .feature-visual { position: relative; inset: auto; width: 100%; height: 220px; margin-top: 24px; }
  .squad-visual { width: 115%; margin-left: -7.5%; }
  .stats-visual { height: 180px; }
  .reputation-visual { height: 170px; }
  .clan-visual { height: 260px; margin-top: 5px; }
  .cabinet-visual { height: 230px; }
  .community-visual { height: 210px; }
  .editorial-page .rank-panel { padding: 30px 20px; }
  .editorial-page .rank-progression { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-inline: 0; }
  .editorial-page .rank-progression::before { display: none; }
  .editorial-page .rank-panel h3 { white-space: normal; }
  .editorial-page .rank-badge img { width: 100%; margin-left: 0; transform: none !important; }
  .editorial-page .steps-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .editorial-page .steps-section { padding-top: 38px; padding-bottom: 38px; }
  .editorial-page .step-card { min-height: 0; padding: 40px 20px; border-right: 0; border-bottom: 1px solid var(--ed-line); }
  .editorial-page .step-number { margin-bottom: 30px; font-size: 4.4rem; }
  .editorial-page .faq-item { grid-template-columns: 1fr; gap: 14px; padding: 30px 4px; }
  .editorial-page .about-section { padding-top: 38px; padding-bottom: 38px; }
  .editorial-page .cta-section { width: min(100% - 24px, 1320px); padding-top: 38px; padding-bottom: 64px; }
  .editorial-page .cta-panel { display: block; min-height: 0; padding: 42px 22px; text-align: left; }
  .editorial-page .cta-panel::after { right: -160px; width: 280px; height: 280px; }
  .editorial-page .cta-panel p { margin: 0 0 28px; }
  .editorial-page .cta-panel .button-row { justify-content: flex-start; }
}

@media (max-width: 390px) {
  .editorial-page .feature-card { padding-inline: 18px; }
  .reputation-visual img { width: 112px; height: 112px; }
  .editorial-page .cta-panel { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-page .topbar,
  .editorial-page .feature-section .section-heading,
  .editorial-page .feature-section .section-intro,
  .editorial-page .feature-card,
  .editorial-page .steps-section .section-heading,
  .editorial-page .step-card,
  .editorial-page .about-section .section-heading,
  .editorial-page .faq-item,
  .editorial-page .cta-panel {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
