/* ——— Blog shared styles ——— */

/* Blog hero */
.blog-hero {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 180px var(--page-x) 80px;
  border-bottom: 1px solid var(--line);
}
.blog-hero .mono-label { display: block; margin-bottom: 24px; }
.blog-hero__title {
  font-size: clamp(44px, 6.2vw, 92px);
  margin: 0;
}
.blog-hero__sub {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
  margin: 28px 0 0;
}

/* Blog index list */
.blog-index { padding-top: clamp(72px, 9vw, 120px); }

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--ink);
}
.article-row { border-bottom: 1px solid var(--line); }
.article-row > a {
  display: grid;
  grid-template-columns: 80px 1fr 48px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  transition: color 0.2s ease, padding 0.3s ease;
}
.article-row > a:hover {
  color: var(--forest);
  padding-left: 12px;
}
.article-row__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.article-row__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-row__title {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article-row > a:hover .article-row__title { color: var(--forest); }
.article-row__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.article-row__arrow {
  justify-self: end;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-3);
  transition: transform 0.3s ease, color 0.3s ease;
}
.article-row > a:hover .article-row__arrow {
  color: var(--forest);
  transform: translateX(6px);
}
@media (max-width: 700px) {
  .article-row > a { grid-template-columns: 40px 1fr 28px; gap: 16px; }
}

.article-list__more {
  display: block;
  margin-top: 32px;
  text-align: center;
}

.contact__inner--narrow { grid-template-columns: 1fr; text-align: center; }
.contact__inner--narrow .contact__copy { max-width: 640px; margin: 0 auto; }
.contact__inner--narrow .contact__sub { margin-inline: auto; }

/* ——— Article post ——— */
.post {
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px var(--page-x) 0;
}

.post__meta-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
}
.post__meta-row .mono-label { margin: 0; }
.post__back {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.post__back:hover { color: var(--forest); border-color: var(--forest); }

.post__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 32px;
  color: var(--ink);
  max-width: 26ch;
  hyphens: auto;
  overflow-wrap: break-word;
}
.post__title em { font-style: italic; color: var(--forest); }

.post__dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 40ch;
  margin: 0 0 56px;
}

.post__byline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 72px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.post__byline strong {
  color: var(--ink);
  font-weight: 500;
}

.post__lead-plate {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 72px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}
.post__lead-plate .plate__caption {
  position: absolute;
  left: 16px; bottom: 14px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.97 0.005 85);
  opacity: 0.95;
  text-shadow: 0 1px 4px oklch(0.18 0.01 150 / 0.6);
}

.post__body {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: clamp(80px, 10vw, 140px);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}
.post__body > * + * { margin-top: 28px; }
.post__body p { margin: 0; }
.post__body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 5.4em;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 -0.04em;
  color: var(--forest);
  font-weight: 400;
}
.post__body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 64px;
  margin-bottom: 8px;
}
.post__body h2 + p { margin-top: 12px; }
.post__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 44px;
}
.post__body strong { color: var(--ink); font-weight: 500; }
.post__body em { color: var(--forest); font-style: italic; }
.post__body a { color: var(--forest); border-bottom: 1px solid currentColor; }

.post__body ul, .post__body ol {
  padding-left: 20px;
  margin: 0;
}
.post__body li { margin-bottom: 10px; }

.post__body blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 32px;
  margin: 48px 0;
  max-width: none;
}

.post__body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 56px 0;
}

/* Stats / numbers callout */
.post-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 56px 0;
}
.post-stats__cell {
  background: var(--paper);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-stats__val {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.post-stats__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 700px) {
  .post-stats { grid-template-columns: 1fr; }
}

/* Inline plate */
.post-plate {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}
.post-plate__caption {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

/* Post footer — next up + back */
.post__footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--page-x) clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line);
  padding-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.post__next {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.3s;
}
.post__next:hover { border-color: var(--forest); transform: translateY(-2px); }
.post__next .mono-label { color: var(--gold-2); }
.post__next h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 8px 0 0;
  color: var(--ink);
  line-height: 1.2;
}
@media (max-width: 800px) {
  .post__footer { grid-template-columns: 1fr; }
}

/* Tables in post body */
.post__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9em;
}
.post__body th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--ink);
  font-weight: 500;
}
.post__body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.post__body tr:hover td {
  background: oklch(0.97 0.005 85 / 0.5);
}
