/* Bad Fish Analytics — palette pulled from the logo:
   deep charcoal, slate teal, cream lettering, amber eyes for accents */

:root {
  --bg: #14181b;
  --bg-raise: #1b2126;
  --panel: #202830;
  --line: #2c363d;
  --teal: #4fa3a3;
  --teal-deep: #2d7373;
  --cream: #ece6d6;
  --text: #d8dee2;
  --muted: #94a3ab;
  --amber: #e8a13d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; color: var(--cream); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1.2rem, 5vw, 4rem);
  background: rgba(20, 24, 27, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--cream);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-brand img { height: 40px; width: 40px; object-fit: cover; border-radius: 8px; }
.nav-brand em { color: var(--teal); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: clamp(0.8rem, 2.5vw, 1.8rem); }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--cream); }

.nav-cta {
  color: var(--bg) !important;
  background: var(--teal);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--cream); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 7rem) clamp(1.2rem, 5vw, 4rem) clamp(2.5rem, 6vh, 4rem);
}

.kicker {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.accent { color: var(--teal); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.lede strong { color: var(--cream); }

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.12s, background 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--teal); color: var(--bg); }
.btn-primary:hover { background: var(--cream); }

.btn-ghost {
  color: var(--cream);
  border: 1px solid var(--line);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.hero-logo { display: flex; justify-content: center; }

.hero-logo img {
  width: min(100%, 340px);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(79, 163, 163, 0.12);
}

/* ---------- sections ---------- */

.section {
  max-width: 1150px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1.2rem, 5vw, 4rem);
}

.section h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 2.2rem;
}

.rule {
  display: inline-block;
  width: 2.4rem;
  height: 3px;
  border-radius: 2px;
  background: var(--teal);
  flex: none;
}

/* services */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  transition: transform 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-4px); border-color: var(--teal-deep); }

.card-icon { font-size: 1.6rem; margin-bottom: 0.8rem; }

.card h3 { font-size: 1.12rem; margin-bottom: 0.55rem; }

.card p { color: var(--muted); font-size: 0.94rem; }

.industries {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.industries strong { color: var(--cream); }

.chip {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.22rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 500;
}

/* work */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.1rem;
}

.work-item {
  background: linear-gradient(160deg, var(--panel), var(--bg-raise));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.9rem 1.7rem;
}

.work-tag {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.work-item h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 0.8rem; }

.work-item > p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.2rem; }

.work-stats { list-style: none; display: grid; gap: 0.45rem; }

.work-stats li {
  color: var(--muted);
  font-size: 0.94rem;
  padding-left: 1.1rem;
  position: relative;
}
.work-stats li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--teal);
}
.work-stats strong { color: var(--cream); }

/* about */

.about {
  border-left: 3px solid var(--teal);
  padding-left: clamp(1.2rem, 3vw, 2rem);
  max-width: 46rem;
}

.about-lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text); }

.about-kicker {
  margin-top: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--teal);
}

/* contact */

.section-contact { text-align: center; padding-bottom: clamp(3rem, 8vh, 6rem); }
.section-contact h2 { justify-content: center; }

.contact-lede { color: var(--muted); margin-bottom: 1.8rem; }

.section-contact .hero-actions { justify-content: center; }

.contact-note { margin-top: 1.1rem; color: var(--muted); font-size: 0.95rem; }
.contact-note a { color: var(--teal); text-decoration: none; }
.contact-note a:hover { color: var(--cream); text-decoration: underline; }

/* footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer img { height: 30px; width: 30px; object-fit: cover; border-radius: 6px; opacity: 0.8; }

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 2; }
  .hero-logo { order: 1; }
  .hero-logo img { width: min(60%, 240px); }
  .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .nav-links a:not(.nav-cta) { display: none; }
}
