/* ============================================================
   Printer Solutions Ltd — printersolutions.co.nz
   Aesthetic: editorial B2B utility / Swiss-grid restraint
   ============================================================ */

/* Tokens ----------------------------------------------------- */
:root {
  --ink: #1A1A1A;
  --paper: #FAF7F2;
  --paper-bright: #FFFFFF;
  --navy: #0E2148;
  --navy-deep: #081532;
  --navy-mid: #1F3D7A;
  --cyan: #15B8E0;
  --cyan-deep: #0E8DAE;
  --grey: #5E6470;
  --grey-soft: #B4B7BE;
  --rule: #D7D2C8;
  --rule-strong: #1A1A1A;

  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Menlo', 'Consolas', monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max-content: 1240px;

  --t-xxl: clamp(44px, 7vw, 96px);
  --t-xl: clamp(32px, 4.5vw, 56px);
  --t-l: clamp(22px, 2.6vw, 32px);
  --t-m: 17px;
  --t-s: 14px;
  --t-xs: 12px;
}

/* Reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--t-m);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Reveal animation (with JS-class guard + safety net via script) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* Container -------------------------------------------------- */
.wrap {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--max-content); margin: 0 auto;
  gap: 16px;
}
.nav__brand {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.nav__logo {
  height: 42px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex; gap: 36px;
  font-size: var(--t-s); font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.nav__links a { transition: color .15s ease; }
.nav__links a:hover { color: var(--cyan-deep); }
.nav__cta {
  font-family: var(--mono);
  font-size: var(--t-s);
  font-weight: 500;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--paper-bright);
  letter-spacing: 0.02em;
  transition: background .15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__cta:hover { background: var(--cyan-deep); }
@media (max-width: 980px) {
  .nav__cta { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 780px) {
  .nav__links { display: none; }
}
@media (max-width: 420px) {
  .nav__logo { height: 32px; }
  .nav__cta { padding: 8px 12px; letter-spacing: 0; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: clamp(60px, 9vw, 140px) 0 clamp(80px, 11vw, 160px);
  max-width: var(--max-content); margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan-deep);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero__eyebrow::before {
  content: ''; width: 30px; height: 1px;
  background: var(--cyan-deep);
}
.hero__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-xxl);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy-deep);
  max-width: 14ch;
}
.hero__title em {
  font-style: normal;
  font-weight: 300;
  color: var(--navy-mid);
}
.hero__lede {
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--t-l);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--grey);
  margin-top: 36px;
  max-width: 38ch;
}
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 48px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--mono);
  font-size: var(--t-s);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn--primary { background: var(--navy); color: var(--paper-bright); }
.btn--primary:hover { background: var(--cyan-deep); }
.btn--ghost {
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid var(--navy-deep);
}
.btn--ghost:hover { background: var(--navy-deep); color: var(--paper-bright); }
.btn__arrow {
  width: 14px; height: 14px;
  transition: transform .2s ease;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Hero meta strip */
.hero__meta {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}
.hero__meta-inner {
  max-width: var(--max-content); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px);
  align-items: center; justify-content: space-between;
}
.hero__meta b { color: var(--navy-deep); font-weight: 600; }
.hero__meta-item { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta-dot {
  width: 6px; height: 6px; background: var(--cyan); display: inline-block;
}

/* ============================================================
   Section primitive
   ============================================================ */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--rule);
}
.section--dark {
  background: var(--navy-deep);
  color: var(--paper);
  border-bottom-color: var(--navy);
}
.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
@media (min-width: 880px) {
  .section__head { grid-template-columns: 0.9fr 1.1fr; align-items: end; }
}
.section__index {
  font-family: var(--mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan-deep);
}
.section--dark .section__index { color: var(--cyan); }
.section__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-xl);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  margin-top: 12px;
  max-width: 18ch;
}
.section--dark .section__title { color: var(--paper-bright); }
.section__title em { font-style: normal; font-weight: 300; color: var(--navy-mid); }
.section--dark .section__title em { color: var(--cyan); }
.section__intro {
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--t-l);
  line-height: 1.4;
  color: var(--grey);
  max-width: 42ch;
  letter-spacing: -0.005em;
}
.section--dark .section__intro { color: var(--grey-soft); }
.section__intro strong { color: var(--ink); font-weight: 600; }
.section--dark .section__intro strong { color: var(--paper-bright); font-weight: 600; }

/* ============================================================
   What We Do — four service blocks
   ============================================================ */
.services {
  display: grid; gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
@media (min-width: 720px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
.service {
  position: relative;
  padding: clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  border-bottom: 1px solid var(--rule);
  transition: background .25s ease;
}
.service:hover { background: var(--paper-bright); }
.service:nth-child(odd) { border-right: 1px solid var(--rule); }
.service:last-child, .service:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
@media (max-width: 719px) {
  .service { border-right: 0 !important; }
  .service:last-child { border-bottom: 0; }
}
.service__num {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(72px, 8vw, 120px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--cyan);
}
.service__num--alt { color: var(--navy-mid); }
.service__body { padding-top: 14px; }
.service__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-l);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.service__copy {
  font-size: var(--t-m);
  line-height: 1.6;
  color: var(--grey);
  max-width: 38ch;
}
.service__copy strong { color: var(--ink); font-weight: 600; }
.service__tags {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 6px;
  font-family: var(--mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
}
.service__tags span {
  border: 1px solid var(--rule);
  padding: 4px 9px;
  background: var(--paper);
}

/* ============================================================
   Brands strip
   ============================================================ */
.brands {
  padding: clamp(60px, 6vw, 90px) 0;
  background: var(--paper-bright);
  border-bottom: 1px solid var(--rule);
}
.brands__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brands__label {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.brands__label::before {
  content: ''; width: 30px; height: 1px; background: var(--cyan-deep);
  flex-shrink: 0;
}
.brands__label b {
  color: var(--navy-deep);
  font-weight: 600;
}
.brands__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
@media (min-width: 600px) { .brands__grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 900px) { .brands__grid { grid-template-columns: repeat(9, 1fr); } }
.brand {
  padding: 28px 12px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: -0.005em;
  color: var(--navy-deep);
  text-align: center;
  transition: background .2s ease, color .2s ease;
}
.brand:hover { background: var(--navy); color: var(--paper); }
.brand--hp {
  background: var(--navy-deep);
  color: var(--paper-bright);
  font-weight: 700;
}
.brand--hp:hover { background: var(--cyan-deep); }

/* ============================================================
   About
   ============================================================ */
.about {
  position: relative;
  background: var(--paper);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.about__copy h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-xl);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  margin-bottom: 28px;
  max-width: 14ch;
}
.about__copy h3 em { font-style: normal; font-weight: 300; color: var(--navy-mid); }
.about__copy p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--t-l);
  line-height: 1.45;
  color: var(--grey);
  margin-bottom: 20px;
  max-width: 38ch;
  letter-spacing: -0.005em;
}
.about__copy p strong { color: var(--ink); font-weight: 600; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  margin-top: 8px;
}
.stat {
  padding: 32px 0 0;
  border-right: 1px solid var(--rule);
}
.stat:nth-child(2n) { padding-left: 28px; border-right: 0; }
.stat__num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--navy-deep);
}
.stat__num em { font-style: normal; color: var(--cyan-deep); font-weight: 300; }
.stat__label {
  font-family: var(--mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey);
  margin-top: 14px;
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 32px;
}
.testimonial {
  padding: clamp(28px, 3vw, 40px);
  background: var(--paper-bright);
  border-left: 3px solid var(--cyan);
  position: relative;
}
.testimonial__mark {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(60px, 6vw, 90px);
  line-height: 0.7;
  color: var(--cyan);
  margin-bottom: 8px;
}
.testimonial__quote {
  font-family: var(--sans);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.testimonial__cite {
  font-family: var(--mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  display: flex; align-items: flex-start; gap: 14px;
}
.testimonial__cite::before {
  content: ''; width: 30px; height: 1px;
  background: var(--navy-deep);
  flex-shrink: 0;
  margin-top: 8px;
}
.testimonial__cite span { flex: 1; line-height: 1.5; }
.testimonial__cite b { color: var(--navy-deep); font-weight: 600; }

/* ============================================================
   Contact — full-bleed dark section
   ============================================================ */
.contact {
  background: var(--navy-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(21, 184, 224, 0.18) 0%, rgba(21, 184, 224, 0) 60%);
  pointer-events: none;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  position: relative;
}
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.contact__lead h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-xl);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper-bright);
  margin-bottom: 28px;
  max-width: 12ch;
}
.contact__lead h2 em { font-style: normal; font-weight: 300; color: var(--cyan); }
.contact__lead p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--t-l);
  line-height: 1.45;
  color: var(--grey-soft);
  max-width: 32ch;
  letter-spacing: -0.005em;
}

.contact__phone {
  margin-top: 36px;
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper-bright);
  transition: color .2s ease;
}
.contact__phone:hover { color: var(--cyan); }
.contact__phone span {
  display: block;
  font-family: var(--mono);
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.contact__hours {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: var(--t-s);
  letter-spacing: 0.04em;
  color: var(--grey-soft);
  display: flex; align-items: center; gap: 14px;
}
.contact__hours::before {
  content: ''; width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.contact__routes {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.route {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: center;
}
.route__index {
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  color: var(--cyan);
  width: 32px;
}
.route__body { display: flex; flex-direction: column; gap: 8px; }
.route__purpose {
  font-family: var(--mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey-soft);
}
.route__addr {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--paper-bright);
  transition: color .15s ease;
  display: inline-flex; align-items: center; gap: 14px;
  word-break: break-word;
}
.route__addr:hover { color: var(--cyan); }
.route__addr-arrow {
  width: 14px; height: 14px;
  transition: transform .2s ease;
  opacity: 0.5;
  flex-shrink: 0;
}
.route__addr:hover .route__addr-arrow { transform: translateX(4px); opacity: 1; }

/* ============================================================
   Footer
   ============================================================ */
.foot {
  background: var(--navy-deep);
  color: var(--grey-soft);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px var(--gutter);
  font-family: var(--mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.foot a { transition: color .15s ease; }
.foot a:hover { color: var(--cyan); }
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__logo {
  height: 32px;
  width: auto;
  display: block;
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .nav, .contact::before { display: none; }
  body { background: white; color: black; }
}
