.insights {
  --green: #1ac71a;
  --brown: #d99663;
  --ink: #111111;
  --white: #ffffff;
  --muted: #686868;
  --line: #d9d9d9;
  --soft: #f5f5f1;
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}

.insights * {
  box-sizing: border-box;
}

.insights-inner {
  width: min(1440px, calc(100% - 80px));
  margin: 0 auto;
}

/* =========================================================
HERO
========================================================= */

.insights-hero {
  min-height: 94vh;
  padding: 150px 0 85px;
  display: grid;
  grid-template-columns: 170px 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 55px;
  border-bottom: 1px solid var(--ink);
}

.insights-hero-marker {
  display: flex;
  gap: 18px;
  align-items: center;
  align-self: start;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
}

.insights-hero-number {
  color: var(--green);
}

.insights-hero-number::after {
  content: "/";
  margin-left: 18px;
  color: var(--line);
}

.insights-hero-main {
  align-self: center;
}

.insights-hero-title {
  margin: 0;
  max-width: 1150px;
  font-size: clamp(76px, 10.5vw, 158px);
  line-height: .82;
  letter-spacing: -.08em;
  font-weight: 500;
}

.insights-hero-title span {
  display: block;
}

.insights-hero-title span:last-child {
  margin-left: 12%;
  color: var(--green);
}

.insights-hero-bottom {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
}

.insights-hero-intro {
  max-width: 570px;
  margin: 80px 0 0;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -.015em;
}

.insights-hero-note {
  margin: 80px 0 0;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
FEATURED
========================================================= */

.insights-featured {
  padding: 145px 0 165px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 55px;
}

.insights-section-marker {
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 700;
}

.insights-featured-content {
  min-width: 0;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 35px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}

.featured-meta:first-child {
  color: var(--muted);
}

.featured-meta span:first-child {
  color: var(--green);
}

.featured-meta-separator {
  color: var(--line);
}

.featured-title {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(48px, 6.5vw, 94px);
  line-height: .9;
  letter-spacing: -.065em;
  font-weight: 500;
}

.featured-title a {
  color: var(--ink);
  text-decoration: none;
}

.featured-title a:hover {
  color: var(--green);
}

.featured-excerpt {
  max-width: 580px;
  margin: 40px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.featured-flow {
  margin-top: 85px;
  min-height: 130px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.insight-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.insight-flow-node {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid #cfcfcf;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

.insight-flow-node:first-child {
  border-color: var(--green);
}

.insight-flow-node:last-child {
  border-color: var(--brown);
}

.insight-flow-connector {
  width: 48px;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.insight-flow-connector::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: rotate(45deg);
}

.featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}

.featured-footer a {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  transition: gap .25s ease;
}

.featured-footer a:hover {
  gap: 38px;
}

.featured-footer a span:last-child {
  color: var(--green);
  font-size: 20px;
}

/* =========================================================
JOURNAL
========================================================= */

.insights-journal {
  padding: 135px 0 150px;
  border-top: 1px solid var(--ink);
}

.insights-journal-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 85px;
}

.insights-journal-heading {
  margin: 0;
  font-size: clamp(70px, 9vw, 135px);
  line-height: .78;
  letter-spacing: -.08em;
  font-weight: 500;
  text-transform: lowercase;
}

.insights-journal-note {
  max-width: 420px;
  margin: 0 0 4px auto;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.insights-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.insights-filter {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 19px 25px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease,
background .2s ease;
}

.insights-filter:first-child {
  border-left: 1px solid var(--line);
}

.insights-filter:hover,
.insights-filter.is-active {
  background: var(--ink);
  color: var(--white);
}

.insights-filter.is-active {
  color: var(--green);
}

/* =========================================================
JOURNAL ITEMS
========================================================= */

.journal-list {
  border-bottom: 1px solid var(--ink);
}

.journal-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 45px;
  padding: 65px 0 70px;
  border-bottom: 1px solid var(--line);
}

.journal-item:last-child {
  border-bottom: 0;
}

.journal-index {
  padding-top: 5px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--brown);
  font-weight: 700;
}

.journal-content {
  min-width: 0;
}

.journal-meta {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.journal-meta span:first-child {
  color: var(--green);
}

.journal-title {
  max-width: 900px;
  margin: 0;
  font-size: clamp(35px, 4.3vw, 62px);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 500;
}

.journal-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}

.journal-title a:hover {
  color: var(--green);
}

.journal-excerpt {
  max-width: 590px;
  margin: 27px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.journal-flow {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.journal-flow .insight-flow-node {
  min-height: 30px;
  padding: 0 12px;
  font-size: 8px;
}

.journal-flow .insight-flow-connector {
  width: 28px;
}

.journal-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  transition: gap .25s ease;
}

.journal-link:hover {
  gap: 28px;
}

.journal-link span:last-child {
  color: var(--green);
  font-size: 18px;
}

.journal-empty {
  margin: 0;
  padding: 65px 0;
  color: var(--muted);
  font-size: 16px;
}

/* =========================================================
CLOSING
========================================================= */

.insights-close {
  margin-left: calc((1440px - 100vw) / 2);
  width: 100vw;
  padding: 125px max(40px, calc((100vw - 1440px) / 2)) 110px;
  background: var(--ink);
  color: var(--white);
}

.insights-close-label {
  margin: 0 0 70px;
  color: var(--brown);
  font-size: 11px;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 700;
}

.insights-close-title {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(68px, 9vw, 138px);
  line-height: .8;
  letter-spacing: -.08em;
  font-weight: 500;
}

.insights-close-title span {
  display: block;
}

.insights-close-title span:last-child {
  margin-left: 18%;
  color: var(--green);
}

.insights-close-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-top: 110px;
  padding-top: 25px;
  border-top: 1px solid #3b3b3b;
}

.insights-close-footer p {
  max-width: 330px;
  margin: 0;
  color: #999;
  font-size: 14px;
  line-height: 1.5;
}

.insights-close-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: gap .25s ease;
}

.insights-close-link:hover {
  gap: 45px;
}

.insights-close-arrow {
  color: var(--green);
  font-size: 23px;
}

/* =========================================================
REVEAL
========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease,
transform .8s cubic-bezier(.2,.7,.2,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 1000px) {
  .insights-inner {
    width: min(100% - 48px, 1440px);
  }

  .insights-hero {
    grid-template-columns: 100px 1fr;
    gap: 30px;
    min-height: 82vh;
    padding-top: 120px;
  }

  .insights-featured {
    grid-template-columns: 100px 1fr;
    gap: 30px;
  }

  .insights-journal-header {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .insights-journal-note {
    margin-left: 0;
  }

  .journal-item {
    grid-template-columns: 70px 1fr;
    gap: 25px;
  }

  .insights-close {
    margin-left: calc((1440px - 100vw) / 2);
  }

}

@media (max-width: 650px) {
  .insights-inner {
    width: calc(100% - 36px);
  }

  .insights-hero {
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    padding: 105px 0 55px;
  }

  .insights-hero-main {
    margin-top: auto;
    margin-bottom: 35px;
  }

  .insights-hero-title {
    font-size: clamp(58px, 16vw, 88px);
  }

  .insights-hero-title span:last-child {
    margin-left: 0;
  }

  .insights-hero-bottom {
    display: block;
  }

  .insights-hero-intro {
    margin: 0;
    font-size: 17px;
  }

  .insights-hero-note {
    margin: 30px 0 0;
  }

  .insights-featured {
    display: block;
    padding: 90px 0 100px;
  }

  .insights-section-marker {
    margin-bottom: 50px;
  }

  .featured-title {
    font-size: clamp(42px, 12vw, 65px);
  }

  .featured-excerpt {
    font-size: 16px;
  }

  .featured-flow {
    margin-top: 55px;
    overflow-x: auto;
  }

  .insight-flow {
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .featured-footer {
    align-items: flex-start;
    gap: 25px;
  }

  .insights-journal {
    padding: 90px 0 100px;
  }

  .insights-journal-heading {
    font-size: clamp(65px, 18vw, 100px);
  }

  .insights-journal-header {
    margin-bottom: 60px;
  }

  .insights-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .insights-filter {
    flex: 0 0 auto;
    padding: 16px 18px;
  }

  .journal-item {
    display: block;
    padding: 45px 0 50px;
  }

  .journal-index {
    display: block;
    margin-bottom: 25px;
  }

  .journal-title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .journal-excerpt {
    font-size: 15px;
  }

  .journal-flow {
    overflow-x: auto;
  }

  .journal-flow .insight-flow {
    min-width: max-content;
  }

  .insights-close {
    margin-left: -18px;
    width: calc(100vw);
    padding: 85px 18px 70px;
  }

  .insights-close-title {
    font-size: clamp(52px, 14vw, 76px);
  }

  .insights-close-title span:last-child {
    margin-left: 0;
  }

  .insights-close-footer {
    display: block;
    margin-top: 75px;
  }

  .insights-close-link {
    margin-top: 35px;
  }

}

