:root {
  --ink: #10231b;
  --ink-2: #1a3a2d;
  --forest: #143f30;
  --green: #267458;
  --green-2: #3d8f6d;
  --lime: #c8ff00;
  --lime-2: #efffb8;
  --coral: #ff815a;
  --sand: #f2efe6;
  --paper: #fbfaf5;
  --white: #fff;
  --muted: #637168;
  --line: #dce2d9;
  --line-dark: rgba(16, 35, 27, 0.14);
  --shadow-sm: 0 8px 24px rgba(16, 35, 27, 0.07);
  --shadow: 0 18px 55px rgba(16, 35, 27, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: 1380px;
  --content: 820px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

main {
  min-height: 42vh;
}

a {
  color: var(--green);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0 0 1.5rem;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.75rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.875rem);
}

h3 {
  font-size: clamp(1.4rem, 2.1vw, 2rem);
}

h4 {
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
}

hr {
  height: 1px;
  margin: 2rem 0;
  background: var(--line);
  border: 0;
}

blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  color: var(--ink-2);
  border-left: 4px solid var(--green);
  font-size: 1.15rem;
}

blockquote cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

th,
td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  font-weight: 750;
}

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

::selection {
  color: var(--ink);
  background: var(--lime);
}

.mj420-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.screen-reader-text,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 100000;
  top: 10px;
  left: 16px;
  width: auto !important;
  height: auto !important;
  padding: 0.75rem 1rem !important;
  clip: auto !important;
  clip-path: none !important;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
  background: var(--forest);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.container,
.site-container {
  width: min(calc(100% - 80px), var(--container));
  margin-inline: auto;
}

.content-container {
  width: min(calc(100% - 80px), 980px);
}

.section {
  padding-block: clamp(3.75rem, 7vw, 5.75rem);
}

.section--tight {
  padding-block: clamp(2.75rem, 5vw, 3.75rem);
}

.section--sand {
  background: var(--sand);
}

.section--forest {
  color: var(--white);
  background: var(--forest);
}

.site-main:focus {
  outline: 0;
}

.lead,
.mj-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
}

.eyebrow,
.mj-eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before,
.mj-eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section--forest .eyebrow,
.section--forest .mj-eyebrow {
  color: var(--lime);
}

.section--forest h1,
.section--forest h2,
.section--forest h3 {
  color: var(--white);
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

.icon--lg {
  width: 28px;
  height: 28px;
}

.btn,
.mj-button,
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.8125rem 1.25rem;
  color: var(--white);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover,
.mj-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  color: var(--white);
  box-shadow: 0 10px 24px rgba(20, 63, 48, 0.2);
  transform: translateY(-2px);
}

.btn--lime,
.mj-button--lime {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.btn--lime:hover,
.mj-button--lime:hover {
  color: var(--ink);
}

.btn--white,
.mj-button--white {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.btn--ghost,
.mj-button--outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-dark);
}

.btn--ghost:hover,
.mj-button--outline:hover {
  color: var(--ink);
  background: var(--white);
}

.btn--wide,
.mj-button--wide {
  width: 100%;
}

.mj-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.text-link,
.mj-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.1875rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link:hover,
.mj-text-link:hover {
  color: var(--green);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
select,
textarea {
  max-width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(38, 116, 88, 0.1);
}

label {
  font-weight: 650;
}

.entry-content {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.entry-content > * {
  max-width: var(--content);
  margin-inline: auto;
}

.entry-content > .alignwide {
  position: relative;
  left: 50%;
  width: min(calc(100vw - 80px), var(--container));
  max-width: none;
  margin-inline: 0;
  transform: translateX(-50%);
}

.entry-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}

.entry-content > :where(h2, h3, h4) {
  margin-top: 1.75em;
}

.entry-content li + li {
  margin-top: 0.35rem;
}

.alignleft {
  float: left;
  margin: 0.25rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.wp-caption,
.gallery-caption {
  max-width: 100%;
  color: var(--muted);
  font-size: 0.8125rem;
}

.wp-caption-text {
  margin-top: 0.5rem;
}

.sticky,
.bypostauthor {
  scroll-margin-top: 160px;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 2rem;
  font-weight: 700;
}

.page-links a,
.page-links > span {
  display: inline-grid;
  min-width: 36px;
  min-height: 36px;
  place-items: center;
  padding: 0.25rem 0.6rem;
  background: var(--sand);
  border-radius: 999px;
  text-decoration: none;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 130px;
  }

  .container,
  .site-container,
  .content-container {
    width: min(calc(100% - 32px), var(--container));
  }

  .entry-content > .alignwide {
    width: calc(100vw - 32px);
  }
}

@media (max-width: 640px) {
  .container,
  .site-container,
  .content-container {
    width: min(calc(100% - 24px), var(--container));
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .entry-content > .alignwide {
    width: calc(100vw - 24px);
  }

  .alignleft,
  .alignright {
    float: none;
    margin: 1rem auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .legal-strip,
  .site-header,
  .mobile-menu,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: inherit;
  }
}
