/* =====================================================================
   Western Printers — site styles
   Plain CSS, no build step. Brand: navy #1a3151 + azure #1b9dd9.
   Sections: 1) Tokens  2) Reset  3) Base/typography  4) Layout
   5) Header/nav  6) Buttons  7) Hero  8) Components  9) Sections
   10) Forms  11) Footer  12) Utilities  13) Responsive  14) Motion
   ===================================================================== */

/* 1) Design tokens ---------------------------------------------------- */
:root {
  --navy:        #1a3151;
  --navy-800:    #14263f;
  --navy-700:    #24426b;
  --azure:       #1b9dd9;
  --azure-600:   #1580b4;
  --azure-050:   #eaf6fc;
  /* CMYK accents — used sparingly to echo the print theme */
  --magenta:     #e6007e;
  --yellow:      #ffc60b;
  --cyan:        #00aeef;

  --ink:         #1f2b3a;   /* body text */
  --muted:       #5b6b7f;   /* secondary text */
  --line:        #e3e9f0;   /* hairlines / borders */
  --bg:          #ffffff;
  --bg-alt:      #f4f8fc;   /* soft section background */

  --container:   1180px;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow-sm:   0 1px 3px rgba(20,38,63,.08);
  --shadow:      0 10px 30px rgba(20,38,63,.10);
  --shadow-lg:   0 24px 60px rgba(20,38,63,.16);

  --font-head:   "Zilla Slab", Georgia, "Times New Roman", serif;
  --font-body:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease:        cubic-bezier(.22,.61,.36,1);
  --header-h:    120px;
}

/* 2) Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul[role="list"] { list-style: none; padding: 0; }

/* 3) Base & typography ------------------------------------------------ */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.12rem; }
p { color: var(--muted); }
strong { color: var(--ink); }
a.inline { color: var(--azure-600); font-weight: 600; }
a.inline:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--azure); color: #fff; }

/* 4) Layout ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(34px, 5vw, 60px); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #cdd8e6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--azure-600); margin-bottom: 12px;
}
.section--navy .eyebrow { color: var(--azure); }
.lead { font-size: 1.18rem; color: var(--muted); }
.section-head { margin-bottom: clamp(34px, 4vw, 52px); }

/* 5) Header & navigation --------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { height: 92px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 9px; font-weight: 600; color: var(--navy);
  font-size: .98rem; transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--azure-050); color: var(--azure-600); }
.nav a.is-active { color: var(--azure-600); }
.nav a.is-active::after {
  content: ""; display: block; height: 3px; border-radius: 3px;
  background: var(--azure); margin: 6px 14px 0;
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* 6) Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--azure); color: #fff; box-shadow: 0 8px 20px rgba(27,157,217,.32); }
.btn--primary:hover { background: var(--azure-600); box-shadow: 0 12px 26px rgba(27,157,217,.42); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--azure); color: var(--azure-600); }
.btn--on-navy { background: #fff; color: var(--navy); }
.btn--on-navy:hover { background: var(--azure-050); }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--lg { padding: 16px 30px; font-size: 1.06rem; }

/* 7) Hero ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #e7eefb;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy) 55%, var(--navy-700) 100%);
}
.hero::before { /* azure diagonal accent echoing the logo banner */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 58%, rgba(27,157,217,.20) 58%, rgba(27,157,217,.20) 70%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-block: clamp(36px, 6vw, 68px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--azure); }
.hero p.lead { color: #c3d2e8; margin-top: 18px; max-width: 540px; }
.hero p.lead strong { color: #fff; }   /* emphasised phrase must stay readable on the dark hero */
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; color: #9fb4d2; font-size: .92rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { color: var(--azure); }
.hero-art {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg);
}
.hero-art img { width: 100%; border-radius: 12px; display: block; }

/* CMYK ribbon */
.cmyk-bar { height: 5px; display: flex; }
.cmyk-bar i { flex: 1; }
.cmyk-bar i:nth-child(1){ background: var(--cyan); }
.cmyk-bar i:nth-child(2){ background: var(--magenta); }
.cmyk-bar i:nth-child(3){ background: var(--yellow); }
.cmyk-bar i:nth-child(4){ background: var(--navy); }

/* 8) Components ------------------------------------------------------- */
.cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe3f3; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--azure-050); color: var(--azure-600); margin-bottom: 16px;
}
.card .icon svg { width: 26px; height: 26px; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.card ul li { margin-bottom: 4px; }

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .tick {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--azure); color: #fff; display: grid; place-items: center; margin-top: 2px;
}
.feature .tick svg { width: 16px; height: 16px; }
.feature h4 { margin-bottom: 4px; }
.feature p { margin: 0; font-size: .98rem; }

/* stats / highlight band */
.stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--azure); font-weight: 700; line-height: 1; }
.stat .label { color: #b7c6dc; margin-top: 8px; font-size: .98rem; }

/* split media + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .94rem; font-weight: 600; color: var(--navy);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--azure); }
.section--alt .chip { background: #fff; }

/* breadcrumb / page header */
.page-hero { background: var(--navy); color: #c3d2e8; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(27,157,217,.28), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(26px, 4vw, 48px); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b9c8df; max-width: 620px; margin-top: 12px; }
.crumbs { font-size: .9rem; color: #8ea4c4; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--azure-600), var(--azure)); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 6px; }

/* Process steps (How It Works) */
.nav-only-mobile { display: none; }
.steps { display: grid; gap: clamp(16px, 2.2vw, 26px); grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); height: 100%; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe3f3; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--azure); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 16px; }
.step-card h3 { margin-bottom: 8px; }
.step-card p { margin: 0; }
.step-card .opt-note { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 600; color: var(--azure-600); }

/* Tag/pill used on Book Options cards */
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--azure-600); background: var(--azure-050); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.tag--alt { color: #b06a00; background: #fff5e6; }

/* 10) Forms ----------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: .96rem; }
.field .req { color: var(--magenta); }
.input, .textarea, .select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfdff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 4px rgba(27,157,217,.16); background: #fff; }
.textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.filedrop {
  border: 2px dashed #c2d6ea; border-radius: var(--radius-sm); padding: 22px; text-align: center;
  background: var(--azure-050); cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease);
}
.filedrop:hover, .filedrop.is-drag { border-color: var(--azure); background: #e1f1fb; }
.filedrop .hint { font-size: .88rem; color: var(--muted); }
.filedrop strong { color: var(--azure-600); }
.file-list { margin-top: 10px; font-size: .9rem; color: var(--navy); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: #e7f7ec; color: #1b7a3d; border: 1px solid #b9e5c6; }
.form-status.is-err { display: block; background: #fdeaea; color: #b3261e; border: 1px solid #f3c2bf; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; } /* honeypot */

/* contact info list */
.contact-list { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ci-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--azure-050); color: var(--azure-600); display: grid; place-items: center; }
.contact-item h4 { margin-bottom: 2px; }
.contact-item p, .contact-item a { color: var(--muted); margin: 0; }
.contact-item a:hover { color: var(--azure-600); }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* 11) Footer ---------------------------------------------------------- */
.site-footer { background: var(--navy-800); color: #9fb1c8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.footer-brand .mark { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; }
.footer-brand .mark b { color: var(--azure); }
.footer-brand .tagline { letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--azure); margin-top: 2px; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: .95rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-contact a, .footer-contact p { font-size: .95rem; display: block; margin-bottom: 10px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; font-size: .86rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* 12) Utilities ------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.flex { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hidden { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -50px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* 13) Responsive ------------------------------------------------------ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 108px; }
  .brand img { height: 82px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 22px 22px; gap: 6px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--azure-050); }
  .header-cta .btn { display: none; }
  .nav .nav-only-mobile { display: block; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* 14) Reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
