:root {
  --magenta: #df1778;
  --magenta-text: #c4006e;
  --ink: #1f1f1f;
  --muted: #555;
  --paper: #ffffff;
  --header-edge: #d2e0e6;
  --max: 940px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

a { color: var(--magenta-text); }

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

/* CMYK colour strip across the top, as on the original site */
.strip {
  height: 5px;
  background: url(/images/wrapper-bg-colourstrip.png) repeat-x;
}

/* Header */
.site-header {
  background: radial-gradient(circle farthest-corner at center, #fff 0%, var(--header-edge) 100%);
  padding: 24px 0 12px;
}
.site-header .wrap { display: flex; flex-direction: column; }
.logo { display: block; align-self: center; width: min(560px, 100%); }
.logo img { display: block; width: 100%; }

.site-header nav { align-self: flex-end; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}
.nav a:hover, .nav a:focus-visible { background: rgba(0, 0, 0, 0.08); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* Feature band */
.features { background: var(--magenta); color: #fff; padding: 40px 0; }
.features .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 820px;
}
.features h2 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  text-shadow: 0 1px 1px #000;
}
.features .tagline { margin: 0 0 12px; font-weight: bold; font-size: 14px; text-shadow: 0 1px 1px #000; }
.features p { margin: 0; font-size: 14px; font-weight: bold; text-shadow: 0 1px 1px #000; }

/* Home intro */
.intro { padding: 32px 0 48px; text-align: center; }
.intro .lead {
  max-width: 640px;
  margin: 0 auto 24px;
  color: var(--magenta-text);
  font: bold 20px/1.3 Georgia, "Times New Roman", serif;
}
.intro .services { display: block; width: 491px; max-width: 100%; margin: 0 auto 24px; }
.intro .cta { margin: 0; font: 20px/1.3 Georgia, "Times New Roman", serif; }
.intro .phone { color: var(--magenta-text); font-weight: bold; text-decoration: none; }

/* Contact page */
.contact { display: grid; grid-template-columns: 1fr 210px; gap: 40px; padding: 40px 16px 48px; }
.contact h1 { margin: 0 0 8px; font: bold 28px Georgia, "Times New Roman", serif; }
.contact .note { margin: 0 0 24px; color: var(--muted); }
.form { display: grid; gap: 16px; max-width: 520px; }
.form label { display: block; margin-bottom: 4px; font-weight: bold; font-size: 14px; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #999;
  border-radius: 4px;
  font: inherit;
}
.form textarea { min-height: 200px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible, .form button:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 2px;
}
.form .check { display: flex; gap: 8px; align-items: center; font-weight: normal; }
.form .check label { margin: 0; font-weight: normal; }
.form button {
  justify-self: start;
  padding: 10px 24px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font: bold 16px inherit;
  cursor: pointer;
}
.form button:hover { background: var(--magenta); }
.hp { position: absolute; left: -9999px; }
.status { padding: 12px 16px; border-radius: 4px; margin: 0 0 24px; font-weight: bold; }
.status.ok { background: #e6f4ea; color: #1e5e2e; }
.status.err { background: #fde8ef; color: #8a0040; }
.status[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--magenta); color: #fff; padding: 20px 0; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

@media (max-width: 640px) {
  .site-header nav { align-self: center; }
  .contact { grid-template-columns: 1fr; }
  .contact aside { justify-self: center; }
  .intro .lead, .intro .cta { font-size: 18px; }
}
