/* ============================================================
   Frontline Web Designs — Blog ("Field Notes")
   Editorial layer on top of styles.css ("Ember & Tide").
   Display: Fraunces · Body: Hanken Grotesk · accents: ember / tide.
   ============================================================ */

/* ---------- Blog index masthead ---------- */
.blog-mast{padding:clamp(56px,8vw,104px) 0 clamp(30px,4vw,48px);position:relative}
.blog-mast .container{max-width:880px}
.blog-mast .h2{margin-top:18px}
.blog-mast .lead{max-width:60ch}

/* ---------- Post list (editorial) ---------- */
.post-list{max-width:880px;margin-inline:auto;border-top:1px solid var(--line)}
.post-item{display:block;padding:clamp(28px,4vw,40px) 0;border-bottom:1px solid var(--line);position:relative}
.post-item__row{display:grid;grid-template-columns:1fr;gap:10px}
.post-cat{font-family:var(--ui);font-weight:700;font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--ember-ink)}
.post-item__title{font-family:var(--display);font-weight:560;font-size:clamp(25px,3.4vw,36px);line-height:1.1;letter-spacing:-.015em;color:var(--text);transition:color var(--t-fast)}
.post-item:hover .post-item__title{color:var(--ember-ink)}
.post-item__excerpt{color:var(--muted);font-size:16.5px;line-height:1.7;max-width:64ch;margin-top:4px}
.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-family:var(--ui);font-size:13px;color:var(--muted-2);margin-top:6px}
.post-meta .dot{width:3px;height:3px;border-radius:50%;background:var(--line-2)}
.post-more{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-family:var(--ui);font-weight:600;font-size:15px;color:var(--ember-ink)}
.post-more svg{width:16px;height:16px;transition:transform var(--t)}
.post-item:hover .post-more svg{transform:translateX(4px)}

/* ---------- Article ---------- */
.article{padding:clamp(40px,6vw,80px) 0 clamp(56px,7vw,96px)}
.article-head{max-width:760px;margin-inline:auto}
.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-family:var(--ui);font-size:13px;color:var(--muted-2);margin-bottom:26px}
.breadcrumb a{color:var(--muted-2);transition:color var(--t-fast)}
.breadcrumb a:hover{color:var(--ember-ink)}
.breadcrumb svg{width:13px;height:13px;opacity:.6}
.breadcrumb [aria-current]{color:var(--text)}

.article-title{font-size:clamp(34px,5.4vw,58px);line-height:1.03;letter-spacing:-.02em;margin-top:16px}
.article-deck{color:var(--muted);font-size:clamp(17px,2vw,20px);line-height:1.6;margin-top:20px;max-width:60ch}
.article-byline{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-family:var(--ui);font-size:13.5px;color:var(--muted-2);margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.article-byline .who{color:var(--text);font-weight:600}
.article-byline .dot{width:3px;height:3px;border-radius:50%;background:var(--line-2)}

/* prose body */
.post-body{max-width:680px;margin-inline:auto;margin-top:clamp(30px,4vw,46px)}
.post-body > * + *{margin-top:24px}
.post-body p{font-size:18px;line-height:1.78;color:var(--text)}
.post-body h2{font-family:var(--display);font-weight:560;font-size:clamp(24px,3.2vw,32px);line-height:1.12;letter-spacing:-.015em;margin-top:48px}
.post-body h2 + p{margin-top:14px}
.post-body h3{font-family:var(--display);font-weight:560;font-size:21px;margin-top:30px}
.post-body strong{font-weight:700;color:var(--text)}
.post-body a{color:var(--ember-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px;text-decoration-color:rgba(178,58,28,.4);transition:text-decoration-color var(--t-fast)}
.post-body a:hover{text-decoration-color:var(--ember-ink)}
.post-body ul,.post-body ol{padding-left:0;margin-top:18px;display:flex;flex-direction:column;gap:12px}
.post-body li{position:relative;padding-left:30px;font-size:17.5px;line-height:1.7;color:var(--text)}
.post-body ul li::before{content:"";position:absolute;left:6px;top:11px;width:7px;height:7px;border-radius:2px;background:var(--ember);transform:rotate(45deg)}
.post-body ol{counter-reset:li}
.post-body ol li{counter-increment:li}
.post-body ol li::before{content:counter(li);position:absolute;left:0;top:1px;width:21px;height:21px;border-radius:50%;background:var(--ink);color:#fff;font-family:var(--ui);font-weight:700;font-size:11.5px;display:flex;align-items:center;justify-content:center}
.post-body blockquote{margin:36px 0;padding:6px 0 6px 26px;border-left:3px solid var(--ember);font-family:var(--display);font-style:italic;font-weight:480;font-size:clamp(21px,2.6vw,26px);line-height:1.34;color:var(--text);letter-spacing:-.01em}

/* end CTA callout */
.post-cta{max-width:680px;margin:clamp(40px,5vw,60px) auto 0;background:var(--ink);color:var(--on-dark);border-radius:var(--radius-lg);padding:clamp(26px,4vw,40px);position:relative;overflow:hidden}
.post-cta::after{content:"";position:absolute;inset:0;background:var(--grad-glow);pointer-events:none}
.post-cta h2{font-family:var(--display);color:#fff;font-size:clamp(22px,3vw,30px);line-height:1.1;letter-spacing:-.015em;position:relative}
.post-cta p{color:var(--on-dark-mut);font-size:16.5px;line-height:1.65;margin-top:12px;max-width:48ch;position:relative}
.post-cta .cta-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;position:relative}

@media (max-width:560px){
  .post-body p{font-size:17px}
  .post-cta{border-radius:var(--radius)}
}
