:root {
  --green: #14522d;
  --green-link: #1d7a3d;
  --navy: #050545;
  --navy-dark: #010322;
  --olive: #403d2d;
  --panel: #fbfaf6;
  --panel-edge: #111019;
  --orange: #a64f27;
  --text: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px),
    linear-gradient(var(--navy) 0 58%, var(--olive) 58% 100%);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar,
.header-cta {
  display: none;
}

.site-header {
  background: var(--navy);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.topbar-inner,
.header-inner,
.nav-inner,
.section-inner,
.footer-inner,
.home-panel {
  width: min(1120px, calc(100% - 52px));
  margin: 0 auto;
}

.site-nav {
  order: 1;
  background: var(--green);
}

.nav-inner {
  min-height: 62px;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 19px 0;
  color: #ffffff;
  font: 700 16px/1.4 Arial, Helvetica, sans-serif;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #1b803f;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.header-inner {
  order: 2;
  padding: 44px 0 34px;
}

.brand {
  color: #ffffff;
  text-decoration: none;
}

.brand-title {
  display: block;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1.06;
  font-weight: 700;
}

.brand-tagline {
  display: block;
  margin-top: 8px;
  color: #d9d7d0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.18;
}

h1 {
  margin: 0 0 24px;
  color: var(--orange);
  font-size: 2rem;
}

h2 {
  margin: 0 0 22px;
  color: var(--orange);
  font-size: 1.95rem;
}

h3 {
  margin: 22px 0 10px;
  color: var(--orange);
  font-size: 1.75rem;
}

h4 {
  margin: 0 0 8px;
  color: #333333;
  font-size: 1.05rem;
}

.main {
  padding: 0 0 46px;
}

.home-main {
  padding-top: 24px;
}

.home-panel,
.content-layout,
.page-panel,
.section > .section-inner:not(.content-layout):not(.page-panel) {
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.025) 0 1px, transparent 1px 5px),
    var(--panel);
  border: 10px solid var(--panel-edge);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}

.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 38px;
  align-items: start;
  min-height: 410px;
  padding: 32px 36px 46px;
}

.home-feature p {
  margin: 0 0 28px;
  font-size: 1.22rem;
}

.home-feature figure {
  margin: 0;
  text-align: center;
}

.home-feature img {
  display: block;
  width: 500px;
  margin: 0 auto;
}

.home-feature figcaption {
  margin-top: 8px;
  font-weight: 700;
}

.home-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 52px;
  padding: 36px 36px 44px;
}

.home-summary p {
  margin-top: 0;
}

.home-summary ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.home-summary li {
  padding: 11px 0 13px;
  border-bottom: 1px dotted #b9b2a9;
}

.section {
  padding: 34px 0 46px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
  padding: 34px;
}

.section > .section-inner:not(.content-layout):not(.page-panel) {
  padding: 34px;
}

.page-panel {
  padding: 34px 42px 42px;
}

.page-title {
  color: #29964b;
  font-size: clamp(3rem, 6vw, 4.25rem);
  font-weight: 400;
}

.resources-panel {
  min-height: 720px;
  padding: 42px 42px 54px;
}

.about-panel {
  padding: 42px 42px 54px;
}

.resource-note {
  margin: 0 0 34px;
  font-size: 1.2rem;
  line-height: 1.45;
}

.resources-panel hr {
  border: 0;
  border-top: 1px solid #555555;
  margin: 0 0 12px;
}

.resource-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
}

.resource-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.resource-columns li {
  margin: 0;
  padding: 13px 0 22px;
  font-size: 1.16rem;
}

.site-summary {
  margin-top: 50px;
}

.content > :first-child {
  margin-top: 0;
}

.content figure {
  margin: 0 0 24px 32px;
  float: right;
  max-width: 500px;
}

.content figcaption {
  padding-top: 6px;
  color: #111111;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.portrait {
  float: right;
  width: 300px;
  margin: 14px 30px 28px 48px;
}

.service-photo {
  float: right;
  width: 350px;
  margin: 0 0 24px 32px;
}

.intro {
  font-size: 1.18rem;
}

.sidebar {
  font-size: 0.96rem;
}

.sidebar h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.sidebar ul {
  padding-left: 18px;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}

.practice-item {
  border-top: 1px dotted #b9b2a9;
  padding-top: 16px;
}

.practice-item h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.timeline h2 {
  clear: none;
  margin-top: 38px;
  color: #111111;
  font-size: 2.15rem;
  font-weight: 400;
}

.timeline h3 {
  margin: 28px 0 0;
  padding-bottom: 2px;
  border-bottom: 1px solid #777777;
  color: #02083c;
  font: 700 1.04rem/1.25 Arial, Helvetica, sans-serif;
}

.timeline h4 {
  margin: 8px 0 18px 54px;
  color: #111111;
  font: 400 1rem/1.25 Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.timeline p {
  margin-bottom: 28px;
}

.timeline .intro {
  max-width: calc(100% - 390px);
  margin-bottom: 32px;
  font-size: 1.18rem;
}

.resource-list {
  columns: 2;
  column-gap: 44px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.resource-list li {
  break-inside: avoid;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px dotted #b9b2a9;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
}

.contact-panel {
  border-top: 1px dotted #b9b2a9;
  padding-top: 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bbb5aa;
  padding: 10px 12px;
  color: var(--text);
  background: #ffffff;
  font: 1rem Arial, Helvetica, sans-serif;
}

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

.form-status {
  margin: 0;
  color: #a64f27;
  font-weight: 700;
}

.button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
  font: 700 1rem Arial, Helvetica, sans-serif;
}

.map {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.legal-copy {
  max-width: 850px;
}

.site-footer {
  background: transparent;
  color: #d9d2c4;
  padding: 38px 0 30px;
  text-align: center;
}

.footer-inner {
  display: block;
}

.site-footer a {
  color: #d9d2c4;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 4px;
}

.call-now {
  display: none;
}

@media (max-width: 820px) {
  .topbar-inner,
  .header-inner,
  .nav-inner,
  .section-inner,
  .footer-inner,
  .home-panel {
    width: min(100% - 26px, 1120px);
  }

  .nav-inner {
    min-height: 52px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-bottom: 10px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .home-feature,
  .home-summary,
  .content-layout,
  .contact-grid,
  .resource-columns {
    grid-template-columns: 1fr;
  }

  .home-feature,
  .home-summary,
  .content-layout,
  .page-panel,
  .section > .section-inner:not(.content-layout):not(.page-panel) {
    padding: 22px;
  }

  .content figure,
  .portrait,
  .service-photo {
    float: none;
    width: 100%;
    max-width: 420px;
    margin: 0 0 24px;
  }

  .resource-list {
    columns: 1;
  }

  .resources-panel {
    min-height: 0;
  }

  .timeline .intro {
    max-width: none;
  }

  .timeline h4 {
    margin-left: 0;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}
