/* Swift Print & Design */

@font-face {
  font-family: "Swift Block";
  src: url("fonts/SwiftBlock-Regular.woff2") format("woff2");
  font-weight: 100 900; /* one weight; the range stops browsers faking a bold */
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #e9ebea;
  --surface: #dcdfdd;
  --ink: #2d2831;
  --mauve: #745f6d;
  --plum: #463e44;
  --sage: #7f897e;
  --font-head: "Swift Block", "Arial Black", sans-serif;
  --font-sub: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --gutter: clamp(20px, 5.6vw, 72px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
  overflow-wrap: break-word; /* long emails/URLs wrap instead of pushing the page sideways */
}
img { display: block; max-width: 100%; height: auto; }
/* media and embeds never outgrow their container */
video, canvas, iframe, embed, object { max-width: 100%; }
video { height: auto; }
.embed { position: relative; aspect-ratio: 16 / 9; }
.embed > iframe, .embed > video, .embed > embed, .embed > object { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
a { color: var(--ink); }
a:hover { color: var(--mauve); }
:focus-visible { outline: 3px solid var(--mauve); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 10; }

h1, h2 { font-family: var(--font-head); font-weight: 400; margin: 0; line-height: 1.02; }
h3 { font-family: var(--font-sub); font-weight: 700; margin: 0; line-height: 1.15; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sub); font-weight: 700; font-size: 15px; line-height: 1.2;
  padding: 12px 20px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--plum); border-color: var(--plum); color: var(--paper); }

/* offer bar */
.offer-bar { background: var(--mauve); color: var(--paper); font-size: 14px; }
.offer-bar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 11px; }
.offer-bar a { color: var(--paper); font-weight: 700; white-space: nowrap; padding-block: 11px; margin-block: -11px; } /* 44px tap area, same layout */

/* header */
.site-header { border-bottom: 2px solid var(--sage); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand img { height: 48px; width: auto; }
.brand span { font-family: var(--font-sub); font-weight: 700; font-size: 20px; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 2px solid var(--ink); font-family: var(--font-sub); font-weight: 700;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .15s ease, background-color .15s ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu[open] summary { background: var(--ink); color: var(--paper); }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5;
  display: flex; flex-direction: column; min-width: 220px; max-width: calc(100vw - 2 * var(--gutter));
  background: var(--paper); border: 2px solid var(--ink);
}
.menu nav a { display: flex; align-items: center; min-height: 48px; padding: 10px 18px; text-decoration: none; font-weight: 700; border-bottom: 2px solid var(--surface); }
.menu nav a:last-child { border-bottom: 0; background: var(--ink); color: var(--paper); }

/* hero */
.hero { padding-block: clamp(64px, 9vw, 112px) clamp(56px, 7.5vw, 96px); }
.hero h1 { font-size: clamp(52px, 8.2vw, 104px); letter-spacing: -.01em; }
.hero h1 span { display: block; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); max-width: 58ch; margin: 28px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.rule { height: 2px; background: var(--sage); border: 0; margin: 0; }
.section { padding-block: clamp(56px, 6.5vw, 84px); }
.section-title { font-size: clamp(32px, 3.8vw, 48px); margin-bottom: 32px; }
.lede { font-size: 17px; margin: -16px 0 32px; max-width: 640px; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--sage); border-left: 2px solid var(--sage); }
.service { padding: 32px 28px; border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage); display: flex; flex-direction: column; gap: 12px; min-height: 240px; }
.service .num { font-weight: 800; font-size: 15px; }
.service h3 { font-size: 24px; }
.service p { margin: 0; line-height: 1.55; }
.service ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--sage); }
.service li { padding: 8px 0; border-bottom: 2px solid var(--sage); }

/* bundles */
.bundles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bundle { background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.bundle h3 { font-size: 26px; }
.bundle ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--sage); }
.bundle li { padding: 10px 0; border-bottom: 2px solid var(--sage); }
.bundle .price-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); display: block; }
.bundle .price { font-weight: 800; font-size: 24px; display: block; }
.bundle .note { font-size: 14px; line-height: 1.45; color: var(--plum); margin: 4px 0 0; }
.bundle.featured { background: var(--plum); color: var(--paper); }
.bundle.featured .price-label { color: var(--paper); }

/* offer block */
.offer { border: 2px solid var(--mauve); padding: clamp(24px, 4.4vw, 56px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.offer .kicker { font-family: var(--font-sub); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mauve); display: block; margin-bottom: 16px; }
.offer h2 { font-size: clamp(32px, 5vw, 64px); }
.offer p { margin: 0 0 16px; }

/* customers */
.customers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; align-items: center; }
.customers li { list-style: none; height: 220px; padding: 12px; }
.customers img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.customers { margin: 0; padding: 0; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
.contact h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; }
.contact .intro p { font-size: 17px; margin: 20px 0; }
.contact address { font-style: normal; display: flex; flex-direction: column; gap: 6px; }
.contact .poster { width: 300px; margin-top: 24px; }
form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: span 2; }
label { font-size: 14px; font-weight: 700; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 2px solid var(--plum); border-radius: 0; padding: 10px 12px; width: 100%;
}
input[type="file"] { background: transparent; border-style: dashed; }
textarea { min-height: 120px; resize: vertical; }
.form-actions { grid-column: span 2; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions small { color: var(--plum); }
.hidden { position: absolute; left: -9999px; }

/* footer */
.site-footer .wrap { border-top: 2px solid var(--sage); padding-block: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.site-footer .mark { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.site-footer img { height: 56px; width: auto; }

/* thank-you page */
.thanks { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.thanks h1 { font-size: clamp(44px, 7vw, 88px); }

/* tablet */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bundles { grid-template-columns: 1fr; }
  .customers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .customers li { height: 180px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .offer { grid-template-columns: 1fr; gap: 24px; }

  /* the full nav no longer fits on one line, so it collapses into the menu */
  .nav { display: none; }
  .menu { display: block; position: relative; }

  /* touch-sized contact links */
  .contact address { gap: 0; align-items: flex-start; }
  .contact address a, .contact address span { display: inline-flex; align-items: center; min-height: 44px; }
  .thanks a[href^="tel:"] { display: inline-block; padding-block: 10px; margin-block: -10px; }
}

/* phone */
@media (max-width: 720px) {
  /* readable text: nothing below 16px on phones */
  .offer-bar, .offer-bar .wrap, .btn, .service .num, .bundle .price-label, .bundle .note,
  .offer .kicker, label, .form-actions small, .site-footer .wrap { font-size: 16px; }
  .offer-bar a { display: none; }
  .site-header .wrap { gap: 16px; }
  .brand { min-height: 44px; gap: 10px; }
  .brand img { height: 34px; }
  .brand span { font-size: 16px; }
  .btn { min-height: 44px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 24px 20px; }
  .customers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .customers li { height: 150px; padding: 10px; }
  form { grid-template-columns: 1fr; }
  .field.wide, .form-actions { grid-column: auto; }
  .contact .poster { display: none; }
  .site-footer .wrap { flex-wrap: wrap; }
  .site-footer img { height: 44px; }
}

/* narrow phones: icon-only menu button so the brand name stays on two lines at most */
@media (max-width: 400px) {
  .menu summary { padding: 0; width: 44px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
