.editorial-page {
  background: var(--bg);
  color: var(--primary);
}
.editorial-page a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.editorial-page .editorial-eyebrow {
  margin: 0;
  color: var(--accent);
  font: 400 11px/1.5 'Geist Mono', monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.editorial-page h1,
.editorial-page h2,
.editorial-page h3 { font-weight: 500; }

/* Journal index */
.journal-hero {
  border-bottom: 1px solid var(--primary);
  padding: 112px 0 104px;
}
.journal-hero__top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: start;
}
.journal-hero__count {
  color: var(--muted);
  font: 400 11px/1.5 'Geist Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.journal-hero h1 {
  max-width: 980px;
  margin: 68px 0 28px;
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: .98;
  letter-spacing: -.055em;
}
.journal-hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.journal-hero__lede {
  max-width: 660px;
  margin: 0;
  color: var(--secondary);
  font-size: 18px;
  line-height: 1.65;
}
.journal-list { padding: 80px 0 112px; border-bottom: 1px solid var(--primary); }
.journal-list__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.journal-list__head span {
  color: var(--muted);
  font: 400 11px/1.5 'Geist Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.story-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  min-height: 484px;
  border: 1px solid var(--line);
}
.story-card + .story-card { margin-top: 24px; }
.story-card__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 484px;
  overflow: hidden;
  padding: 34px;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(246,247,251,.08) 0) 0 0 / 56px 56px,
    linear-gradient(transparent calc(100% - 1px), rgba(246,247,251,.08) 0) 0 0 / 56px 56px,
    radial-gradient(circle at 72% 38%, #4f4a1d 0, #1a2030 38%, #101626 72%);
}
.story-card__visual::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(229,206,22,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(229,206,22,.035), 0 0 0 88px rgba(229,206,22,.025);
  transform: translateY(-50%);
}
.story-card__visual--audit {
  background:
    linear-gradient(90deg, rgba(13,17,32,.38), rgba(13,17,32,.62)),
    url('/assets/images/blog/articles/ux-audit-complex-products.webp') center / cover;
}
.story-card__visual--audit::after { display: none; }
.story-card__visual > * { position: relative; z-index: 1; }
.story-card__visual small,
.story-card__visual b {
  color: var(--accent);
  font: 400 11px/1.5 'Geist Mono', monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.story-card__visual strong {
  max-width: 480px;
  font-size: clamp(44px, 5.1vw, 74px);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 500;
}
.story-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
}
.story-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--muted);
  font: 400 11px/1.6 'Geist Mono', monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.story-card__copy h2 {
  margin: 32px 0 20px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.story-card__copy h2 a:hover { color: var(--accent); }
.story-card__copy > p {
  max-width: 440px;
  margin: 0;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.7;
}
.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  margin-top: 36px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
  color: var(--accent);
  font-weight: 500;
}
.editorial-link span { transition: transform .2s ease; }
.editorial-link:hover span { transform: translateX(4px); }
.journal-contact {
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--primary);
}
.journal-contact .shell {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.journal-contact h2 {
  max-width: 700px;
  margin: 20px 0 0;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

/* Article */
.article-hero {
  border-bottom: 1px solid var(--primary);
  padding: 104px 0 72px;
}
.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 72px;
  color: var(--muted);
  font: 400 11px/1.5 'Geist Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-breadcrumbs a:hover { color: var(--accent); }
.article-hero h1 {
  max-width: 1000px;
  margin: 20px 0 26px;
  font-size: clamp(52px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.article-hero__lede {
  max-width: 760px;
  margin: 0 0 48px;
  color: var(--secondary);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.5;
}
.article-hero__image {
  margin: 72px 0 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #101626;
}
.article-hero__image img { display: block; width: 100%; height: auto; }
.article-hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
  margin-top: 72px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(246,247,251,.06) 0) 0 0 / 48px 48px,
    linear-gradient(transparent calc(100% - 1px), rgba(246,247,251,.06) 0) 0 0 / 48px 48px,
    #171c2b;
}
.article-hero__visual > div { display: flex; flex-direction: column; justify-content: space-between; padding: 36px; }
.article-hero__visual > div + div { border-left: 1px solid var(--line); }
.article-hero__visual small {
  color: var(--accent);
  font: 400 11px/1.5 'Geist Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.article-hero__visual strong {
  max-width: 380px;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 500;
}
.article-hero__visual > div + div strong { color: var(--accent); }
.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: space-between;
  gap: 80px;
  padding-top: 100px;
  padding-bottom: 112px;
}
.article-toc {
  position: sticky;
  top: 104px;
  align-self: start;
}
.article-toc strong {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font: 400 11px/1.5 'Geist Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.article-toc a { display: block; margin: 0 0 16px; color: var(--secondary); line-height: 1.45; }
.article-toc a:hover { color: var(--accent); }
.article-body { min-width: 0; }
.article-body section { scroll-margin-top: 96px; margin-bottom: 78px; }
.article-body section:last-child { margin-bottom: 0; }
.article-body h2 {
  margin: 0 0 26px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.article-body h3 { margin: 36px 0 16px; font-size: 22px; line-height: 1.3; }
.article-body p,
.article-body li { color: var(--secondary); font-size: 17px; line-height: 1.8; }
.article-body p { margin: 0 0 23px; }
.article-body ul,
.article-body ol { margin: 0 0 24px; padding-left: 24px; }
.article-body li { padding-left: 6px; margin-bottom: 10px; }
.article-body strong { color: var(--primary); font-weight: 500; }
.article-body a:not(.editorial-link) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  margin: 42px 0;
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 28px;
  color: var(--primary);
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.35;
  letter-spacing: -.025em;
}
.article-note {
  margin: 38px 0;
  border: 1px solid var(--line);
  padding: 28px 32px;
  background: #171c2b;
}
.article-note strong { display: block; margin-bottom: 9px; color: var(--accent); }
.article-note p { margin: 0; font-size: 15px; }
.article-end {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.article-next {
  padding: 80px 0 96px;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
}
.article-next .shell { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.article-next h2 { max-width: 740px; margin: 18px 0 0; font-size: clamp(38px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.045em; }

@media (max-width: 900px) {
  .journal-hero { padding: 88px 0 80px; }
  .story-card { grid-template-columns: 1fr; }
  .story-card__visual { min-height: 380px; }
  .story-card__copy { padding: 48px; }
  .article-layout { grid-template-columns: 1fr; gap: 50px; }
  .article-toc { position: static; display: flex; flex-wrap: wrap; gap: 12px 24px; }
  .article-toc strong { width: 100%; margin: 0; }
  .article-toc a { margin: 0; }
}
@media (max-width: 620px) {
  .journal-hero { padding: 72px 0; }
  .journal-hero h1 { margin-top: 48px; font-size: clamp(48px, 12vw, 64px); }
  .journal-hero__lede { font-size: 16px; }
  .journal-list { padding: 64px 0 80px; }
  .story-card__visual { min-height: 320px; padding: 24px; }
  .story-card__visual strong { font-size: 45px; }
  .story-card__copy { padding: 30px 24px 36px; }
  .journal-contact, .article-next { padding: 64px 0 76px; }
  .journal-contact .shell, .article-next .shell { display: block; }
  .journal-contact .btn, .article-next .btn { margin-top: 32px; }
  .article-hero { padding: 64px 0 56px; }
  .article-breadcrumbs { margin-bottom: 56px; }
  .article-hero h1 { font-size: clamp(47px, 11vw, 68px); }
  .article-hero__image { margin-top: 52px; }
  .article-hero__visual { grid-template-columns: 1fr; margin-top: 52px; }
  .article-hero__visual > div { min-height: 190px; padding: 24px; }
  .article-hero__visual > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .article-layout { padding-top: 64px; padding-bottom: 80px; }
  .article-body p, .article-body li { font-size: 16px; line-height: 1.75; }
  .article-body section { margin-bottom: 64px; }
}
