/* Evergreen Pacific Processing LLC — site styles */

:root {
  --ink: #22221f;
  --ink-soft: #4a4a44;
  --evergreen: #2f5d45;
  --evergreen-deep: #24402f;
  --pacific: #1f5a73;
  --paper: #fdfdfc;
  --paper-tint: #f4f6f3;
  --rule: #e2e5e0;
  --max-width: 62rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: var(--pacific);
}

a:hover,
a:focus {
  color: var(--evergreen);
}

h1,
h2,
h3 {
  line-height: 1.25;
  color: var(--ink);
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.25rem 0 0.75rem;
}

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

/* Header */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: #fff;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  height: 2.4rem;
  width: auto;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name .brand-main {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.brand-name .brand-main span {
  font-weight: 500;
}

.brand-name .brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--evergreen);
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--evergreen);
}

.site-nav a[aria-current="page"] {
  color: var(--evergreen);
  border-bottom-color: var(--evergreen);
}

/* Hero */

.hero {
  background: var(--paper-tint);
  border-bottom: 1px solid var(--rule);
  padding: 3.25rem 0 3rem;
}

.hero h1 {
  font-size: 2.3rem;
  max-width: 40rem;
}

.hero .subhead {
  max-width: 44rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Main content */

main.page {
  padding: 2.75rem 0 3.5rem;
}

main.page > .wrap > p,
main.page > .wrap > ul {
  max-width: 46rem;
}

ul.checklist {
  padding-left: 1.35rem;
}

ul.checklist li {
  margin: 0.4rem 0;
}

/* Callouts */

.callout {
  max-width: 46rem;
  margin: 2rem 0;
  padding: 1.15rem 1.35rem;
  background: var(--paper-tint);
  border-left: 4px solid var(--evergreen);
  border-radius: 0 4px 4px 0;
}

.callout.notice {
  border-left-color: var(--pacific);
}

.callout h2,
.callout h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.callout p:last-child,
.callout ul:last-child {
  margin-bottom: 0;
}

/* Contact blocks */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
  gap: 1.25rem;
  max-width: 54rem;
  margin: 1.5rem 0;
}

.contact-card {
  min-width: 0;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #fff;
  overflow-wrap: break-word;
}

.contact-card h2,
.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.contact-card p {
  margin: 0.25rem 0;
}

.contact-card p a[href^="mailto:"] {
  font-size: 0.88rem;
}

address {
  font-style: normal;
}

/* Footer */

.site-footer {
  background: var(--evergreen-deep);
  color: #e8ede9;
  padding: 2.5rem 0 2.75rem;
  margin-top: auto;
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer a {
  color: #cfe0d5;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
  align-items: flex-start;
}

.site-footer img {
  height: 3.2rem;
  width: auto;
}

.site-footer p {
  margin: 0.2rem 0;
}

.footer-legal {
  flex: 1 1 18rem;
}

.footer-legal .legal-name {
  font-weight: 700;
  color: #fff;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Small screens */

@media (max-width: 40rem) {
  .hero {
    padding: 2.25rem 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  h1 {
    font-size: 1.6rem;
  }
}
