:root {
  --ink: #15131c;
  --text: #211f2a;
  --muted: #6b6775;
  --bg: #fbfaf9;
  --paper: #ffffff;
  --border: #e7e4ec;
  --accent: #8a6fc4;
  --accent-dark: #6d50a8;
  --accent-soft: #efe9fb;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(20, 18, 30, 0.06), 0 1px 1px rgba(20, 18, 30, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 18, 30, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand-dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-sm { padding: 0.6em 1.2em; font-size: 0.88rem; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 24px 64px;
  background:
    radial-gradient(circle at 15% 20%, var(--accent-soft) 0%, transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(138, 111, 196, 0.08) 0%, transparent 50%);
}

.hero-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 18px;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.stat-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-row div { text-align: center; }

.stat-row dt {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
}

.stat-row dd {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-alt {
  max-width: none;
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-alt > * {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 560px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.section-sub {
  color: var(--muted);
  margin: 12px 0 0;
}

/* ---------- Case studies ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 760px) {
  .case-grid { grid-template-columns: 1fr; }
}

.case-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.quiet-card { grid-column: 1 / -1; }

.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  margin-bottom: 14px;
}

.tag-a { background: #fde7e7; color: #a23b3b; }
.tag-b { background: #e7f0fd; color: #2f5fa3; }
.tag-c { background: #e9f7ee; color: #2f8259; }
.tag-d { background: #fdf3e0; color: #a3762f; }
.tag-e { background: var(--accent-soft); color: var(--accent-dark); }
.tag-f { background: #f0e9fb; color: #6d3fa8; }

.case-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.case-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.case-card p { color: var(--text); margin: 0 0 14px; }
.case-card p:last-child { margin-bottom: 0; }

.case-stats {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.case-stats strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* ---------- Skills ---------- */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
}

.skill-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.skill-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.skill-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.skill-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Pipeline ---------- */

.pipeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  border-top: 1px solid var(--border);
}

.pipeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.status-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
}

.status-active .status-dot { background: var(--accent); }
.status-done .status-dot { background: #2f8259; }

.pipeline-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.pipeline-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 760px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin: 0;
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 0 14px;
  color: var(--ink);
}

.testimonial footer {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 56px 40px;
}

.contact-box h2 { color: #fff; font-size: 2rem; margin-bottom: 14px; }
.contact-box p { color: rgba(255,255,255,0.72); margin: 0 0 24px; }
.contact-box .btn-primary { background: #fff; color: var(--ink); }
.contact-box .btn-primary:hover { background: var(--accent-soft); }

.fine-print {
  margin-top: 28px !important;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45) !important;
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 32px 24px 48px;
  color: var(--muted);
  font-size: 0.85rem;
}
