:root {
  --insight-forest: #062f27;
  --insight-forest-light: #0c493b;
  --insight-gold: #c9a85b;
  --insight-paper: #faf8f1;
  --insight-ink: #14221d;
  --insight-muted: #65716c;
}

.insight-page {
  min-height: 100vh;
  color: var(--insight-ink);
  background: var(--insight-paper);
}

.insight-reading-progress {
  position: fixed;
  z-index: 1250;
  top: 72px;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.insight-reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--insight-gold);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.insight-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.insight-hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100svh - 72px));
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 78% 35%, rgba(201, 168, 91, .18), transparent 28%),
    linear-gradient(135deg, #031c17 0%, var(--insight-forest) 52%, #0a4437 100%);
}

.insight-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -12% -32% 32%;
  height: 70%;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50% 50% 0 0;
  transform: rotate(-8deg);
}

.insight-hero-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(30deg, transparent 49.5%, rgba(255, 255, 255, .12) 50%, transparent 50.5%),
    linear-gradient(-30deg, transparent 49.5%, rgba(255, 255, 255, .08) 50%, transparent 50.5%);
  background-size: 100px 174px;
  mask-image: linear-gradient(90deg, transparent 12%, #000 70%, transparent);
}

.insight-hero-inner {
  position: relative;
  z-index: 2;
  padding: 112px 0 96px;
}

.insight-kicker {
  margin: 0 0 20px;
  color: var(--insight-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.insight-hero h1 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(3.2rem, 7.1vw, 7.2rem);
  line-height: .93;
  letter-spacing: -.055em;
}

.insight-hero h1 em {
  color: var(--insight-gold-light, #ead8a7);
  font-weight: 600;
}

.insight-deck {
  max-width: 700px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
}

.insight-start {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 13px 18px 13px 22px;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}

.insight-start span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--insight-forest);
  background: var(--insight-gold);
}

.insight-hero-seed {
  position: absolute;
  right: clamp(40px, 8vw, 130px);
  bottom: 8%;
  width: min(26vw, 340px);
  height: 55%;
  opacity: .3;
  transform: rotate(10deg);
}

.insight-hero-seed::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 48%;
  width: 2px;
  height: 100%;
  background: linear-gradient(transparent, var(--insight-gold));
  transform: rotate(-18deg);
}

.insight-hero-seed i {
  position: absolute;
  width: 62px;
  height: 26px;
  border: 1px solid var(--insight-gold);
  border-radius: 100% 0 100% 0;
  transform: rotate(-18deg);
}

.insight-hero-seed i:nth-child(1) { right: 5%; bottom: 12%; }
.insight-hero-seed i:nth-child(2) { left: 14%; bottom: 24%; transform: rotate(158deg); }
.insight-hero-seed i:nth-child(3) { right: 15%; bottom: 38%; }
.insight-hero-seed i:nth-child(4) { left: 25%; bottom: 49%; transform: rotate(158deg); }
.insight-hero-seed i:nth-child(5) { right: 25%; bottom: 63%; }
.insight-hero-seed i:nth-child(6) { left: 35%; bottom: 73%; transform: rotate(158deg); }
.insight-hero-seed i:nth-child(7) { right: 34%; bottom: 87%; }

.insight-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: clamp(50px, 8vw, 120px);
  justify-content: center;
  padding-block: clamp(80px, 10vw, 145px);
}

.insight-contents {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 34, 29, .16);
}

.insight-contents > p {
  margin: 0 0 13px;
  color: var(--insight-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.insight-contents button {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 8px;
  border: 0;
  padding: 8px 0;
  color: var(--insight-muted);
  background: transparent;
  font: inherit;
  font-size: .76rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.insight-contents button:hover,
.insight-contents button:focus-visible {
  color: var(--insight-forest);
}

.insight-contents button span {
  color: var(--insight-gold);
  font-weight: 800;
}

.insight-article {
  min-width: 0;
}

.insight-article section {
  scroll-margin-top: 112px;
}

.insight-article section + section {
  margin-top: clamp(70px, 9vw, 112px);
  padding-top: clamp(60px, 8vw, 92px);
  border-top: 1px solid rgba(20, 34, 29, .13);
}

.insight-article p {
  margin: 0 0 1.45em;
  color: #34413c;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.88;
}

.insight-article .insight-dropcap {
  color: var(--insight-ink);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.62;
}

.insight-dropcap::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  color: var(--insight-gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.2em;
  font-weight: 700;
  line-height: .72;
}

.insight-section-number {
  margin: 0 0 16px !important;
  color: var(--insight-gold) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: .75rem !important;
  font-weight: 800;
  letter-spacing: .15em;
}

.insight-article h2 {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--insight-forest);
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.insight-quote {
  position: relative;
  margin: clamp(46px, 7vw, 78px) 0;
  padding: clamp(34px, 6vw, 64px);
  overflow: hidden;
  border-radius: 24px;
}

.insight-quote blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
}

.insight-quote figcaption {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.insight-quran-quote {
  color: #fff;
  background: linear-gradient(145deg, var(--insight-forest), var(--insight-forest-light));
  box-shadow: 0 28px 70px rgba(6, 47, 39, .16);
}

.insight-quran-quote > span {
  position: absolute;
  right: -10px;
  bottom: -54px;
  color: rgba(255, 255, 255, .055);
  font-family: 'Playfair Display', serif;
  font-size: 11rem;
  font-weight: 700;
  line-height: 1;
}

.insight-quran-quote figcaption {
  color: var(--insight-gold-light, #ead8a7);
}

.insight-hadith-quote {
  border: 1px solid rgba(201, 168, 91, .42);
  color: var(--insight-forest);
  background: linear-gradient(135deg, #fff, #f4edda);
}

.insight-hadith-quote::before {
  content: "“";
  position: absolute;
  top: -38px;
  right: 24px;
  color: rgba(201, 168, 91, .18);
  font-family: Georgia, serif;
  font-size: 11rem;
  line-height: 1;
}

.insight-hadith-quote figcaption,
.insight-compact-quote figcaption {
  color: #876c2c;
}

.insight-compact-quote {
  margin: 42px 0;
  border-left: 4px solid var(--insight-gold);
  border-radius: 0 18px 18px 0;
  padding: 28px 32px;
  color: var(--insight-forest);
  background: rgba(201, 168, 91, .1);
}

.insight-compact-quote blockquote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.insight-hub-note {
  margin: 52px 0;
  border-radius: 26px;
  padding: clamp(32px, 6vw, 60px);
  color: #fff;
  background: var(--insight-forest);
}

.insight-hub-note .insight-kicker {
  color: #e2bd61;
}

.insight-hub-note h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.insight-hub-note p:not(.insight-kicker) {
  color: rgba(255, 255, 255, .72);
  font-family: 'DM Sans', sans-serif;
  font-size: .98rem;
  line-height: 1.72;
}

.insight-hub-note > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.insight-hub-note a {
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--insight-forest);
  background: var(--insight-gold);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.insight-hub-note a + a {
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  background: transparent;
}

.insight-article .insight-closing-line {
  margin: 48px 0;
  color: var(--insight-forest);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 600;
  line-height: 1.2;
}

.insight-final-quote {
  background: linear-gradient(145deg, #082b24, #0d5544);
}

.insight-next-step {
  padding: clamp(82px, 11vw, 145px) 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(201, 168, 91, .18), transparent 32%),
    #031f19;
}

.insight-next-step .insight-shell {
  max-width: 850px;
}

.insight-next-step h2 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1;
}

.insight-next-step p:not(.insight-kicker) {
  max-width: 660px;
  margin: 25px auto 34px;
  color: rgba(255, 255, 255, .68);
  font-size: 1.05rem;
  line-height: 1.7;
}

.insight-next-step > div > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.insight-outline-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  padding: 14px 22px;
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .insight-reading-progress {
    top: 68px;
  }

  .insight-hero {
    min-height: 670px;
  }

  .insight-hero-inner {
    padding-top: 94px;
  }

  .insight-hero-seed {
    right: -30px;
    width: 320px;
    opacity: .2;
  }

  .insight-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .insight-contents {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 18px;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid rgba(20, 34, 29, .12);
    border-radius: 18px;
    background: #fff;
  }

  .insight-contents > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .insight-shell {
    width: min(100% - 34px, 760px);
  }

  .insight-hero {
    min-height: calc(100svh - 68px);
  }

  .insight-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .insight-deck {
    margin-top: 25px;
    font-size: 1rem;
  }

  .insight-hero-seed {
    right: -125px;
    bottom: -5%;
    opacity: .13;
  }

  .insight-layout {
    padding-block: 66px 82px;
  }

  .insight-contents {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .insight-article section + section {
    margin-top: 62px;
    padding-top: 54px;
  }

  .insight-quote {
    margin: 40px -4px;
    padding: 30px 24px;
    border-radius: 18px;
  }

  .insight-quran-quote > span {
    font-size: 8rem;
  }

  .insight-compact-quote {
    margin-inline: 0;
    padding: 25px 22px;
  }

  .insight-hub-note {
    margin-inline: -4px;
    padding: 30px 23px;
    border-radius: 20px;
  }

  .insight-hub-note > div,
  .insight-next-step > div > div {
    display: grid;
  }

  .insight-hub-note a,
  .insight-next-step a {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insight-reading-progress {
    display: none;
  }

  .insight-start,
  .insight-contents button {
    scroll-behavior: auto;
  }
}
