/* Greystone Journal: index and article pages. Uses the global warm.css design tokens. */

.journal {
  overflow: clip;
  background: var(--bg);
}

.journal em { color: var(--accent-deep); }

/* Journal hero */
.journal-hero {
  position: relative;
  min-height: min(810px, 88svh);
  padding: calc(var(--header) + clamp(3rem, 7vw, 6rem)) 0 5.75rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(159, 192, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 192, 230, 0.055) 1px, transparent 1px),
    var(--night);
  background-size: 88px 88px;
  color: var(--cream);
  isolation: isolate;
}

.journal-hero::before {
  content: "JOURNAL";
  position: absolute;
  right: -0.04em;
  bottom: -0.03em;
  z-index: -1;
  color: transparent;
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.075em;
  -webkit-text-stroke: 1px rgba(159, 192, 230, 0.1);
  pointer-events: none;
}

.journal-hero__glow {
  position: absolute;
  top: -20rem;
  right: -9rem;
  z-index: -1;
  width: 52rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 90, 158, 0.4), rgba(31, 90, 158, 0) 68%);
  filter: blur(2px);
}

.journal-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.journal-hero__copy {
  position: relative;
  z-index: 2;
}

.journal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--accent-light);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.journal-kicker i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 0 rgba(159, 192, 230, 0.45);
  animation: journal-pulse 2.5s ease-out infinite;
}

@keyframes journal-pulse {
  70%, 100% { box-shadow: 0 0 0 12px rgba(159, 192, 230, 0); }
}

.journal-hero h1 {
  max-width: 9.4ch;
  font-size: clamp(3.4rem, 2.05rem + 4.6vw, 6.25rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.journal-hero h1 em {
  color: var(--accent-light);
  font-weight: 550;
}

.journal-hero__copy > p {
  max-width: 35rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: rgba(248, 250, 252, 0.72);
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.18rem);
  line-height: 1.7;
}

.journal-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--cream);
  font-size: var(--fs-ui);
  font-weight: 750;
  text-decoration: none;
}

.journal-hero__link span {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(248, 250, 252, 0.28);
  border-radius: 50%;
  color: var(--accent-light);
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, transform 0.4s var(--ease);
}

.journal-hero__link:hover span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(4px);
}

.js .journal-hero__copy > * {
  opacity: 0;
  transform: translateY(24px);
  animation: journal-rise 0.9s var(--ease) forwards;
}

.js .journal-hero__copy > :nth-child(1) { animation-delay: 0.08s; }
.js .journal-hero__copy > :nth-child(2) { animation-delay: 0.18s; }
.js .journal-hero__copy > :nth-child(3) { animation-delay: 0.32s; }
.js .journal-hero__copy > :nth-child(4) { animation-delay: 0.46s; }

@keyframes journal-rise {
  to { opacity: 1; transform: none; }
}

.journal-hero__visual {
  position: relative;
  width: min(100%, 31rem);
  justify-self: end;
  padding: 1.4rem 1.5rem 1.6rem 0;
}

.journal-hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: 0.8rem 8rem 0.8rem 0.8rem;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
}

.journal-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 25, 36, 0.05), rgba(15, 25, 36, 0.35)),
    linear-gradient(90deg, rgba(31, 90, 158, 0.12), transparent);
}

.journal-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: journal-hero-image 9s var(--ease) both;
}

@keyframes journal-hero-image {
  to { transform: scale(1); }
}

.js .journal-hero__visual {
  opacity: 0;
  transform: translateX(35px);
  animation: journal-visual-in 1.2s var(--ease) 0.28s forwards;
}

@keyframes journal-visual-in {
  to { opacity: 1; transform: none; }
}

.journal-hero__note {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(159, 192, 230, 0.28);
  background: rgba(15, 25, 36, 0.88);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.journal-hero__note--top {
  top: 0;
  right: 0;
  display: grid;
  gap: 0.45rem;
  width: 10.5rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  transform: translate(1.25rem, -0.4rem);
}

.journal-hero__note--top span {
  color: var(--accent-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journal-hero__note--top strong {
  font-size: 0.88rem;
  line-height: 1.45;
}

.journal-hero__note--bottom {
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transform: translate(-2rem, 0);
}

.journal-hero__note--bottom svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.4;
}

.journal-hero__note--bottom span {
  color: rgba(248, 250, 252, 0.68);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journal-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-top: 1px solid rgba(159, 192, 230, 0.16);
  background: rgba(15, 25, 36, 0.6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.journal-ticker__track {
  display: flex;
  width: max-content;
  animation: journal-ticker 34s linear infinite;
}

.journal-ticker p {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 1rem;
  color: rgba(248, 250, 252, 0.47);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.journal-ticker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
}

@keyframes journal-ticker {
  to { transform: translateX(-50%); }
}

/* Featured article */
.journal-feature {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.journal-section-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.journal-section-intro .eyebrow { margin: 0; }
.journal-section-intro p { color: var(--muted); font-size: var(--fs-ui); }

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  overflow: hidden;
  min-height: 30rem;
  border: var(--edge);
  border-radius: calc(var(--radius) + 4px);
  background: var(--card);
  box-shadow: var(--shadow);
}

.feature-story__media {
  position: relative;
  display: block;
  min-height: 30rem;
  overflow: hidden;
}

.feature-story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 25, 36, 0.36));
}

.feature-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease);
}

.feature-story:hover .feature-story__media img { transform: scale(1.035); }

.feature-story__index {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(248, 250, 252, 0.38);
  border-radius: 50%;
  background: rgba(15, 25, 36, 0.36);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.feature-story__view {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 12px 30px rgba(15, 25, 36, 0.22);
  transition: color 0.35s ease, background 0.35s ease, transform 0.45s var(--ease);
}

.feature-story__view svg,
.story-link svg,
.journal-card__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-story:hover .feature-story__view {
  background: var(--accent);
  color: #fff;
  transform: rotate(-8deg);
}

.feature-story__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.25rem);
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.story-meta > *:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0.7rem;
  border-radius: 50%;
  background: var(--accent-light);
  vertical-align: middle;
}

.feature-story__body h2 {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 1.4rem + 1.9vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.feature-story__body h2 a,
.journal-card h3 a { text-decoration: none; }

.feature-story__body > p {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.story-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--accent-deep);
  font-size: var(--fs-ui);
  font-weight: 800;
  text-decoration: none;
}

.story-link svg { transition: transform 0.4s var(--ease); }
.story-link:hover svg { transform: translateX(5px); }

/* Search, filters and article grid */
.journal-latest {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 92% 7%, rgba(159, 192, 230, 0.22), transparent 25rem),
    #ebedef;
}

.journal-latest__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.journal-latest__head .eyebrow { margin-bottom: 0.7rem; }
.journal-latest__head .section-title { color: var(--ink); }

.journal-search {
  display: grid;
  grid-template-columns: auto minmax(10rem, 1fr) auto;
  align-items: center;
  width: min(100%, 22rem);
  height: 3.35rem;
  padding: 0 0.9rem 0 1rem;
  border: 1px solid rgba(40, 52, 66, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(40, 52, 66, 0.05);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.journal-search:focus-within {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 90, 158, 0.12), 0 10px 25px rgba(40, 52, 66, 0.08);
}

.journal-search > svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.65rem;
  fill: none;
  stroke: var(--accent-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.journal-search input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.84rem;
}

.journal-search input::placeholder { color: #7b8691; }

.journal-search button {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 1.1rem;
  line-height: 1;
}

.journal-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: 2.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(40, 52, 66, 0.1);
  border-bottom: 1px solid rgba(40, 52, 66, 0.1);
}

.journal-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.journal-topics button {
  height: 2.5rem;
  padding: 0 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: var(--fs-ui);
  font-weight: 750;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.journal-topics button:hover {
  color: var(--accent-deep);
  border-color: rgba(31, 90, 158, 0.22);
}

.journal-topics button[aria-pressed="true"] {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 7px 18px rgba(23, 69, 124, 0.18);
}

.journal-topics button:active { transform: scale(0.97); }

.journal-count {
  flex: none;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 750;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.journal-card {
  min-width: 0;
  transition: opacity 0.35s ease, transform 0.55s var(--ease);
}

.journal-card.is-filtering {
  opacity: 0;
  transform: translateY(8px);
}

.journal-card article {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(40, 52, 66, 0.1);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 7px 24px rgba(40, 52, 66, 0.055);
  transition: transform 0.55s var(--ease), box-shadow 0.55s ease, border-color 0.35s ease;
}

.journal-card:hover article,
.journal-card:focus-within article {
  border-color: rgba(31, 90, 158, 0.25);
  box-shadow: 0 24px 48px rgba(40, 52, 66, 0.13);
  transform: translateY(-7px);
}

.journal-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  background: #d9dee3;
}

.journal-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 25, 36, 0.18), transparent 42%);
  pointer-events: none;
}

.journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.95s var(--ease), filter 0.5s ease;
}

.journal-card:hover .journal-card__media img,
.journal-card:focus-within .journal-card__media img { transform: scale(1.055); }

.journal-card__topic {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(15, 25, 36, 0.58);
  color: #fff;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.journal-card__arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 9px 22px rgba(15, 25, 36, 0.18);
  opacity: 0;
  transform: translateY(10px) rotate(-12deg);
  transition: opacity 0.35s ease, transform 0.5s var(--ease), color 0.3s ease, background 0.3s ease;
}

.journal-card:hover .journal-card__arrow,
.journal-card:focus-within .journal-card__arrow {
  opacity: 1;
  transform: none;
}

.journal-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.journal-card h3 {
  margin-top: 1rem;
  font-size: clamp(1.3rem, 1.1rem + 0.55vw, 1.62rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.journal-card h3 a {
  background: linear-gradient(var(--accent-deep), var(--accent-deep)) 0 100% / 0 1px no-repeat;
  transition: color 0.3s ease, background-size 0.5s var(--ease);
}

.journal-card h3 a:hover,
.journal-card h3 a:focus-visible {
  color: var(--accent-deep);
  background-size: 100% 1px;
}

.journal-card__body > p {
  display: -webkit-box;
  margin-top: 0.85rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.journal-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--accent-deep);
  font-size: var(--fs-ui);
  font-weight: 800;
  text-decoration: none;
}

.journal-card__read span { transition: transform 0.4s var(--ease); }
.journal-card__read:hover span { transform: translate(3px, -3px); }

.journal-empty {
  display: grid;
  justify-items: center;
  max-width: 32rem;
  margin: 2rem auto 0;
  padding: 3.5rem 2rem;
  border: 1px dashed rgba(31, 90, 158, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.journal-empty svg {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.journal-empty h3 { font-size: 1.25rem; }
.journal-empty p { margin: 0.4rem 0 1.25rem; color: var(--muted); }

/* Editorial principle */
.journal-principle {
  position: relative;
  overflow: hidden;
  background: var(--accent-deep);
  color: var(--cream);
}

.journal-principle::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(159, 192, 230, 0.28), transparent 30%),
    linear-gradient(115deg, transparent 0 68%, rgba(255, 255, 255, 0.04) 68% 68.3%, transparent 68.3%);
}

.journal-principle__grid {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 8rem;
  gap: 2rem;
  align-items: center;
  min-height: 20rem;
  padding-block: 4rem;
}

.journal-principle__number {
  align-self: start;
  color: var(--accent-light);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.journal-principle p {
  max-width: 20ch;
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.75rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.journal-principle__mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(248, 250, 252, 0.18);
  border-radius: 50%;
}

.journal-principle__mark svg {
  width: 72%;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: journal-spin 24s linear infinite;
}

@keyframes journal-spin {
  to { transform: rotate(360deg); }
}

/* Shared Journal CTA */
.journal-cta-wrap { padding: clamp(4.5rem, 9vw, 7rem) 0; }

.journal-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: 2rem 4rem;
  align-items: end;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: calc(var(--radius) + 4px);
  background: var(--night);
  color: var(--cream);
  box-shadow: 0 30px 70px rgba(15, 25, 36, 0.18);
  isolation: isolate;
}

.journal-cta::after {
  content: "";
  position: absolute;
  top: -10rem;
  right: -8rem;
  z-index: -1;
  width: 28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 90, 158, 0.55), transparent 67%);
}

.journal-cta__blueprint {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
}

.journal-cta__blueprint span {
  position: absolute;
  border: 1px solid var(--accent-light);
}

.journal-cta__blueprint span:nth-child(1) { top: 18%; right: 7%; width: 27%; height: 48%; }
.journal-cta__blueprint span:nth-child(2) { top: 30%; right: 17%; width: 18%; height: 50%; }
.journal-cta__blueprint span:nth-child(3) { top: 8%; right: 24%; width: 1px; height: 76%; }
.journal-cta__blueprint span:nth-child(4) { top: 57%; right: 4%; width: 38%; height: 1px; }

.journal-cta .eyebrow { color: var(--accent-light); }

.journal-cta .section-title {
  max-width: none;
  color: #fff;
  font-size: calc(clamp(1.85rem, 1.4rem + 1.35vw, 2.8rem) - 2pt);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.journal-cta .section-title em { color: var(--accent-light); }
.journal-cta__action { position: relative; z-index: 1; }
.journal-cta__action p { margin-bottom: 1.25rem; color: rgba(248, 250, 252, 0.66); }

/* Article page */
.reading-progress {
  position: fixed;
  top: var(--header);
  right: 0;
  left: 0;
  z-index: 31;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 10px rgba(31, 90, 158, 0.45);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.article-hero {
  position: relative;
  padding: calc(var(--header) + clamp(3rem, 7vw, 6rem)) 0 clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
  background:
    linear-gradient(rgba(159, 192, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 192, 230, 0.045) 1px, transparent 1px),
    var(--night);
  background-size: 96px 96px;
  color: var(--cream);
}

.article-hero__orb {
  position: absolute;
  top: -20rem;
  left: -18rem;
  width: 48rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 90, 158, 0.36), transparent 67%);
  pointer-events: none;
}

.article-breadcrumbs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  color: rgba(248, 250, 252, 0.5);
  font-size: var(--fs-small);
  font-weight: 700;
}

.article-breadcrumbs a {
  color: rgba(248, 250, 252, 0.8);
  text-decoration: none;
}

.article-breadcrumbs a:hover { color: var(--accent-light); }

.article-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
}

.article-topic {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-light);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-topic::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: currentColor;
}

.article-hero h1 {
  max-width: 12ch;
  margin-top: 1.35rem;
  font-size: clamp(2.75rem, 1.75rem + 3.35vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.05em;
}

.article-hero__copy > p {
  max-width: 39rem;
  margin-top: 1.5rem;
  color: rgba(248, 250, 252, 0.7);
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.15rem);
  line-height: 1.72;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.article-byline__mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(159, 192, 230, 0.32);
  border-radius: 50%;
  background: rgba(31, 90, 158, 0.2);
  color: var(--accent-light);
  font-size: 1rem;
  font-weight: 800;
}

.article-byline div { display: grid; gap: 0.15rem; }
.article-byline strong { font-size: var(--fs-ui); }
.article-byline div span { color: rgba(248, 250, 252, 0.5); font-size: var(--fs-small); }

.js .article-hero__copy > * {
  opacity: 0;
  transform: translateY(20px);
  animation: journal-rise 0.9s var(--ease) forwards;
}

.js .article-hero__copy > :nth-child(1) { animation-delay: 0.05s; }
.js .article-hero__copy > :nth-child(2) { animation-delay: 0.15s; }
.js .article-hero__copy > :nth-child(3) { animation-delay: 0.27s; }
.js .article-hero__copy > :nth-child(4) { animation-delay: 0.4s; }

.article-hero__figure {
  position: relative;
  min-width: 0;
}

.article-hero__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: 9rem 0.75rem 0.75rem 0.75rem;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
}

.article-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 25, 36, 0.08), rgba(15, 25, 36, 0.3));
}

.article-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero__number {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(248, 250, 252, 0.25);
  border-radius: 999px;
  background: rgba(15, 25, 36, 0.58);
  color: rgba(248, 250, 252, 0.85);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.article-hero__figure figcaption {
  margin-top: 0.75rem;
  color: rgba(248, 250, 252, 0.46);
  font-size: 0.68rem;
  line-height: 1.45;
}

.js .article-hero__figure {
  opacity: 0;
  transform: translateX(28px);
  animation: journal-visual-in 1.1s var(--ease) 0.22s forwards;
}

.article-layout {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 43rem);
  gap: clamp(3rem, 8vw, 7rem);
  justify-content: center;
  align-items: start;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.article-rail__sticky {
  position: sticky;
  top: calc(var(--header) + 2.5rem);
}

.article-rail__label {
  margin-bottom: 1rem;
  color: var(--accent-deep);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-rail ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.article-rail li { border-bottom: 1px solid var(--line); }

.article-rail nav a {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.85rem 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.35s var(--ease);
}

.article-rail nav a span {
  color: #98a2ad;
  font-size: 0.65rem;
  font-weight: 800;
}

.article-rail nav a:hover,
.article-rail nav a[aria-current="true"] {
  color: var(--accent-deep);
  transform: translateX(4px);
}

.article-rail nav a[aria-current="true"] span { color: var(--accent); }

.article-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.article-share > span:first-child {
  margin-right: 0.25rem;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 700;
}

.article-share button {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--accent-deep);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.35s var(--ease);
}

.article-share button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.article-share svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-share__status {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.4rem;
  color: var(--accent-deep);
  font-size: 0.67rem;
  font-weight: 700;
}

.article-copy {
  min-width: 0;
  color: #2d3742;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  line-height: 1.84;
}

.article-intro {
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.article-intro p + p { margin-top: 1.25rem; }
.article-intro p:first-child { color: var(--ink); font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem); line-height: 1.65; }

.article-dropcap::first-letter {
  float: left;
  margin: 0.13em 0.12em 0 0;
  color: var(--accent-deep);
  font-size: 4.45em;
  font-weight: 750;
  line-height: 0.73;
}

.article-takeaways {
  position: relative;
  margin: clamp(2.75rem, 6vw, 4.5rem) 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  overflow: hidden;
  border: 1px solid rgba(31, 90, 158, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(227, 236, 246, 0.68)),
    var(--accent-soft);
}

.article-takeaways::after {
  content: "";
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 11rem;
  aspect-ratio: 1;
  border: 1px solid rgba(31, 90, 158, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5rem rgba(31, 90, 158, 0.035), 0 0 0 3rem rgba(31, 90, 158, 0.025);
}

.article-takeaways__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.article-takeaways__head > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
}

.article-takeaways h2 {
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.article-takeaways ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
}

.article-takeaways li {
  display: grid;
  grid-template-columns: 0.8rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: baseline;
  color: #3e4a56;
  font-size: 0.88rem;
  line-height: 1.55;
}

.article-takeaways li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.article-section {
  position: relative;
  scroll-margin-top: calc(var(--header) + 2rem);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.article-takeaways + .article-section { border-top: 0; }

.article-section__number {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.article-section h2 {
  max-width: 18ch;
  margin-bottom: 1.35rem;
  color: var(--ink);
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-section p + p { margin-top: 1.2rem; }

.article-end {
  display: grid;
  justify-items: start;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.article-end__line {
  width: 5rem;
  height: 2px;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.article-end p {
  max-width: 28ch;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

.article-end a {
  display: inline-flex;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--accent-deep);
  font-size: var(--fs-ui);
  font-weight: 800;
  text-decoration: none;
}

.article-end a span { transition: transform 0.35s var(--ease); }
.article-end a:hover span { transform: translateX(4px); }

/* Related articles */
.related-journal {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #e9ecef;
}

.related-journal__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.related-journal__head .eyebrow { margin-bottom: 0.65rem; }

.related-journal__head > a {
  display: inline-flex;
  gap: 0.6rem;
  color: var(--accent-deep);
  font-size: var(--fs-ui);
  font-weight: 800;
  text-decoration: none;
}

.related-journal__head > a span { transition: transform 0.35s var(--ease); }
.related-journal__head > a:hover span { transform: translateX(4px); }

.related-journal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.related-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(40, 52, 66, 0.09);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 7px 22px rgba(40, 52, 66, 0.05);
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
}

.related-card > a:hover,
.related-card > a:focus-visible {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.related-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.related-card:hover .related-card__media img { transform: scale(1.05); }

.related-card__media span {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 25, 36, 0.62);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.related-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.related-card__body > p {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.related-card h3 {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.22;
}

.related-card__link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--accent-deep);
  font-size: var(--fs-ui);
  font-weight: 800;
}

.related-card__link i {
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.related-card:hover .related-card__link i { transform: translate(3px, -3px); }

/* Responsive */
@media (max-width: 1080px) {
  .journal-hero__grid,
  .article-hero__grid { gap: 3.5rem; }
  .journal-hero__note--bottom { transform: translate(-0.75rem, 0); }
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-story { grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); }
}

@media (max-width: 900px) {
  .journal-hero {
    min-height: 0;
    padding-bottom: 5.5rem;
  }

  .journal-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
    gap: 2.5rem;
  }

  .journal-hero__frame { aspect-ratio: 4 / 5.3; }
  .journal-hero__note--top { display: none; }
  .feature-story { grid-template-columns: minmax(0, 1fr); }
  .feature-story__media { min-height: 0; aspect-ratio: 16 / 10; }
  .feature-story__body { padding: 2.25rem; }

  .article-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .article-hero h1 { max-width: 15ch; }
  .article-hero__figure { max-width: 43rem; }
  .article-hero__image { aspect-ratio: 16 / 10; border-radius: 7rem 0.75rem 0.75rem 0.75rem; }

  .article-layout {
    grid-template-columns: minmax(0, 43rem);
    gap: 3.25rem;
  }

  .article-rail__sticky {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 2rem;
    padding: 1.5rem;
    border: var(--edge);
    border-radius: var(--radius);
    background: var(--card);
  }

  .article-rail__label { grid-column: 1 / -1; }
  .article-rail nav ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .article-rail li { border-bottom: 0; }
  .article-share { align-self: end; margin: 0; }
  .article-share__status { position: static; }
}

@media (max-width: 760px) {
  .journal-hero {
    padding-top: calc(var(--header) + 3.25rem);
  }

  .journal-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .journal-hero h1 { max-width: 8.8ch; }
  .journal-hero__visual {
    width: min(86%, 27rem);
    justify-self: center;
    margin: 1rem auto;
  }
  .journal-hero__frame { aspect-ratio: 4 / 4.2; border-radius: 0.75rem 6rem 0.75rem 0.75rem; }
  .journal-hero__note--bottom { transform: translate(-1rem, 0.3rem); }

  .journal-section-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .feature-story__media { aspect-ratio: auto; }
  .feature-story__media img { height: auto; }

  .journal-latest__head {
    align-items: stretch;
    flex-direction: column;
  }

  .journal-search { width: 100%; }
  .journal-tools { align-items: flex-start; flex-direction: column; }
  .journal-topics { flex-wrap: nowrap; width: calc(100% + var(--gutter)); padding-right: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .journal-topics::-webkit-scrollbar { display: none; }
  .journal-topics button { flex: none; }
  .journal-grid { grid-template-columns: minmax(0, 1fr); }
  .journal-card__media { aspect-ratio: auto; }
  .journal-card__media img { height: auto; }
  .journal-card__arrow { opacity: 1; transform: none; }

  .journal-principle__grid {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    min-height: 17rem;
  }
  .journal-principle__mark { display: none; }

  .journal-cta {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .journal-cta .section-title,
  .blog-index .project-cta .section-title {
    white-space: normal;
  }

  .article-hero { padding-top: calc(var(--header) + 2.5rem); }
  .article-breadcrumbs { margin-bottom: 2.5rem; }
  .article-hero__image { aspect-ratio: auto; border-radius: 5rem 0.75rem 0.75rem 0.75rem; }
  .article-hero__image img { height: auto; }
  .article-layout { padding-block: 4rem; }
  .article-rail__sticky { grid-template-columns: minmax(0, 1fr); }
  .article-rail nav ol { grid-template-columns: minmax(0, 1fr); }
  .article-share { margin-top: 1.25rem; }

  .related-journal__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-journal__grid { grid-template-columns: minmax(0, 1fr); }
  .related-card__media { aspect-ratio: auto; }
  .related-card__media img { height: auto; }
}

@media (max-width: 520px) {
  .journal-hero h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .journal-hero__visual { width: 92%; }
  .journal-hero__note--bottom { left: 0.5rem; transform: translateY(0.5rem); }
  .journal-hero__note--bottom svg { width: 2rem; height: 2rem; }
  .feature-story__body { padding: 1.5rem; }
  .feature-story__body h2 { font-size: 1.85rem; }
  .journal-card__body { padding: 1.25rem; }
  .journal-principle__grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .journal-principle__number { align-self: auto; }
  .journal-cta { padding: 2rem 1.5rem; }

  .article-hero h1 { font-size: clamp(2.55rem, 12vw, 3.5rem); }
  .article-byline { align-items: flex-start; }
  .article-takeaways { padding: 1.35rem; }
  .article-dropcap::first-letter { font-size: 3.8em; }
}

@media (prefers-reduced-motion: reduce) {
  .journal-kicker i,
  .journal-ticker__track,
  .journal-principle__mark svg,
  .journal-hero__frame img { animation: none !important; }

  .js .journal-hero__copy > *,
  .js .journal-hero__visual,
  .js .article-hero__copy > *,
  .js .article-hero__figure {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .feature-story__media img,
  .journal-card article,
  .journal-card__media img,
  .journal-card__arrow,
  .related-card > a,
  .related-card__media img { transition: none; }
}

/* Image-led Blog index */
.blog-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: min(78svh, 760px);
  min-height: 560px;
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
  isolation: isolate;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 20, 30, 0.58), rgba(12, 20, 30, 0.08) 74%),
    linear-gradient(0deg, rgba(12, 20, 30, 0.72), transparent 58%),
    linear-gradient(180deg, rgba(12, 20, 30, 0.28), transparent 28%);
}

.blog-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 1.75fr 0.82fr 0.82fr;
  gap: 3px;
  background: var(--night);
}

.blog-hero__media figure {
  position: relative;
  overflow: hidden;
}

.blog-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: blog-image-settle 7s var(--ease) both;
}

.blog-hero__media figure:nth-child(2) img { animation-delay: 0.1s; }
.blog-hero__media figure:nth-child(3) img { animation-delay: 0.2s; }

@keyframes blog-image-settle {
  to { transform: scale(1); }
}

.blog-hero__copy {
  position: relative;
  z-index: 1;
  padding: calc(var(--header) + var(--s-6)) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.blog-hero h1 {
  font-size: clamp(5rem, 3rem + 9vw, 10rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.js .blog-hero h1 {
  animation: blog-title-in 0.95s var(--ease) 0.12s both;
}

@keyframes blog-title-in {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

.blog-featured {
  padding: clamp(3.75rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.blog-section-head,
.blog-all__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.blog-section-head h2,
.blog-all__head h2 {
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.blog-section-head h2 em,
.blog-all__head h2 em {
  color: var(--accent-deep);
  font-weight: 600;
}

.blog-section-head > a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(24, 33, 43, 0.42);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-section-head > a span {
  color: var(--accent-deep);
  font-size: 1rem;
  transition: transform 0.35s var(--ease);
}

.blog-section-head > a:hover span { transform: translateY(3px); }

.featured-blogs {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: clamp(540px, 52vw, 660px);
}

.featured-blog:first-child { grid-row: 1 / -1; }

.featured-blog > a,
.blog-card article > a {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night);
  color: var(--cream);
  box-shadow: var(--shadow);
  text-decoration: none;
  isolation: isolate;
}

.featured-blog > a::after,
.blog-card article > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(10, 18, 27, 0.9), rgba(10, 18, 27, 0.14) 68%),
    linear-gradient(90deg, rgba(10, 18, 27, 0.24), transparent 58%);
  transition: background 0.45s ease;
}

.featured-blog img,
.blog-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s ease;
}

.featured-blog:hover img,
.featured-blog:focus-within img,
.blog-card:hover img,
.blog-card:focus-within img {
  transform: scale(1.045);
}

.featured-blog__body {
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.featured-blog .story-meta,
.blog-card .story-meta {
  color: rgba(248, 250, 252, 0.72);
}

.featured-blog .story-meta > *:not(:last-child)::after,
.blog-card .story-meta > *:not(:last-child)::after {
  background: var(--accent-light);
}

.featured-blog h3 {
  max-width: 19ch;
  margin-top: 0.8rem;
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.featured-blog:first-child h3 {
  font-size: clamp(2.25rem, 1.4rem + 2.7vw, 4rem);
  line-height: 1;
}

.featured-blog__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  color: rgba(248, 250, 252, 0.88);
  font-size: var(--fs-ui);
  font-weight: 800;
}

.featured-blog__link i {
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.featured-blog:hover .featured-blog__link i { transform: translate(3px, -3px); }

.blog-all {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 92% 7%, rgba(159, 192, 230, 0.22), transparent 25rem),
    #e9ecef;
}

.blog-controls {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
}

.blog-controls .journal-search {
  width: min(100%, 18rem);
  height: 3rem;
}

.blog-topic-select {
  display: grid;
  grid-template-columns: auto minmax(10rem, 12rem);
  align-items: center;
  gap: 0.65rem;
}

.blog-topic-select label {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.blog-topic-select select {
  width: 100%;
  height: 3rem;
  padding: 0 2.5rem 0 1rem;
  border: 1px solid rgba(40, 52, 66, 0.14);
  border-radius: 999px;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2317457c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center / 0.7rem;
  color: var(--ink);
  font-size: var(--fs-ui);
  font-weight: 700;
}

.blog-topic-select select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 90, 158, 0.12);
}

.blog-all > .wrap > .journal-count {
  margin: -0.75rem 0 1.25rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.blog-card {
  min-width: 0;
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
}

.blog-card.is-filtering {
  opacity: 0;
  transform: translateY(8px);
}

.blog-card article { height: 100%; }

.blog-card article > a {
  min-height: clamp(330px, 34vw, 440px);
}

.blog-card__body {
  width: min(100%, 34rem);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.blog-card h3 {
  max-width: 21ch;
  margin-top: 0.75rem;
  font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.blog-card__arrow {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-deep);
  opacity: 0;
  transform: translateY(10px) rotate(-10deg);
  transition: opacity 0.35s ease, transform 0.45s var(--ease), background 0.3s ease, color 0.3s ease;
}

.blog-card__arrow svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-card:hover .blog-card__arrow,
.blog-card:focus-within .blog-card__arrow {
  opacity: 1;
  transform: none;
}

.blog-card:hover .blog-card__arrow {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 960px) {
  .featured-blogs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    height: auto;
  }

  .featured-blog:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .featured-blog:first-child > a { min-height: 470px; }
  .featured-blog:not(:first-child) > a { min-height: 340px; }

  .blog-all__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-controls { width: 100%; }
  .blog-controls .journal-search { flex: 1; max-width: none; }
}

@media (max-width: 760px) {
  .blog-hero {
    height: 68svh;
    min-height: 500px;
  }

  .blog-hero__media {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 0.8fr;
  }

  .blog-hero__media figure:first-child { grid-row: 1 / -1; }
  .blog-hero__media figure:nth-child(3) { grid-column: 2; }
  .blog-hero h1 { font-size: clamp(4.8rem, 26vw, 7.5rem); }

  .featured-blogs,
  .blog-grid { grid-template-columns: minmax(0, 1fr); }

  .featured-blog:first-child { grid-column: auto; }
  .featured-blog:first-child > a,
  .featured-blog:not(:first-child) > a,
  .blog-card article > a {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .featured-blog:first-child h3 { font-size: clamp(1.9rem, 7.4vw, 2.65rem); }
  .featured-blog h3,
  .blog-card h3 { padding-right: 2.5rem; }

  .blog-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-topic-select {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .blog-card__arrow {
    width: 2.65rem;
    height: 2.65rem;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  .blog-hero__media {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .blog-hero__media figure:not(:first-child) { display: none; }
  .blog-section-head { align-items: flex-end; }

  .featured-blog:first-child > a,
  .featured-blog:not(:first-child) > a,
  .blog-card article > a { aspect-ratio: 3 / 3.25; }

  .featured-blog__body,
  .blog-card__body { padding: 1.25rem; }
  .blog-card__arrow { right: 1rem; bottom: 1rem; }
  .blog-topic-select { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero__media img,
  .js .blog-hero h1 { animation: none !important; }

  .js .blog-hero h1 { opacity: 1; transform: none; clip-path: none; }

  .featured-blog img,
  .blog-card img,
  .blog-card__arrow { transition: none; }
}

/* Editorial Blog index */
.blog-index {
  background: #f3f4f2;
}

.blog-index .blog-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: min(68svh, 720px);
  min-height: 520px;
  padding: calc(var(--header) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
}

.blog-index .blog-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 16, 24, 0.78) 0%, rgba(9, 16, 24, 0.4) 44%, rgba(9, 16, 24, 0.08) 78%),
    linear-gradient(0deg, rgba(9, 16, 24, 0.72) 0%, rgba(9, 16, 24, 0.1) 58%, transparent 78%),
    linear-gradient(180deg, rgba(9, 16, 24, 0.36) 0%, transparent 30%);
  pointer-events: none;
}

.blog-hero__backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.blog-hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.06);
  animation: blog-hero-drift 11s ease-out both;
}

.blog-index .blog-hero__copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  padding: 0;
}

.blog-index .blog-hero h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.75rem, 2.8rem + 3.8vw, 6.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.32);
}

.blog-index .blog-hero h1 em {
  color: var(--accent-light);
  font-weight: 600;
}

.blog-hero__lede {
  max-width: 34rem;
  margin-top: 1rem;
  color: rgba(248, 250, 252, 0.9);
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.15rem);
  font-weight: 650;
  line-height: 1.45;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.42);
}

.blog-hero__lede em {
  color: var(--accent-light);
  font-weight: 650;
}

.js .blog-index .blog-hero h1 {
  animation: blog-title-in 0.9s var(--ease) 0.12s both;
}

.js .blog-hero__lede {
  animation: blog-lede-in 0.75s var(--ease) 0.36s both;
}

@keyframes blog-hero-drift {
  from { transform: scale(1.1); }
  to { transform: scale(1.02); }
}

@keyframes blog-lede-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.blog-index .blog-featured {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
  background: #f7f7f5;
  isolation: isolate;
}

.blog-index .blog-featured::before,
.blog-index .blog-featured::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(31, 90, 158, 0.09);
  border-radius: 50%;
  pointer-events: none;
  animation: blog-shape-float 10s ease-in-out infinite alternate;
}

.blog-index .blog-featured::before {
  top: 5rem;
  right: -8rem;
  width: 23rem;
  aspect-ratio: 1;
  box-shadow: 0 0 0 3rem rgba(31, 90, 158, 0.025);
}

.blog-index .blog-featured::after {
  bottom: 6rem;
  left: -5rem;
  width: 12rem;
  aspect-ratio: 1;
  animation-delay: -4s;
}

@keyframes blog-shape-float {
  to { transform: translate3d(0, 18px, 0) scale(1.04); }
}

.blog-index .blog-section-head,
.blog-index .blog-all__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.blog-index .blog-section-head h2,
.blog-index .blog-all__head h2 {
  color: var(--ink);
  font-size: var(--fs-section);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.blog-index .blog-section-head > a {
  font-size: 0.7rem;
}

.featured-editorial {
  min-height: 0;
}

.featured-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(21rem, 0.8fr);
  min-height: 470px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(40, 52, 66, 0.1);
  border-radius: var(--radius-media);
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(40, 52, 66, 0.08);
  transition: border-color 0.35s ease, box-shadow 0.55s var(--ease), transform 0.55s var(--ease);
}

.featured-lead:hover,
.featured-lead:focus-within {
  border-color: rgba(31, 90, 158, 0.26);
  box-shadow: 0 24px 58px rgba(40, 52, 66, 0.14);
  transform: translateY(-5px);
}

.featured-lead__media {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--night);
}

.featured-lead__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 30, 0.04), rgba(12, 20, 30, 0.2));
  pointer-events: none;
}

.featured-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease);
}

.featured-lead:hover .featured-lead__media img,
.featured-lead:focus-within .featured-lead__media img {
  transform: scale(1.045);
}

.featured-lead__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.featured-lead__content .story-meta,
.featured-side__content .story-meta,
.blog-index .blog-card .story-meta {
  color: #68737e;
}

.featured-lead__content .story-meta > *:not(:last-child)::after,
.featured-side__content .story-meta > *:not(:last-child)::after,
.blog-index .blog-card .story-meta > *:not(:last-child)::after {
  background: var(--accent);
}

.featured-lead h3 {
  max-width: 16ch;
  margin-top: 1rem;
  font-size: clamp(1.75rem, 1.4rem + 0.85vw, 2.35rem);
  line-height: 1.09;
  letter-spacing: -0.035em;
}

.featured-lead h3 a {
  text-decoration: none;
}

.featured-lead__content > p {
  max-width: 38rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.featured-lead__topic {
  color: var(--accent-deep);
}

.featured-lead__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--accent-deep);
  font-size: var(--fs-ui);
  font-weight: 800;
  text-decoration: none;
}

.featured-lead__link svg,
.blog-card__read svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}

.featured-lead__link:hover svg,
.featured-lead__link:focus-visible svg,
.blog-card__read:hover svg,
.blog-card__read:focus-visible svg {
  transform: translateX(4px);
}

.featured-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.featured-side__item {
  min-width: 0;
}

.featured-side__item > a {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 235px;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(40, 52, 66, 0.1);
  border-radius: var(--radius-media);
  background: #ffffff;
  box-shadow: 0 9px 28px rgba(40, 52, 66, 0.065);
  text-decoration: none;
  transition: border-color 0.35s ease, box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.featured-side__item > a:hover,
.featured-side__item > a:focus-visible {
  border-color: rgba(31, 90, 158, 0.25);
  box-shadow: 0 20px 45px rgba(40, 52, 66, 0.13);
  transform: translateY(-5px);
}

.featured-side__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--night);
}

.featured-side__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.featured-side__item:hover .featured-side__media img,
.featured-side__item:focus-within .featured-side__media img {
  transform: scale(1.055);
}

.featured-side__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.15rem 1.25rem 1.25rem;
}

.featured-side__topic {
  color: var(--accent-deep);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-side h3 {
  max-width: 22ch;
  margin-top: 0.45rem;
  padding-right: 1.7rem;
  font-size: clamp(1.05rem, 0.96rem + 0.3vw, 1.28rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.featured-side__content .story-meta {
  margin-top: 0.7rem;
  font-size: 0.61rem;
}

.featured-side__arrow {
  position: absolute;
  right: 1.2rem;
  bottom: 1.15rem;
  color: var(--accent-deep);
  font-size: 1rem;
  transition: transform 0.4s var(--ease);
}

.featured-side__item:hover .featured-side__arrow,
.featured-side__item:focus-within .featured-side__arrow {
  transform: translate(3px, -3px);
}

.blog-index .blog-all {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 94% 4%, rgba(159, 192, 230, 0.24), transparent 24rem),
    #e9ecef;
  scroll-margin-top: var(--header);
}

.blog-index .blog-all__head {
  display: block;
  margin-bottom: 1.25rem;
}

.blog-index .blog-all__head .journal-count {
  margin-top: 0.55rem;
  color: #64707b;
  font-size: 0.73rem;
}

.blog-filter-shell {
  position: sticky;
  top: calc(var(--header) + 0.7rem);
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 0.65rem;
  border: 1px solid rgba(40, 52, 66, 0.11);
  border-radius: var(--radius-media);
  background: rgba(249, 250, 250, 0.9);
  box-shadow: 0 12px 32px rgba(40, 52, 66, 0.1);
  backdrop-filter: blur(16px);
}

.blog-topics {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-topics button {
  flex: none;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #5a6671;
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.blog-topics button:hover {
  border-color: rgba(31, 90, 158, 0.2);
  color: var(--accent-deep);
}

.blog-topics button[aria-pressed="true"] {
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(23, 69, 124, 0.18);
}

.blog-topics button:active {
  transform: scale(0.97);
}

.blog-index .blog-controls {
  display: block;
  flex: 0 1 17rem;
}

.blog-index .blog-controls .journal-search {
  width: 100%;
  height: 2.65rem;
  border-color: rgba(40, 52, 66, 0.12);
  background: #ffffff;
  box-shadow: none;
}

.blog-index .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.blog-index .blog-card {
  min-width: 0;
  transition: opacity 0.35s ease, transform 0.5s var(--ease);
}

.blog-index .blog-card article {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(40, 52, 66, 0.1);
  border-radius: var(--radius-media);
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(40, 52, 66, 0.06);
  transition: border-color 0.35s ease, box-shadow 0.55s var(--ease), transform 0.55s var(--ease);
}

.blog-index .blog-card:hover article,
.blog-index .blog-card:focus-within article {
  border-color: rgba(31, 90, 158, 0.25);
  box-shadow: 0 22px 48px rgba(40, 52, 66, 0.13);
  transform: translateY(-6px);
}

.blog-index .blog-card__media {
  position: relative;
  display: block;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background: var(--night);
  box-shadow: none;
  color: #ffffff;
  isolation: auto;
}

.blog-index .blog-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 30, 0.14), transparent 40%);
  pointer-events: none;
}

.blog-index .blog-card__media img {
  position: static;
  inset: auto;
  z-index: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s ease;
}

.blog-index .blog-card:hover .blog-card__media img,
.blog-index .blog-card:focus-within .blog-card__media img {
  transform: scale(1.055);
}

.blog-card__topic {
  position: absolute;
  z-index: 1;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.36rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(12, 20, 30, 0.56);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.blog-index .blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: auto;
  padding: 1.25rem 1.3rem 1.35rem;
}

.blog-index .blog-card h3 {
  max-width: 22ch;
  margin-top: 0.8rem;
  padding: 0;
  font-size: clamp(1.18rem, 1.04rem + 0.42vw, 1.48rem);
  line-height: 1.18;
  letter-spacing: -0.027em;
}

.blog-index .blog-card h3 a {
  text-decoration: none;
  background: linear-gradient(var(--accent-deep), var(--accent-deep)) 0 100% / 0 1px no-repeat;
  transition: color 0.3s ease, background-size 0.45s var(--ease);
}

.blog-index .blog-card h3 a:hover,
.blog-index .blog-card h3 a:focus-visible {
  color: var(--accent-deep);
  background-size: 100% 1px;
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.blog-index .journal-empty {
  margin-top: 1.5rem;
}

.blog-index .project-cta {
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

.js .featured-side__item[data-reveal],
.js .blog-card[data-reveal] {
  transition-delay: calc(var(--i, 0) * 70ms);
}

@media (max-width: 1080px) {
  .featured-lead {
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  }
}

@media (max-width: 920px) {
  .featured-lead {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
    min-height: 430px;
  }

  .featured-side__item > a {
    min-height: 225px;
  }

  .blog-filter-shell {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-topics {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .blog-topics::-webkit-scrollbar {
    display: none;
  }

  .blog-index .blog-controls {
    flex-basis: auto;
    width: 100%;
  }

  .blog-index .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .blog-index .blog-hero {
    height: 62svh;
    min-height: 470px;
    padding: calc(var(--header) + 2rem) 0 3rem;
  }

  .blog-index .blog-hero h1 {
    font-size: clamp(3.5rem, 16vw, 4.9rem);
  }

  .blog-hero__backdrop img {
    object-position: 58% center;
  }

  .featured-lead {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .featured-lead__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .featured-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-side__item > a {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-rows: minmax(0, 1fr);
    min-height: 220px;
  }

  .featured-side__media {
    min-height: 100%;
  }

  .blog-filter-shell {
    top: calc(var(--header) + 0.4rem);
  }

  .blog-index .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-index .blog-card__media {
    aspect-ratio: 16 / 9.5;
  }
}

@media (max-width: 520px) {
  .blog-index .blog-hero {
    height: 58svh;
    min-height: 440px;
  }

  .featured-side__item > a {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 190px auto;
  }

  .featured-side__media {
    min-height: 190px;
  }

  .blog-filter-shell {
    margin-inline: calc(var(--gutter) * -0.25);
    border-radius: 12px;
  }

  .blog-topics {
    width: calc(100% + 0.65rem);
    margin-right: -0.65rem;
    padding-right: 0.65rem;
  }

  .blog-topics button {
    min-height: 2.35rem;
    padding-inline: 0.85rem;
  }

  .blog-index .blog-card__body {
    padding: 1.15rem 1.2rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero__backdrop img,
  .js .blog-index .blog-hero h1,
  .js .blog-hero__lede {
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none !important;
  }

  .blog-index .blog-featured::before,
  .blog-index .blog-featured::after {
    animation: none;
  }

  .featured-lead,
  .featured-lead__media img,
  .featured-side__item > a,
  .featured-side__media img,
  .blog-index .blog-card article,
  .blog-index .blog-card__media img {
    transition: none;
  }
}

@media (max-width: 760px) {
  .blog-card__topic,
  .featured-side__topic { font-size: 11px; }
}
