/* Arkhive.com — Perspectives (blog) styles
   Loaded only on /blog/ and /blog/<slug>/ pages, alongside site.css.
   Consumes tokens from colors_and_type.css. */

/* ───── Narrower container variant for editorial reading width ───── */
.container--narrow { max-width: 760px; }

/* ───── Blog landing hero ───── */
.blog-hero { padding-top: 160px; padding-bottom: 8px; }

/* ───── Posts list ───── */
.blog-list { padding-top: 0; padding-bottom: 96px; }
.blog-list__inner { display: flex; flex-direction: column; gap: 0; }
.blog-list__empty,
.blog-list__error {
  padding: 48px 0;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}
.blog-list__error a { color: var(--ark-honey); text-decoration: underline; }

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: start;
  padding: 32px;
  border: 1px solid #1c1a17;
  background: #161412;
  border-radius: 4px;
}
.post-card + .post-card { margin-top: 20px; }
.post-card__body { min-width: 0; }

/* ── Guide variant — cover + body + CTA ──────────────────────────── */
.post-card--guide {
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
}
.post-card__cover {
  width: 168px;
  aspect-ratio: 1844 / 2384;
  background: #0a0a0a;
  border: 1px solid #C9A84C;
  box-shadow: 0 10px 32px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.6);
  overflow: hidden;
  position: relative;
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.post-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card--guide:hover .post-card__cover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.6),
              0 0 0 1px rgba(234,187,42,0.45);
}

/* ── Essay variant — text-only, gold accent on hover ─────────────── */
.post-card--essay { position: relative; }
.post-card--essay::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--ark-honey);
  transition: width 420ms var(--ease-out);
}
.post-card--essay:hover::before { width: 80px; }

/* ── Content-type badge (Guide) ──────────────────────────────────── */
.post-card__badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--ark-honey);
  color: #121212;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  line-height: 1.2;
}
.post-card__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.post-card__meta-sep { width: 14px; height: 1px; background: rgba(234,187,42,0.6); }
.post-card__meta-date { color: rgba(255,255,255,0.55); }
.post-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--ark-white);
  transition: color 220ms var(--ease-out);
}
.post-card__title a { color: inherit; }
.post-card a:hover .post-card__title { color: var(--ark-honey); }
.post-card__summary {
  font-size: 17px;
  color: rgba(255,255,255,0.74);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 640px;
}
.post-card__byline {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.post-card__byline strong { color: var(--ark-white); font-weight: 600; }
.post-card__cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ark-honey);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease-out);
}
.post-card__cta:hover { border-bottom-color: var(--ark-honey); color: var(--ark-honey); }
.post-card__cta svg { width: 14px; height: 14px; stroke-width: 1.8; }

.post-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.post-card__tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 4px 10px;
}

@media (max-width: 720px) {
  .post-card { grid-template-columns: 1fr; gap: 18px; }
  .post-card--guide { grid-template-columns: 1fr; }
  .post-card__cover { width: 140px; }
  .post-card__cta { align-self: flex-start; }
}

/* ───── Article (post detail) ───── */
.article { display: block; }
.article__head { padding-top: 200px; padding-bottom: 32px; }
.article__back {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
}
.article__back:hover { color: var(--ark-honey); }

.article__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.article__title .honey { color: var(--ark-honey); font-weight: 400; }

.article__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article__byline-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ark-white);
}
.article__byline-role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-top: 4px;
}
.article__meta-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}
.article__dateline {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.article__dateline > div + div { margin-top: 4px; }
.article__reading-time { color: var(--ark-honey); }

.article__lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: 0.005em;
  color: rgba(255,255,255,0.88);
  max-width: 720px;
  margin-top: 8px;
}

.article__body { padding-top: 32px; padding-bottom: 96px; }

/* ───── Prose blocks ───── */
.prose { color: var(--ark-white); }
.prose + .prose { margin-top: 56px; }

.prose__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ark-honey);
  margin-bottom: 14px;
}

.prose__h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
  max-width: 640px;
}

.prose p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.86);
  margin-bottom: 20px;
}
.prose p strong { color: var(--ark-white); font-weight: 700; }
.prose p em { font-style: italic; color: rgba(255,255,255,0.78); }

/* Slightly weighted opening paragraph — visually a lede in the prose flow. */
.prose__opener {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.55;
  color: var(--ark-white);
  margin-bottom: 28px;
}

.prose__pull {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--ark-honey);
  padding: 24px 0 24px 28px;
  border-left: 2px solid var(--ark-honey);
  margin: 32px 0;
  max-width: 700px;
}

.prose__divider {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 56px 0;
  width: 80px;
}

.prose__callout {
  margin: 32px 0;
  padding: 28px 32px;
  background: #161616;
  border-left: 2px solid var(--ark-honey);
  border-radius: 2px;
}
.prose__callout-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ark-honey);
  margin-bottom: 16px;
}
.prose__list {
  list-style: none;
  counter-reset: prose-list;
  padding: 0;
  margin: 0;
}
.prose__list li {
  counter-increment: prose-list;
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
}
.prose__list li::before {
  content: counter(prose-list, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ark-honey);
}
.prose__list li:last-child { margin-bottom: 0; }

.prose__five {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.prose__five li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: baseline;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.86);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.prose__five li:last-child { border-bottom: 0; padding-bottom: 0; }
.prose__five-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: var(--ark-honey);
  letter-spacing: 0.02em;
}
.prose__five li strong { color: var(--ark-white); font-weight: 700; display: block; margin-bottom: 6px; }

.prose__falsepos {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.prose__falsepos li {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.prose__falsepos li:last-child { border-bottom: 0; }
.prose__falsepos em {
  font-style: normal;
  color: var(--ark-honey);
  font-weight: 600;
}

@media (max-width: 720px) {
  .prose p { font-size: 16px; }
  .prose__pull { padding-left: 20px; }
  .prose__callout { padding: 24px 20px; }
  .prose__five li { grid-template-columns: 1fr; gap: 6px; }
}

/* ───── Gated download CTA ───── */
.gate {
  background: var(--ark-cream);
  color: var(--ark-black);
  padding: 96px 0;
}
.gate__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.gate .eyebrow { color: var(--ark-black); }
.gate .eyebrow::before { background-color: var(--ark-black); }
.gate .rule-gold { background: var(--ark-honey); }
.gate__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ark-black);
  margin-bottom: 20px;
  max-width: 480px;
}
.gate__sub {
  font-size: 16px;
  line-height: 1.65;
  color: #2a2a2a;
  margin-bottom: 20px;
  max-width: 520px;
}
.gate__sub strong { color: var(--ark-black); font-weight: 700; }
.gate__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gate__bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: #2a2a2a;
  line-height: 1.5;
}
.gate__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--ark-honey-deep);
}

/* ───── Lead form (on light cream block) ───── */
.lead-form {
  position: relative;
  padding: 36px;
  background: var(--ark-white);
  border: 1px solid rgba(18,18,18,0.08);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(18,18,18,0.06);
}
.lead-form__fields { display: flex; flex-direction: column; gap: 20px; }
.lead-form .field { gap: 8px; }
.lead-form .field__label {
  color: var(--ark-black);
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 700;
}
.lead-form .field__optional {
  color: #888;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: none;
  margin-left: 6px;
}
.lead-form .field__input {
  background: transparent;
  color: var(--ark-black);
  border-bottom: 1px solid rgba(18,18,18,0.15);
  padding: 10px 0;
  font-size: 16px;
}
.lead-form .field__input:focus { border-bottom-color: var(--ark-honey-deep); }
.lead-form .field__error { color: #b03030; }
.lead-form__submit { margin-top: 12px; }
.lead-form__submit .btn--primary { background: var(--ark-black); color: var(--ark-white); }
.lead-form__submit .btn--primary:hover { background: #000; color: var(--ark-white); }
.lead-form__legal {
  font-size: 11px;
  line-height: 1.5;
  color: #777;
  margin-top: 14px;
}
.lead-form__success {
  display: none;
  text-align: left;
  padding: 8px 4px;
}
.lead-form__success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ark-black);
  margin-bottom: 12px;
}
.lead-form__success p { color: #2a2a2a; font-size: 15px; line-height: 1.55; margin-bottom: 10px; }
.lead-form__success a { color: var(--ark-honey-deep); text-decoration: underline; font-weight: 600; }
.lead-form__success-note { color: #777; font-size: 13px; margin-top: 8px; }

.lead-form--submitted .lead-form__success { display: block; }
.lead-form--submitted .lead-form__fields { display: none; }

@media (max-width: 900px) {
  .gate__inner { grid-template-columns: 1fr; gap: 36px; }
  .gate { padding: 64px 0; }
  .lead-form { padding: 28px; }
}

/* ───── Author bio (below the gate) ───── */
.article__bio { padding: 80px 0 120px; }
.bio {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.bio__portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid rgba(234,187,42,0.3);
}
.bio__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; display: block; filter: grayscale(1) contrast(1.05); }
.bio__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ark-honey);
  margin-bottom: 10px;
}
.bio__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ark-white);
  margin-bottom: 12px;
}
.bio__text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
  max-width: 600px;
}
.bio__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ark-honey);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 220ms var(--ease-out);
}
.bio__cta:hover { border-bottom-color: var(--ark-honey); }

@media (max-width: 720px) {
  .bio { grid-template-columns: 80px 1fr; gap: 20px; }
  .bio__portrait { width: 80px; height: 80px; }
  .bio__name { font-size: 22px; }
}
