/* Black River — port of the "blackriver_alt" WordPress theme (Bootstrap 2, 2012).
   Desktop keeps the original look; ≤767px is a proper phone layout. */

@font-face {
  font-family: "RobotoLight";
  src: url("../fonts/Roboto-Light.woff2") format("woff2"), url("../fonts/Roboto-Light-webfont.woff") format("woff");
  font-display: swap;
}

:root {
  --dark: rgb(33, 33, 33);
  --red: rgb(163, 0, 0);
  --red-bright: #d81408; /* was #ef170c; darkened just enough for 4.5:1 contrast */
  --meta: #767676;
  --berry: #946060;
  --text: #333;
  --muted: rgb(110, 110, 110);
  --rule: rgb(220, 220, 220);
  --box: 1170px;
  --pad: 26px;
  --light: "RobotoLight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: #e9e9e9 url("../img/diagonal-noise.png") repeat;
  color: var(--text);
  font: 14px/20px var(--body);
}
::selection { background: #fee; }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--light); font-weight: normal; color: var(--text); margin: 10px 0; }
h1 { font-size: 28px; line-height: 1.3; }
h2 { font-size: 30px; line-height: 40px; }
h3, .h3 { font-size: 24px; line-height: 40px; }
h4 { font-size: 18px; line-height: 26px; }
p { margin: 0 0 10px; }

/* ---------- keyboard access ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: #fff; color: var(--text); border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: top .15s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; border-radius: 2px; }
.topbar :focus-visible, #divFooter :focus-visible { outline-color: #fff; }
main:focus { outline: none; }

/* ---------- page box ---------- */
#divBoxed {
  position: relative;
  max-width: var(--box);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  display: flex;
  flex-direction: column;
}
.contentArea { flex: 1; }
.panel { padding: var(--pad); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--dark);
  box-shadow: 0 2px 1px rgba(0, 0, 0, .2);
  position: relative;
  z-index: 20;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 50px; }
#divLogo {
  display: flex; align-items: flex-end; gap: 2px;
  padding: 12px 20px;
  font: 26px/1 var(--light);
  color: rgb(235, 235, 235);
  text-decoration: none;
}
.svg_logo {
  width: 20px; height: 20px; margin-bottom: 3px;
  background: url("../img/leaf.svg") no-repeat 0 0 / 20px 20px;
}
#mainmenu ul { list-style: none; margin: 0; padding: 0; display: flex; }
#mainmenu a {
  display: block;
  padding: 16px 17px;
  font: 17px/18px var(--light);
  text-transform: uppercase;
  color: rgb(180, 180, 180);
  text-decoration: none;
}
#mainmenu a:hover { color: rgb(235, 235, 235); }
#mainmenu .current a { color: #fff; }
.menu-toggle { display: none; }

/* ---------- home hero ---------- */
.hero {
  position: relative;
  margin: 20px var(--pad) 0;
  height: 281px;
  background: url("../img/leaf.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/leaf.webp") type("image/webp"), url("../img/leaf.jpg") type("image/jpeg"));
  overflow: hidden;
}
.hero-text {
  position: absolute; top: 10px; right: 10px;
  padding: 0 10px 6px 14px;
  background: rgba(0, 0, 0, .6);
  text-align: right;
  color: #fff;
}
#divHeaderLine1 {
  margin: 0;
  font: 55px/62px var(--light);
  text-transform: uppercase;
  color: #fff;
}
#divHeaderLine2 { margin: 0; font: 24px/30px var(--light); letter-spacing: 1px; }
.hero-stripe {
  position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: url("../img/diagonal-nonoise.png") repeat;
}

/* ---------- grids ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.cols-8-4 { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 30px; }
.with-sidebar > .page-content:only-child { grid-column: 1 / -1; max-width: 860px; }

.page-content, .page-content li { line-height: 27px; }
.page-content a { color: var(--red-bright); }
.page-content h3 a, .page-content h2 a { color: inherit; }
.cols-3 .h3 a:hover { color: var(--red-bright); text-decoration: none; }

/* ---------- home blocks ---------- */

/* home: recent work + call to action */
.section-title { font-size: 24px; line-height: 1.3; margin: 0 0 14px; }
.recent-work { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--rule); }
.recent-work .cols-3 { margin-top: 0; }
.work-card {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 18px; border: 1px solid rgb(235, 235, 235); border-radius: 5px; background: #fff;
  color: var(--text) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s;
}
.work-card:hover { border-color: #d9d9d9; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.work-card:hover .work-title { color: var(--red-bright); }
.work-logo { height: 64px; display: flex; align-items: center; }
.work-logo img { width: auto; height: auto; max-width: 200px; max-height: 64px; }
.work-title { font: 19px/1.3 var(--light); }
.work-meta { font-size: 13px; line-height: 1.45; color: var(--meta); }
.recent-work .widget-more { margin-top: 12px; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 30px; padding: 22px 26px;
  background: rgb(247, 247, 247); border: 1px solid rgb(235, 235, 235); border-radius: 5px;
}
.cta-band p { margin: 0; max-width: 60em; }
.cta-band .section-title { margin-bottom: 4px; }
.cta-band .cta-button { flex: none; padding: 9px 24px 8px; font-size: 16px; }

/* ---------- inner pages ---------- */
.breadcrumbs { margin: 30px 0 4px; line-height: 20px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 2px; }
/* links inside running text need more than colour to stand out */
.entry-content p a, .entry-content li a, .comment-text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.fancy_title {
  margin-bottom: 20px;
  background: url("../img/leaf_flipped_band.jpg") left bottom / cover no-repeat;
  background-image: image-set(url("../img/leaf_flipped_band.webp") type("image/webp"), url("../img/leaf_flipped_band.jpg") type("image/jpeg"));
}
.fancy_title h1 {
  margin: 0;
  padding: 10px 10px 12px;
  min-height: 70px;
  display: flex; align-items: center;
  background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)) 0 10px / 100% calc(100% - 20px) no-repeat;
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
}

/* ---------- posts ---------- */
.entry-content { overflow-wrap: break-word; }
/* articles: larger text and a readable line length (was ~125 characters per line) */
.main-col > article.post { font-size: 16px; max-width: 46em; }
.main-col > article.post li { line-height: 1.75; }
.main-col > article.post p { line-height: 1.75; }
.entry-content h2, .entry-content h3 { margin-top: 24px; }
.entry-content table { border-collapse: collapse; margin: 0 0 20px; }
.entry-content th, .entry-content td { padding: 4px 10px 4px 0; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.entry-content pre, .entry-content code { font-family: Menlo, Consolas, monospace; font-size: 12.5px; }
.entry-content pre { overflow-x: auto; }
.entry-content blockquote { margin: 0 0 20px; padding: 0 0 0 15px; border-left: 5px solid #eee; }
/* code blocks (highlighted at build time, see lib/code.js) */
.entry-content pre {
  margin: 0 0 20px; padding: 12px 14px;
  background: #f7f7f5; border: 1px solid #e4e4e0; border-left: 3px solid var(--red-bright); border-radius: 4px;
  line-height: 1.55; white-space: pre; overflow-x: auto; -webkit-overflow-scrolling: touch; tab-size: 4;
}
.entry-content pre code { font-size: inherit; background: none; padding: 0; }
.entry-content :not(pre) > code { padding: 1px 4px; background: #f2f2ef; border-radius: 3px; }
.hljs-comment, .hljs-quote { color: #7a7a72; font-style: italic; }
.hljs-keyword, .hljs-selector-tag, .hljs-built_in, .hljs-meta .hljs-keyword { color: #a30000; }
.hljs-string, .hljs-attr .hljs-string, .hljs-regexp { color: #2f7a3b; }
.hljs-number, .hljs-literal { color: #b35a00; }
.hljs-title, .hljs-title.function_, .hljs-section { color: #1f4f8a; }
.hljs-title.class_, .hljs-type { color: #6b3fa0; }
.hljs-variable, .hljs-template-variable, .hljs-params { color: #333; }
.hljs-tag, .hljs-name { color: #1f4f8a; }
.hljs-attr, .hljs-attribute { color: #8a4b00; }
.hljs-meta, .hljs-doctag { color: #7a7a72; }
.entry-content img.aligncenter { display: block; margin: 0 auto; }
.entry-content .alignright { float: right; margin: 0 0 10px 20px; }
.entry-content .alignleft { float: left; margin: 0 20px 10px 0; }
.case-logo { float: right; margin: 4px 0 12px 24px; width: auto; height: auto; max-width: 230px; max-height: 110px; }
.case-services { clear: both; padding-top: 6px; }
.postmeta { color: var(--meta); font-style: italic; font-size: 13px; }
.postmeta a { color: #5f5f5f !important; }
article.post { border-bottom: 1px solid var(--rule); margin: 0 0 22px; padding-bottom: 10px; }
.main-col > article.post:last-of-type { border-bottom: 0; }
.entry-title { font-size: 24px; line-height: 30px; margin: 0 0 4px; }
.pager { display: flex; justify-content: space-between; margin: 10px 0 30px; font-family: var(--light); font-size: 17px; }
.pager .newer { margin-left: auto; }

/* sidebar widgets */
.sidebar { font-size: 13px; line-height: 20px; }
.widget { margin-bottom: 26px; }
.widgettitle { font-size: 19px; line-height: 1.3; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { margin: 0 0 7px; }
.widget .count { color: var(--meta); font-size: 11px; margin-left: 4px; }
.topic-list li, .year-list li { display: flex; justify-content: space-between; }
.widget-more { margin: 6px 0 0; font-size: 12px; }
.cta-box { padding: 16px 18px 18px; background: rgb(247, 247, 247); border: 1px solid rgb(235, 235, 235); border-radius: 5px; }
.cta-box .widgettitle { border: 0; padding: 0; margin-bottom: 6px; }
.cta-box p { margin-bottom: 12px; }
.cta-button {
  display: inline-block; padding: 7px 18px 6px; border-radius: 7px;
  background: var(--red-bright); color: #fff !important; font: 15px var(--body);
  border-bottom: 2px solid rgba(0, 0, 0, .2); text-shadow: -1px 0 rgba(0, 0, 0, .3);
}
.cta-button:hover { text-decoration: none; filter: brightness(1.08); }
.case-list a { display: flex; align-items: center; gap: 10px; color: var(--text) !important; }
.case-list a:hover .case-name { color: var(--red-bright); }
.case-thumb { flex: 0 0 56px; height: 40px; display: flex; align-items: center; justify-content: center; }
.case-thumb img { max-width: 56px; max-height: 40px; width: auto; height: auto; }
.case-name { line-height: 1.35; }
.case-name small { display: block; color: var(--meta); font-size: 11px; }

/* comments */
.comments { margin-top: 30px; border-top: 1px solid var(--rule); }
.commentlist, .commentlist .children { list-style: none; margin: 0; padding: 0; }
.commentlist .children { margin-left: 30px; }
.comment-body { margin: 0 0 14px; padding: 12px 14px; background: rgb(247, 247, 247); border-radius: 5px; }
.bypostauthor > .comment-body { background: rgb(248, 246, 214); }
.comment-author { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; line-height: 20px; }
.comment-author .avatar { border-radius: 3px; }
.comment-author cite { font-style: normal; font-weight: bold; }
.comment-author cite a { color: var(--text) !important; }
.comment-date { font-size: 12px; color: var(--meta) !important; }
.comment-text { margin-top: 6px; }
.comment-text p:last-child { margin-bottom: 0; }
.comments-closed { color: var(--muted); font-style: italic; }

/* services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; padding-top: 10px; }
.service { display: grid; grid-template-columns: 75px 1fr; gap: 18px; margin-bottom: 30px; }
.service .entry-thumbnail { padding-top: 8px; text-align: center; }
.service .entry-thumbnail img { width: auto; height: auto; max-width: 75px; max-height: 75px; }
.service .entry-title a { color: var(--text); }

.services-intro { font-size: 16px; line-height: 1.7; max-width: 52em; margin: 0 0 18px; }
.service-cases { font-size: 13px; line-height: 1.6; color: var(--meta); }
.earlier-platforms { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--rule); }
.earlier-platforms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.related-cases { padding-left: 18px; }
.case-year { color: var(--meta); font-size: 13px; }

/* case studies */
.case-study {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) 160px; gap: 30px;
  padding: 20px 0; border-bottom: 1px solid var(--rule);
  scroll-margin-top: 20px;
}
.case-study:last-child { border-bottom: 0; }
.case-study .entry-thumbnail { text-align: center; padding-top: 10px; }
.case-study .entry-thumbnail img { width: auto; height: auto; max-width: 100%; max-height: 150px; }
.case-study .entry-title a { color: var(--text); }
.case-meta { margin: 2px 0 8px; font-size: 13px; color: var(--meta); font-style: italic; }
.read-case { font-weight: bold; }
.entry-list { list-style: none; margin: 0; padding: 0; font-size: 12px; font-style: italic; }
.entry-list li { line-height: 20px; }
.entry-list li:first-child { font: 24px/24px var(--light); margin: 10px 0 7px; font-style: normal; }

/* contact */
.contact-info { list-style: none; margin: 0 0 20px; padding: 0; line-height: 20px; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 10px; }
.contact-info .icon { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.contact-info .field { font-weight: bold; }
.contact-map { width: 100%; height: 240px; border: 0; margin: 10px 0; }

/* forms */
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 4px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; padding: 6px 8px;
  font: 14px var(--body);
  border: 1px solid #ccc; border-radius: 4px;
}
.contact-form textarea { min-height: 210px; resize: vertical; }
.contact-form button {
  justify-self: end;
  width: 200px; padding: 8px 20px 7px;
  border: 0; border-bottom: 2px solid rgba(0, 0, 0, .2); border-radius: 7px;
  background: #00bff3; color: #fff; cursor: pointer;
  font: 15px var(--body);
  text-shadow: -1px 0 rgba(0, 0, 0, .3);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}
.contact-form button:disabled { opacity: .6; cursor: wait; }
.whisper { font-size: 11px; color: var(--meta); font-style: italic; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; min-height: 0; }
.form-status.ok, .form-status.err {
  padding: 4px 14px; border-radius: 9px; color: #fff;
  border-bottom: 2px solid rgba(0, 0, 0, .2);
}
.form-status.ok { background: #9cb84f; }
.form-status.err { background: #f44; }

/* ---------- footer ---------- */
#divFooter {
  margin-top: 30px;
  padding: 36px 30px 20px;
  background: var(--dark) url("../img/edge.png") left top repeat-x;
  color: rgb(180, 180, 180);
  font: 13px/22px var(--body);
}
#divFooter a { color: rgb(180, 130, 130); }
#divFooter h3 { font: 17px/45px var(--light); color: rgb(180, 180, 180); margin: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-menu { list-style: none; margin: 4px 0 26px; padding: 0; display: flex; flex-wrap: wrap; }
.footer-menu li { font: 17px/30px var(--light); }
.footer-menu li + li::before { content: "/"; margin: 0 .4em; }
#divFooter .footer-menu a { color: rgb(180, 180, 180); font-family: var(--light); }
.footerbox-title { font-size: 16px !important; line-height: 1.4 !important; margin-bottom: 8px !important; }
.bubble {
  display: inline-block; vertical-align: 2px;
  padding: 2px 8px 1px 7px; border-radius: 6px;
  background: var(--berry); color: #fff;
  font: 11px/16px var(--body);
  border-bottom: 2px solid rgba(0, 0, 0, .2);
  text-shadow: -1px 0 rgba(0, 0, 0, .3);
}
#copyright { margin: 14px 0 6px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
#divFooter .contact-info { margin-top: 10px; }
#divFooter .contact-form { gap: 8px; font-size: 12px; }
#divFooter .contact-form label { gap: 2px; }
#divFooter .contact-form input[type="text"], #divFooter .contact-form input[type="email"], #divFooter .contact-form textarea {
  background: #444; border: 0; color: rgb(220, 220, 220);
  box-shadow: 1px 1px 0 rgba(255, 255, 255, .3);
  font-size: 13px;
}
#divFooter .contact-form textarea { min-height: 120px; }
#divFooter .contact-form button {
  justify-self: stretch; width: auto; padding: 4px;
  background: #444; color: rgb(220, 220, 220); border-radius: 4px; font-size: 12px;
  box-shadow: 1px 1px 0 rgba(255, 255, 255, .3);
}


/* ---------- tablet ---------- */
@media (max-width: 979px) {
  #mainmenu a { padding: 16px 11px; font-size: 15px; }
  #divHeaderLine1 { font-size: 44px; line-height: 52px; }
  .case-study { grid-template-columns: 110px minmax(0, 1fr); }
  .case-study .entry-list { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  :root { --pad: 16px; }
  body { background: #fff; font-size: 16px; line-height: 24px; }
  #divBoxed { box-shadow: none; }

  .topbar { position: sticky; top: 0; }
  .topbar-inner { flex-wrap: wrap; min-height: 56px; }
  #divLogo { padding: 15px 16px; font-size: 24px; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 56px; height: 56px; padding: 0 16px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: rgb(220, 220, 220); border-radius: 1px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #mainmenu { display: none; width: 100%; border-top: 1px solid rgba(255, 255, 255, .08); }
  .topbar.open #mainmenu { display: block; }
  .no-js #mainmenu { display: block; }
  #mainmenu ul { flex-direction: column; padding: 4px 0 8px; }
  #mainmenu a { padding: 14px 16px; font-size: 18px; letter-spacing: .5px; }
  #mainmenu .current a { box-shadow: inset 3px 0 0 var(--red-bright); }

  .hero { margin: 0; height: 240px; background-position: 30% center;
    background-image: image-set(url("../img/leaf-780.webp") type("image/webp"), url("../img/leaf.jpg") type("image/jpeg")); }
  .hero-text { top: auto; right: 0; left: 0; bottom: 18px; padding: 10px 16px 12px; }
  #divHeaderLine1 { font-size: clamp(20px, 6.3vw, 40px); line-height: 1.2; white-space: nowrap; }
  #divHeaderLine2 { font-size: clamp(12px, 3.6vw, 18px); line-height: 1.35; letter-spacing: 0; margin-top: 2px; }

  .cols-3, .cols-8-4, .cols-2, .with-sidebar, .services-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cols-3 { margin-top: 16px; }
  .cols-3 > div { padding-bottom: 6px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; }
  .cols-3 > div:last-child { border-bottom: 0; margin-bottom: 0; }
  h3, .h3 { font-size: 22px; line-height: 30px; }
  .page-content, .page-content li { line-height: 1.65; }
  
  .breadcrumbs { margin-top: 12px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fancy_title h1 { font-size: 22px; min-height: 64px; padding: 14px 12px 16px; }

  .entry-title { font-size: 22px; line-height: 28px; }
  /* content tables collapse to stacked rows (wide tables trigger iOS font boosting) */
  .entry-content table:not(.wp_syntax table), .entry-content table:not(.wp_syntax table) tbody,
  .entry-content table:not(.wp_syntax table) tr, .entry-content table:not(.wp_syntax table) td,
  .entry-content table:not(.wp_syntax table) th { display: block; width: auto !important; }
  .entry-content table:not(.wp_syntax table) tr { padding: 8px 0; border-bottom: 1px solid var(--rule); }
  .entry-content table:not(.wp_syntax table) td, .entry-content table:not(.wp_syntax table) th { border: 0; padding: 0; line-height: 1.5; }
  .entry-content table:not(.wp_syntax table) td:first-child { font-weight: bold; }
  .entry-content td, .entry-content th { overflow-wrap: anywhere; }
  .entry-content .alignright, .entry-content .alignleft { float: none; margin: 0 0 10px; }
  .case-logo { float: none; display: block; max-width: 200px; max-height: 72px; margin: 0 0 12px; }
  .sidebar { margin-top: 24px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 15px; line-height: 26px; }
  .commentlist .children { margin-left: 12px; padding-left: 8px; border-left: 2px solid var(--rule); }
  .comment-body { padding: 10px 12px; }

  .service { display: block; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
  .service .entry-thumbnail { float: left; width: 48px; margin: 4px 14px 4px 0; padding: 0; }
  .service p { clear: both; }
  .services-grid .service:last-child { border-bottom: 0; }

  .case-study { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .case-study .entry-thumbnail { padding: 0; text-align: left; }
  .case-study .entry-thumbnail img { max-width: 200px; max-height: 72px; }
  .case-study .entry-list {
    grid-column: auto; display: flex; flex-wrap: wrap; gap: 4px 16px;
    padding: 8px 12px; background: rgb(240, 240, 240); border-radius: 8px; font-size: 15px;
  }
  .case-study .entry-list li:first-child { display: none; }

  .recent-work { margin-top: 20px; padding-top: 18px; }
  .recent-work .cols-3 { gap: 12px; }
  .recent-work .cols-3 > div, .recent-work .work-card { border-bottom: 1px solid rgb(235, 235, 235); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 18px; }
  .contact-form button { width: 100%; justify-self: stretch; padding: 12px; font-size: 16px; }
  .contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { font-size: 16px; padding: 10px; }
  .contact-side { margin-top: 30px; }

  #divFooter { margin-top: 20px; padding: 34px 16px 16px; }
  .footer-col + .footer-col { margin-top: 18px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); }
  .footer-menu li { font-size: 17px; line-height: 34px; }
  #divFooter .contact-form input[type="text"], #divFooter .contact-form input[type="email"], #divFooter .contact-form textarea { font-size: 16px; }
  #divFooter .contact-form button { padding: 10px; font-size: 15px; }
}
