:root {
  --ink: #17231f;
  --muted: #5f6964;
  --green: #143f36;
  --green-dark: #0d2e28;
  --green-soft: #dfeee9;
  --gold: #bc8a37;
  --copper: #9b5f38;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --line: #dce3df;
  --shadow: 0 18px 45px rgba(20, 63, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

p {
  margin-bottom: 18px;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 214px;
  min-width: 178px;
  text-decoration: none;
}

.brand img {
  width: 214px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-nav a,
.footer-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--green-soft);
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

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

.hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--green-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home .hero-media img {
  object-position: center center;
}

.hero-about .hero-media img {
  object-position: center center;
}

.hero-firms .hero-media img {
  object-position: center center;
}

.hero-contact .hero-media img {
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 28, 25, 0.9), rgba(9, 28, 25, 0.58) 56%, rgba(9, 28, 25, 0.22)),
    linear-gradient(0deg, rgba(9, 28, 25, 0.28), rgba(9, 28, 25, 0.28));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 84px 0 92px;
  color: #ffffff;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: 22px;
  line-height: 1.5;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-final .eyebrow {
  color: #f2c976;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary {
  background: var(--gold);
  color: #111816;
}

.button-primary:hover {
  background: #d09a3f;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
}

.button-secondary:hover,
.button-secondary.light {
  background: #ffffff;
  color: var(--green-dark);
}

.button-dark {
  background: var(--green-dark);
  color: #ffffff;
}

.button-dark:hover {
  background: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.section {
  padding: 88px 0;
  background: var(--panel);
}

.section-intro {
  padding-top: 82px;
}

.section-muted {
  background: var(--paper);
}

.section-band {
  background: var(--green-soft);
}

.section-final {
  background: var(--green-dark);
  color: #ffffff;
}

.split,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.prose {
  max-width: 720px;
  color: var(--muted);
}

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

.audience-panel,
.service-item,
.team-list article,
.definition-list div,
.principles-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.audience-panel {
  min-height: 320px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.audience-panel p {
  color: var(--muted);
}

.section-copy {
  max-width: 500px;
}

.section-copy p {
  color: var(--muted);
}

.principles-list,
.definition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.definition-list {
  grid-template-columns: 1fr;
}

.principles-list div,
.definition-list div {
  padding: 24px;
}

.principles-list p,
.definition-list p {
  color: var(--muted);
  font-size: 16px;
}

.callout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.callout-row > div {
  max-width: 760px;
}

.callout-row p {
  color: var(--muted);
}

.final-cta {
  max-width: 760px;
}

.final-cta h2 {
  font-size: 42px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-item {
  padding: 26px;
}

.service-item p {
  color: var(--muted);
  font-size: 16px;
}

.team-list {
  display: grid;
  gap: 16px;
}

.team-list article {
  padding: 24px;
}

.team-list p {
  color: var(--muted);
  font-size: 16px;
}

.firm-grid {
  display: grid;
  gap: 28px;
}

.firm-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.firm-media {
  min-height: 360px;
  background: var(--green-soft);
}

.firm-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.firm-content {
  padding: 34px;
}

.firm-content h2 {
  margin-bottom: 14px;
}

.firm-content p {
  color: var(--muted);
}

.firm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
}

.firm-tags li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.contact-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
  margin-bottom: 42px;
}

.small-note {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  color: var(--muted);
  font-size: 15px;
}

.contact-audience {
  padding-top: 2px;
}

.contact-purpose-list {
  display: grid;
  gap: 18px;
}

.contact-purpose-list div {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.contact-purpose-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-purpose-list p {
  color: var(--muted);
  font-size: 16px;
}

.google-form-panel {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.form-panel-header h2 {
  margin-bottom: 0;
}

.google-form-frame {
  width: 100%;
  min-height: 1060px;
  border: 0;
  background: #ffffff;
}

.form-fallback {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.site-footer {
  padding: 48px 0 42px;
  background: #101816;
  color: #eef4f1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.footer-grid p {
  max-width: 600px;
  color: #c9d6d0;
  font-size: 15px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-nav a {
  color: #eef4f1;
}

.footer-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.disclosure {
  padding-top: 28px;
  color: #c9d6d0;
  font-size: 12px;
  line-height: 1.55;
}

.disclosure p {
  margin-bottom: 12px;
}

.disclosure a {
  color: #f2c976;
}

@media (max-width: 900px) {
  h1 {
    font-size: 48px;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand,
  .brand img {
    width: 178px;
  }

  h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .split,
  .two-column,
  .contact-intro,
  .firm-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .service-grid,
  .principles-list {
    grid-template-columns: 1fr;
  }

  .callout-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .firm-media {
    min-height: 280px;
  }

  .form-panel-header {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .header-inner {
    min-height: 74px;
  }

  .brand,
  .brand img {
    width: 154px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .primary-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 520px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 28, 25, 0.9), rgba(9, 28, 25, 0.7)),
      linear-gradient(0deg, rgba(9, 28, 25, 0.2), rgba(9, 28, 25, 0.2));
  }

  .hero-content {
    padding: 70px 0 76px;
  }

  h1 {
    font-size: 40px;
  }

  h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .section {
    padding: 62px 0;
  }

  .audience-panel,
  .service-item,
  .team-list article,
  .principles-list div,
  .definition-list div,
  .firm-content,
  .google-form-panel {
    padding: 24px;
  }

  .google-form-frame {
    min-height: 960px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }

  h1 {
    font-size: 36px;
  }

  h2,
  .final-cta h2 {
    font-size: 28px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}
