/*
 * Evidence verdict (#evidence-verdict) — the centred statement closing the
 * exhibits: subject line, gold finding, a diamond rule, then the final demand.
 * At 1080p/2160p the 1280×720 composition is scaled uniformly by --verdict-s.
 */

.verdict {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  width: 100%;
  margin: 0;
  padding: clamp(54px, 6.2vw, 92px) clamp(24px, 5vw, 72px) clamp(82px, 8.2vw, 124px);
  overflow: hidden;
  isolation: isolate;
  color: var(--cream-strong);
  font-family: var(--font-sans);
  text-align: center;
}

/* Hairline across the top. */
.verdict::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1vw, 16px) 0 auto;
  width: min(980px, 78vw);
  height: 1px;
  margin-inline: auto;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(var(--rgb-gold-heading) / 0.14) 18%,
    rgb(var(--rgb-gold-bright) / 0.42) 50%,
    rgb(var(--rgb-gold-heading) / 0.14) 82%,
    transparent
  );
  box-shadow: 0 0 28px rgb(var(--rgb-gold-ui) / 0.16);
}

/* Warm glow above, shadow pool below. */
.verdict::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 32% at 50% 30%, rgb(var(--rgb-gold-ui) / 0.105), transparent 68%),
    radial-gradient(ellipse 70% 46% at 50% 78%, rgb(0 0 0 / 0.36), transparent 72%);
}

.verdict__inner {
  position: relative;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-block: clamp(10px, 1.2vw, 18px);
}

.verdict__inner::before,
.verdict__inner::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.verdict__inner::before {
  top: 50%;
  width: min(760px, 70vw);
  height: clamp(150px, 14vw, 230px);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgb(255 241 198 / 0.075),
    rgb(var(--rgb-gold-ui) / 0.035) 38%,
    transparent 72%
  );
  filter: blur(10px);
  opacity: 0.82;
}

.verdict__inner::after {
  bottom: clamp(-28px, -2.2vw, -18px);
  width: min(520px, 58vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 247 232 / 0.34),
    rgb(var(--rgb-gold-bright) / 0.42),
    rgb(255 247 232 / 0.34),
    transparent
  );
  box-shadow: 0 0 18px rgb(var(--rgb-gold-ui) / 0.18);
}

.verdict__title {
  position: relative;
  z-index: 1;
  max-width: min(1080px, 100%);
  margin: 0 auto;
  color: rgb(var(--rgb-cream-strong) / 0.94);
  font-family: var(--font-serif);
  font-weight: 520;
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.06), 0 18px 48px rgb(0 0 0 / 0.58);
}

.verdict__title > span {
  display: block;
}

.verdict__subject {
  color: rgb(var(--rgb-cream-strong) / 0.9);
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.04;
  letter-spacing: 0.055em;
}

.verdict__finding {
  max-width: 29ch;
  margin: clamp(12px, 1.25vw, 18px) auto 0;
  color: transparent;
  font-size: clamp(30px, 3.45vw, 56px);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: 0.018em;
  text-wrap: balance;
  background: linear-gradient(
    96deg,
    rgb(var(--rgb-gold-sheen) / 0.96) 0%,
    rgb(var(--rgb-gold-highlight) / 0.98) 36%,
    rgb(var(--rgb-gold-bright) / 1) 54%,
    rgb(var(--rgb-gold-muted) / 0.94) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 16px 34px rgb(0 0 0 / 0.5));
}

/* Gold rule with a diamond at its centre. */
.verdict__rule {
  position: relative;
  width: min(620px, 62vw);
  height: 1px;
  margin: clamp(22px, 2.25vw, 34px) auto clamp(20px, 2vw, 30px);
  background: linear-gradient(
    90deg,
    transparent,
    rgb(var(--rgb-gold-heading) / 0.2) 14%,
    rgb(var(--rgb-gold-bright) / 0.68) 50%,
    rgb(var(--rgb-gold-heading) / 0.2) 86%,
    transparent
  );
  box-shadow: 0 0 24px rgb(var(--rgb-gold-ui) / 0.2);
}

.verdict__rule::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: rgb(var(--rgb-gold-bright) / 0.88);
  box-shadow: 0 0 0 5px rgb(0 0 0 / 0.28), 0 0 18px rgb(var(--rgb-gold-ui) / 0.42);
}

.verdict__final {
  color: rgb(var(--rgb-cream-strong) / 0.9);
  font-size: clamp(18px, 1.75vw, 28px);
  font-weight: 625;
  line-height: 1.04;
  letter-spacing: 0.06em;
}

.verdict__final + .verdict__final {
  margin-top: clamp(5px, 0.5vw, 9px);
}

.verdict__final--accent em {
  font-style: normal;
  font-weight: 760;
  color: transparent;
  background: linear-gradient(
    94deg,
    rgb(var(--rgb-gold-highlight) / 0.98) 0%,
    rgb(var(--rgb-gold-bright) / 0.98) 58%,
    rgb(var(--rgb-gold-muted) / 0.94) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 600px) {
  .verdict__subject {
    font-size: 24px;
  }

  .verdict__finding {
    font-size: 36px;
  }

  .verdict__final {
    font-size: 22px;
  }
}

/* ≥1921×1081 outside the scaled bands: the site-wide high-resolution type. */
@media (min-width: 1921px) and (min-height: 1081px) {
  .verdict__subject {
    font-size: clamp(34px, min(1.770833vw, 3.148148vh), 51px);
  }

  .verdict__finding {
    font-size: clamp(56px, min(2.916667vw, 5.185185vh), 81.2px);
  }

  .verdict__final {
    font-size: clamp(28px, min(1.458333vw, 2.592593vh), 42px);
  }
}

/* 1080p and 2160p: the complete 1280×720 composition, scaled. */
@media (min-width: 1600px) and (max-width: 2200px) and (min-height: 900px) and (max-height: 1250px),
       (min-width: 3200px) and (max-width: 4400px) and (min-height: 1800px) and (max-height: 2500px) {
  .verdict {
    --verdict-s: min(calc(100vw / 1280), calc(100vh / 720));
    padding: calc(79.36 * var(--verdict-s)) calc(64 * var(--verdict-s)) calc(104.96 * var(--verdict-s));
  }

  .verdict::before {
    top: calc(12.8 * var(--verdict-s));
    width: min(calc(980 * var(--verdict-s)), 78vw);
    height: calc(1 * var(--verdict-s));
    box-shadow: 0 0 calc(28 * var(--verdict-s)) rgb(var(--rgb-gold-ui) / 0.16);
  }

  .verdict__inner {
    width: min(calc(1120 * var(--verdict-s)), 100%);
    padding-block: calc(15.36 * var(--verdict-s));
  }

  .verdict__inner::before {
    width: min(calc(760 * var(--verdict-s)), 70vw);
    height: calc(179.2 * var(--verdict-s));
    filter: blur(calc(10 * var(--verdict-s)));
  }

  .verdict__inner::after {
    bottom: calc(-28 * var(--verdict-s));
    width: min(calc(520 * var(--verdict-s)), 58vw);
    height: calc(1 * var(--verdict-s));
    box-shadow: 0 0 calc(18 * var(--verdict-s)) rgb(var(--rgb-gold-ui) / 0.18);
  }

  .verdict__title {
    max-width: min(calc(1080 * var(--verdict-s)), 100%);
    text-shadow:
      0 calc(1 * var(--verdict-s)) 0 rgb(255 255 255 / 0.06),
      0 calc(18 * var(--verdict-s)) calc(48 * var(--verdict-s)) rgb(0 0 0 / 0.58);
  }

  .verdict__subject {
    font-size: calc(28.16 * var(--verdict-s));
  }

  .verdict__finding {
    margin-top: calc(16 * var(--verdict-s));
    font-size: calc(44.16 * var(--verdict-s));
    filter: drop-shadow(0 calc(16 * var(--verdict-s)) calc(34 * var(--verdict-s)) rgb(0 0 0 / 0.5));
  }

  .verdict__rule {
    width: min(calc(620 * var(--verdict-s)), 62vw);
    height: calc(1 * var(--verdict-s));
    margin: calc(28.8 * var(--verdict-s)) auto calc(25.6 * var(--verdict-s));
    box-shadow: 0 0 calc(24 * var(--verdict-s)) rgb(var(--rgb-gold-ui) / 0.2);
  }

  .verdict__rule::before {
    width: calc(7 * var(--verdict-s));
    height: calc(7 * var(--verdict-s));
    box-shadow:
      0 0 0 calc(5 * var(--verdict-s)) rgb(0 0 0 / 0.28),
      0 0 calc(18 * var(--verdict-s)) rgb(var(--rgb-gold-ui) / 0.42);
  }

  .verdict__final {
    font-size: calc(22.4 * var(--verdict-s));
  }

  .verdict__final + .verdict__final {
    margin-top: calc(6.4 * var(--verdict-s));
  }
}
