/* Bamidigit portfolio v2 — KitPersona-style, dark + gold. One file, no frameworks. */
:root {
  --dark: #0f1115;
  --dark2: #171a21;
  --gold: #d4a017;
  --gold-dark: #b8890f;
  --ink: #17191f;
  --muted: #5b6470;
  --muted-light: #b9bec7;
  --bg: #ffffff;
  --soft: #f4f5f7;
  --line: #e6e8ec;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--dark); color: #f2f3f5; }
.muted { color: var(--muted); }
.muted.light { color: var(--muted-light); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700;
  color: var(--gold); margin: 0 0 10px;
}
.eyebrow.dark { color: var(--gold-dark); }
.gold { color: var(--gold); }
.inline-gold { color: var(--gold); font-weight: 600; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 21, .96);
  color: #f2f3f5;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--gold); color: var(--dark);
  font-family: Georgia, serif; font-size: 20px;
}
.nav nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav nav a { text-decoration: none; color: #d7dae0; font-size: 14px; padding: 8px 10px; border-radius: 8px; }
.nav nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-cta { background: var(--gold) !important; color: var(--dark) !important; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 24px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #e3ae1c; }
.btn-ghost { background: transparent; color: #f2f3f5; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--dark); color: #fff; padding: 11px 20px; }
.btn-dark:hover { background: #23262e; }
.text-link { color: var(--gold-dark); font-weight: 700; text-decoration: none; }

/* Hero */
.hero { background: var(--dark); color: #f2f3f5; padding: 72px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); }
.lede { font-size: 18px; color: #cfd3da; max-width: 56ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 30px; }
.hero-stats {
  list-style: none; margin: 0; padding: 22px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats strong { display: block; font-size: 22px; color: var(--gold); }
.hero-stats span { font-size: 12.5px; color: var(--muted-light); line-height: 1.4; display: block; }
.hero-art img { border-radius: var(--radius); }
.hero-caption { font-size: 13px; color: var(--muted-light); margin-top: 12px; line-height: 1.5; }

/* Services */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 40px; }
.svc-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background: #fff;
}
.svc-card ul { margin: 0 0 16px; padding-left: 20px; color: #333a44; }
.svc-card li { margin-bottom: 6px; }
.subhead { font-size: 22px; margin-top: 8px; }
.subhead.light { color: #f2f3f5; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: var(--soft);
  display: flex; flex-direction: column;
}
.price-card p { font-size: 14.5px; }
.price { font-size: 15px; margin-top: auto; }
.price strong { font-size: 24px; }
.price-card .btn { margin-top: 10px; text-align: center; }
.platforms { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Portfolio cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 17, 21, .12); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e8eaee; }
.card-body { padding: 18px 20px 20px; }
.card-body h3 { font-size: 18px; margin-bottom: 8px; }
.card-body p { font-size: 14.5px; color: var(--muted); }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px !important; }
.badge {
  display: inline-block; background: var(--gold); color: var(--dark);
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  padding: 2px 7px; border-radius: 999px; vertical-align: 1px;
}
.go { font-weight: 700; color: var(--gold-dark); font-size: 14px; }
.dark-card { background: var(--dark2); border-color: rgba(255, 255, 255, .1); color: #f2f3f5; }
.dark-card .card-body p { color: var(--muted-light); }
.dark-card .go { color: var(--gold); }
.yt-grid { grid-template-columns: repeat(2, 1fr); }

/* Reviews */
.rating-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 20px 0 26px; }
.rating-big strong { font-size: 34px; display: block; line-height: 1.1; }
.rating-big span { color: var(--muted); font-size: 14px; }
.rating-bars p { margin: 0 0 4px; display: flex; gap: 12px; font-size: 14px; }
.rating-bars span { min-width: 170px; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-grid blockquote {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.review-grid blockquote p { font-size: 14.5px; }
.review-grid footer { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* About */
.about-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; }
.about-photo { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; display: block; margin-bottom: 20px; border: 4px solid var(--gold); }
.about-facts { background: var(--soft); border-radius: var(--radius); padding: 26px 28px; }
.about-facts p { margin-bottom: 12px; font-size: 15px; }
.about-facts p:last-child { margin-bottom: 0; }

/* Hire */
.hire-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hire-links { list-style: none; margin: 26px 0 0; padding: 0; }
.hire-links li { margin-bottom: 8px; }
.hire-links a { color: var(--gold); text-decoration: none; font-weight: 600; }
.contact-form {
  background: var(--dark2); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 26px;
}
.contact-form h3 { color: #fff; }
.form-note { font-size: 13.5px; color: var(--muted-light); }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: #d7dae0; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  border-radius: 9px; border: 1px solid rgba(255, 255, 255, .18);
  background: #0f1115; color: #f2f3f5; font: inherit; font-size: 14.5px;
}
.form-done { margin-top: 14px; font-size: 14px; color: #ffe9a8; }
.form-done a { color: var(--gold); }

/* Footer */
.footer { background: var(--dark); color: #9aa0ab; padding: 36px 0 44px; font-size: 14px; }
.footer strong { color: var(--gold); letter-spacing: .06em; }
.footer .fine { font-size: 12.5px; color: #6f7580; margin-bottom: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .about-in, .hire-in { grid-template-columns: 1fr; gap: 32px; }
  .svc-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .grid, .yt-grid, .price-grid, .review-grid { grid-template-columns: 1fr; }
  .nav nav a:not(.nav-cta) { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
