/* ============================================================
   BLOG / JOURNAL
   Editorial cards and expandable sample articles.
   ============================================================ */

.blog-page {
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--shell);
  margin-inline: auto;
  padding-block: clamp(44px, 7vw, 96px) var(--sp-section);
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  align-items: end;
  gap: clamp(32px, 7vw, 112px);
  margin-bottom: clamp(48px, 8vw, 104px);
}

.blog-hero__title h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.4rem, 5.8vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.blog-hero__title em { color: var(--red); font-style: normal; }

.blog-hero__intro {
  max-width: 38ch;
  margin: 0 0 .35rem;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
  box-shadow: var(--shadow-lg);
}

.featured-story__media,
.story-card__media { position: relative; overflow: hidden; background: var(--paper-sunk); }

.featured-story__media img,
.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}

.featured-story:hover .featured-story__media img,
.story-card:hover .story-card__media img { transform: scale(1.025); }

.story-number {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 12, 11, .82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}

.featured-story__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.story-meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 12px 2px 0;
  border-radius: 50%;
  background: var(--red);
}

.featured-story h2 {
  max-width: 14ch;
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.1vw, 3.2rem);
  line-height: 1.06;
}

.story-deck,
.story-card__content > p { color: var(--ink-muted); line-height: 1.72; }
.story-deck { max-width: 42ch; margin-bottom: 0; }

.featured-story__language {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: .76rem;
}

.story-read-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  align-self: flex-start;
  margin-top: 1.5rem;
  padding-bottom: .35rem;
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 700;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.story-read-link:hover { gap: .9rem; color: var(--red); }

.story-details { margin-top: 24px; border-top: 1px solid var(--rule); }

.story-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  transition: color .25s var(--ease);
}

.story-details summary::-webkit-details-marker { display: none; }
.story-details summary:hover { color: var(--red); }

.story-details summary span {
  flex: none;
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .3s var(--ease);
}

.story-details[open] summary span { transform: rotate(45deg); }

.story-details__body {
  padding-top: 18px;
  color: var(--ink-body);
  font-size: .93rem;
  line-height: 1.75;
}
.story-details__body p:last-child { margin-bottom: 0; }

.journal-section { padding-top: var(--sp-section); }

.journal-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.journal-section__head h2 { margin: 0; }
.journal-section__head > p { max-width: 44ch; margin: 0; color: var(--ink-muted); line-height: 1.65; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}

.story-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
  box-shadow: var(--shadow);
}

.story-card__media { aspect-ratio: 16 / 10; }
.story-card__content { padding: clamp(24px, 3.5vw, 42px); }
.story-card h3 { max-width: 22ch; margin-bottom: 14px; font-size: clamp(1.32rem, 2.1vw, 1.85rem); line-height: 1.18; }
.story-card .story-details { margin-top: 20px; }

.journal-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .8fr) auto;
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  margin-top: var(--sp-section);
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
}

.journal-cta .section-label,
.journal-cta h2 { color: var(--paper); }
.journal-cta .section-label { opacity: .66; }
.journal-cta h2 { max-width: 16ch; margin: 0; font-size: clamp(1.65rem, 3vw, 2.7rem); }
.journal-cta > p { margin: 0; color: var(--paper); opacity: .7; line-height: 1.7; }
.journal-cta .btn--primary { white-space: nowrap; background: var(--red); color: #fff; }
.journal-cta .btn--primary:hover { background: var(--paper-raised); color: var(--ink); }

body.theme-dark .journal-cta { border: 1px solid var(--rule); background: var(--paper-raised); }
body.theme-dark .journal-cta .section-label,
body.theme-dark .journal-cta h2,
body.theme-dark .journal-cta > p { color: var(--ink); }

@media (max-width: 980px) {
  .featured-story { grid-template-columns: 1.2fr 1fr; min-height: 500px; }
  .journal-cta { grid-template-columns: 1fr 1fr; }
  .journal-cta .btn { justify-self: start; }
}

@media (max-width: 760px) {
  .blog-page { padding-top: 34px; }
  .blog-hero { grid-template-columns: 1fr; align-items: start; gap: 24px; margin-bottom: 46px; }
  .blog-hero__title h1 { max-width: 11ch; font-size: clamp(2.35rem, 12vw, 4.2rem); }
  .blog-hero__intro { max-width: 46ch; }
  .featured-story { grid-template-columns: 1fr; min-height: 0; }
  .featured-story__media { aspect-ratio: 4 / 3; }
  .featured-story__content { padding: 28px 24px 32px; }
  .featured-story h2 { max-width: 18ch; font-size: clamp(1.75rem, 8vw, 2.45rem); }
  .journal-section__head { display: block; margin-bottom: 28px; }
  .journal-section__head > p { margin-top: 14px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card__content { padding: 24px; }
  .story-card h3 { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .journal-cta { grid-template-columns: 1fr; align-items: start; padding: 30px 24px; }
}

@media (max-width: 420px) {
  .story-meta { gap: 8px; letter-spacing: .09em; }
  .story-meta span + span::before { margin-right: 8px; }
  .story-number { top: 12px; left: 12px; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-story__media img,
  .story-card__media img,
  .story-details summary span,
  .story-read-link { transition: none; }
}
