.blog-page {
  --blog-ink: #040609;
  --blog-ink-soft: #080c11;
  --blog-blue: #0a1520;
  --blog-paper: #e8e3d9;
  --blog-paper-deep: #dcd5c9;
  background: var(--blog-ink);
}

.blog-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: calc(var(--header-height) + 74px) 0 92px;
  overflow: hidden;
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(198, 168, 95, 0.11), transparent 23%),
    radial-gradient(circle at 82% 22%, rgba(55, 102, 129, 0.12), transparent 25%),
    linear-gradient(145deg, #09111a 0%, #030405 72%);
  isolation: isolate;
}

.blog-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.blog-hero-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: -3;
  width: min(86vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(198, 168, 95, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(198, 168, 95, 0.015),
    0 0 0 104px rgba(82, 128, 149, 0.012);
  transform: translate(-50%, -50%);
}

.blog-orbit {
  position: absolute;
  z-index: -2;
  max-width: none;
  opacity: 0.11;
  pointer-events: none;
  user-select: none;
}

.blog-orbit-outer {
  top: 50%;
  left: 50%;
  width: min(1080px, 150vw);
  transform: translate(-50%, -50%);
  animation: blog-orbit-right 150s linear infinite;
}

.blog-orbit-inner {
  top: 50%;
  left: 50%;
  width: min(700px, 100vw);
  opacity: 0.08;
  transform: translate(-50%, -50%) rotate(18deg);
  animation: blog-orbit-left 110s linear infinite;
}

@keyframes blog-orbit-right {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes blog-orbit-left {
  from { transform: translate(-50%, -50%) rotate(378deg); }
  to { transform: translate(-50%, -50%) rotate(18deg); }
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.blog-hero .eyebrow {
  margin-inline: auto;
}

.blog-hero h1 {
  max-width: 1020px;
  margin: 22px auto 0;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 15vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.88;
  text-wrap: balance;
}

.blog-hero-lead {
  max-width: 760px;
  margin: 30px auto 0;
  color: #a5a6a2;
  font-size: clamp(1rem, 3.5vw, 1.18rem);
  line-height: 1.75;
}

.blog-hero .hero-actions {
  justify-content: center;
}

.blog-hero .button span {
  margin-left: 9px;
}

.blog-hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  max-width: 820px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  align-items: center;
  justify-content: center;
  color: #707571;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-hero-foot span {
  display: inline-flex;
  gap: 20px;
  align-items: center;
}

.blog-hero-foot span:not(:last-child)::after {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.blog-scroll-cue {
  display: none;
}

.editorial-intro {
  background: var(--blog-paper);
  color: #17191b;
}

.editorial-intro .section-label {
  color: #75633a;
}

.editorial-intro .kicker,
.editorial-note .kicker {
  color: #735d2b;
}

.editorial-intro-copy h2,
.blog-feed-heading h2,
.editorial-note h2 {
  margin: 13px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 10vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -0.049em;
  line-height: 0.98;
  text-wrap: balance;
}

.editorial-intro-copy .body-copy {
  max-width: 760px;
  color: #56524c;
}

.editorial-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(60px, 9vw, 100px);
  border-top: 1px solid rgba(29, 30, 31, 0.2);
  border-left: 1px solid rgba(29, 30, 31, 0.2);
}

.editorial-topics span {
  display: grid;
  min-height: 62px;
  padding: 14px 18px;
  border-right: 1px solid rgba(29, 30, 31, 0.2);
  border-bottom: 1px solid rgba(29, 30, 31, 0.2);
  place-items: center;
  color: #59564f;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
  flex: 1 1 145px;
}

.blog-feed-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 2%, rgba(64, 110, 133, 0.11), transparent 25%),
    var(--blog-ink-soft);
}

.blog-feed-orbit {
  position: absolute;
  top: 12%;
  right: -340px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(198, 168, 95, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.blog-feed-orbit::before,
.blog-feed-orbit::after {
  position: absolute;
  border: 1px solid rgba(198, 168, 95, 0.05);
  border-radius: inherit;
  content: "";
}

.blog-feed-orbit::before {
  inset: 14%;
}

.blog-feed-orbit::after {
  inset: 32%;
}

.blog-feed-heading {
  position: relative;
  z-index: 2;
}

.blog-feed-heading > p {
  color: #81888a;
}

.blog-feed-heading > p span {
  color: #b2b1ab;
}

.blog-feed-status {
  display: flex;
  gap: 16px;
  min-height: 150px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  color: #7f8585;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.blog-feed-status[hidden] {
  display: none;
}

.blog-feed-status span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(198, 168, 95, 0.28);
  border-top-color: var(--gold-bright);
  border-radius: 50%;
  animation: blog-loader 900ms linear infinite;
}

.blog-feed-status.is-error span {
  display: none;
}

.blog-feed-status p {
  margin: 0;
}

@keyframes blog-loader {
  to { transform: rotate(360deg); }
}

.blog-feed {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
}

.post-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(207, 197, 171, 0.16);
  background: rgba(9, 13, 18, 0.8);
  flex-direction: column;
  transition: border-color 280ms ease, background 280ms ease, transform 340ms var(--ease);
  animation: blog-card-enter 700ms var(--ease) both;
  animation-delay: var(--post-delay, 0ms);
}

@keyframes blog-card-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card:hover {
  border-color: rgba(198, 168, 95, 0.5);
  background: #0c1218;
  transform: translateY(-5px);
}

.post-card-image-link {
  display: block;
  overflow: hidden;
  background: #030405;
}

.post-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04) brightness(0.86);
  transition: filter 400ms ease, transform 750ms var(--ease);
}

.post-card:hover .post-card-image {
  filter: saturate(1) contrast(1) brightness(0.96);
  transform: scale(1.025);
}

.post-card-body {
  display: flex;
  min-height: 290px;
  padding: 26px 24px;
  flex: 1;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: #6f787b;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.post-card-meta span:first-child {
  color: var(--gold-bright);
}

.post-card h3 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.post-card h3 a {
  transition: color 180ms ease;
}

.post-card h3 a:hover {
  color: var(--gold-bright);
}

.post-card-snippet {
  margin: 18px 0 0;
  color: #858b8b;
  font-size: 0.86rem;
  line-height: 1.75;
}

.post-card-link {
  display: inline-flex;
  gap: 10px;
  width: fit-content;
  margin-top: auto;
  padding-top: 28px;
  align-items: center;
  color: var(--gold-bright);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.post-card-link span {
  transition: transform 220ms var(--ease);
}

.post-card-link:hover span {
  transform: translateX(4px);
}

.post-card-index {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--serif);
  font-size: 5.2rem;
  line-height: 1;
  pointer-events: none;
}

.post-card--featured {
  border-color: rgba(198, 168, 95, 0.3);
}

.post-card--featured .post-card-body {
  min-height: 330px;
  background:
    radial-gradient(circle at 95% 5%, rgba(198, 168, 95, 0.09), transparent 32%),
    #0a1016;
}

.post-card--featured h3 {
  font-size: clamp(2rem, 8vw, 3.7rem);
}

.blog-load-more {
  display: flex;
  min-height: 110px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
}

.blog-load-more .button {
  min-width: min(300px, 100%);
  cursor: pointer;
}

.blog-load-more .button[hidden] {
  display: none;
}

.editorial-note {
  background: var(--blog-paper-deep);
  color: #17191b;
}

.editorial-note-grid {
  display: grid;
  gap: 40px;
}

.editorial-note h2 {
  max-width: 850px;
}

.editorial-note-copy p {
  max-width: 640px;
  margin: 0;
  color: #58564f;
  font-size: 1rem;
  line-height: 1.8;
}

.editorial-note .text-link {
  color: #725d2d;
}

.blog-noscript {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 400;
  padding: 20px;
  border: 1px solid var(--gold);
  background: #090c10;
  color: #a9a69f;
  text-align: center;
}

.blog-noscript p {
  margin: 0 0 8px;
}

.blog-noscript a {
  color: var(--gold-bright);
  text-decoration: underline;
}

@media (min-width: 540px) {
  .blog-hero .hero-actions .button {
    min-width: 220px;
  }

  .blog-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card--featured {
    grid-column: 1 / -1;
  }
}

@media (min-width: 700px) {
  .blog-hero {
    min-height: 900px;
  }

  .blog-hero h1 {
    font-size: clamp(5rem, 10vw, 8.4rem);
  }

  .blog-orbit-outer {
    width: min(1160px, 118vw);
  }

  .blog-scroll-cue {
    position: absolute;
    right: 32px;
    bottom: 38px;
    z-index: 4;
    display: flex;
    gap: 14px;
    align-items: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transform: rotate(90deg) translateX(-100%);
    transform-origin: right bottom;
  }

  .blog-scroll-cue i {
    position: relative;
    display: block;
    width: 56px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.26);
  }

  .blog-scroll-cue i::after {
    position: absolute;
    inset: 0;
    background: var(--gold);
    content: "";
    transform: translateX(-100%);
    animation: blog-scroll-line 2.2s ease-in-out infinite;
  }

  @keyframes blog-scroll-line {
    50%, 100% { transform: translateX(100%); }
  }

  .editorial-intro-grid {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 54px;
  }

  .editorial-intro-copy .body-copy {
    margin-left: auto;
  }

  .post-card--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  }

  .post-card--featured .post-card-image-link,
  .post-card--featured .post-card-image {
    height: 100%;
    min-height: 470px;
  }

  .post-card--featured .post-card-image {
    aspect-ratio: auto;
  }

  .post-card--featured .post-card-body {
    min-height: 470px;
    padding: 40px;
  }

  .editorial-note-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 80px;
    align-items: end;
  }
}

@media (min-width: 1024px) {
  .blog-hero {
    min-height: 780px;
  }

  .blog-hero h1 {
    font-size: clamp(6rem, 8vw, 8.8rem);
  }

  .blog-hero-lead {
    font-size: 1.15rem;
  }

  .blog-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .post-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.4fr) minmax(350px, 0.6fr);
  }

  .post-card-body {
    min-height: 330px;
    padding: 30px;
  }

  .post-card--featured .post-card-body {
    padding: 50px;
  }

  .blog-feed-orbit {
    right: -280px;
    width: 760px;
    height: 760px;
  }
}

@media (min-width: 1380px) {
  .blog-orbit-outer {
    width: min(1280px, 100vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-card {
    animation: none;
  }

  .post-card:hover,
  .post-card:hover .post-card-image {
    transform: none;
  }
}
