/* Shared print styles for Vezumba flyers. Open HTML → Print → disable headers/footers. */

:root {
  --ink: #171717;
  --paper: #fffdf4;
  --sun: #ffde59;
  --pink: #fe6caa;
  --blue: #62b6ff;
  --muted: #5f5d56;
  --border: 3px;
  --shadow: 5px 5px 0 var(--ink);
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --font-body: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: #d8d4c8;
  font-family: var(--font-body);
}

.sheet {
  position: relative;
  margin: 1.5rem auto;
  background: var(--paper);
  color: var(--ink);
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  page-break-after: always;
  break-after: page;
}

.sheet--a6 {
  width: 105mm;
  height: 148mm;
}

.sheet--a5 {
  width: 148mm;
  height: 210mm;
}

.flyer {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 7mm;
  min-height: 0;
}

.flyer--tight {
  padding: 5mm;
}

/* A6 is tight: keep CTA/footer inside the sheet after 3-line headlines. */
.sheet--a6 .brand__logo {
  width: 12mm;
  height: 12mm;
}

.sheet--a6 .brand__name {
  font-size: 7.5mm;
}

.sheet--a6 .eyebrow {
  margin-top: 2.5mm;
  padding: 1mm 2mm;
  font-size: 2.9mm;
}

.sheet--a6 .headline {
  margin-top: 2.5mm;
  font-size: 9mm;
}

.sheet--a6 .headline--compact {
  font-size: 8.2mm;
}

.sheet--a6 .lead {
  margin-top: 2mm;
  font-size: 3.5mm;
  line-height: 1.25;
}

.sheet--a6 .route {
  margin-top: 2.5mm;
  padding: 2mm 2.5mm;
  font-size: 4.8mm;
  box-shadow: 2px 2px 0 var(--ink);
}

.sheet--a6 .bullets {
  margin-top: 2.5mm;
}

.sheet--a6 .bullets li {
  margin-bottom: 1.2mm;
  font-size: 3.3mm;
  line-height: 1.2;
}

.sheet--a6 .cta {
  padding-top: 2.5mm;
  gap: 2.5mm;
}

.sheet--a6 .qr {
  width: 24mm;
  height: 24mm;
  padding: 1.2mm;
}

.sheet--a6 .cta__action {
  font-size: 4.8mm;
}

.sheet--a6 .cta__url {
  margin-top: 1mm;
  font-size: 3.8mm;
}

.sheet--a6 .cta__hint {
  margin-top: 1mm;
  font-size: 2.7mm;
}

.sheet--a6 .footer-note {
  margin-top: 1.5mm;
  font-size: 2.4mm;
}

.sheet--a6 .stamp {
  top: 4mm;
  right: 4mm;
  width: 18mm;
  height: 18mm;
  font-size: 2.9mm;
}

.brand {
  display: flex;
  align-items: center;
  gap: 3mm;
}

.brand__logo {
  width: 14mm;
  height: 14mm;
  object-fit: cover;
  border: 2px solid var(--ink);
  /* Pink mark like site header; do not use black — logo art has dark building. */
  background: var(--pink);
  flex-shrink: 0;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 9mm;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  margin: 4mm 0 0;
  padding: 1.2mm 2.5mm;
  font-size: 3.2mm;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  background: var(--sun);
}

.eyebrow--pink {
  background: var(--pink);
}

.headline {
  margin: 3.5mm 0 0;
  font-family: var(--font-display);
  font-size: 11mm;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.headline--compact {
  font-size: 9.5mm;
}

.lead {
  margin: 3mm 0 0;
  font-size: 4mm;
  line-height: 1.3;
  color: var(--ink);
}

.route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5mm;
  margin-top: 4mm;
  padding: 2.5mm 3mm;
  border: var(--border) solid var(--ink);
  background: var(--sun);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 5.5mm;
  line-height: 1;
  text-transform: uppercase;
}

.route--pink {
  background: var(--pink);
}

.route__arrow {
  font-size: 4.5mm;
}

.bullets {
  margin: 4mm 0 0;
  padding: 0;
  list-style: none;
}

.bullets li {
  position: relative;
  margin: 0 0 2mm;
  padding-left: 5mm;
  font-size: 3.6mm;
  line-height: 1.25;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2mm;
  width: 2.8mm;
  height: 2.8mm;
  border: 2px solid var(--ink);
  background: var(--pink);
}

.steps {
  margin: 3.5mm 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2mm;
}

.steps li {
  display: grid;
  grid-template-columns: 7mm 1fr;
  gap: 2mm;
  align-items: start;
  padding: 1.6mm 2mm;
  border: 2px solid var(--ink);
  background: #fff;
}

.steps__n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8mm;
  height: 8mm;
  font-family: var(--font-display);
  font-size: 4mm;
  background: var(--sun);
  border: 2px solid var(--ink);
}

.steps__title {
  margin: 0;
  font-size: 3.8mm;
  font-weight: 800;
  line-height: 1.15;
}

.steps__text {
  margin: 0.8mm 0 0;
  font-size: 3.2mm;
  line-height: 1.25;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3mm;
  margin-top: 4mm;
}

.role {
  padding: 3mm;
  border: var(--border) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  min-height: 28mm;
}

.role--driver {
  background: var(--sun);
}

.role--passenger {
  background: var(--blue);
}

.role__label {
  margin: 0;
  font-size: 3mm;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role__title {
  margin: 1.5mm 0 0;
  font-family: var(--font-display);
  font-size: 5mm;
  line-height: 1;
  text-transform: uppercase;
}

.role__text {
  margin: 1.5mm 0 0;
  font-size: 3.2mm;
  line-height: 1.25;
}

.cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 3.5mm;
  padding-top: 4mm;
}

.qr {
  width: 28mm;
  height: 28mm;
  padding: 1.5mm;
  background: #fff;
  border: var(--border) solid var(--ink);
  flex-shrink: 0;
}

.qr img,
.qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cta__copy {
  flex: 1;
  min-width: 0;
}

.cta__action {
  margin: 0;
  font-family: var(--font-display);
  font-size: 5.5mm;
  line-height: 1;
  text-transform: uppercase;
}

.cta__url {
  margin: 1.5mm 0 0;
  font-size: 4.2mm;
  font-weight: 800;
  word-break: break-all;
}

.cta__hint {
  margin: 1.5mm 0 0;
  font-size: 3mm;
  line-height: 1.25;
  color: var(--muted);
}

.stamp {
  position: absolute;
  top: 5mm;
  right: 5mm;
  width: 22mm;
  height: 22mm;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 3.4mm;
  line-height: 1.05;
  text-transform: uppercase;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  transform: rotate(12deg);
  box-shadow: 2px 2px 0 var(--ink);
}

.footer-note {
  margin-top: 2.5mm;
  font-size: 2.6mm;
  line-height: 1.25;
  color: var(--muted);
}

.screen-only {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1rem 0.5rem;
}

.screen-only h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-transform: uppercase;
}

.screen-only p {
  margin: 0 0 0.5rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
}

.screen-only ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media print {
  /* Browsers otherwise drop backgrounds → flyers look grayscale. */
  html,
  body,
  .sheet,
  .flyer,
  .brand__logo,
  .eyebrow,
  .route,
  .role,
  .steps li,
  .steps__n,
  .bullets li::before,
  .stamp,
  .qr {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  html,
  body {
    background: #fff;
  }

  .screen-only {
    display: none !important;
  }

  .sheet {
    margin: 0;
    border: none;
    box-shadow: none;
    background: var(--paper) !important;
    page-break-after: always;
    break-after: page;
  }

  .sheet--a6 {
    width: 105mm;
    height: 148mm;
  }

  .sheet--a5 {
    width: 148mm;
    height: 210mm;
  }
}

@page a6 {
  size: 105mm 148mm;
  margin: 0;
}

@page a5 {
  size: 148mm 210mm;
  margin: 0;
}

body.page-a6 {
  /* used by A6 flyers */
}

body.page-a5 {
  /* used by A5 flyers */
}

@media print {
  body.page-a6 {
    width: 105mm;
  }

  body.page-a5 {
    width: 148mm;
  }

  body.page-a6 .sheet {
    page: a6;
  }

  body.page-a5 .sheet {
    page: a5;
  }
}
