/* Clockwork Insights: editorial, searchable and conversion-led. */
.InsightsArchive,
.InsightSingle {
  --cw-blue: #4b37ff;
  --cw-mint: #ceffd6;
  --cw-ink: #171717;
  --cw-white: #fff;
  color: var(--cw-ink);
}
.InsightsArchive__hero {
  background: var(--cw-mint);
  box-sizing: border-box;
  min-height: 76vh;
  padding: clamp(160px, 17vw, 250px) clamp(20px, 3vw, 48px) clamp(76px, 9vw, 132px);
}
.InsightsArchive__eyebrow,
.HomeInsights__eyebrow {
  font-size: 14px;
  letter-spacing: .08em;
  line-height: 1;
  margin: 0 0 38px;
  text-transform: uppercase;
}
.InsightsArchive__hero h1 {
  font-size: clamp(90px, 17vw, 270px);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .75;
  margin: 0;
}
.InsightsArchive__intro {
  font-size: clamp(25px, 3.2vw, 50px);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: clamp(70px, 10vw, 150px) 0 0 auto;
  max-width: 22ch;
}
.InsightsArchive__tools {
  background: var(--cw-white);
  padding: 36px clamp(20px, 3vw, 48px);
}
.InsightsFilter {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr repeat(3, 1fr) auto;
}
.InsightsFilter label {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.InsightsFilter label > span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.InsightsFilter input,
.InsightsFilter select {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--cw-ink);
  border-radius: 0;
  box-sizing: border-box;
  color: var(--cw-ink);
  font: inherit;
  font-size: 17px;
  min-height: 48px;
  outline: 0;
  padding: 10px 30px 10px 0;
  width: 100%;
}
.InsightsFilter label:not(.InsightsFilter__search) {
  position: relative;
}
.InsightsFilter label:not(.InsightsFilter__search)::after {
  bottom: 17px;
  content: "↓";
  pointer-events: none;
  position: absolute;
  right: 4px;
}
.InsightsFilter input:focus-visible,
.InsightsFilter select:focus-visible {
  border-color: var(--cw-blue);
  box-shadow: 0 3px 0 var(--cw-blue);
}
.InsightsFilter button {
  align-items: center;
  background: var(--cw-blue);
  border: 2px solid var(--cw-blue);
  border-radius: 16px;
  color: var(--cw-mint);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 17px;
  gap: 28px;
  justify-content: space-between;
  min-height: 52px;
  padding: 10px 18px;
}
.InsightsFilter button:focus-visible {
  outline: 3px solid var(--cw-ink);
  outline-offset: 4px;
}
.InsightsArchive__content {
  background: var(--cw-white);
  padding: clamp(72px, 9vw, 132px) clamp(20px, 3vw, 48px);
}
.InsightsArchive__heading,
.InsightRelated__heading,
.HomeInsights__heading {
  align-items: end;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 48px;
}
.InsightsArchive__heading h2,
.InsightRelated__heading h2,
.HomeInsights__heading h2 {
  font-size: clamp(50px, 7vw, 105px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
  margin: 0;
}
.InsightsArchive__heading a,
.HomeInsights__heading a {
  color: inherit;
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.InsightsGrid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.InsightCard {
  min-width: 0;
}
.InsightCard__link {
  color: inherit;
  display: flex;
  height: 100%;
  flex-direction: column;
  text-decoration: none;
}
.InsightCard__media {
  aspect-ratio: 4 / 3;
  background: var(--cw-blue);
  border-radius: 24px;
  overflow: hidden;
}
.InsightCard__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  width: 100%;
}
.InsightCard__placeholder {
  align-items: center;
  color: var(--cw-mint);
  display: flex;
  font-size: clamp(60px, 7vw, 112px);
  height: 100%;
  justify-content: center;
  letter-spacing: -.08em;
}
.InsightCard__placeholder span {
  display: inline-block;
  transform: translateY(-.08em) rotate(18deg);
}
.InsightCard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 4px 0;
}
.InsightCard__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 27px;
}
.InsightCard__topics span {
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 5px 9px;
  text-transform: uppercase;
}
.InsightCard h2 {
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 24px 0 16px;
}
.InsightCard p {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 36px;
}
.InsightCard__meta {
  align-items: center;
  border-top: 1px solid rgba(23, 23, 23, .3);
  display: flex;
  font-size: 13px;
  gap: 14px;
  margin-top: auto;
  padding-top: 14px;
}
.InsightCard__meta b {
  font-size: 20px;
  font-weight: 400;
  margin-left: auto;
}
.InsightCard--sample {
  opacity: .96;
}
.InsightsPagination {
  margin-top: 70px;
}
.InsightsPagination .nav-links {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.InsightsPagination a,
.InsightsPagination .current {
  align-items: center;
  border: 1px solid var(--cw-ink);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 13px;
  text-decoration: none;
}
.InsightsPagination .current {
  background: var(--cw-blue);
  border-color: var(--cw-blue);
  color: var(--cw-mint);
}
.InsightsArchive__empty {
  background: var(--cw-mint);
  border-radius: 24px;
  grid-column: 1 / -1;
  padding: clamp(34px, 6vw, 80px);
}
.InsightsArchive__empty h2 {
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .95;
  margin: 0 0 28px;
}
.InsightsArchive__empty p {
  font-size: 22px;
  max-width: 40ch;
}
.InsightsArchive__empty a {
  color: inherit;
  font-size: 18px;
  text-underline-offset: .25em;
}

/* Article */
.InsightSingle__hero {
  background: var(--cw-blue);
  color: var(--cw-mint);
  min-height: 88vh;
  padding: clamp(170px, 18vw, 270px) clamp(20px, 3vw, 48px) clamp(72px, 9vw, 120px);
}
.InsightSingle__kicker {
  display: flex;
  gap: 9px;
  margin-bottom: 40px;
}
.InsightSingle__kicker span {
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .05em;
  padding: 6px 10px;
  text-transform: uppercase;
}
.InsightSingle__hero h1 {
  font-size: clamp(58px, 8.5vw, 138px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .88;
  margin: 0;
  max-width: 13ch;
}
.InsightSingle__standfirst {
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: clamp(55px, 8vw, 110px) 0 0 auto;
  max-width: 25ch;
}
.InsightSingle__meta {
  border-top: 1px solid currentColor;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 55px;
  padding-top: 16px;
}
.InsightSingle__image {
  background: var(--cw-mint);
  margin: 0;
  padding: clamp(20px, 3vw, 48px);
}
.InsightSingle__image img {
  border-radius: 28px;
  display: block;
  height: min(74vh, 850px);
  object-fit: cover;
  width: 100%;
}
.InsightSingle__layout {
  background: var(--cw-white);
  display: grid;
  gap: clamp(50px, 9vw, 150px);
  grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr);
  padding: clamp(80px, 10vw, 150px) clamp(20px, 8vw, 150px);
}
.InsightSingle__aside {
  align-self: start;
  display: grid;
  gap: 44px;
  position: sticky;
  top: 130px;
}
.InsightSingle__audience {
  display: grid;
  gap: 8px;
}
.InsightSingle__audience > span {
  font-size: 12px;
  letter-spacing: .08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.InsightSingle__audience b {
  font-size: 18px;
  font-weight: 400;
}
.InsightSingle__cta {
  background: var(--cw-blue);
  border-radius: 22px;
  color: var(--cw-mint);
  padding: 24px;
}
.InsightSingle__cta h2 {
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0 0 38px;
}
.InsightSingle__cta a {
  border-top: 1px solid currentColor;
  color: inherit;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-top: 14px;
  text-decoration: none;
}
.InsightSingle__content {
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.52;
  max-width: 760px;
}
.InsightSingle__content > *:first-child {
  margin-top: 0;
}
.InsightSingle__content h2 {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
  margin: 2em 0 .55em;
}
.InsightSingle__content h3 {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 1.7em 0 .5em;
}
.InsightSingle__content a {
  color: var(--cw-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.InsightSingle__content blockquote {
  border-left: 8px solid var(--cw-blue);
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 1.7em 0;
  padding-left: 28px;
}
.InsightSingle__content img {
  border-radius: 18px;
  height: auto;
  max-width: 100%;
}
.InsightRelated {
  background: var(--cw-mint);
  padding: clamp(72px, 9vw, 130px) clamp(20px, 3vw, 48px);
}
.InsightRelated__heading p {
  font-size: 14px;
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
}

/* Homepage feed activates automatically after the first insight is published. */
.HomeInsights {
  background: var(--cw-white);
  padding: clamp(72px, 9vw, 130px) clamp(20px, 3vw, 48px);
}
.HomeInsights__heading > div {
  display: grid;
  gap: 28px;
}

@media (hover: hover) {
  .InsightCard__link:hover .InsightCard__media img {
    transform: scale(1.035);
  }
  .InsightCard__link:hover h2 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .15em;
  }
  .InsightsFilter button:hover {
    background: var(--cw-ink);
    border-color: var(--cw-ink);
  }
}
@media (max-width: 1050px) {
  .InsightsFilter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .InsightsFilter button {
    align-self: stretch;
  }
  .InsightsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .InsightCard:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
  }
}
@media (max-width: 700px) {
  .InsightsArchive__hero {
    min-height: 680px;
    padding-top: 150px;
  }
  .InsightsArchive__hero h1 {
    font-size: clamp(88px, 28vw, 130px);
  }
  .InsightsArchive__intro {
    margin-left: 0;
  }
  .InsightsFilter,
  .InsightsGrid {
    grid-template-columns: 1fr;
  }
  .InsightsFilter button {
    margin-top: 8px;
  }
  .InsightsArchive__heading,
  .InsightRelated__heading,
  .HomeInsights__heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .InsightCard:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
  .InsightSingle__hero {
    min-height: 760px;
    padding-top: 155px;
  }
  .InsightSingle__hero h1 {
    font-size: clamp(54px, 15vw, 78px);
  }
  .InsightSingle__meta {
    display: grid;
  }
  .InsightSingle__layout {
    grid-template-columns: 1fr;
  }
  .InsightSingle__aside {
    position: static;
  }
  .InsightSingle__cta {
    order: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .InsightCard__media img {
    transition: none;
  }
}
