:root {
  --ink: #20252b;
  --muted: #64707c;
  --paper: #f5f2ea;
  --white: #ffffff;
  --gold: #b88b42;
  --gold-light: #ead9b8;
  --green: #193f36;
  --red: #7b2f2a;
  --charcoal: #111a1f;
  --line: #ded8cc;
  --shadow: 0 18px 50px rgba(28, 35, 40, 0.12);
  --shadow-strong: 0 28px 90px rgba(12, 19, 24, 0.28);
  --content-max: 1120px;
  --section-gutter: clamp(20px, 5vw, 72px);
  --section-vertical: clamp(58px, 8vw, 104px);
  --panel-gap: clamp(18px, 3.8vw, 30px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(184, 139, 66, 0.08), transparent 28rem),
    var(--paper);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body:has(nav.is-open) {
  overflow: hidden;
}

body.popover-open {
  overflow: hidden;
}

body.sample-notice-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

h2 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 16px;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(222, 216, 204, 0.86);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

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

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: #29323a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav a {
  padding: 8px 0;
  text-decoration: none;
}

nav a:hover {
  color: var(--red);
}

.header-cta {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--red);
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  padding: clamp(84px, 11vw, 132px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 72% 22%, rgba(184, 139, 66, 0.32), transparent 28rem),
    linear-gradient(90deg, rgba(17, 33, 32, 0.9), rgba(17, 33, 32, 0.38)),
    url("/assets/hero-bg.png") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--green));
}

.hero__content {
  position: relative;
  max-width: 980px;
  z-index: 1;
}

.hero__logo {
  width: min(590px, 88vw);
  margin-bottom: 28px;
}

.hero__lede {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__stats span {
  border: 1px solid rgba(234, 217, 184, 0.34);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #9b443d);
  box-shadow: 0 10px 24px rgba(123, 47, 42, 0.24);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #69302c;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  border: 1px solid rgba(123, 47, 42, 0.18);
  border-radius: 4px;
  padding: 7px 10px;
  color: var(--red);
  background: rgba(123, 47, 42, 0.06);
  font: inherit;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}

.text-button:hover {
  border-color: rgba(123, 47, 42, 0.32);
  background: rgba(123, 47, 42, 0.1);
}

.contact-section .text-button {
  color: var(--red);
}

.quick-consult {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal), var(--green));
}

.quick-consult > * {
  max-width: 1180px;
}

.quick-consult h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.quick-consult p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.service-area {
  display: grid;
  grid-template-columns: minmax(300px, 0.56fr) minmax(0, 1.44fr);
  gap: clamp(16px, 2.8vw, 28px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 242, 234, 0.96)),
    var(--paper);
}

.section.service-area > * {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.service-area__intro {
  margin-left: 0;
}

.service-area .eyebrow {
  margin-bottom: 6px;
}

.service-area h2 {
  margin-bottom: 7px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.service-area p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-area__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 0;
}

.service-area__grid article {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(31, 41, 51, 0.045);
}

.service-area__grid h3 {
  margin: 2px 0 0;
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.2;
}

.service-area__grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.5;
  list-style: none;
}

.service-area__grid li {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf6;
  color: var(--muted);
  font-weight: 700;
}

.section,
.contact-section {
  padding: var(--section-vertical) var(--section-gutter);
}

.section.service-area {
  width: min(var(--content-max), calc(100% - clamp(40px, 8vw, 132px)));
  max-width: 100%;
  margin-inline: auto;
  padding-block: clamp(24px, 3.9vw, 38px);
}

.section > *,
.contact-section > *,
.feature-band__inner {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section--split,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

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

.eyebrow {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-lede {
  max-width: 780px;
  color: var(--muted);
}

.section-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.service-grid,
.attorney-grid,
.detail-grid,
.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--panel-gap);
  margin-top: clamp(24px, 4vw, 34px);
}

.service-card,
.attorney-card,
.detail-card,
.bio-card,
.faq-list details,
form {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(31, 41, 51, 0.07);
}

.service-card,
.attorney-card {
  position: relative;
}

.service-card::before,
.attorney-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--gold), var(--red));
}

.service-card {
  padding: clamp(22px, 3.4vw, 28px);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip-row span,
.chip-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--green);
  background: #fbfaf7;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.chip-row a:hover {
  border-color: var(--gold);
  color: var(--red);
}

.detail-grid,
.bio-grid {
  align-items: start;
}

.detail-card,
.bio-card {
  overflow: hidden;
}

.detail-card summary,
.bio-card summary,
.faq-list summary {
  position: relative;
  display: block;
  padding: 20px 54px 20px 22px;
  color: var(--green);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.detail-card summary::after,
.bio-card summary::after,
.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
}

.detail-card[open] summary::after,
.bio-card[open] summary::after,
.faq-list details[open] summary::after {
  content: "-";
}

.rich-text {
  padding: 0 clamp(18px, 3vw, 22px) clamp(20px, 3vw, 24px);
  color: #3f4851;
}

.rich-text h4 {
  margin: 22px 0 8px;
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.rich-text ul {
  margin: 8px 0 16px;
  padding-left: 22px;
}

.rich-text li {
  margin-bottom: 6px;
}

.feature-band {
  color: var(--white);
  background:
    linear-gradient(rgba(25, 63, 54, 0.9), rgba(25, 63, 54, 0.9)),
    url("/assets/services.jpg") center / cover;
}

.feature-band__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: clamp(50px, 7vw, 84px) clamp(20px, 5vw, 72px);
}

.feature-band article {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.attorney-card {
  overflow: hidden;
}

.attorney-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.attorney-card div {
  padding: clamp(18px, 3.2vw, 24px);
}

.attorney-card p {
  color: var(--red);
  font-weight: 800;
}

.attorney-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.attorney-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.attorney-grid--page {
  margin-top: 0;
}

.bio-grid {
  margin-top: 38px;
}

.bio-card__summary {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.bio-card__summary img {
  width: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
}

.bio-card__summary strong,
.bio-card__summary small {
  display: block;
}

.bio-card__summary small {
  margin-top: 4px;
  color: var(--red);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.faq-list {
  display: grid;
  width: 100%;
  gap: 12px;
  max-width: 1040px;
  margin-top: 30px;
  margin-left: 0;
}

.faq-list details {
  width: 100%;
}

.faq-list summary {
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.episode-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.episode-list a {
  color: var(--green);
  font-weight: 800;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(rgba(26, 32, 37, 0.92), rgba(26, 32, 37, 0.92)),
    url("/assets/footer-bg.jpg") center / cover;
}

.form-heading {
  display: grid;
  gap: 6px;
  padding-bottom: 4px;
}

.form-heading h3 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.contact-section a {
  color: var(--white);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-section h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
}

.contact-section strong {
  color: var(--gold);
}

form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(184, 139, 66, 0.45);
  border-color: var(--gold);
}

textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--charcoal);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 62px) clamp(20px, 5vw, 72px) 28px;
}

.footer-brand {
  display: inline-block;
  width: min(360px, 82vw);
}

.footer-brand img {
  width: 100%;
}

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

.footer-links section {
  display: grid;
  gap: 8px;
}

.footer-links h2 {
  margin-bottom: 6px;
  color: var(--gold-light);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 72px) 28px;
  border-top: 1px solid rgba(234, 217, 184, 0.18);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.page-shell {
  background: var(--paper);
}

.page-hero {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 14%, rgba(184, 139, 66, 0.26), transparent 25rem),
    linear-gradient(135deg, rgba(17, 33, 32, 0.96), rgba(17, 33, 32, 0.76)),
    url("/assets/footer-bg.jpg") center / cover;
}

.page-hero > * {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.page-section {
  width: min(1040px, calc(100% - clamp(40px, 10vw, 144px)));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.section.page-section {
  padding-left: 0;
  padding-right: 0;
}

.seo-article {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.seo-link-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-link-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
  color: var(--green);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.06);
  font-weight: 900;
  text-decoration: none;
}

.seo-link-list a:hover {
  border-color: var(--gold);
  color: var(--red);
}

.seo-link-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}

.seo-link-list .empty-state {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
  color: var(--muted);
  background: var(--white);
}

.blog-article h2,
.blog-article h3 {
  margin-top: 26px;
}

.blog-article a {
  color: var(--green);
  font-weight: 800;
}

.page-cta {
  margin-top: 24px;
}

.attorney-bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
}

.attorney-bio-photo {
  float: left;
  width: min(260px, 45%);
  margin: 0 24px 16px 0;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.12);
}

.attorney-switcher {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(31, 41, 51, 0.07);
}

.attorney-switcher h2 {
  margin-bottom: 4px;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.attorney-switcher a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  color: var(--ink);
  background: #fbfaf7;
  text-decoration: none;
}

.attorney-switcher a:hover,
.attorney-switcher a.is-active {
  border-color: var(--gold);
  background: rgba(184, 139, 66, 0.12);
}

.attorney-switcher img {
  width: 58px;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  object-fit: cover;
}

.attorney-switcher strong,
.attorney-switcher small {
  display: block;
}

.attorney-switcher strong {
  line-height: 1.2;
}

.attorney-switcher small {
  margin-top: 3px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
}

.card-link,
.panel-cta {
  margin-top: 18px;
}

.seo-contact {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.popover-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 18, 22, 0.68);
  backdrop-filter: blur(10px);
}

.popover-backdrop[hidden] {
  display: none;
}

.appointment-popover {
  position: relative;
  width: min(760px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  border: 1px solid rgba(234, 217, 184, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 242, 0.98)),
    var(--white);
  box-shadow: var(--shadow-strong);
}

.popover-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.popover-header {
  padding: 30px 30px 10px;
}

.popover-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.popover-header p {
  max-width: 620px;
  color: var(--muted);
}

.appointment-form {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 20px 30px 30px;
}

.sample-notice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 18, 22, 0.48);
  backdrop-filter: blur(8px);
}

.sample-notice-backdrop[hidden] {
  display: none;
}

.sample-notice {
  position: relative;
  width: min(360px, 100%);
  border: 1px solid rgba(234, 217, 184, 0.44);
  border-radius: 8px;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.sample-notice h2 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 1.55rem;
}

.sample-notice p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.sample-notice-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: var(--white);
  font-size: 1.12rem;
  line-height: 1;
  cursor: pointer;
}

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

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 0.9rem;
  }

  nav.is-open {
    display: grid;
  }

  nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  nav a:last-child {
    border-bottom: 0;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 70px;
  }

  .brand span {
    max-width: 240px;
    line-height: 1.1;
    white-space: normal;
  }

  nav {
    inset-block-start: 70px;
  }

  .section--split,
  .service-area,
  .contact-section,
  .quick-consult,
  .service-area__grid,
  .service-grid,
  .attorney-grid,
  .detail-grid,
  .bio-grid,
  .attorney-bio-layout,
  .feature-band__inner {
    grid-template-columns: 1fr;
  }

  .quick-consult {
    align-items: start;
  }

  .hero {
    min-height: 72vh;
    padding-top: 74px;
  }

  .hero__logo {
    width: min(500px, 92vw);
  }

  .section,
  .contact-section {
    padding-block: 52px;
  }

  .page-hero {
    padding-block: 58px;
  }

  .seo-contact {
    gap: 24px;
  }

  .site-footer__inner,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .attorney-switcher {
    position: static;
  }

  .feature-band article {
    padding-left: 16px;
  }

  .section.service-area {
    width: min(100%, calc(100% - 40px));
    padding-block: 36px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 40px;
  }

  .brand span {
    max-width: 170px;
    font-size: 0.98rem;
  }

  .hero {
    min-height: 68vh;
  }

  .service-card,
  .appointment-form,
  form {
    padding: 20px;
  }

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

  .page-section {
    width: min(100% - 40px, 1040px);
  }

  .text-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section.service-area {
    width: min(100%, calc(100% - 32px));
    padding-block: 26px;
  }

  .service-area__grid article {
    grid-template-columns: 1fr;
  }

  .bio-card__summary {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .bio-card__summary img {
    width: 58px;
  }

  .attorney-bio-photo {
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }

  .popover-header {
    padding: 24px 20px 6px;
  }

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

  .footer-bottom {
    display: grid;
  }

  .detail-card summary,
  .bio-card summary,
  .faq-list summary {
    padding: 18px 48px 18px 18px;
  }

  .rich-text {
    padding-inline: 18px;
  }
}
