.journal-page {
  background: #141617;
  color: #f8f1e5;
}
.journal-page .top,
.journal-page .site-foot {
  background: #151720;
}
.journal-page .top [aria-current="page"] {
  color: #ffe1a0;
}
.journal-main {
  width: min(100%, 1450px);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.journal-opening {
  padding-block: clamp(44px, 6vw, 88px) clamp(30px, 4vw, 58px);
}
.journal-opening h1 {
  font-size: clamp(54px, 9.5vw, 135px);
  line-height: .86;
  margin-left: -.05em;
}
.journal-opening .eyebrow {
  margin-bottom: 18px;
}
.journal-lede,
.journal-capstone div > p:not(.eyebrow),
.journal-feed-header p:not(.eyebrow) {
  max-width: 53ch;
  margin-top: 18px;
  color: #e1d9cb;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.58;
}
.journal-capstone,
.journal-instagram {
  border-top: 1px solid #ffe1a036;
  padding-block: clamp(30px, 4.5vw, 68px);
}
.journal-capstone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(25px, 5vw, 70px);
}
.journal-capstone .eyebrow,
.journal-feed-header .eyebrow {
  margin-bottom: 12px;
}
.journal-capstone h2,
.journal-feed-header h2 {
  font: normal clamp(33px, 4.4vw, 65px) / 1.02 Georgia, serif;
  letter-spacing: -.058em;
}
.journal-page .journal-primary {
  margin-top: 22px;
  background: #ffe1a0;
  color: #1a1712;
  min-height: 44px;
}
.journal-page .journal-primary:hover {
  background: #fff0cf;
}
.journal-play {
  flex: none;
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.journal-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #ffe1a039;
  border-radius: 6px;
}
.journal-cover figcaption {
  margin-top: 10px;
  color: #d9c8ad;
  font: .69rem ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
/* The Instagram panel hovers above an open, softly lit page. */
.journal-instagram {
  position: relative;
  padding-block: clamp(54px, 7vw, 110px) 40px;
  isolation: isolate;
}
.journal-instagram::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc(-1 * var(--pad));
  background: radial-gradient(ellipse at 84% 28%, #9d66321c, transparent 54%);
  pointer-events: none;
}
.journal-feed-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: 28px;
  margin-bottom: clamp(30px, 4vw, 58px);
}
.journal-feed-header h2 {
  font-size: clamp(59px, 7.8vw, 115px);
  line-height: .94;
  letter-spacing: -.065em;
}
.journal-feed-header h2 em {
  color: #eac28f;
  font-weight: 400;
}
.journal-feed-intro {
  max-width: 29ch;
  justify-self: end;
  padding-bottom: 5px;
}
.journal-feed-intro p {
  margin-top: 0;
  margin-bottom: 22px;
}
.journal-feed-intro .text-link {
  color: #f5dfbe;
}
.feed-gallery {
  position: relative;
  isolation: isolate;
  padding-bottom: 18px;
}
.feed-gallery::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6% -3% -5%;
  background: radial-gradient(ellipse at 50% 70%, #a97c4733, transparent 67%);
  filter: blur(34px);
  pointer-events: none;
}
.feed-gallery-bar,
.feed-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.feed-gallery-bar {
  padding: 0 2px 24px;
}
.feed-gallery-account {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: .94rem;
  letter-spacing: -.025em;
}
.feed-instagram-icon {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 19px;
  border: 1.5px solid #eac28f;
  border-radius: 6px;
}
.feed-instagram-icon::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1.5px solid #eac28f;
  border-radius: 50%;
  inset: 4.5px;
}
.feed-instagram-icon::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  right: 2.5px;
  top: 2.5px;
  background: #eac28f;
}
.feed-outside-link,
.feed-dialog-bar h2 {
  font: .66rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .09em;
}
.feed-expand,
.feed-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #dfbc806b;
  border-radius: 99px;
  background: transparent;
  color: #f8e3bf;
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
}
.feed-expand[hidden] { display: none; }
.feed-expand:hover,
.feed-close:hover {
  background: #f4d8a7;
  color: #171c1b;
}
.feed-expand span { font-size: 1.25rem; }
.feed-mount {
  min-width: 0;
  perspective: 1800px;
}
.feed-window {
  container-type: inline-size;
  min-width: 0;
  background: #fff;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 38px 65px -26px #000b, 0 10px 28px -16px #e9ba7c33;
  transform: rotateX(1deg) rotateY(-.45deg);
  transform-origin: center 20%;
  transition: transform .7s ease, box-shadow .7s ease;
}
.feed-mount:hover .feed-window,
.feed-mount:focus-within .feed-window {
  transform: none;
  box-shadow: 0 44px 75px -24px #000c, 0 12px 40px -20px #e9ba7c44;
}
@keyframes feed-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
@media (prefers-reduced-motion: no-preference) {
  .feed-mount { animation: feed-float 9s ease-in-out infinite; }
  .feed-mount:hover, .feed-mount:focus-within { animation-play-state: paused; }
}
.journal-feed {
  display: block;
  width: 100%;
  height: calc(66.6667cqw + 240px);
  min-height: 440px;
  border: 0;
  background: #fff;
}
.feed-outside-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9fa79f;
  margin-top: 22px;
}
.feed-outside-link a { color: #e4ccb0; }
.feed-dialog {
  width: min(1500px, calc(100vw - 40px));
  height: calc(100dvh - 36px);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  background: #0c1011;
  color: #f8f1e5;
  border: 1px solid #d4ae7166;
  border-radius: 10px;
  overscroll-behavior: contain;
}
.feed-dialog::backdrop {
  background: #080b0eef;
  backdrop-filter: blur(12px);
}
.feed-dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 75px;
  padding: 12px clamp(18px, 3vw, 38px);
  background: #0c1011f5;
  border-bottom: 1px solid #d4ae7133;
}
.feed-dialog-bar h2 {
  font-size: .85rem;
  letter-spacing: -.015em;
}
.feed-dialog-bar h2 span {
  font-size: .7rem;
  color: #b5ac9c;
  margin-left: 12px;
}
.feed-close { flex-shrink: 0; }
.feed-close span { font-size: 1.5rem; line-height: 1; }
.feed-dialog-content { padding: 0 clamp(0px, 2vw, 30px) 30px; }
.feed-dialog .feed-window { transform: none; box-shadow: none; border-radius: 3px; }
html.feed-is-open { overflow: hidden; }
@media (max-width: 740px) {
  .journal-feed-header { grid-template-columns: 1fr; gap: 23px; }
  .journal-feed-intro { justify-self: start; max-width: 35ch; }
  .journal-feed-intro p { margin-bottom: 14px; }
    .feed-gallery-bar { gap: 10px; padding: 0 0 18px; }
  .feed-window { border-radius: 10px; transform: none; }
  .feed-expand { gap: 6px; padding-inline: 10px; font-size: .7rem; }
  .feed-outside-link { flex-direction: column; gap: 7px; }
  .feed-dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); border-radius: 6px; }
  .feed-dialog-bar { padding-inline: 12px; }
  .feed-dialog-bar h2 span { display: none; }
}
@media (max-width: 740px) {
  .journal-capstone {
    grid-template-columns: 1fr;
  }
}
