:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #66706e;
  --paper: #f7f4ec;
  --surface: #fffdf8;
  --line: #ded7c7;
  --teal: #0c5c55;
  --teal-dark: #073d39;
  --gold: #b7822d;
  --clay: #9b4834;
  --shadow: 0 18px 45px rgba(23, 32, 31, 0.14);
  --radius: 8px;
  --header-height: 82px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(247, 244, 236, 0.9);
  border-bottom: 1px solid rgba(222, 215, 199, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal-dark);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: #273331;
  font-size: 0.94rem;
}

.nav-links a {
  padding: 0.55rem 0;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--teal);
}

.nav-call {
  min-width: 88px;
  text-align: center;
  color: #fff !important;
  background: var(--teal);
  border-radius: var(--radius);
  padding: 0.65rem 1rem !important;
}

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

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 48px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 24, 22, 0.9) 0%, rgba(12, 24, 22, 0.76) 36%, rgba(12, 24, 22, 0.22) 68%, rgba(12, 24, 22, 0.1) 100%),
    linear-gradient(0deg, rgba(12, 24, 22, 0.2), rgba(12, 24, 22, 0.12));
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5rem 0 4rem;
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.association-copy h2 {
  margin: 0;
  line-height: 1.05;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
}

.hero-copy {
  max-width: 620px;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

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

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-stats {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 3.25rem 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-stats div {
  padding: 1rem;
  background: rgba(8, 17, 16, 0.66);
}

.hero-stats dt {
  font-size: 1.25rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.notice-band {
  background: var(--teal-dark);
  color: #eaf3ef;
}

.notice-band p {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0.85rem 0;
  font-size: 0.9rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6rem 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.association-copy h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.about-grid,
.credibility-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.about-copy {
  color: #2e3937;
  font-size: 1.06rem;
}

.about-copy p:first-child {
  margin-top: 0;
  font-size: 1.26rem;
  color: var(--ink);
}

.court-panel,
.testimonial-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.court-panel {
  padding: 1.4rem;
}

.court-panel h3,
.practice-card h3,
.timeline h3 {
  margin: 0;
  font-size: 1.05rem;
}

.court-panel ul {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.court-panel li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.practice-section,
.contact-section {
  width: 100%;
  max-width: none;
  background: #fffaf1;
  border-block: 1px solid var(--line);
}

.practice-section > *,
.contact-section > * {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

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

.practice-card {
  min-height: 230px;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.practice-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1.2rem;
  color: var(--teal);
  background: #e6f2ef;
  border-radius: var(--radius);
  font-weight: 900;
}

.practice-card p,
.timeline p,
.association-copy p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline div {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.timeline span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--clay);
  border-radius: var(--radius);
  font-weight: 900;
}

.timeline p {
  margin: 0.25rem 0 0;
}

.testimonial-panel {
  padding: 1.6rem;
  background: var(--teal-dark);
  color: #fff;
}

.quote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.35;
}

.quote-source {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.association-section {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding-top: 0;
}

.association-copy {
  max-width: 760px;
}

.text-link {
  flex: 0 0 auto;
  color: var(--clay);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.contact-grid {
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-list a,
.contact-list p {
  margin: 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-list span {
  display: block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: #2d3836;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfc6b5;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0.85rem;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(12, 92, 85, 0.14);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem max(16px, calc((100% - 1180px) / 2));
  color: #dbe7e4;
  background: #101918;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .nav {
    position: relative;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 0.85rem !important;
  }

  .nav-call {
    margin-top: 0.35rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    object-position: 68% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(12, 24, 22, 0.9) 0%, rgba(12, 24, 22, 0.78) 58%, rgba(12, 24, 22, 0.45) 100%);
  }

  .hero-content {
    padding: 5rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 4.8rem);
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .about-grid,
  .credibility-layout,
  .contact-grid,
  .association-section {
    grid-template-columns: 1fr;
  }

  .association-section {
    display: grid;
    align-items: start;
  }

  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    max-width: 170px;
    font-size: 0.72rem;
  }

  .hero-content {
    padding: 3.4rem 0 2.2rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.45rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    gap: 0.55rem;
  }

  .hero-actions .button {
    flex: 1 1 150px;
    min-width: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
  }

  .hero-stats div {
    padding: 0.75rem 0.65rem;
  }

  .hero-stats dd {
    font-size: 0.74rem;
  }

  .section {
    padding: 4rem 0;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .timeline div {
    grid-template-columns: 38px 1fr;
    column-gap: 0.8rem;
  }

  .timeline span {
    width: 38px;
    height: 38px;
  }

  .quote {
    font-size: 1.28rem;
  }
}
