/* ============================================================
   The Central Office — custom light theme
   Brand: CMYK print-shop motif (blue #10a0f0, magenta #e00080,
   yellow #f5c400, ink black)
   ============================================================ */

:root {
  --blue: #0e8fd8;
  --blue-dark: #0a5c9e;
  --blue-soft: #e8f5fc;
  --magenta: #d40077;
  --yellow: #f5c400;
  --ink: #16181d;
  --ink-2: #3a3f48;
  --muted: #5d6470;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-tint: #fbfcfe;
  --border: #e7e9ee;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, .05), 0 2px 8px rgba(22, 24, 29, .04);
  --shadow-md: 0 4px 14px rgba(22, 24, 29, .08), 0 12px 32px rgba(22, 24, 29, .06);
  --container: 1160px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- CMYK dots (print-shop motif) ---------- */
.cmyk-dots { display: inline-flex; gap: 6px; align-items: center; }
.cmyk-dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cmyk-dots .c { background: var(--blue); }
.cmyk-dots .m { background: var(--magenta); }
.cmyk-dots .y { background: var(--yellow); }
.cmyk-dots .k { background: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none !important;
  line-height: 1.3;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(14, 143, 216, .35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14, 143, 216, .4); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2e37; transform: translateY(-1px); }
.btn-outline { border-color: var(--border); color: var(--ink); background: var(--bg); }
.btn-outline:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: rgba(22, 24, 29, .06); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; }
.brand-logo { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: var(--ink-2);
  font-weight: 600;
  font-size: .93rem;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav-link.is-active { color: var(--blue-dark); background: var(--blue-soft); }
.nav-link.nav-cta {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 10px rgba(14, 143, 216, .3);
}
.nav-link.nav-cta:hover { background: var(--blue-dark); }
/* Cart item count on the storefront "Cart" nav link (shared chrome) */
.nav-badge {
  display: inline-block;
  min-width: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .55;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 12, 16, .92) 0%, rgba(10, 12, 16, .72) 42%, rgba(10, 12, 16, .25) 100%);
}
.hero-inner {
  position: relative;
  padding: 110px 0 120px;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cfe8fb;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 .serif-accent { font-family: var(--serif); font-style: italic; font-weight: 500; color: #7fc9f2; }
.hero-sub { font-size: 1.15rem; color: #d6dae2; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: .88rem; color: #aeb4bf; }
.hero-note a { color: #7fc9f2; }

/* ---------- Section scaffolding ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4d9e1; }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--bg-soft);
  color: var(--blue-dark);
}
.service-card.c-theme .service-icon { background: #e8f5fc; }
.service-card.m-theme .service-icon { background: #fdeef6; color: var(--magenta); }
.service-card.y-theme .service-icon { background: #fdf6d9; color: #a38200; }
.service-card.k-theme .service-icon { background: #eef0f3; color: var(--ink); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .93rem; flex-grow: 1; margin-bottom: 16px; }
.service-card .card-link {
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .card-link svg { transition: transform .15s ease; }
.service-card:hover .card-link svg { transform: translateX(3px); }

/* ---------- Feature/check list ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink-2);
}
.check-list .check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  margin-top: 3px;
}

.soon-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
  padding: .38em .85em;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  top: -.28em;
}
.soon-note {
  margin-top: 26px;
  padding: 16px 18px;
  background: var(--blue-soft);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--ink-2);
  margin-bottom: 0;
}
.soon-note a { font-weight: 700; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split > * { min-width: 0; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.split-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* ---------- Owner letter (homepage) ---------- */
.owner-letter {
  max-width: 900px;
  margin: 0 auto;
}
.owner-letter h2 { max-width: 780px; }
.owner-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  margin-top: 34px;
}
.owner-aside {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.owner-body {
  grid-column: 1;
  grid-row: 1;
}
.owner-photo {
  flex: 1 1 auto;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e9ebef;
}
.owner-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.owner-byline { margin-top: 16px; }
.owner-byline .name {
  display: block;
  font-weight: 800;
  color: var(--ink);
}
.owner-byline .role {
  display: block;
  font-size: .9rem;
  color: var(--muted);
}
.owner-body p {
  color: var(--ink-2);
  font-size: 1.03rem;
  line-height: 1.8;
  margin-bottom: 1.15em;
}
.owner-body .owner-closing {
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.4;
  margin-top: 26px;
  margin-bottom: 0;
}
.owner-letter .btn { margin-top: 30px; }
@media (max-width: 760px) {
  .owner-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .owner-aside {
    grid-column: 1;
    grid-row: auto;
    max-width: 260px;
    height: auto;
  }
  .owner-body {
    grid-column: 1;
    grid-row: auto;
  }
  .owner-photo {
    flex: none;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
}

/* ---------- Hero (secondary pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #0c1118 0%, #1a2330 100%);
  color: #fff;
  padding: 76px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #c3c9d4; max-width: 640px; margin: 0; }

/* ---------- Quote form ---------- */
.quote-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.form-field label .req { color: var(--magenta); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg-tint);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 143, 216, .15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.dropzone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--blue); background: var(--blue-soft); }
.dropzone strong { color: var(--blue-dark); display: block; margin-bottom: 4px; }
.file-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 13px;
  font-size: .88rem;
}
.file-list .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .frm { color: var(--muted); font-size: .8rem; flex-shrink: 0; }
.file-list button { border: none; background: none; color: var(--magenta); cursor: pointer; font-size: 1rem; padding: 0 4px; }

.alert {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 26px;
  font-size: .95rem;
  font-weight: 600;
}
.alert-success { background: #e9f9ef; color: #126b35; border: 1px solid #bfe8cd; }
.alert-error { background: #fdecec; color: #a01e1e; border: 1px solid #f5c6c6; }

.side-note {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.side-note h3 { font-size: 1.02rem; margin-bottom: 10px; }
.side-note p { color: var(--muted); font-size: .92rem; margin-bottom: .7em; }
.side-note p:last-child { margin-bottom: 0; }
.side-note .big-phone { font-size: 1.5rem; font-weight: 800; color: var(--ink); }

/* ---------- Orders page ---------- */
.orders-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.step-card h3 { font-size: 1.05rem; }
.step-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.contact-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.contact-card .contact-icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--blue-soft); color: var(--blue-dark);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-card p { color: var(--muted); margin: 0; }
.contact-card a.big-link { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 420px; border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7ccd6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  padding-top: 68px;
  padding-bottom: 48px;
}
.footer-logo-wrap { display: block; }
.footer-logo { display: block; width: 100%; height: auto; margin-bottom: 18px; background: #fff; padding: 7px 9px; border-radius: 8px; }
.footer-about { font-size: .92rem; color: #a7aeba; margin-bottom: 18px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e8ebf1;
  font-weight: 700;
  font-size: .9rem;
}
.social-link:hover { color: #7fc9f2; text-decoration: none; }
.footer-heading {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #a7aeba; font-size: .93rem; }
.footer-links a:hover { color: #fff; }
.footer-address, .footer-phone, .footer-email, .footer-hours { font-size: .93rem; margin-bottom: 8px; }
.footer-phone a, .footer-email a { color: #a7aeba; }
.footer-phone a:hover, .footer-email a:hover { color: #fff; }
.footer-hours-note { font-size: .83rem; color: #8a919e; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: .84rem;
  color: #8a919e;
}

/* ---------- Page bottom CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #0c1118, #1c2738);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c3c9d4; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .quote-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 14px 24px 20px;
  }
  .site-nav.is-open { display: flex; }
  .nav-link { padding: 12px 14px; border-radius: 10px; }
  .nav-link.nav-cta { text-align: center; }
  .hero-inner { padding: 84px 0 92px; }
  .section { padding: 64px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* Quote form upload progress (AJAX) */
.upload-progress{margin-top:20px;padding:16px 18px;background:var(--bg-tint,#fbfcfe);border:1px solid var(--border,#e7e9ee);border-radius:var(--radius,14px)}
.upload-progress-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px;font-size:.95rem}
.upload-progress-head strong{color:var(--ink,#16181d)}
.upload-progress-head span{font-variant-numeric:tabular-nums;color:var(--blue-dark,#0a5c9e);font-weight:800}
.upload-bar{height:12px;border-radius:99px;background:#e3e7ee;overflow:hidden}
.upload-bar>span{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,var(--blue,#0e8fd8),var(--magenta,#d40077));transition:width .2s ease}
.upload-progress-meta{margin-top:8px;font-size:.82rem;color:var(--muted,#5d6470);font-variant-numeric:tabular-nums}
.quote-success{text-align:center;padding:24px 16px}
.quote-success h3{font-size:1.35rem;margin-bottom:12px}
.quote-success .ref{display:inline-block;margin:2px 0;padding:5px 14px;border-radius:999px;background:var(--blue-soft,#e8f5fc);color:var(--blue-dark,#0a5c9e);font-weight:800;letter-spacing:.05em}
