/* ============================================================
   Insights / article styling
   Reuses tokens from ../styles reset in styles.css on the page.
   ============================================================ */

/* ---------- Hero ---------- */
.ih-hero {
  position: relative;
  min-height: 62vh;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
}
.ih-hero__media { position: absolute; inset: 0; }
.ih-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 2.2s var(--ease) forwards;
}
.ih-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,17,0.82) 0%, rgba(20,20,17,0.30) 45%, rgba(20,20,17,0.12) 100%);
}
.ih-hero__content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 7vh, 5rem);
}
.ih-hero__content h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  line-height: 1.0;
  margin: 1rem 0 1.2rem;
}
.ih-hero__content p { max-width: 52ch; color: rgba(245,242,236,0.85); font-size: 1.02rem; }

/* ---------- Article list ---------- */
.post-list { display: flex; flex-direction: column; }
.post {
  display: grid;
  grid-template-columns: 11rem 1fr auto;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.6rem, 3.5vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}
.post:last-of-type { border-bottom: 1px solid var(--line); }
.post:hover { padding-inline: 0.9rem; background: rgba(154,123,79,0.045); }
.post__num { font-family: var(--font-serif); font-size: 1.1rem; color: var(--accent); }
.post__cat { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone-dim, var(--ink-soft)); }
.post__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.12;
  margin: 0.5rem 0 0.6rem;
}
.post__body p { color: var(--ink-soft); max-width: 60ch; font-size: 0.96rem; }
.post__meta { color: var(--stone-dim, var(--ink-soft)); font-size: 0.8rem; margin-top: 0.6rem; }
.post__arrow { font-size: 1.5rem; color: var(--accent); transition: transform 0.4s var(--ease); }
.post:hover .post__arrow { transform: translateX(6px); }

/* ---------- Article reading page ---------- */
.article { max-width: 42rem; margin-inline: auto; }
.article__meta { color: var(--stone-dim, var(--ink-soft)); font-size: 0.82rem; letter-spacing: 0.06em; }
.article__meta strong { color: var(--ink); font-weight: 500; }
.article h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  margin: 1.2rem 0 2rem;
}
.article__cover { border-radius: var(--r-lg); margin-bottom: 3rem; }
.article__cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article__body { display: flex; flex-direction: column; gap: 1.4rem; }
.article__body p { font-size: 1.06rem; line-height: 1.75; color: var(--ink-soft); }
.article__body h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  color: var(--ink);
  margin-top: 1.5rem;
}
.article__body .lead {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
}

/* Related / more insights */
.more-posts { margin-top: clamp(3rem, 7vw, 5rem); padding-top: 3rem; border-top: 1px solid var(--line); }
.more-posts h2 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 0.5rem; }
.more-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.more-item { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.more-item__cat { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-dim, var(--ink-soft)); }
.more-item h3 { font-family: var(--font-serif); font-size: 1.25rem; margin: 0.5rem 0; line-height: 1.2; }
.more-item .arrow { transition: transform 0.4s var(--ease); display: inline-block; color: var(--accent); }
.more-item:hover .arrow { transform: translateX(5px); }

/* Back link on articles */
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; color: var(--ink-soft); }
.back-link:hover { color: var(--ink); }

/* ---------- Contact strip on blog list ---------- */
.cta-strip { text-align: center; padding-block: clamp(3rem, 7vw, 5rem); }
.cta-strip h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: 1.5rem; }
.cta-strip .btn { margin-inline: 0.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .post { grid-template-columns: 1fr; gap: 0.8rem; }
  .post__num { display: none; }
  .post__arrow { display: none; }
  .more-list { grid-template-columns: 1fr; }
}
