/* ============================================================
   Interior page styles — content & article templates
   (loads after styles.css)
   ============================================================ */

/* ---------- Page hero (compact, dark) ---------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(48px, 8vw, 104px);
  position: relative;
  overflow: hidden;
}
.page-hero .crumbs {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1.6rem;
}
.page-hero .crumbs a { color: rgba(255,255,255,0.5); transition: color .2s ease; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs .sep { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.0; letter-spacing: -0.03em; max-width: 16ch; text-wrap: balance;
}
.page-hero .dek {
  margin-top: 1.6rem; max-width: 56ch;
  color: rgba(255,255,255,0.7); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.6;
}
.page-hero .hero-glow {
  position: absolute; right: -8%; top: -30%; width: 46%; height: 120%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 68%);
  filter: blur(20px); pointer-events: none; opacity: 0.8;
}
.page-hero .ph-meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem;
  color: rgba(255,255,255,0.55); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-family: var(--font-display); font-weight: 500;
}
.page-hero .ph-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); align-self: center; }

/* ---------- Intro split (content page) ---------- */
.intro-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.intro-split .lede {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.32; letter-spacing: -0.018em;
  text-wrap: pretty;
}
.intro-split .lede em { font-style: normal; color: var(--accent); }
.intro-split .aside { display: flex; flex-direction: column; gap: 1.1rem; }
.intro-split .aside p { color: var(--gray); }
.intro-split .aside p:first-child { margin-top: 0; }
@media (max-width: 860px) { .intro-split { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Section heading row ---------- */
.sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head .h-section { margin-top: 1rem; }

/* ---------- Signature talks (numbered list) ---------- */
.talks { display: flex; flex-direction: column; }
.talk {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.2rem, 4vw, 3rem);
  align-items: baseline; padding: clamp(1.8rem, 3.5vw, 2.6rem) 0;
  border-top: 1px solid var(--line);
}
.talk:last-child { border-bottom: 1px solid var(--line); }
.talk .num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--accent); letter-spacing: 0.04em; }
.talk .tk-body { display: flex; flex-direction: column; gap: 0.7rem; }
.talk h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.talk p { color: var(--gray); max-width: 62ch; }
.talk .tk-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.3rem; }
.talk .tk-tags span { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-soft); border: 1px solid var(--line); border-radius: 100px; padding: 0.4em 0.85em; transition: background .18s ease, color .18s ease, border-color .18s ease; cursor: default; }
.talk .tk-tags span:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.talk .tk-for { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
@media (max-width: 720px) {
  .talk { grid-template-columns: auto 1fr; }
  .talk .tk-for { display: none; }
}

/* ---------- Formats grid ---------- */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.format {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: clamp(1.6rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 0.8rem;
  transition: transform .25s ease, border-color .25s ease;
}
.format:hover { transform: translateY(-4px); border-color: var(--accent); }
.format .fx-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.format .fx-icon svg { width: 30px; height: 30px; }
.format h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.format p { color: var(--gray); font-size: 0.96rem; }
.format .fx-len { margin-top: auto; font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-soft); }
@media (max-width: 860px) { .formats { grid-template-columns: 1fr; } }

/* full-bleed CTA band reuse */
.cta-band { text-align: center; }
.cta-band .h-section { color: #fff; max-width: 18ch; margin: 1.2rem auto 0; }
.cta-band p { color: rgba(255,255,255,0.66); max-width: 50ch; margin: 1.2rem auto 2rem; }

/* ============================================================
   ARTICLE / BLOG POST
   ============================================================ */
.article-hero { background: var(--ink); color: #fff; padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(40px, 6vw, 72px); }
.article-hero .ah-inner { max-width: 800px; margin-inline: auto; }
.article-hero .ah-cat { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.article-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.025em; margin-top: 1.1rem; text-wrap: balance; }
.article-hero .ah-dek { margin-top: 1.4rem; color: rgba(255,255,255,0.72); font-size: clamp(1.1rem, 1.7vw, 1.32rem); line-height: 1.55; max-width: 60ch; }
.byline { display: flex; align-items: center; gap: 0.9rem; margin-top: 2rem; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.byline .by-name { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.byline .by-meta { font-size: 0.82rem; color: rgba(255,255,255,0.5); letter-spacing: 0.02em; }

/* featured image */
.article-figure { margin-top: -0; }
.article-figure .wrap { padding-inline: var(--gutter); }
.article-feat { max-width: 1000px; margin: clamp(-40px, -4vw, -20px) auto 0; position: relative; z-index: 2; }
.article-feat img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 3px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.4); }
.article-feat figcaption { margin-top: 0.8rem; font-size: 0.84rem; color: var(--gray-soft); text-align: center; }

/* prose */
.prose { max-width: 720px; margin-inline: auto; }
.prose > * + * { margin-top: 1.5rem; }
.prose p { color: #222; font-size: 1.18rem; line-height: 1.72; }
.prose .first::first-letter {
  font-family: var(--font-display); font-weight: 800; float: left;
  font-size: 3.6em; line-height: 0.82; padding: 0.06em 0.12em 0 0; color: var(--ink);
}
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-top: 2.8rem; }
.prose h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; margin-top: 2rem; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose ul, .prose ol { padding-left: 1.3rem; color: #222; font-size: 1.12rem; line-height: 1.7; }
.prose li + li { margin-top: 0.6rem; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  margin: 2.4rem 0; padding: 0.4rem 0 0.4rem 1.6rem; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.32; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty;
}
.prose blockquote cite { display: block; margin-top: 0.9rem; font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray); }
.prose figure { margin: 2.4rem 0; }
.prose figure img { width: 100%; border-radius: 3px; }
.prose figure figcaption { margin-top: 0.7rem; font-size: 0.84rem; color: var(--gray-soft); text-align: center; }
.prose hr { border: none; height: 1px; background: var(--line); margin: 3rem auto; width: 60px; }

/* tags + share */
.article-foot { max-width: 720px; margin: 3rem auto 0; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article-tags span { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--gray); border: 1px solid var(--line); border-radius: 100px; padding: 0.45em 0.95em; }
.share { display: flex; align-items: center; gap: 0.7rem; }
.share .lbl { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-soft); }
.share a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.share a:hover { background: var(--accent); border-color: var(--accent); }
.share svg { width: 16px; height: 16px; fill: var(--ink); transition: fill .2s; }
.share a:hover svg { fill: #fff; }

/* author bio card */
.author-card {
  max-width: 720px; margin: clamp(2.5rem,5vw,3.5rem) auto 0;
  background: var(--bone); border-radius: 4px; padding: clamp(1.8rem, 4vw, 2.6rem);
  display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center;
}
.author-card img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.author-card .ac-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.author-card .ac-role { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 0.2rem; }
.author-card p { color: var(--gray); margin-top: 0.8rem; font-size: 0.98rem; }
@media (max-width: 560px) { .author-card { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
