/* MarketingPush site template - one stylesheet for all company sites.
   Re-skin a site by changing the custom properties in :root (colours, fonts, hero images).
   Layout: header (logo + menu) / main (hero + bands) / footer. Mobile breakpoint: 767px. */

/* ---------- Fonts (self-hosted, SIL Open Font License, see /assets/fonts/OFL.txt) ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url("/assets/fonts/roboto-latin-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url("/assets/fonts/roboto-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Brand tokens: change these per site ---------- */
:root {
  --brand: #71bd52;            /* main brand colour: borders, accents */
  --brand-ink: #3a8226;        /* brand colour for text, links and button fills (4.5:1 on white) */
  --brand-ink-hover: #2f6b1f;
  --hero-overlay: rgba(79, 154, 51, .86); /* colour laid over the hero photos */
  --hero-img-home: url("/images/hero-home-1600.jpg");
  --hero-img-page: url("/images/hero-page-1600.jpg");
  --hero-img-design: url("/images/hero-design-1600.jpg");
  --hero-img-home-sm: url("/images/hero-home-800.jpg");
  --hero-img-page-sm: url("/images/hero-page-800.jpg");
  --hero-img-design-sm: url("/images/hero-design-800.jpg");
  --text: #4d4d4d;
  --heading: #2b2b2b;
  --muted: #6b6b6b;            /* menu text */
  --bg: #fff;
  --bg-alt: #e7e7e7;           /* grey bands */
  --line: #ddd;
  --input-line: #c1c1c1;
  --required: #d0201d;
  --font: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font);
  --body-weight: 300;
  --container: 960px;
  --header-h: 98px;
  --radius: 6px;
  --gutter: 32px;
}
@media (max-width: 767px) { :root { --header-h: 70px; --gutter: 21px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--body-weight) 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
@media (max-width: 767px) { body { font-size: 14px; } }
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand-ink-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
strong { font-weight: 700; }
p { margin: 0 0 1.7em; }
ul { margin: 0 0 1.7em; padding-left: 1.4em; }
.text { margin: 0 0 1.7em; }
.text ul { margin: .5em 0 0; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--heading); margin: 0 0 .75em; line-height: 1.15; }
h1 { font-size: 1.75em; font-weight: 300; }
h2 { font-size: 1.75em; font-weight: 300; }
h3 { font-size: 1.15em; font-weight: 700; margin: 1.2em 0 .4em; }
h2.h-col { font-size: 1.5em; font-weight: 400; }
h2.h-sm { font-size: 1.125em; }
h2.h-lg { font-size: 2em; }
h2.h-label { font-size: 13px; letter-spacing: .02em; margin-bottom: 1.2em; }
.ta-c { text-align: center; }
.ta-r { text-align: right; }
.clear { clear: both; height: 0; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--brand-ink); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius) var(--radius); }
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Header and menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 0 3px rgba(99, 99, 99, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); }
.logo { display: block; flex: 0 0 auto; line-height: 0; }
.logo img { width: 300px; max-width: 100%; height: auto; }
.nav-toggle { display: none; }
.menu, .sub { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 30px 15px 30px 30px; font-size: 14px; line-height: 14px; text-transform: uppercase; color: var(--muted); }
.menu > li:last-child > a { padding-right: 0; }
.menu a:hover, .menu > li.is-active > a, .menu a[aria-current="page"] { color: var(--brand-ink); text-decoration: none; }
.sub-toggle { display: none; }
.sub { display: none; position: absolute; left: 15px; top: 100%; min-width: 160px; padding: 10px 0; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.sub a { display: block; padding: 8px 20px; font-size: 12px; line-height: 13px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (min-width: 768px) {
  .menu > li.has-sub:hover > .sub, .menu > li.has-sub:focus-within > .sub, .menu > li.has-sub.is-open > .sub { display: block; }
}
@media (max-width: 767px) {
  .site-header { position: sticky; }
  .header-inner { position: relative; justify-content: center; }
  .logo img { width: auto; height: 50px; }
  .nav-toggle { display: block; position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); width: 36px; height: 36px; margin-left: -8px; padding: 8px; border: 0; background: none; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 3px; background: var(--brand); transition: transform .2s; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--header-h)); overflow-y: auto; background: #fff; padding: 10px var(--gutter) 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, .06); }
  .site-nav.is-open { display: block; }
  .menu { display: block; text-align: center; }
  .menu > li > a, .menu > li:last-child > a { padding: 2px 44px; font-size: 18px; line-height: 1.4; text-transform: none; color: var(--brand-ink); }
  .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 44px; height: 29px; border: 0; background: none; cursor: pointer; color: var(--muted); }
  .sub-toggle::before { content: "+"; font: 300 20px/29px var(--font); }
  .sub-toggle[aria-expanded="true"]::before { content: "\2212"; }
  .sub { position: static; box-shadow: none; padding: 0 0 6px; min-width: 0; }
  .sub.is-open { display: block; }
  .sub a { font-size: 15px; line-height: 1.4; padding: 2px 20px; text-transform: none; white-space: normal; }
}

/* ---------- Hero (page title banner) ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: var(--hero-h, 250px); color: #fff; text-align: center;
  background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), var(--hero-img-page) 50% 50% / cover no-repeat; }
.hero--home { background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), var(--hero-img-home); background-position: 50% 73%; }
.hero--design { background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), var(--hero-img-design); }
.hero > .container { width: 100%; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { color: #fff; font-size: 64px; font-weight: 700; line-height: 1; margin: 0 auto .35em; }
.hero p { color: #fff; }
.hero--left { text-align: left; }
.hero .btn-row { margin: 77px 0 0; }
.hero h1:last-child { margin-bottom: 0; }
.page-contact .hero h1, .page-custom-quote .hero h1 { font-size: 48px; line-height: 64px; }
@media (min-width: 768px) and (hover: hover) { .hero--fixed { background-attachment: fixed; } }
@media (max-width: 767px) {
  .hero { min-height: 0; background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), var(--hero-img-page-sm); }
  .hero--home { background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), var(--hero-img-home-sm); }
  .hero--design { background-image: linear-gradient(var(--hero-overlay), var(--hero-overlay)), var(--hero-img-design-sm); }
  .hero > .container { padding-top: 21px; padding-bottom: 21px; }
  .hero h1 { font-size: 28px; margin-bottom: .35em; }
  .page-contact .hero h1, .page-custom-quote .hero h1 { font-size: 48px; line-height: 1; margin-bottom: 0; }
  .hero .btn-row { margin: 76px 0 12px; }
}

/* ---------- Content bands ---------- */
.container { max-width: var(--container); margin: 0 auto; }
.band > .container { padding: 56px 0; }
.band--grey { background: var(--bg-alt); }
.band--plain > .container { padding: 40px 0; }
.band--center > .container { padding: 116px 0; text-align: center; }
.band > .container > :last-child, .col > :last-child { margin-bottom: 0; }
@media (max-width: 1023px) { .container, .band > .container, .band--plain > .container, .band--center > .container { padding-left: var(--gutter); padding-right: var(--gutter); } .hero > .container { padding-left: var(--gutter); padding-right: var(--gutter); } }
@media (max-width: 767px) { .band > .container, .band--plain > .container { padding-top: var(--gutter); padding-bottom: var(--gutter); } .band--center > .container { padding-top: 60px; padding-bottom: 60px; } h2 { font-size: 24.5px; } }

.cols { display: grid; grid-template-columns: var(--tpl, repeat(var(--n, 2), minmax(0, 1fr))); column-gap: var(--gap, 30px); }
.cols-2 { --n: 2; } .cols-3 { --n: 3; }
@media (max-width: 767px) { .cols { grid-template-columns: minmax(0, 1fr); } .cols > .col + .col { margin-top: 1.5em; } }

.float-left { float: left; margin: 10px 18px 10px 0; }
@media (max-width: 767px) { .float-left { float: none; display: block; width: 100%; margin: 0 0 1.2em; } }
figure.img { margin: 0; padding: 10px 0; }
figure.img img { width: 100%; }

.btn-row { margin: 10px 0 20px; }
.col .btn-row.ta-c { margin-top: 20px; }
.btn { display: inline-block; border: 2px solid var(--brand-ink); border-radius: var(--radius); font: 400 14.4px/1 var(--font); text-transform: uppercase; text-align: center; padding: 12px 24px; cursor: pointer; transition: background-color .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn--lg { font-size: 16px; padding: 16px 35px; }
.btn--solid { background: var(--brand-ink); color: #fff; }
.btn--solid:hover { background: var(--brand-ink-hover); border-color: var(--brand-ink-hover); color: #fff; }
.btn--outline { background: #fff; color: var(--brand-ink); }
.btn--outline:hover { background: var(--brand-ink); color: #fff; }
.hero .btn--solid { background: #fff; border-color: #fff; color: var(--brand-ink); }
.hero .btn--solid:hover { background: transparent; color: #fff; }
@media (max-width: 767px) { .btn { font-size: 12.6px; padding: 10px 14px; } .btn--lg { font-size: 14px; padding: 12px 24px; } }

.table-wrap { overflow-x: auto; margin: 0 0 1.7em; -webkit-overflow-scrolling: touch; }
.data-table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.data-table thead th, .data-table tbody th { background: #f3f3f3; font-weight: 700; }
.data-table tbody th { background: #fafafa; }

.map iframe { display: block; width: 100%; height: 250px; border: 0; margin: 10px 0 15px; }

/* ---------- Forms ---------- */
.form { margin-top: 10px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-style: italic; font-size: 14px; margin: 0 0 .3em; }
.req { color: var(--required); }
.field { max-width: 400px; margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
.label { display: block; font-weight: 700; margin: 0 0 10px; padding: 0; font-size: 1em; line-height: 1.2; color: var(--text); }
.field input, .field select, .field textarea { display: block; width: 100%; font: 300 1em/1.3 var(--font); color: var(--text); background: #fff; border: 1px solid var(--input-line); border-radius: 3px; padding: 10px; }
.field select { height: 41px; padding: 0 8px; }
.field textarea { height: 100px; resize: vertical; }
.field .w-370 { max-width: 370px; }
.field .w-500 { max-width: 500px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-ink); outline: 1px solid var(--brand-ink); }
.name-row { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 11fr); gap: 20px; max-width: 400px; }
.sublabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form .col > .field:last-child { margin-bottom: 30px; }
.form-actions { margin: 10px 0; }
.form-actions .btn[disabled] { opacity: .6; cursor: wait; }
.form-error { color: var(--required); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #eee; padding: 40px 0; }
.site-footer > .container { padding: 56px var(--gutter); text-align: center; }
.footer-links { list-style: none; margin: 0; padding: 0; font: 400 13px/2 var(--font); }
.footer-links li { display: inline; }
.footer-links li + li::before { content: "|"; color: var(--muted); margin: 0 .55em; }
@media (max-width: 767px) { .site-footer { padding: 0; } .site-footer > .container { padding: var(--gutter); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .hero--fixed { background-attachment: scroll !important; } }
@media print { .site-header, .site-footer, .map { display: none; } .hero { color: #000; background: none; min-height: 0; } .hero h1 { color: #000; font-size: 28px; } }
