/*
Theme Name: Baseline Supply Co.
Theme URI: https://baselinesupply.co
Author: Baseline Supply Co.
Description: Modern, bold dark theme for a lab supply business. Pens, cartridges, filters, and consumables.
Version: 1.2
License: GNU General Public License v2 or later
Text Domain: baseline-supply
*/

:root {
  --bg: #0b0e14;
  --bg-alt: #121722;
  --card: #171e2c;
  --border: #263047;
  --text: #e8ecf4;
  --muted: #9aa7bd;
  --accent: #2dd4bf;
  --accent-2: #818cf8;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text);
}
.logo span { color: var(--accent); }
.logo-wrap { display: flex; align-items: center; height: 68px; overflow: hidden; }
.logo-img { height: 120px; width: auto; mix-blend-mode: screen; }
.site-footer .logo-wrap { height: 60px; }
.site-footer .logo-img { height: 104px; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s;
}
.nav-links a:hover, .nav-links .current-menu-item a, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #06211e !important; font-weight: 700;
  padding: 9px 18px; border-radius: 8px; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* Hero */
.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 10%, rgba(45, 212, 191, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 20% 90%, rgba(129, 140, 248, 0.10), transparent);
  text-align: center;
}
.hero.hero-compact { padding: 70px 0 50px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
  max-width: 820px; margin: 0 auto 20px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 36px;
}
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; transition: transform 0.15s, opacity 0.2s;
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-primary { background: var(--accent); color: #06211e; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  color: var(--accent); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.8rem; margin-bottom: 10px;
}
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 44px; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, transform 0.15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .icon { font-size: 1.9rem; margin-bottom: 14px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .tag {
  display: inline-block; margin-top: 14px; font-size: 0.8rem; font-weight: 600;
  color: var(--accent); background: rgba(45, 212, 191, 0.1);
  padding: 4px 10px; border-radius: 20px;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; text-align: center; }
.stat h3 { font-size: 2.2rem; font-weight: 900; color: var(--accent); }
.stat p { color: var(--muted); font-size: 0.9rem; }

/* Forms (works with Contact Form 7 / WPForms defaults too) */
form { display: grid; gap: 16px; max-width: 560px; }
label { font-weight: 600; font-size: 0.9rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-size: 1rem; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); border-color: transparent; }
input[type="submit"] {
  background: var(--accent); color: #06211e; font-weight: 700;
  padding: 14px 30px; border-radius: 10px; border: none; cursor: pointer; width: fit-content;
}

/* Page content (WP editor output) */
.entry-content { max-width: 760px; }
.entry-content p { color: var(--muted); margin-bottom: 18px; }
.entry-content h2, .entry-content h3 { margin-top: 32px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px 24px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 32px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { font-size: 0.95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); font-size: 0.9rem; }
.site-footer a:hover { color: var(--accent); }
.footer-note { color: var(--muted); font-size: 0.8rem; border-top: 1px solid var(--border); padding-top: 24px; }

/* WooCommerce basics */
.woocommerce ul.products li.product {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.woocommerce ul.products li.product .price { color: var(--accent); font-weight: 700; }
.woocommerce .button, .woocommerce a.button {
  background: var(--accent); 