@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700;9..144,900&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

/* Base palette -- MotoGraphicz: bright CMYK print-shop, cheerful & legible */
:root {
  --ink: #141414;            /* near-black ink -- all body text */
  --ink-soft: #4a4a48;
  --paper: #ffffff;          /* crisp white paper */
  --paper-tint: #f7f7f4;     /* faint off-white section band */
  --border-soft: #e6e6e2;

  /* the print-shop spectrum -- used across icons, borders, accents */
  --c-cyan: #00aeef;
  --c-magenta: #ec008c;
  --c-yellow: #ffd100;
  --c-orange: #ff6a00;
  --c-green: #00a651;
  --c-red: #ed1c24;
  --c-blue: #0072ce;

  --primary: #0072ce;        /* bright blue -- links, CTAs, active states */
  --primary-dark: #00579c;   /* darker blue for hover */

  /* legacy variable names kept for compatibility with existing markup */
  --primary-mid: #00aeef;
  --sage: #f7f7f4;
  --accent-gold: #ff6a00;
  --accent-teal: #00a651;
  --text-main: #141414;
  --text-muted: #6b6b68;
  --bg-soft: #f7f7f4;
}

body {
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--paper);
}

h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .navbar-brand {
  font-family: 'Fraunces', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Registration-mark signature element -- a nod to print production */
.reg-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  vertical-align: middle;
}
.reg-mark::before,
.reg-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.reg-mark::before { left: 50%; top: -3px; bottom: -3px; width: 1.5px; transform: translateX(-50%); }
.reg-mark::after { top: 50%; left: -3px; right: -3px; height: 1.5px; transform: translateY(-50%); }

/* CMYK swatch bar -- a small cheerful signature strip */
.cmyk-bar {
  display: flex;
  height: 6px;
  width: 100%;
}
.cmyk-bar span { flex: 1 1 0; }
.cmyk-bar span:nth-child(1) { background: var(--c-cyan); }
.cmyk-bar span:nth-child(2) { background: var(--c-magenta); }
.cmyk-bar span:nth-child(3) { background: var(--c-yellow); }
.cmyk-bar span:nth-child(4) { background: var(--ink); }

/* Navbar */
.navbar-brand span.brand-mark {
  display: inline-block;
  padding: 4px 8px;
  background: var(--c-blue);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-right: 6px;
  border-radius: 3px;
}
.navbar-nav .nav-link {
  font-weight: 500;
  padding-right: 1rem;
  padding-left: 1rem;
  color: var(--ink) !important;
}
.navbar-nav .nav-link.active {
  color: var(--c-blue) !important;
  border-bottom: 2px solid var(--c-blue);
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}
.hero-min {
  padding: 2.5rem 0 2rem;
}
.hero-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-magenta);
  font-weight: 700;
}
.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Buttons */
.btn-primary {
  background-color: var(--c-blue);
  border-color: var(--c-blue);
  color: #fff;
  font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline-primary {
  color: var(--c-blue);
  border-color: var(--c-blue);
}
.btn-outline-primary:hover {
  background-color: var(--c-blue);
  border-color: var(--c-blue);
}

/* Section helpers */
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--c-green);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

/* Product / category cards -- cycle through the bright spectrum for a
   cheerful "all colors together" rhythm across repeating grids */
.card-category {
  border-radius: 0.5rem;
  border: 1px solid var(--border-soft);
  border-top: 4px solid var(--c-blue);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card-category:nth-of-type(6n+2) { border-top-color: var(--c-magenta); }
.card-category:nth-of-type(6n+3) { border-top-color: var(--c-yellow); }
.card-category:nth-of-type(6n+4) { border-top-color: var(--c-green); }
.card-category:nth-of-type(6n+5) { border-top-color: var(--c-red); }
.card-category:nth-of-type(6n+6) { border-top-color: var(--c-cyan); }
.card-category:hover {
  box-shadow: 0 12px 25px rgba(20, 20, 20, 0.1);
  transform: translateY(-2px);
}
.card-category-img {
  height: 150px;
  object-fit: cover;
}

/* Gallery / carousel */
.sample-carousel {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

/* Info blocks */
.info-block {
  background: var(--bg-soft);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--c-orange);
  margin-bottom: 1rem;
}
.info-block:nth-of-type(6n+2) { border-left-color: var(--c-blue); }
.info-block:nth-of-type(6n+3) { border-left-color: var(--c-magenta); }
.info-block:nth-of-type(6n+4) { border-left-color: var(--c-green); }
.info-block:nth-of-type(6n+5) { border-left-color: var(--c-red); }
.info-block:nth-of-type(6n+6) { border-left-color: var(--c-cyan); }

/* Testimonials */
.testimonial-card {
  border-left: 4px solid var(--c-magenta);
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid var(--border-soft);
  border-left-width: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.testimonial-card:nth-of-type(3n+2) { border-left-color: var(--c-green); }
.testimonial-card:nth-of-type(3n+3) { border-left-color: var(--c-blue); }
.testimonial-name {
  font-weight: 600;
  color: var(--ink);
}
.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Social grid */
.social-grid img {
  width: 100%;
  border-radius: 0.4rem;
  margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d8d8d5;
  padding: 2rem 0 1rem;
}
.site-footer a {
  color: #ffffff;
}
.site-footer a:hover {
  color: var(--c-yellow);
}

/* Portfolio tags */
.filter-pill {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  margin: 0 0.25rem 0.5rem 0;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink);
}
.filter-pill.active {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: #fff;
}
.gallery-thumb.active-thumb {
  border: 2px solid var(--c-blue);
}
