/* Compact editorial cover for the Insights index. */
.insights-page .insights-hero {
  overflow: hidden;
  /* Keep the hero-to-paper join free of visible section rules. */
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  --insights-blend-height: clamp(76px, 6.5vw, 106px);
  --insights-dark-clearance: clamp(64px, 6vw, 104px);
  padding: clamp(88px, 7vw, 116px) 0 calc(var(--insights-blend-height) + var(--insights-dark-clearance));
  background-color: #110d0f;
  /* Ease gently out of the dark canvas and into the exact article paper.
     Dense smootherstep stops avoid a visible shoulder at either end. */
  background-image: linear-gradient(to bottom,
    rgba(241, 238, 231, 0) 0%,
    rgba(241, 238, 231, 0.00116) 5%,
    rgba(241, 238, 231, 0.00856) 10%,
    rgba(241, 238, 231, 0.02661) 15%,
    rgba(241, 238, 231, 0.05792) 20%,
    rgba(241, 238, 231, 0.10352) 25%,
    rgba(241, 238, 231, 0.16308) 30%,
    rgba(241, 238, 231, 0.23517) 35%,
    rgba(241, 238, 231, 0.31744) 40%,
    rgba(241, 238, 231, 0.40687) 45%,
    rgba(241, 238, 231, 0.5) 50%,
    rgba(241, 238, 231, 0.59313) 55%,
    rgba(241, 238, 231, 0.68256) 60%,
    rgba(241, 238, 231, 0.76483) 65%,
    rgba(241, 238, 231, 0.83692) 70%,
    rgba(241, 238, 231, 0.89648) 75%,
    rgba(241, 238, 231, 0.94208) 80%,
    rgba(241, 238, 231, 0.97339) 85%,
    rgba(241, 238, 231, 0.99144) 90%,
    rgba(241, 238, 231, 0.99884) 95%,
    rgba(241, 238, 231, 1) 100%);
  /* Extend the paint area only; the existing padding stays unchanged. */
  background-size: 100% calc(var(--insights-blend-height) + clamp(50px, 5vw, 85px));
  background-position: center bottom;
  background-repeat: no-repeat;
}
/* The template includes a script between the hero and article section.
   Target the section directly and let its content sit at the pale end of the fade. */
.insights-page > .insights-section {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: clamp(6px, 0.8vw, 12px);
  border-top-color: transparent !important;
  box-shadow: none !important;
  background: transparent;
}
/* Keep the seam on the same paper surface even if a shared stylesheet
   supplies a section divider. This paint-only bridge crosses the join
   without changing either section's dimensions or the article rules. */
.insights-page > .insights-hero::after {
  content: none !important;
  display: none !important;
}
.insights-page > .insights-section::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  inset: -3px 0 auto !important;
  width: 100% !important;
  height: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f1eee7 !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  z-index: 2;
  pointer-events: none;
}
.insights-page .insights-section-heading {
  margin-bottom: clamp(14px, 1.3vw, 20px);
}
.insights-page .insights-card:first-child {
  padding-top: clamp(18px, 1.7vw, 26px);
}
.insights-hero-stage {
  --insights-light-x: 50%;
  --insights-light-y: 50%;
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(245px, 18vw, 290px);
  isolation: isolate;
}
.insights-page .insights-hero #insights-title {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: transparent;
  background-image:
    radial-gradient(
      ellipse 16% 58% at var(--insights-light-x) var(--insights-light-y),
      rgba(221, 210, 197, 0) 0%,
      rgba(221, 210, 197, 0) 64%,
      transparent 76%
    ),
    linear-gradient(180deg,
      rgba(242,245,243,.18) 0%,
      rgba(242,245,243,.15) 24%,
      rgba(242,245,243,.12) 58%,
      rgba(242,245,243,.09) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--brawnd-heading-font) !important;
  font-size: clamp(110px, 15vw, 230px) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.12 !important;
  padding-block: .06em;
  overflow: visible;
  letter-spacing: -.015em !important;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translate(-50%, -44%) scale(.97);
  transition: opacity .45s ease, transform .45s ease;
}
/* Match the footer wordmark's restrained light spot. */
.insights-page .insights-hero-stage.is-pointer-lit #insights-title {
  background-image:
    radial-gradient(
      ellipse 15% 54% at var(--insights-light-x) var(--insights-light-y),
      rgba(221, 210, 197, .42) 0%,
      rgba(221, 210, 197, .28) 27%,
      rgba(169, 167, 161, .12) 52%,
      transparent 72%
    ),
    linear-gradient(180deg,
      rgba(242,245,243,.18) 0%,
      rgba(242,245,243,.15) 24%,
      rgba(242,245,243,.12) 58%,
      rgba(242,245,243,.09) 100%);
}
.insights-page .insights-hero-stage.is-revealed .insights-paper {
  opacity: 0;
}
.insights-page .insights-hero-stage.is-revealed #insights-title {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: hover) {
  .insights-page .insights-paper:hover { opacity: 0; }
  .insights-page .insights-paper:hover + #insights-title {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.insights-paper {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(70%, 680px);
  height: clamp(160px, 13vw, 200px);
  overflow: visible;
  border: 1px solid rgba(241, 238, 231, .32);
  border-radius: 3px;
  background: #e9e3d9;
  box-shadow: 0 24px 65px rgba(9, 5, 7, .39);
  perspective: 1000px;
  transform: translate(-50%, -50%) rotate(-2deg);
  transition: opacity .45s ease;
}
.insights-paper::after {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(46, 35, 39, .25);
  content: '';
  pointer-events: none;
}
.insights-paper-page,
.insights-paper-turn,
.insights-paper-turn-face {
  box-sizing: border-box;
  display: block;
}
.insights-paper-page {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 20px 24px;
  overflow: hidden;
  color: #261d20;
  background: #e9e3d9;
}
.insights-paper-left { left: 0; }
.insights-paper-right { right: 0; }
.insights-paper-headline,
.insights-paper-photo,
.insights-paper-lines {
  display: block;
}
.insights-paper-headline {
  position: relative;
  width: 78%;
  height: 8px;
  margin: 20px auto 21px;
  background: #32282a;
}
.insights-paper-headline::after {
  position: absolute;
  top: 14px;
  left: 9%;
  width: 82%;
  height: 8px;
  background: #32282a;
  content: '';
}
.insights-paper-photo {
  height: 38%;
  margin-bottom: 8px;
  background: radial-gradient(ellipse at center, #9a8182 0%, #6a5057 38%, #30262b 100%);
}
.insights-paper-lines {
  position: relative;
  height: 26px;
  margin-top: 8px;
}
.insights-paper-lines::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(38, 29, 32, .42);
  box-shadow: 0 8px rgba(38, 29, 32, .42),
              0 16px rgba(38, 29, 32, .42),
              0 24px rgba(38, 29, 32, .42);
  content: '';
}
.insights-paper-lines.short { width: 72%; margin-right: auto; margin-left: auto; }
.insights-paper-turn {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  animation: insights-page-turn 12s cubic-bezier(.42, 0, .58, 1) infinite;
}
.insights-paper-turn-two { animation-delay: -6s; }
.insights-paper-turn-face {
  position: absolute;
  inset: 0;
  padding: 20px 24px;
  overflow: hidden;
  color: #261d20;
  background: #e9e3d9;
  backface-visibility: hidden;
}
.insights-paper-turn-back {
  transform: rotateY(180deg);
}
@keyframes insights-page-turn {
  0% { opacity: 1; transform: rotateY(0); }
  49.7% { opacity: 1; transform: rotateY(-180deg); }
  49.99% { opacity: 0; transform: rotateY(-180deg); }
  50%, 100% { opacity: 0; transform: rotateY(0); }
}
@media (max-width: 980px) {
  .insights-hero-stage { min-height: 240px; }
  .insights-paper { height: 170px; }
}
@media (max-width: 760px) {
  .insights-page .insights-hero { --insights-blend-height: 62px; --insights-dark-clearance: 38px; padding: 80px 0 calc(var(--insights-blend-height) + var(--insights-dark-clearance)); }
  .insights-page > .insights-section { margin-top: 0; padding-top: 6px; }
  .insights-hero-stage { min-height: clamp(180px, 48vw, 235px); }
  .insights-paper {
    width: 74%;
    height: clamp(135px, 38vw, 175px);
  }
  .insights-paper-page { padding: 15px 18px; }
  .insights-paper-turn-face { padding: 15px 18px; }
  .insights-paper-headline { margin-top: 16px; }
  .insights-paper-photo { height: 38%; }
  .insights-page .insights-hero #insights-title { font-size: clamp(52px, 15vw, 88px) !important; }
}
@media (max-width: 380px) {
  .insights-paper-page { padding: 13px 12px; }
  .insights-paper-turn-face { padding: 13px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .insights-paper-turn { display: none; animation: none; }
  .insights-page .insights-hero #insights-title,
  .insights-page .insights-paper { transition: none; }
}
