/* Blog, article, privacy and error pages — the quieter editorial twin of the
   one-page showcase. The content stays primary; the palette and typography
   connect these routes to the new homepage. */

.showcase-editorial {
  --bg: #f2eee5;
  --bg-elev: #e8e2d6;
  --bg-elev-2: #ded7c9;
  --text: #11110f;
  --text-dim: #5f5b53;
  --text-faint: #6e6860;
  --accent: #f05234;
  /* Same red, darkened to clear 4.5:1 on --bg. --accent stays as-is because it
     is only ever used as a fill or a rule, where the 3:1 threshold applies. */
  --accent-text: #b72f16;
  --accent-ink: #11110f;
  --border: rgba(17, 17, 15, 0.22);
  --font-editorial: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', Arial, sans-serif;
  line-height: 1.6;
}
.showcase-editorial main { min-height: 60svh; background: var(--bg); }
.showcase-editorial ::selection { background: var(--accent); color: var(--accent-ink); }
.showcase-editorial .container { max-width: 1320px; }
.showcase-editorial .container-narrow { max-width: 850px; }

.showcase-editorial .site-header {
  color: var(--text);
  background: rgba(242, 238, 229, .9);
  border-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.showcase-editorial .site-header .header-inner { min-height: 4.5rem; }
.showcase-editorial .site-header .logo {
  color: currentColor;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.showcase-editorial .site-header .nav-list { gap: clamp(1rem, 2.4vw, 2.4rem); }
.showcase-editorial .site-header .nav-list a {
  color: currentColor;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .68;
}
.showcase-editorial .site-header .nav-list a:hover { color: currentColor; opacity: 1; }
.showcase-editorial .site-header .nav-lang a { border: 0; border-radius: 0; opacity: 1; }

.showcase-editorial .sec-first {
  padding-top: clamp(5rem, 11vw, 9rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
.showcase-editorial .sec-index,
.showcase-editorial .eyebrow {
  color: var(--accent-text);
  font-size: .75rem;
  letter-spacing: .12em;
}
.showcase-editorial .statement,
.showcase-editorial .statement-h1 {
  max-width: 11ch;
  color: var(--text);
  font-family: var(--font-editorial);
  font-size: clamp(4.2rem, 10vw, 9rem);
  font-weight: 400;
  line-height: .83;
  letter-spacing: -.07em;
}
.showcase-editorial .sec-support {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.55;
}
.showcase-editorial .section-bloglist { padding-top: 0; }
.showcase-editorial .post-list { border-top: 1px solid var(--text); }
.showcase-editorial .post-list-item { border-color: var(--text); }
.showcase-editorial .post-list-link {
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--text);
  border-radius: 0;
}
.showcase-editorial .post-list-link:hover { background: var(--text); color: var(--bg); }
.showcase-editorial .post-list-link:hover .post-list-title,
.showcase-editorial .post-list-link:hover .post-list-desc,
.showcase-editorial .post-list-link:hover .post-list-meta { color: inherit; }
.showcase-editorial .post-list-media img { border-radius: 0; filter: grayscale(1) contrast(1.05); }
.showcase-editorial .post-list-link:hover .post-list-media img { filter: grayscale(0); }
.showcase-editorial .post-list-title {
  color: var(--text);
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.showcase-editorial .post-list-desc { color: var(--text-dim); line-height: 1.55; }
.showcase-editorial .post-list-meta { color: var(--text-faint); font-size: .75rem; }
.showcase-editorial .tag {
  border-color: var(--border);
  border-radius: 0;
  color: var(--text-faint);
  font-size: .75rem;
}
.showcase-editorial .post-list-link:hover .tag { border-color: rgba(242,238,229,.35); color: rgba(242,238,229,.68); }
.showcase-editorial .row-arrow { color: var(--accent); }

/* Long-form article */
.showcase-editorial .post.section { padding-top: clamp(5rem, 10vw, 8rem); }
.showcase-editorial .post-header { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.showcase-editorial .post-header h1 {
  max-width: 15ch;
  margin: 1.8rem 0 2rem;
  color: var(--text);
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 7.4vw, 6.5rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.06em;
}
.showcase-editorial .post-header .eyebrow a { color: var(--accent-text); }
.showcase-editorial .post-hero { margin-inline: clamp(-4rem, -6vw, -1rem); }
.showcase-editorial .post-hero img {
  border-radius: 0;
  filter: grayscale(.75) contrast(1.04);
}
.showcase-editorial .prose {
  max-width: 70ch;
  color: #45423d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.78;
}
.showcase-editorial .prose > p:first-child {
  color: var(--text);
  font-size: 1.18em;
  line-height: 1.62;
}
.showcase-editorial .prose h2,
.showcase-editorial .prose h3 {
  color: var(--text);
  font-family: 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.035em;
}
.showcase-editorial .prose h2 {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}
.showcase-editorial .prose h3 { margin-top: 2.8rem; font-size: 1.35rem; }
.showcase-editorial .prose a {
  color: var(--text);
  border-bottom-color: var(--accent);
  background: linear-gradient(transparent 72%, rgba(240,82,52,.25) 0);
}
.showcase-editorial .prose strong { color: var(--text); }
.showcase-editorial .prose blockquote {
  margin: 2.5rem 0;
  border-left: 0;
  border-block: 1px solid var(--text);
  padding: 1.6rem 0;
  color: var(--text);
  font-size: 1.3em;
  line-height: 1.45;
}
.showcase-editorial .prose code { background: var(--bg-elev); border-color: var(--border); }
.showcase-editorial .prose pre {
  margin-inline: clamp(-2rem, -3vw, 0rem);
  background: #11110f;
  border: 0;
  border-radius: 0;
  color: #e9e4d8;
}
.showcase-editorial .prose img { border-radius: 0; }
.showcase-editorial .prose .post-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  overflow: hidden;
  background: #11110f;
}
.showcase-editorial .prose .post-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.showcase-editorial .read-progress { background: var(--accent); }
.showcase-editorial .link-more { color: var(--text-dim); }
.showcase-editorial .link-more:hover { color: var(--accent-text); }

/* Privacy is deliberately plain and calm. */
.showcase-editorial .privacy-page .post-header { padding-top: 1rem; }
.showcase-editorial .privacy-page .post-header h1 { max-width: none; }
.showcase-editorial .privacy-page .prose h2 { padding-top: 1rem; border-top: 1px solid var(--border); }

/* 404 */
.showcase-editorial .page-404 {
  min-height: 64svh;
  display: grid;
  align-items: center;
}
.showcase-editorial .page-404 h1 {
  max-width: 12ch;
  font-family: var(--font-editorial);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.07em;
}
.showcase-editorial .btn-primary { background: var(--accent); border-radius: 0; color: var(--text); }
.showcase-editorial .btn-primary:hover { background: var(--text); color: var(--bg); }

/* Same black full-stop as the homepage. */
.showcase-editorial .site-footer {
  border: 0;
  background: #090909;
  color: #f2eee5;
}
.showcase-editorial .site-footer .footer-wordmark {
  color: #f2eee5;
  font-size: clamp(4rem, 12vw, 11rem);
  line-height: .76;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.showcase-editorial .site-footer .footer-nav a,
.showcase-editorial .site-footer .footer-navlink,
.showcase-editorial .site-footer .footer-copy,
.showcase-editorial .site-footer .footer-lang { color: rgba(242,238,229,.52); }
.showcase-editorial .site-footer a:hover,
.showcase-editorial .site-footer .footer-navlink:hover { color: var(--accent); }
.showcase-editorial .footer-lang { border-radius: 0; }

@media (max-width: 900px) {
  .showcase-editorial .site-header .header-inner { min-height: 0; }
  .showcase-editorial .site-header .site-nav { overflow-x: auto; scrollbar-width: none; }
  .showcase-editorial .site-header .nav-list { width: max-content;flex-wrap:nowrap; }
  .showcase-editorial .sec-head-grid { gap: 2rem; }
  .showcase-editorial .statement,
  .showcase-editorial .statement-h1 { max-width: none; }
  .showcase-editorial .post-hero { margin-inline: 0; }
}

@media (max-width: 640px) {
  .showcase-editorial .statement,
  .showcase-editorial .statement-h1 { font-size: clamp(3.5rem, 20vw, 5.5rem); }
  .showcase-editorial .post-list-link--media { grid-template-columns: 1fr; }
  .showcase-editorial .post-list-media { order: -1; }
  .showcase-editorial .post-header h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .showcase-editorial .prose pre { margin-inline: 0; }
}

/* Author box under each post — the entity card behind the BlogPosting author */
.showcase-editorial .post-author {
  display: grid;
  gap: .3rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--text);
}
.showcase-editorial .post-author__label {
  margin: 0 0 .5rem;
  color: var(--text-faint);
  font: 400 .75rem/1.2 var(--font-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.showcase-editorial .post-author__name { margin: 0; color: var(--text); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.showcase-editorial .post-author__role { margin: 0; color: var(--text-dim); font-size: .9rem; }
.showcase-editorial .post-author__links { display: flex; gap: 1.4rem; margin: .7rem 0 0; }
.showcase-editorial .post-author__links a {
  color: var(--accent-text);
  font: 400 .75rem/1.2 var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
