/* ============================================================
   Kemp Publishing, Inc. — Commercial Printing
   Northbridge, MA
   ============================================================ */

:root {
  --red: #e4002b;
  --red-dark: #b80022;
  --red-soft: #fff0f2;
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --paper: #ffffff;
  --paper-alt: #f7f7f8;
  --paper-dark: #111214;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--red-dark); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  line-height: 1;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(228, 0, 43, 0.28); }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(228, 0, 43, 0.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f1f1; color: var(--ink); transform: translateY(-2px); }
.btn-upload { background: var(--ink); color: #fff; }
.btn-upload:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.brand-text span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.nav-links a:hover { background: var(--paper-alt); color: var(--ink); }
.nav-links a.active { color: var(--red); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(228, 0, 43, 0.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--paper-alt) 100%);
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); }
.hero-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 44ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.hero-badge svg { width: 20px; height: 20px; color: var(--red); flex: none; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 18px;
  background: linear-gradient(145deg, #1b1c1f, #2b2d31);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 34px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 22px);
}
.hero-visual .stamp {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transform: rotate(-2deg);
}
.hero-visual .stamp img { height: 84px; width: auto; margin: 0 auto 12px; }
.hero-visual .stamp .est { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.hero-visual .chip {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-visual .chip svg { width: 15px; height: 15px; color: var(--red); }
.hero-visual .chip-1 { top: 26px; left: 20px; transform: rotate(-4deg); }
.hero-visual .chip-2 { bottom: 30px; right: 18px; transform: rotate(3deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--paper-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.72); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #dcdcdc; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.98rem; margin-bottom: 0; }

/* ---------- Info strip ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strip-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.strip-item .ic {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  background: var(--ink); color: #fff; display: grid; place-items: center;
}
.strip-item .ic svg { width: 22px; height: 22px; }
.strip-item h3 { margin-bottom: 3px; font-size: 1.05rem; }
.strip-item p { margin: 0; font-size: 0.95rem; }
.strip-item a { font-weight: 700; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat .num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--red); letter-spacing: -0.03em; }
.stat .label { font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.section-dark .stat .num { color: #fff; }
.section-dark .stat .label { color: rgba(255, 255, 255, 0.6); }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media {
  border-radius: 18px;
  min-height: 380px;
  background:
    radial-gradient(600px 300px at 20% 20%, rgba(228, 0, 43, 0.16), transparent 60%),
    linear-gradient(150deg, #1b1c1f, #34363b);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  padding: 40px;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 18px);
}
.split-media .logo-plate {
  background: #fff; border-radius: 14px; padding: 34px 30px; box-shadow: var(--shadow-md);
  position: relative; text-align: center;
}
.split-media .logo-plate img { height: 90px; width: auto; margin: 0 auto; }

/* ---------- Product list ---------- */
.product-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-group {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.product-group h3 { font-size: 1rem; color: var(--red); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.product-group ul { list-style: none; margin: 0; padding: 0; }
.product-group li { padding: 6px 0 6px 24px; position: relative; font-size: 0.96rem; color: var(--ink-soft); }
.product-group li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--red);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative;
}
.step .n {
  width: 42px; height: 42px; border-radius: 10px; background: var(--red); color: #fff;
  font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.1rem;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 20px;
  padding: clamp(38px, 6vw, 64px);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 46px; align-items: start; }
.contact-info .strip-item { margin-bottom: 16px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 34px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.98rem; color: var(--ink); background: #fff;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(228, 0, 43, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.captcha { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha .q {
  background: var(--paper-alt); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 16px; font-weight: 800; font-size: 1.02rem; letter-spacing: 0.02em; white-space: nowrap;
}
.captcha input { max-width: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 14px; font-weight: 700; display: none; padding: 12px 16px; border-radius: 10px; }
.form-status.ok { display: block; background: #eafaf0; color: #1a7a44; border: 1px solid #b7e6c9; }
.form-status.err { display: block; background: #fdeaec; color: var(--red-dark); border: 1px solid #f4c2c9; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(228, 0, 43, 0.10), transparent 60%),
    linear-gradient(180deg, #fff, var(--paper-alt));
  padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; font-size: 0.85rem; }
.breadcrumb li { color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.page-hero h1 { margin-bottom: 12px; max-width: 20ch; }
.page-hero p { font-size: 1.14rem; max-width: 58ch; margin-bottom: 0; }

/* ---------- Prose ---------- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose p { font-size: 1.05rem; }
.prose ul { padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-dark); color: rgba(255, 255, 255, 0.72); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.68); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.footer-contact svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.86rem; color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Modal (upload) ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10, 10, 12, 0.62);
  backdrop-filter: blur(4px); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 560px;
  box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(14px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 8px; }
.modal-close:hover { background: var(--paper-alt); color: var(--ink); }
.modal-close svg { width: 22px; height: 22px; }
.modal-body { padding: 24px; }
.modal-body p { font-size: 0.98rem; }
.uplink-slot {
  border: 2px dashed var(--line); border-radius: 12px; padding: 26px; text-align: center;
  background: var(--paper-alt); margin: 8px 0 4px;
}
.uplink-slot svg { width: 40px; height: 40px; color: var(--red); margin: 0 auto 10px; }
.uplink-slot .small { font-size: 0.85rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .cards, .strip, .steps { grid-template-columns: 1fr 1fr; }
  .product-cols { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .nav-desktop-cta { display: none; }
  .cards, .strip, .steps, .product-cols, .stats, .form-row { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
