/* ============================================================
   Drixft FPV — styles for the inner pages (About, Works, Blog,
   Contact). Reuses the tokens + components from styles.css.
   ============================================================ */

/* active nav link */
.nav-links a.active { color: var(--cyan); }
.nav-links a.active::after { width: 100%; }

/* page hero / shared bits */
.page-hero { padding-top: 120px; }
.page-lede {
  max-width: 760px; margin: 0 auto; text-align: center;
  color: var(--muted); font-size: 1.12rem; line-height: 1.7;
}
.page-lede strong { color: var(--white); }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }
.empty-state a { color: var(--cyan); }

/* long-form prose (story, blog body) */
.prose { color: #c7d2ea; font-size: 1.05rem; line-height: 1.8; max-width: 760px; }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--white); }
.prose em { color: var(--cyan); font-style: normal; }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--white); margin: 1.4em 0 .5em; }

.about-story { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; max-width: var(--maxw); margin: 0 auto; }
.about-story .section-head { margin: 0; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* founder */
.founder { max-width: var(--maxw); margin: 0 auto; }
.founder-card {
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap;
  background: var(--navy-800); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 30px;
}
.founder-img {
  width: 120px; height: 120px; border-radius: 16px; object-fit: contain;
  background: #05080f; border: 1px solid var(--line); padding: 14px;
}
.founder-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 8px 0 4px; }
.founder-role { color: var(--cyan); font-family: var(--font-mono); font-size: .82rem; margin-bottom: 10px; }
.founder-bio { color: var(--muted); max-width: 560px; }
.founder .about-stats { margin-top: 30px; }

/* ===== Works gallery ===== */
.works-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: var(--maxw); margin: 0 auto;
}
.work-card {
  background: var(--navy-800); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.work-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.work-media { position: relative; aspect-ratio: 4/3; background: #05080f; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-cat {
  position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--cyan);
  background: rgba(7,11,22,.72); border: 1px solid var(--line); border-radius: 20px; padding: 4px 10px;
}
.work-body { padding: 18px 20px 22px; }
.work-body h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.work-body p { color: var(--muted); font-size: .92rem; }
.work-meta { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: .7rem; color: var(--sky); }

/* ===== Blog ===== */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: var(--maxw); margin: 0 auto;
}
.blog-card {
  background: var(--navy-800); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.blog-cover { display: block; aspect-ratio: 16/9; background: #05080f; overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s var(--ease); }
.blog-card:hover .blog-cover img { transform: scale(1.04); }
.blog-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.blog-cat { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em; color: var(--cyan); text-transform: uppercase; }
.blog-body h3 { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; }
.blog-body h3 a:hover { color: var(--cyan); }
.blog-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.blog-more { color: var(--cyan); font-family: var(--font-mono); font-size: .8rem; }
.blog-more:hover { color: var(--orange); }

/* ===== Single post ===== */
.post { max-width: 820px; }
.post-back { display: inline-block; color: var(--muted); margin-bottom: 24px; }
.post-back:hover { color: var(--cyan); }
.post-head h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin: 10px 0; }
.post-meta { color: var(--muted); font-family: var(--font-mono); font-size: .82rem; }
.post-cover { margin: 28px 0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: #05080f; }
.post-cover img { width: 100%; max-height: 380px; object-fit: contain; padding: 24px; }
.post-body { max-width: none; }
.post-cta {
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.post-cta p { color: var(--muted); font-size: 1.05rem; }

/* ===== Contact page ===== */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; max-width: var(--maxw); margin: 0 auto; align-items: start; }
.contact-facts { margin-top: 18px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.contact-facts p { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.contact-facts .cl-k { display: inline-block; min-width: 78px; }
.contact-cta-big { display: flex; flex-direction: column; gap: 12px; }
.contact-cta-big .lc-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .74rem; color: var(--cyan); letter-spacing: .05em; }
.contact-cta-big .lc-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ===== WhatsApp float (Plugins → WhatsApp) ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 92px; z-index: 9998;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .15s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* ===== Flexible columns (user-built, add/delete in edit mode) ===== */
.flex-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: var(--maxw); margin: 0 auto;
}
.flex-col {
  background: var(--navy-800); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.flex-col:hover { transform: translateY(-4px); border-color: var(--line); }
.flex-col-media { aspect-ratio: 16/10; background: #05080f; overflow: hidden; }
.flex-col-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.flex-col h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 16px 20px 6px; }
.flex-col-text { color: var(--muted); font-size: .94rem; line-height: 1.6; margin: 0 20px 20px; }
.flex-col-text p { margin-bottom: .6em; }
.flex-cols template { display: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .works-grid, .blog-grid, .cards-3, .flex-cols { grid-template-columns: repeat(2, 1fr); }
  .about-story { grid-template-columns: 1fr; gap: 20px; }
  .contact-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .flex-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .works-grid, .blog-grid, .cards-3 { grid-template-columns: 1fr; }
  .page-hero { padding-top: 100px; }
}
