/* emeraldson.com */

/* Montserrat (SIL Open Font License), self-hosted variable font covering weights 400 to 800 */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/montserrat-latin.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: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* White on --green is 3.3:1: only use it behind large text (24px+, or 18.66px+ bold).
     For small white text use --green-dark (5.3:1) or darker. */
  --green: #03a077;
  --green-dark: #187a63;
  --green-darker: #0b5c47;
  --green-text: #0b7a5c;
  --footer: #0f5e4b;
  --logo-emerald: #00805d;
  --tint: #e6f5f0;
  --error: #c62828;
  --input-border: #888; /* 3.5:1 on white, meets the 3:1 minimum for form controls */
  --section-pad: clamp(48px, 6vw, 72px);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  /* "normal" matches the design reference; blocks of running text set their own line-height */
  line-height: normal;
  color: #555;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-text); text-decoration: none; }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green-text); outline-offset: 2px; }

h1, h2, h3, h4 { margin: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 15px; top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 100px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
}
.skip-link:focus { top: 15px; }

.container { max-width: 1170px; margin: 0 auto; }

section[id] { scroll-margin-top: 80px; }

.section { padding: var(--section-pad) 15px; background: #fff; }
.section--grey { background: #f9f9f9; }
.section--bordered { border-top: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; }

/* Heading bar */
.bar {
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 8px 28px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
}

/* Pill button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: var(--green-dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  padding: 14px 23px;
  border-radius: 100px;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--green-darker); color: #fff; }
.btn:disabled { cursor: default; opacity: .7; }
.btn--hero:hover { background: #fff; color: var(--green-dark); }
.btn--white { background: #fff; color: var(--green-dark); }
.btn--white:hover { background: var(--tint); color: var(--green-darker); }
.btn--sm { font-size: 14px; padding: 11px 24px; }

/* Header / nav */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 12px 15px;
  transition: padding .3s;
}
.nav {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 22px;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  transition: background .3s, box-shadow .3s;
}
.site-header.is-solid { padding: 6px 15px; }
.site-header.is-solid .nav { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

.wordmark {
  display: flex;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.5px;
}
.wordmark__a { color: #fff; transition: color .3s; }
.wordmark__b { color: rgba(255,255,255,.82); transition: color .3s; }
.site-header.is-solid .wordmark__a { color: var(--logo-emerald); }
.site-header.is-solid .wordmark__b { color: var(--green); }

.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__link {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: #fff; border-bottom-color: rgba(255,255,255,.5); }
.nav__link.is-active { font-weight: 600; border-bottom-color: #fff; }
.site-header.is-solid .nav__link { color: #444; }
.site-header.is-solid .nav__link:hover { color: var(--green-text); border-bottom-color: #cfe9e0; }
.site-header.is-solid .nav__link.is-active { color: var(--green-text); border-bottom-color: var(--green-text); }

.nav__cta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,.18);
  padding: 11px 20px;
  border-radius: 100px;
  transition: background .3s;
}
.site-header.is-solid .nav__cta { background: var(--green-dark); }
.nav__cta:hover, .site-header.is-solid .nav__cta:hover { background: var(--green-darker); color: #fff; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  transition: transform .2s, opacity .2s;
}
.site-header.is-solid .nav__toggle span { background: var(--green-dark); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  padding: 8px 0;
  display: grid;
}
.nav__panel[hidden] { display: none; }
.nav__panel a:not(.nav__panel-cta) {
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
}
.nav__panel a.is-active { color: var(--green-text); }
.nav__panel-cta {
  margin: 8px 22px 12px;
  padding: 14px 20px;
  border-radius: 100px;
  background: var(--green-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
.nav__panel-cta:hover { background: var(--green-darker); color: #fff; }

@media (max-width: 879.98px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}
@media (min-width: 880px) {
  .nav__panel { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--green);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero__wave {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 520px;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 110px 15px 56px;
}
.hero__text { max-width: 760px; }
.hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.5px;
}
.hero h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  text-wrap: pretty;
}

/* Two-column layouts */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px 60px;
  align-items: start;
}
.lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: #444;
  text-wrap: pretty;
}

/* About */
.about .bar { margin-bottom: 24px; }

.checklist {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  display: grid;
}
.checklist li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  line-height: 1.45;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.checklist li::before {
  content: "\2714";
  content: "\2714" / "";
  color: var(--green);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
}
.checklist strong { color: #333; font-weight: 700; }
.checklist--why li { line-height: 1.5; }
.checklist--why li::before { line-height: 1.2; }

/* At a glance */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 30px;
  align-items: center;
}
.glance-grid .bar { margin-bottom: 22px; }
.glance {
  margin: 0;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.glance__row { display: grid; grid-template-columns: 110px 1fr; }
.glance__row:nth-child(even) { background: #f9f9f9; }
.glance dt {
  padding: 13px 22px;
  color: var(--green-text);
  font-weight: 700;
  font-size: 15px;
  border-right: 1px solid #e5e5e5;
}
.glance dd {
  margin: 0;
  padding: 13px 14px;
  font-size: 15px;
  line-height: 1.4;
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 10px;
  text-align: center;
  font-size: 15px;
}
.stat:nth-child(-n+2) { padding-top: 0; border-bottom: 1px solid #e5e5e5; }
.stat:nth-child(odd) { border-right: 1px solid #e5e5e5; }
.stat__circle {
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

/* Services */
.services .bar { margin-bottom: 28px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 24px 24px 6px;
}
.card h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 700;
}
.card__item { padding: 12px 0; border-top: 1px solid #eee; }
.card__item h4 { margin: 0 0 6px; color: #222; font-size: 16px; font-weight: 700; }
.card__item p { margin: 0; font-size: 15px; line-height: 1.5; }

.callout {
  margin-top: 24px;
  background: var(--green-dark);
  border-radius: 14px;
  padding: 24px 28px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.callout__text { flex: 1 1 420px; }
.callout h3 { margin: 0 0 8px; font-size: 24px; font-weight: 700; }
.callout p { margin: 0; font-size: 16px; line-height: 1.5; }

/* Why choose us */
.why-intro { display: grid; gap: 24px; justify-items: start; }
.why-intro .bar { width: 100%; }

/* Contact */
.contact { background: var(--green-dark); color: #fff; }
.contact__title {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
}
/* One column (form, then "Connect with us") until both columns can be 420px wide.
   Two columns: info and "Connect with us" stacked on the left, form on the right. */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "form" "connect";
  gap: 32px;
  align-items: start;
}
.contact__info { grid-area: info; display: none; gap: 22px; }
.form-card { grid-area: form; }
.contact__connect { grid-area: connect; }
.contact__info, .contact__connect { font-size: 16px; line-height: 1.5; }
.contact__info h3, .contact__connect h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.contact__info p { margin: 0; }
@media (min-width: 902px) {
  .contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    grid-template-areas: "info form" "connect form";
    gap: 22px 32px;
  }
  .contact__info { display: grid; }
}
.cover-list { margin: 0; padding: 0 0 0 20px; columns: 2; column-gap: 24px; }
.contact__info .cover-heading { margin-bottom: 8px; }
.contact__connect .connect-heading { margin-bottom: 10px; }

.social {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.social:hover { background: var(--tint); color: var(--green-darker); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.contact a.social:focus-visible { outline-color: #fff; }

.form-card { background: #fff; border-radius: 14px; padding: 28px; color: #555; }

.form { display: grid; gap: 16px; }
.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.field input, .field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 16px; /* 16px stops iOS zooming in on focus */
  padding: 12px 14px;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  background: #fff;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(3,160,119,.18);
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-weight: 500; font-size: 13px; }
.field__error[hidden] { display: none; }
.field__help { font-weight: 400; font-size: 13px; color: #666; }
.form__note { margin: 0; font-size: 13px; line-height: 1.5; color: #666; }
.form__note a { color: var(--green-text); text-decoration: underline; }
.form__status { margin: 0; color: var(--error); font-size: 14px; font-weight: 500; }
.form__status[hidden] { display: none; }
.form .btn { justify-self: start; padding: 14px 32px; }
.honeypot { display: none; }

.form-success { padding: 40px 0; text-align: center; }
.form-success h3 { margin: 0 0 8px; color: var(--green-dark); font-size: 24px; font-weight: 700; }
.form-success p { margin: 0; font-size: 15px; }

/* Footer */
.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 22px 15px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}
.site-footer a { color: #fff; text-decoration: underline; }
.site-footer a:hover { color: #d6f2e9; }
.site-footer a:focus-visible { outline-color: #fff; }

/* Cookie notice */
.cookie {
  position: fixed;
  left: 15px; right: 15px; bottom: 15px;
  z-index: 60;
  display: flex;
  justify-content: center;
}
.cookie[hidden] { display: none; }
.cookie__box {
  width: 100%;
  max-width: 760px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.cookie__box p { margin: 0; flex: 1 1 360px; font-size: 14px; line-height: 1.5; color: #444; }
.cookie__box a { color: var(--green-text); text-decoration: underline; }

/* Privacy + 404 pages */
.page-header { background: var(--green-dark); padding: 18px 15px; }
.page-header__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.page-header .wordmark { font-size: 26px; }
.page-header .wordmark:hover .wordmark__a { color: #fff; }
.back-link { color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.back-link:hover { color: #d6f2e9; }
.page-header a:focus-visible { outline-color: #fff; }

.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 15px 64px;
  font-size: 16px;
  line-height: 1.65;
  color: #444;
}
.prose h1 { margin: 0 0 8px; color: #222; font-size: 40px; font-weight: 700; line-height: 1.2; }
.prose h2 { margin: 28px 0 8px; color: var(--green-dark); font-size: 22px; font-weight: 700; line-height: 1.3; }
.prose p { margin: 0; }
.prose .updated { margin: 0 0 24px; color: #666; font-size: 14px; }
.prose a { color: var(--green-text); text-decoration: underline; }

.not-found { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.not-found .lead { margin: 0 0 28px; }
.not-found .btn { align-self: flex-start; text-decoration: none; color: #fff; }

.site-footer--simple { text-align: center; }
.form-success:focus { outline: none; }
