/* Blog — an editorial knowledge index, led by ideas and real article imagery. */
.dr-blog-page { overflow: clip; background: var(--dr-ink-950); }

.dr-blog-hero {
  min-height: min(820px, calc(100svh - 76px));
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
  border-bottom: 1px solid var(--dr-line);
}

.dr-blog-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 10vw, 144px) clamp(40px, 6vw, 88px) clamp(72px, 8vw, 112px) var(--gx);
  background: var(--dr-ink-950);
  animation: drBlogCopyIn .8s cubic-bezier(.2,.7,.2,1) both;
}

.dr-blog-kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font: 700 .75rem/1.4 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.dr-blog-kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.dr-blog-hero h1 { max-width: 760px; margin: 24px 0 26px; color: var(--dr-white); font: 700 clamp(2.5rem, 6.4vw, 4.75rem)/1.04 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.dr-blog-hero-copy > p { max-width: 600px; margin: 0; color: var(--dr-copy); font-size: clamp(1rem, 1.35vw, 1.125rem); line-height: 1.72; }
.dr-blog-topics { display: flex; flex-wrap: wrap; gap: 0; margin-top: 42px; border-top: 1px solid var(--dr-line); border-bottom: 1px solid var(--dr-line); }
.dr-blog-topics span { flex: 1 1 auto; padding: 14px 16px 13px 0; color: var(--dr-muted); font: 700 .75rem/1.4 var(--font-display); letter-spacing: .08em; }
.dr-blog-topics span + span { padding-left: 16px; border-left: 1px solid var(--dr-line); }

button.dr-blog-feature { position: relative; display: block; min-width: 0; min-height: 680px; overflow: hidden; padding: 0; border: 0; color: inherit; background: var(--dr-ink-900); text-align: left; cursor: pointer; animation: drBlogFeatureIn 1s .08s cubic-bezier(.2,.7,.2,1) both; }
.dr-blog-feature-media, .dr-blog-feature-shade { position: absolute; inset: 0; display: block; }
.dr-blog-feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.76) contrast(1.06); transform: scale(1.015); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.dr-blog-feature-shade { background: linear-gradient(180deg, rgba(8,8,10,.12) 28%, rgba(8,8,10,.92) 100%), linear-gradient(90deg, rgba(8,8,10,.42), transparent 42%); }
.dr-blog-feature-meta { position: absolute; z-index: 2; top: clamp(28px, 4vw, 50px); left: clamp(28px, 4vw, 52px); right: clamp(28px, 4vw, 52px); display: flex; justify-content: space-between; gap: 20px; color: var(--dr-white); font-size: .75rem; font-style: normal; }
.dr-blog-feature-meta b { color: var(--gold); }
.dr-blog-feature-meta i { color: var(--dr-copy); font-style: normal; }
.dr-blog-feature-copy { position: absolute; z-index: 2; left: clamp(28px, 4vw, 52px); right: clamp(80px, 8vw, 126px); bottom: clamp(34px, 5vw, 68px); display: flex; flex-direction: column; }
.dr-blog-feature-copy strong { max-width: 20ch; color: var(--dr-white); font: 700 clamp(1.9rem, 3.4vw, 2.9rem)/1.12 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.dr-blog-feature-copy > span { max-width: 62ch; margin-top: 16px; color: var(--dr-copy); font-size: 1rem; line-height: 1.7; }
.dr-blog-feature-arrow { position: absolute; z-index: 2; right: clamp(26px, 4vw, 52px); bottom: clamp(32px, 5vw, 66px); display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid color-mix(in oklch, var(--dr-white) 42%, transparent); border-radius: 50%; color: var(--dr-white); transition: transform .28s ease, background-color .28s ease, color .28s ease; }

.dr-blog-library { padding: clamp(88px, 10vw, 142px) var(--gx); background: var(--dr-ink-950); }
.dr-blog-library > header { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(280px, .56fr); align-items: end; gap: 42px; margin-bottom: clamp(42px, 6vw, 72px); }
.dr-blog-library h2 { max-width: 820px; margin: 0; color: var(--dr-white); font: 700 clamp(2.5rem, 5.5vw, 4.75rem)/1.04 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.dr-blog-library header p { max-width: 52ch; margin: 0; color: var(--dr-copy); font-size: 1rem; line-height: 1.72; }
.dr-blog-story-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
button.dr-blog-story { grid-column: span 7; position: relative; display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr); min-width: 0; min-height: 350px; overflow: hidden; padding: 0; border: 1px solid var(--dr-line); color: inherit; background: var(--dr-ink-900); text-align: left; cursor: pointer; animation: drBlogStoryIn .66s calc(var(--story-index) * 80ms) cubic-bezier(.2,.7,.2,1) both; transition: border-color .25s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
.dr-blog-story:nth-child(4n + 2), .dr-blog-story:nth-child(4n + 3) { grid-column: span 5; grid-template-columns: 1fr; grid-template-rows: 190px 1fr; }
.dr-blog-story-media { display: block; min-height: 0; overflow: hidden; }
.dr-blog-story-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.06); transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.dr-blog-story-body { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 3vw, 38px); }
.dr-blog-story-meta { display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--dr-muted); font-size: .75rem; }
.dr-blog-story-meta b { color: var(--cyan); }
.dr-blog-story-meta i { font-style: normal; }
.dr-blog-story-body > strong { margin-top: 30px; color: var(--dr-white); font: 700 clamp(1.25rem, 2vw, 1.55rem)/1.3 var(--font-display); letter-spacing: -.025em; text-wrap: balance; }
.dr-blog-story-excerpt { display: -webkit-box; margin-top: 14px; overflow: hidden; color: var(--dr-copy); font-size: 1rem; line-height: 1.68; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.dr-blog-story-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 24px; color: var(--gold); font-weight: 700; font-size: .75rem; }
.dr-blog-story-link i { display: inline-block; font-style: normal; transition: transform .28s ease; }

.dr-blog-resource-cta { display: flex; align-items: center; justify-content: space-between; gap: 42px; padding: clamp(64px, 8vw, 102px) var(--gx); border-top: 1px solid var(--dr-line); background: var(--dr-gold-wash); }
.dr-blog-resource-cta p { max-width: 760px; margin: 0; color: var(--dr-white); font: 700 clamp(1.9rem, 4.5vw, 2.9rem)/1.12 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.dr-blog-resource-cta a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 20px; min-height: 52px; padding: 12px 20px; border-radius: 999px; background: var(--gold); color: var(--base); font-weight: 700; }

.dr-article-cover { height: min(42vw, 390px); }
.dr-article { max-width: 74ch; margin-inline: auto; padding: clamp(34px, 5vw, 58px); }

@media (hover: hover) and (pointer: fine) {
  .dr-blog-feature:hover .dr-blog-feature-media img { transform: scale(1.04); filter: saturate(.94) contrast(1.04); }
  .dr-blog-feature:hover .dr-blog-feature-arrow { transform: rotate(45deg); background: var(--gold); color: var(--base); }
  .dr-blog-story:hover { transform: translateY(-4px); border-color: color-mix(in oklch, var(--gold) 54%, transparent); }
  .dr-blog-story:hover .dr-blog-story-media img { transform: scale(1.045); filter: saturate(.96) contrast(1.04); }
  .dr-blog-story:hover .dr-blog-story-link i { transform: translate(4px, -4px); }
}

@media (max-width: 1040px) {
  .dr-blog-hero { grid-template-columns: 1fr; }
  button.dr-blog-feature { min-height: 680px; }
  .dr-blog-library > header { grid-template-columns: 1fr; align-items: start; }
  .dr-blog-story, .dr-blog-story:nth-child(n) { grid-column: span 6; grid-template-columns: 1fr; grid-template-rows: 220px 1fr; }
}

@media (max-width: 640px) {
  .dr-blog-hero-copy { padding-top: 84px; padding-right: var(--gx); padding-bottom: 62px; }
  .dr-blog-hero h1 { font-size: clamp(2.5rem, 12.5vw, 4.75rem); }
  .dr-blog-topics { margin-top: 32px; }
  .dr-blog-topics span { flex-basis: 50%; }
  .dr-blog-topics span:nth-child(3) { border-left: 0; border-top: 1px solid var(--dr-line); }
  .dr-blog-topics span:nth-child(4) { border-top: 1px solid var(--dr-line); }
  button.dr-blog-feature { min-height: 590px; }
  .dr-blog-feature-copy { right: 72px; }
  .dr-blog-feature-copy strong { font-size: clamp(1.9rem, 8.4vw, 2.9rem); }
  .dr-blog-feature-copy > span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .dr-blog-feature-arrow { width: 44px; height: 44px; right: 20px; }
  .dr-blog-library { padding-block: 76px; }
  .dr-blog-library h2 { font-size: clamp(2.5rem, 11vw, 4.75rem); }
  .dr-blog-story-grid { display: flex; width: auto; margin-right: calc(var(--gx) * -1); overflow-x: auto; padding-right: var(--gx); gap: 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .dr-blog-story-grid::-webkit-scrollbar { display: none; }
  button.dr-blog-story, .dr-blog-story:nth-child(n) { flex: 0 0 min(86vw, 360px); min-height: 530px; grid-template-rows: 210px 1fr; scroll-snap-align: start; }
  .dr-blog-story-body { padding: 24px; }
  .dr-blog-story-body > strong { margin-top: 24px; }
  .dr-blog-resource-cta { align-items: flex-start; flex-direction: column; }
  .dr-article-cover { height: 230px; }
}

@keyframes drBlogCopyIn { from { opacity: 0; transform: translateY(24px); filter: blur(7px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes drBlogFeatureIn { from { opacity: .4; clip-path: inset(0 0 0 16%); filter: blur(7px); } to { opacity: 1; clip-path: inset(0); filter: none; } }
@keyframes drBlogStoryIn { from { opacity: .3; transform: translateY(22px); clip-path: inset(7% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }

@media (prefers-reduced-motion: reduce) {
  .dr-blog-hero-copy, .dr-blog-feature, .dr-blog-story { animation: none !important; }
  .dr-blog-feature-media img, .dr-blog-feature-arrow, .dr-blog-story, .dr-blog-story-media img, .dr-blog-story-link i { transition-duration: .01ms !important; }
}
