.page-head {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header) + clamp(80px, 9vw, 140px)) 0 clamp(64px, 7vw, 110px);
  background: #030303;
  color: #fff;
}

.page-head .hero-lines span,
.page-head .hero-lines span:first-child {
  border-color: rgba(255, 255, 255, .07);
}

.page-head__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.page-head h1 {
  margin: 24px 0 0;
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 540;
  line-height: .94;
  letter-spacing: -.055em;
}

.page-head__back:hover .nf-i {
  transform: translateX(-3px);
}
.page-head__back {
  justify-self: start;
}


.page-head__lead {
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 16px;
  line-height: 1.8;
}

.entry {
  max-width: 760px;
  color: #333;
  font-size: 16px;
  line-height: 1.8;
}

.entry > *:first-child {
  margin-top: 0;
}

.entry h2,
.entry h3,
.entry h4 {
  margin: 1.8em 0 .6em;
  color: var(--ink);
  font-weight: 540;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.entry h2 {
  font-size: clamp(30px, 2.6vw, 42px);
}

.entry h3 {
  font-size: clamp(23px, 1.8vw, 28px);
}

.entry a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
}

.entry ul,
.entry ol {
  padding-left: 1.2em;
}

.entry blockquote {
  margin: 2em 0;
  padding-left: 24px;
  border-left: 2px solid var(--ink);
  color: var(--ink);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -.02em;
}

.entry figure {
  margin: 2em 0;
}

.entry figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.params {
  display: grid;
  margin: 0 0 48px;
  border-top: 1px solid var(--line);
}

.params > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.params dt {
  color: var(--muted);
  font-size: 16px;
  font-weight: 640;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.params dd {
  margin: 0;
  font-size: 16px;
}

.params a {
  border-bottom: 1px solid currentColor;
}

.params--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(50px, 6vw, 80px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.params--grid > div {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.single-content {
  max-width: 900px;
  margin-bottom: clamp(50px, 6vw, 80px);
}

.single-content h2 {
  margin: 0 0 28px;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 520;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.single-content + .inv-gallery {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 70px);
}

.contact-grid > a,
.contact-grid > p {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}

.contact-grid > a:hover {
  background: var(--soft);
}

.contact-grid span {
  display: grid;
  gap: 4px;
}

.contact-grid small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 630;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-grid .nf-i {
  margin-top: 4px;
  color: var(--muted);
}

.contact-form .form-heading {
  gap: 18px;
  margin-bottom: 48px;
}

.contact-form .form-heading h2 {
  font-size: clamp(32px, 3vw, 44px);
}

.contact-form .entry {
  max-width: 760px;
  color: #666;
}

.contact-form .entry p {
  margin: 0;
}

.single-cover {
  margin: 0 0 clamp(50px, 6vw, 90px);
  overflow: hidden;
}

.single-cover img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
}

.single-aside .params > div {
  grid-template-columns: 1fr;
  gap: 6px;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(60px, 7vw, 110px);
  padding-top: 0;
  border-top: 0;
}

.post-nav a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 48%;
  font-size: 16px;
  font-weight: 540;
}

.post-nav a:last-child {
  margin-left: auto;
  text-align: right;
}

.investment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 24px;
}

.inv-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: stretch;
  gap: clamp(40px, 7vw, 120px);
}

.inv-single__image {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111;
  min-height: 420px;
}

.inv-single__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.inv-single__body .entry {
  margin-bottom: 48px;
}

.inv-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(80px, 9vw, 140px);
}

.inv-gallery a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #191919;
}

.inv-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.inv-gallery a:hover img {
  transform: scale(1.03);
}

.inv-journal {
  margin-top: clamp(80px, 9vw, 140px);
}

.inv-journal .journal-grid {
  margin-top: 40px;
}

.pagination {
  margin-top: 80px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination .page-numbers {
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #cfcfcb;
  font-size: 16px;
  transition: background .25s, color .25s, border-color .25s;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.empty-state {
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 60px var(--gutter);
  background: rgba(3, 3, 3, .96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.lightbox [data-lb-close] {
  top: 20px;
  right: var(--gutter);
}

.lightbox [data-lb-prev] {
  left: var(--gutter);
  top: 50%;
}

.lightbox [data-lb-next] {
  right: var(--gutter);
  top: 50%;
}
