/* ════════════════════════════════════════════════════════════════
 *  NOMADIC SYSTEMS — BLOG PERSONALITY
 *  Thin personality layer; system.css provides nav, footer, base
 * ════════════════════════════════════════════════════════════════ */

/* ─── Journal Header (dark hero) ─── */
.journal-header { background: var(--dark); padding: 80px 32px 72px; }
.journal-header-inner { max-width: var(--max); margin: 0 auto; }
.journal-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin-bottom: 20px; }
.journal-title { font-size: clamp(30px, 4vw, 50px); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; color: white; margin-bottom: 20px; }
.journal-title strong { font-weight: 700; }
.journal-sub { font-size: 17px; color: rgba(255,255,255,0.55); line-height: 1.75; font-weight: 300; max-width: 560px; }

/* ─── Filter Bar ─── */
.filter-bar { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 0 32px; }
.filter-inner { max-width: var(--max); margin: 0 auto; display: flex; gap: 4px; padding: 12px 0; }
.filter-btn { font-family: var(--font); font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.4); background: transparent; border: none; padding: 7px 16px; border-radius: 4px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.filter-btn:hover { color: rgba(255,255,255,0.8); }
.filter-btn.active { color: white; background: rgba(255,255,255,0.1); }

/* ─── Featured Post ─── */
.featured-section { background: white; padding: 40px 32px; border-bottom: 1px solid var(--border); }
.featured-inner { max-width: var(--max); margin: 0 auto; }
.featured-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; text-decoration: none; color: inherit; background: var(--light); border-radius: 8px; overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.25s; }
.featured-card:hover { box-shadow: 0 8px 32px rgba(18,26,31,0.1); }
.featured-visual { background: var(--primary) url('../images/blog/field-kitchen-prototype.png') center/cover no-repeat; min-height: 340px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.featured-category-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.15); padding: 5px 12px; border-radius: 100px; align-self: flex-start; }
.featured-location-tag { font-size: 12px; color: rgba(255,255,255,0.45); }
.featured-content { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.featured-headline { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; color: var(--dark); line-height: 1.25; margin-bottom: 16px; letter-spacing: -0.01em; }
.featured-excerpt { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 28px; }
.featured-read { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.arrow { transition: transform 0.2s; }
.featured-card:hover .arrow { transform: translateX(4px); }

/* ─── Dev Status Strip ─── */
.journal-strip { background: var(--secondary); padding: 20px 32px; }
.journal-strip-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.strip-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); white-space: nowrap; }
.strip-items { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.strip-item { font-size: 13px; color: rgba(255,255,255,0.85); }
.strip-sep { color: rgba(255,255,255,0.3); }

/* ─── Posts Grid ─── */
.posts-section { padding: 40px 32px 72px; }
.posts-section-inner { max-width: var(--max); margin: 0 auto; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ─── Post Card ─── */
.post-card { background: white; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; transition: box-shadow 0.22s, transform 0.22s; }
.post-card:hover { box-shadow: 0 6px 24px rgba(18,26,31,0.09); transform: translateY(-2px); }
.post-card-link { display: block; text-decoration: none; color: inherit; }
.post-card-visual { height: 180px; display: flex; align-items: flex-end; padding: 16px; position: relative; background-size: cover; background-position: center; }
.mat-materials { background-image: url('../images/blog/5052-h32-aluminum.png'); }
.mat-field { background-image: url('../images/blog/winter-field-test.png'); }
.mat-canvas { background-image: url('../images/blog/waxed-canvas-sourcing.png'); }
.mat-dev { background-image: url('../images/blog/rail-system-design.png'); }
.mat-dispatch { background-image: url('../images/blog/campsite-dispatch-elsa.png'); }
.mat-oak { background-image: url('../images/blog/oak-handles-vs-aluminum.png'); }
.post-card-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.25); padding: 4px 10px; border-radius: 100px; }
.post-card-body { padding: 20px 22px 24px; }
.post-meta-row { display: flex; gap: 12px; font-size: 12px; color: var(--mid); margin-bottom: 10px; }
.post-location::before { content: '·'; margin-right: 4px; }
.post-title { font-size: 16px; font-weight: 600; color: var(--dark); line-height: 1.35; margin-bottom: 10px; letter-spacing: -0.01em; }
.post-card:hover .post-title { color: var(--primary); }
.post-excerpt { font-size: 13.5px; color: var(--mid); line-height: 1.6; }

/* ─── CTA Section ─── */
.journal-cta { background: var(--dark); padding: 80px 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.journal-cta .cta-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.section-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; display: block; }
.cta-headline { font-size: clamp(24px, 3vw, 36px); font-weight: 300; color: white; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-headline strong { font-weight: 700; }
.cta-copy { font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 36px; }
.waitlist-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto 14px; }
.waitlist-input { flex: 1; font-family: var(--font); font-size: 14px; padding: 13px 18px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); color: white; outline: none; transition: border-color 0.2s; }
.waitlist-input:focus { border-color: var(--primary); }
.waitlist-input::placeholder { color: rgba(255,255,255,0.25); }
.waitlist-submit { font-family: var(--font); font-size: 14px; font-weight: 600; background: var(--primary); color: white; padding: 13px 24px; border-radius: 6px; border: none; cursor: pointer; white-space: nowrap; transition: opacity 0.2s; }
.waitlist-submit:hover { opacity: 0.88; }
.waitlist-note { font-size: 12px; color: rgba(255,255,255,0.25); text-align: center; }

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-visual { min-height: 220px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .journal-header { padding: 56px 24px 48px; }
  .featured-section, .posts-section { padding: 28px 20px; }
  .posts-grid { grid-template-columns: 1fr; }
  .filter-inner { overflow-x: auto; padding-bottom: 4px; }
  .waitlist-form { flex-direction: column; }
}
