/* Jeffers Developing — graph paper + forest/cream */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #1e2920;
  /* Paper tone; graph lines sit on top via .grid-bg */
  background: #f6f3ec;
}

/* Graph paper: fine grid + heavier major lines every 5 cells */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #f6f3ec;
  background-image:
    linear-gradient(rgba(26, 46, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 46, 31, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(45, 90, 69, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 90, 69, 0.11) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
  background-position: 0 0, 0 0, 0 0, 0 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #1a2e1f;
  color: #f7f4ef;
  z-index: 100;
  border-radius: 6px;
}

.skip-link:focus {
  left: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 46, 31, 0.1);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  max-width: min(218px, 30vw);
}

.wordmark-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(145deg, #1a2e1f, #2d5a45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.wordmark-logo {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  margin-left: auto;
}

.nav a {
  color: #3d4f42;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.nav a:hover {
  color: #1a2e1f;
}

.header-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #1a2e1f;
  color: #f7f4ef;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.header-cta:hover {
  background: #2d5a45;
}

.hero {
  padding: clamp(2.5rem, 7vw, 4.25rem) 1.25rem 2.75rem;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d5a45;
}

.hero-title {
  margin: 0 0 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #142218;
}

.hero-title em {
  font-style: italic;
  color: #2d5a45;
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  color: #3d4f42;
  max-width: 38em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(26, 46, 31, 0.14);
}

.hero-stats dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6b7a6e;
}

.hero-stats dd {
  margin: 0.3rem 0 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a2e1f;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: #1a2e1f;
  color: #f7f4ef;
}

.btn-primary:hover {
  background: #2d5a45;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  color: #1a2e1f;
  border-color: rgba(26, 46, 31, 0.22);
}

.btn-ghost:hover {
  border-color: #1a2e1f;
  background: rgba(255, 255, 255, 0.85);
}

.btn-secondary {
  background: #fff;
  color: #1a2e1f;
  border-color: rgba(26, 46, 31, 0.15);
}

.btn-secondary:hover {
  border-color: #1a2e1f;
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.section {
  padding: clamp(2.25rem, 5vw, 3.5rem) 1.25rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-wide {
  max-width: 1040px;
}

.section-head {
  max-width: 560px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head-left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 1.5rem;
}

.section-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d5a45;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  color: #142218;
}

.section-lead {
  margin: 0;
  color: #3d4f42;
  font-size: 1rem;
}

.section-alt {
  background: rgba(214, 231, 214, 0.9);
  border-top: 1px solid rgba(45, 90, 69, 0.24);
  border-bottom: 1px solid rgba(45, 90, 69, 0.24);
}

#why.section-alt {
  border: 1px solid rgba(45, 90, 69, 0.32);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(26, 46, 31, 0.12);
}

.site-includes {
  max-width: 720px;
  margin: 0 auto;
}

.includes-title {
  margin: 0 0 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: #142218;
  text-align: center;
}

.includes-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.includes-tags li {
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 46, 31, 0.12);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2a3d30;
  box-shadow: 0 2px 8px rgba(26, 46, 31, 0.05);
}

.checklist {
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 1.15rem;
  color: #3d4f42;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 3px;
  background: #2d5a45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='%23f7f4ef' stroke-width='2' d='M3 8l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.checklist-heading {
  display: inline;
  font-weight: 700;
  color: #1a2e1f;
  font-size: 1rem;
}

.checklist-note {
  display: inline;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #5a6b5d;
}

.checklist-inline li {
  margin-bottom: 0.65rem;
  line-height: 1.45;
}

.checklist li:last-child {
  margin-bottom: 0;
}

.steps {
  max-width: 560px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.1rem;
  padding-bottom: 1.5rem;
  border-left: 2px solid rgba(45, 90, 69, 0.28);
  margin-left: 1.1rem;
  padding-left: 1.35rem;
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.step-num {
  margin-left: -2.45rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a2e1f;
  color: #f7f4ef;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2e1f;
}

.steps li p {
  margin: 0;
  color: #4a5c4e;
  font-size: 0.9375rem;
}

.cta-band {
  max-width: none;
  background: #1a2e1f;
  color: #e8f0e8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  margin: 0 0 0.5rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: #f7f4ef;
}

.cta-lead {
  margin: 0 0 1.35rem;
  opacity: 0.92;
  font-size: 1rem;
  color: #c5d9c5;
}

.cta-band .btn-primary {
  background: #c8e6c9;
  color: #142218;
}

.cta-band .btn-primary:hover {
  background: #fff;
}

.contact-section {
  max-width: 920px;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.contact-panel {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 249, 0.98) 100%);
  border: 1px solid rgba(26, 46, 31, 0.12);
  box-shadow:
    0 4px 6px rgba(26, 46, 31, 0.04),
    0 22px 50px rgba(26, 46, 31, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.contact-panel-bar {
  height: 5px;
  background: linear-gradient(90deg, #1a2e1f 0%, #2d5a45 55%, #3d7a58 100%);
}

.contact-panel-body {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 3.5vw, 2rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.25rem);
  text-align: center;
}

@media (min-width: 768px) {
  .contact-panel-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
    text-align: left;
  }

  .contact-panel-action {
    padding-left: clamp(1.25rem, 3vw, 2rem);
    border-left: 1px solid rgba(26, 46, 31, 0.1);
  }

  .contact-email-block {
    text-align: left;
  }
}

.contact-panel-intro {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.contact-panel-intro-text {
  flex: 1;
  min-width: 0;
}

.contact-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(26, 46, 31, 0.08), rgba(45, 90, 69, 0.12));
  color: #1a2e1f;
  border: 1px solid rgba(26, 46, 31, 0.1);
}

.contact-panel-title {
  margin: 0 0 0.5rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.65rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #142218;
}

.contact-panel-lead {
  margin: 0;
  max-width: none;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #4a5c4e;
}

.contact-panel-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.contact-email-block {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(45, 90, 69, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-align: center;
}

.contact-email-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a6b5d;
}

.contact-email-link {
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  font-weight: 600;
  color: #1a2e1f;
  text-decoration: none;
  word-break: break-word;
}

.contact-email-link:hover {
  color: #2d5a45;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-panel-hint {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7a6e;
}

.contact-tips {
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: none;
  text-align: left;
  list-style: none;
}

.contact-tips li {
  position: relative;
  margin-bottom: 0.45rem;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #3d4f42;
}

.contact-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d5a45;
  box-shadow: 0 0 0 3px rgba(45, 90, 69, 0.2);
}

.contact-tips li:last-child {
  margin-bottom: 0;
}

.contact-panel-cta {
  width: 100%;
  max-width: none;
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(26, 46, 31, 0.25);
  align-self: stretch;
}

.contact-panel-cta:hover {
  box-shadow: 0 6px 20px rgba(26, 46, 31, 0.3);
}

@media (max-width: 767px) {
  .contact-panel-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-panel-intro-text {
    text-align: center;
  }

  .contact-panel-action {
    padding-top: 0.25rem;
  }
}

.site-footer {
  padding: 1.75rem 1.25rem;
  border-top: 1px solid rgba(26, 46, 31, 0.1);
  background: rgba(238, 240, 234, 0.92);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1a2e1f;
}

.footer-copy {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #5a6b5d;
}

.footer-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: #8a9a8c;
}

.footer-logo {
  display: block;
  width: min(448px, 100%);
  height: auto;
  margin: 1.35rem auto 0;
}

@media (max-width: 640px) {
  .wordmark {
    max-width: min(160px, 54vw);
  }

  .nav {
    width: 100%;
    order: 3;
    margin-left: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(26, 46, 31, 0.08);
  }

  .header-cta {
    margin-left: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
