.lore-main { overflow: hidden; }
.lore-main p { max-width: none; }

.lore-hero {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 62px 20px 72px;
  text-align: center;
}

.lore-hero .page-logo {
  width: clamp(96px, 11vw, 150px);
  margin: 0 0 20px;
}

.lore-kicker,
.section-index {
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lore-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(44px, 6vw, 72px);
}

.lore-intro {
  width: min(700px, 100%);
  font-size: 17px;
  line-height: 1.75;
}

.lore-section {
  position: relative;
  padding: clamp(68px, 7vw, 108px) clamp(20px, 5vw, 76px);
}

.section-heading { margin-bottom: clamp(38px, 5vw, 58px); }
.section-heading-centered { text-align: center; }

.section-heading h2,
.archivist-heading h2 {
  margin-top: 12px;
  color: var(--text);
  font-family: Orbitron, sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-subtitle {
  margin-top: 14px;
  color: var(--text);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.everyverse-section {
  border-top: 1px solid rgba(255,255,255,0.07);
  background:
    radial-gradient(circle at 50% 46%, rgba(214,173,104,0.10), transparent 23%),
    linear-gradient(180deg, rgba(2,3,5,0.25), rgba(7,8,12,0.72));
}

.everyverse-section::before {
  content: "";
  position: absolute;
  width: min(640px, 74vw);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(214,173,104,0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 72px rgba(255,255,255,0.018), 0 0 0 144px rgba(255,255,255,0.012);
  pointer-events: none;
}

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

.everyverse-statement {
  width: min(850px, 100%);
  margin: 0 auto clamp(42px, 6vw, 68px);
  text-align: center;
}

.everyverse-statement p {
  color: var(--text);
  font-family: Orbitron, sans-serif;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.everyverse-statement p + p { margin-top: 8px; color: var(--gold); }

.everyverse-copy {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 6vw, 76px);
}

.everyverse-copy p,
.archivist-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.88;
}

.witch-section {
  background:
    radial-gradient(circle at 50% 24%, rgba(120,90,170,0.10), transparent 27%),
    linear-gradient(180deg, rgba(7,8,12,0.72), rgba(2,3,5,0.95));
}

.witch-stages {
  position: relative;
  width: min(1050px, 100%);
  margin: 0 auto;
  padding: 8px 0;
}

.witch-stages::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(214,173,104,0.66) 8%, rgba(214,173,104,0.24) 92%, transparent);
  box-shadow: 0 0 18px rgba(214,173,104,0.20);
}

.witch-stage {
  position: relative;
  width: calc(50% - 34px);
  margin-bottom: 18px;
  padding: 32px 34px;
  border: 1px solid rgba(255,255,255,0.15);
  background: linear-gradient(135deg, rgba(12,13,19,0.86), rgba(3,4,7,0.78));
  box-shadow: 0 18px 55px rgba(0,0,0,0.20);
}

.witch-stage:nth-child(even) { margin-left: calc(50% + 34px); }

.witch-stage::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -41px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  background: #05060a;
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(214,173,104,0.38);
}

.witch-stage:nth-child(even)::after { right: auto; left: -41px; }

.stage-marker {
  display: block;
  margin-bottom: 15px;
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
}

.stage-content h3 {
  color: var(--text);
  font-family: Orbitron, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.stage-content h3 span { color: var(--gold); }

.stage-content p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.74;
}

.witch-cycle {
  width: min(960px, 100%);
  margin: clamp(44px, 5vw, 64px) auto 0;
  padding: 26px 24px;
  border-top: 1px solid rgba(214,173,104,0.28);
  border-bottom: 1px solid rgba(214,173,104,0.16);
  background: rgba(6,7,11,0.34);
  text-align: center;
}

.witch-cycle p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.witch-cycle p + p { margin-top: 8px; }

.witch-cycle .cycle-sequence {
  margin-bottom: 18px;
  color: var(--text);
  font-family: Orbitron, sans-serif;
  font-size: 13px;
  letter-spacing: 0.07em;
  line-height: 1.9;
  text-transform: uppercase;
}

.cycle-sequence span { color: var(--gold); }

.archivist-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.archivist-section::before {
  display: none;
}

.archivist-heading { position: sticky; top: 140px; }

.archivist-copy {
  padding-left: clamp(26px, 3vw, 44px);
  border-left: 1px solid rgba(214,173,104,0.34);
}

.archivist-copy p + p { margin-top: 24px; }
.archivist-copy p:nth-child(2), .archivist-copy p:last-child { color: var(--text); }

.lore-archive-transition {
  padding: 0 20px clamp(68px, 7vw, 104px);
  text-align: center;
}

.lore-archive-transition a {
  width: fit-content;
  display: inline-block;
  padding: 10px 2px 8px;
  border-bottom: 1px solid rgba(214,173,104,0.42);
  color: var(--gold);
  font-family: Orbitron, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease;
}

.lore-archive-transition a:hover,
.lore-archive-transition a:focus-visible { color: var(--text); border-color: rgba(242,242,242,0.68); }

@media (max-width: 850px) {
  .everyverse-copy, .archivist-section { grid-template-columns: 1fr; }
  .archivist-section::before { display: none; }
  .archivist-heading { position: static; }
}

@media (max-width: 680px) {
  .lore-hero { min-height: 410px; padding: 52px 16px 58px; }
  .lore-hero h1 { margin-bottom: 12px; }
  .lore-intro { font-size: 15px; }
  .lore-section { padding: 62px 14px; }
  .section-heading h2, .archivist-heading h2 { font-size: 29px; letter-spacing: 0.13em; }
  .everyverse-copy { gap: 24px; }
  .everyverse-copy p, .archivist-copy p { font-size: 15px; line-height: 1.8; }
  .witch-stages { padding-left: 28px; }
  .witch-stages::before { left: 7px; }
  .witch-stage, .witch-stage:nth-child(even) { width: 100%; margin-left: 0; padding: 25px 22px; }
  .witch-stage::after, .witch-stage:nth-child(even)::after { left: -28px; right: auto; top: 32px; width: 11px; height: 11px; }
  .stage-content h3 { font-size: 15px; }
  .witch-cycle { padding: 22px 16px; }
  .witch-cycle .cycle-sequence { font-size: 11.5px; line-height: 2; }
  .archivist-copy { padding-left: 20px; }
  .lore-archive-transition { padding: 0 14px 62px; }
  .lore-archive-transition a { max-width: 100%; font-size: 11px; line-height: 1.7; }
}
