/* ============================================================
   Pindari - Stylesheet
   Save to: d:/pindari/static/css/style.css
   [replace existing file]
   Step 1 of incremental Home page build: design tokens + nav
   + hero styling only. Rest of the page's styling (services
   cards, portfolio grid, about, contact, footer) comes in
   later, separate approved steps — added to this same file,
   not new files, to match the established single-stylesheet
   pattern used on Bella/Sienna.

   Design tokens below are derived from a user-provided visual
   reference (a dark, amber-accented tech-product site) rather
   than Sienna's warm terracotta palette — Pindari's own
   direction, per project context §2.4.
   ============================================================ */

/* ─── Design tokens ─────────────────────────────────── */
:root {
  --bg:             #0a0a0c;
  --bg-card:        #141416;
  --border:         #232326;

  --accent:         #f5a623;
  --accent-hover:   #d98f1a;

  --text-primary:   #ffffff;
  --text-secondary: #a0a0a8;

  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-pill:  999px;

  --max-w:        1100px;
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Utility ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s, color 0.18s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #14100a;
  padding: 12px 24px;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(245, 166, 35, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  padding: 12px 24px;
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text-secondary);
  background: var(--bg-card);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ─── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-wordmark {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: var(--text-secondary);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
}

/* Nav links hidden on narrow viewports for now — a mobile menu
   (hamburger + slide-out) is a separate future step, not part
   of this pass */
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  padding: 96px 0 64px;
}
.hero-inner {
  max-width: 780px;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Section heading utilities ─────────────────────────
   Shared by Portfolio and future sections (services, about) */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 620px;
}

/* ─── Portfolio ──────────────────────────────────────────
   2x3 grid of mockup case-study cards. Each card is split
   top (image) / bottom (text) — a vertical split reads better
   than left/right at 3-column card widths; revisit if a
   horizontal split is preferred instead. */
.portfolio {
  padding: 80px 0;
}
.portfolio .section-sub {
  margin-bottom: 48px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 380px; /* fixed height so the 50/50 split below is literal,
                    not just aspect-ratio-driven */
}
.portfolio-card-image {
  /* MOCKUP placeholder — flat panel standing in for a real
     project image. Replace background with an actual <img>
     once real portfolio assets exist. */
  flex: 1 1 50%;
  background: linear-gradient(135deg, #1c1c1f, #0f0f11);
  border-bottom: 1px solid var(--border);
}
.portfolio-card-body {
  flex: 1 1 50%;
  padding: 20px;
  overflow: hidden;
}
.portfolio-card-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.portfolio-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}