/* Forest editorial palette for Spokane Forestry Mulching. */

:root {
  --cream: #FAF7F0;
  --forest: #1F3D2B;
  --bark: #6B401A;
  --link: #A24F08;
  --button: #B35A0B;
  --button-hover: #8A3E09;
  --white: #FFFFFF;
  --paper: #F3EBDD;
  --sans: "Public Sans", "Segoe UI", sans-serif;
  --serif: "Zilla Slab", Georgia, "Times New Roman", serif;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/public-sans-roman.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: "Public Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/public-sans-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;
}

@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/zilla-slab-500.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: "Zilla Slab";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/zilla-slab-600.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: "Zilla Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/zilla-slab-700.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;
}

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

html {
  font-size: 100%;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: break-word;
}

:focus {
  outline: 3px solid transparent;
  outline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.site-footer :focus-visible {
  outline-color: var(--cream);
}

::selection {
  background: var(--forest);
  color: var(--cream);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--cream);
  color: var(--forest);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0.75rem 1rem;
  min-height: 44px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus,
.skip-link:focus-visible {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  white-space: normal;
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

a:link,
a:visited {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 3px;
}

.mast-rule {
  height: 12px;
  background: var(--forest);
  border-bottom: 4px solid var(--bark);
}

.wrap {
  width: min(40rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  padding-bottom: 0.5rem;
}

.brand {
  text-align: center;
  padding: 1.35rem 0 0.85rem;
}

.wordmark {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.15;
  min-height: 44px;
}

a.wordmark:link,
a.wordmark:visited {
  color: var(--forest);
  text-decoration-color: var(--bark);
}

.descriptor {
  margin: 0.45rem 0 0;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--bark);
}

.site-nav ul,
.footer-nav ul,
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li,
.footer-nav li,
.breadcrumb li {
  margin: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.25rem;
  border-top: 1px solid var(--forest);
  border-bottom: 1px solid var(--bark);
  margin-top: 0.9rem;
}

.site-nav a,
.footer-nav a,
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.7rem;
}

.site-nav a:link,
.site-nav a:visited,
.breadcrumb a:link,
.breadcrumb a:visited {
  color: var(--forest);
}

a.is-current {
  font-weight: 700;
  text-decoration-thickness: 3px;
}

.header-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 0.85rem 0 0.15rem;
}

a.email-button:link,
a.email-button:visited,
a.email-button:hover,
a.email-button:focus-visible,
a.email-button:active {
  color: var(--white);
  background: var(--button);
  border: 2px solid var(--bark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  max-width: 100%;
}

a.email-button:hover,
a.email-button:focus-visible,
a.email-button:active {
  background: var(--button-hover);
}

.email-address {
  margin: 0;
  min-width: 0;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--forest);
  overflow-wrap: anywhere;
}

.disclosure {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--forest);
}

@media (max-width: 48rem) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--cream);
    box-shadow: 0 2px 0 var(--bark);
  }

  html {
    scroll-padding-top: 20rem;
  }

  .brand {
    padding: 0.45rem 0 0.25rem;
  }

  .wordmark {
    font-size: 1.45rem;
  }

  .header-contact {
    margin-top: 0.45rem;
  }

  a.email-button:link,
  a.email-button:visited,
  a.email-button:hover,
  a.email-button:focus-visible,
  a.email-button:active {
    width: 100%;
  }
}

main {
  padding: 1.35rem 0 2.5rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--forest);
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  margin: 2.2rem 0 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--bark);
  font-size: 1.75rem;
  font-weight: 600;
}

h3 {
  margin: 1.35rem 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 600;
}

p,
ul,
ol,
.table-wrap {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.5rem;
}

li {
  margin: 0.4rem 0;
  padding-left: 0.2rem;
}

li::marker {
  color: var(--bark);
}

.lead::first-letter {
  font-family: var(--serif);
  font-weight: 700;
  float: left;
  font-size: 3.25rem;
  line-height: 0.8;
  padding: 0.15rem 0.45rem 0 0;
  color: var(--forest);
}

.lead::after {
  content: "";
  display: block;
  clear: both;
}

.source {
  margin: 0 0 1.25rem;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 4px solid var(--bark);
}

.source p {
  margin: 0;
  color: var(--bark);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.5;
}

.updated {
  margin-top: 0;
  color: var(--bark);
  font-style: italic;
  font-size: 1.125rem;
}

.breadcrumb {
  margin: 0 0 1rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  font-size: 1.125rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.breadcrumb li + li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid var(--bark);
  border-right: 2px solid var(--bark);
  transform: rotate(45deg);
  margin: 0 0.55rem 0 0.25rem;
  flex: 0 0 auto;
}

.quick-answers h3 {
  margin-top: 1.5rem;
}

a.standalone-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.6rem;
  border-bottom: 1px solid var(--bark);
  line-height: 1.45;
  overflow-wrap: break-word;
}

thead th:nth-child(1),
tbody th {
  width: 42%;
}

thead th:nth-child(2) {
  width: 34%;
}

thead th:nth-child(3) {
  width: 24%;
}

thead th {
  background: var(--forest);
  color: var(--cream);
  font-weight: 700;
}

tbody th {
  font-weight: 650;
  color: var(--forest);
  background: transparent;
}

tbody tr:nth-child(even) {
  background: var(--paper);
}

.site-footer {
  background: var(--forest);
  color: var(--cream);
  border-top: 4px solid var(--bark);
  padding: 2rem 0 2.5rem;
}

.footer-line,
.reviewed {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--cream);
}

.reviewed {
  margin: 1rem 0 0;
}

.footer-services {
  margin: 0 0 1rem;
}

.footer-services ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
}

.footer-services a:link,
.footer-services a:visited,
.footer-nav a:link,
.footer-nav a:visited {
  color: var(--cream);
}

@media (min-width: 48rem) {
  .wordmark {
    font-size: 2.75rem;
  }

  h1 {
    font-size: 2.45rem;
  }
}

@media (forced-colors: active) {
  .email-button {
    border: 2px solid ButtonText;
  }

  :focus-visible {
    outline-color: CanvasText;
  }

  .site-footer {
    background: Canvas;
    color: CanvasText;
  }

  .site-footer a:link,
  .site-footer a:visited,
  .footer-line,
  .reviewed {
    color: CanvasText;
  }
}

@media print {
  body {
    background: #FFFFFF;
  }

  .skip-link,
  .mast-rule {
    display: none;
  }

  .site-footer {
    background: #FFFFFF;
    color: #000000;
  }

  .site-header {
    position: static;
    box-shadow: none;
  }

  .site-footer a:link,
  .site-footer a:visited,
  .footer-line,
  .reviewed {
    color: #000000;
  }

  a.email-button::after {
    content: " (" attr(href) ")";
    font-weight: 400;
  }
}
