/* Bachand & Bachand, PA
   Layout: centered 1040px column; light-blue page ground with white content panels,
   navy for navigation, buttons and accents (picks up the suits and backdrop in the photos). */
:root {
  --sky: #dce8f3;          /* page background (was lavender) */
  --sky-deep: #b9cfe4;     /* dividers, borders */
  --steel: #7fa3c6;        /* decorative curve */
  --navy: #1f3d63;         /* tabs, buttons, accents (was plum) */
  --navy-dark: #152b47;
  --ink: #16202b;
  --muted: #4a5a6b;
  --paper: #fff;
  --gold: #d9a520;

  --font-display: "Mulish", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-body: "Questrial", "Helvetica Neue", Arial, sans-serif;

  --content: 1040px;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 16px/1.75 var(--font-body);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--navy); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  background: var(--navy); color: var(--paper); padding: 8px 14px; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--paper);
  border-bottom: 3px solid var(--navy);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { height: 46px; width: auto; }
@media (max-width: 400px) { .brand img { height: 38px; } }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.nav a {
  padding: 8px 14px;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  color: var(--ink);
  border-radius: 4px;
}
.nav a:hover { color: var(--navy); background: var(--sky); }
.nav a[aria-current] { color: var(--paper); background: var(--navy); }
.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--paper);
  border: 0;
  border-radius: 4px;
  font: inherit;
  padding: 8px 16px;
  cursor: pointer;
}
@media (max-width: 960px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav { display: none; flex-direction: column; width: 100%; padding-bottom: 10px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 11px 28px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-navy { background: var(--navy); color: var(--paper); border: 1px solid var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-outline { background: var(--paper); color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--paper); }

/* ---------- Page heading ---------- */
.page-head { padding-block: 52px 28px; text-align: center; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); }
.page-head p { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-size: 17px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 15%, rgba(127, 163, 198, .35), transparent 45%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #2b5384 100%);
  padding-block: clamp(44px, 7vw, 84px) clamp(110px, 12vw, 140px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 1px;
  background: rgba(255, 255, 255, .08);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-eyebrow { margin: 0 0 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-deep); }
.hero h1 { color: var(--paper); font-size: clamp(34px, 5.2vw, 56px); line-height: 1.1; margin-bottom: 22px; }
.hero .lede { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .86); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-call { margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.hero-call a { color: var(--paper); }
.hero-photo { position: relative; min-width: 0; margin: 0; }
.hero-photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 40%;
  border-radius: 14px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6), 0 0 0 8px rgba(255, 255, 255, .08);
}
.hero-photo-tag {
  position: absolute; left: 18px; bottom: 18px; margin: 0;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(21, 43, 71, .78); color: var(--paper); font-size: 13.5px;
  backdrop-filter: blur(4px);
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 420px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- Home: three highlight cards ---------- */
.highlights { position: relative; z-index: 2; margin-top: -72px; padding-bottom: 24px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.highlight {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--paper); color: var(--ink); text-decoration: none;
  padding: 30px 24px 28px; border-radius: 12px;
  box-shadow: 0 24px 50px -30px rgba(21, 43, 71, .55);
  transition: transform .2s, box-shadow .2s;
}
a.highlight:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -28px rgba(21, 43, 71, .6); }
.highlight-icon {
  width: 30px; height: 30px; padding: 13px; box-sizing: content-box; border-radius: 50%;
  background: var(--sky); fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 14px;
}
.highlight-num { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 5vw, 54px); line-height: 1; color: var(--navy); }
.highlight-label { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
@media (max-width: 760px) {
  .highlights { margin-top: -84px; }
  .highlight-grid { grid-template-columns: 1fr; gap: 14px; }
  .highlight { flex-direction: row; text-align: left; gap: 18px; padding: 20px 22px; }
  .highlight-icon { margin: 0; flex: none; }
  .highlight-num { font-size: 38px; min-width: 2.4em; }
  .highlight-label { margin: 0; }
}

/* ---------- Section headings ---------- */
.eyebrow { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.section-head p:last-child { color: var(--muted); }

/* ---------- Home: "How can we help" tabs ---------- */
.helper { padding-block: 40px 64px; }
.tab-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab-list [role="tab"] {
  font: inherit; font-size: 15px; cursor: pointer;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--navy); background: var(--paper); color: var(--navy);
  transition: background-color .2s, color .2s;
}
.tab-list [role="tab"]:hover { background: var(--sky-deep); }
.tab-list [role="tab"][aria-selected="true"] { background: var(--navy); color: var(--paper); }
.tab-panel + .tab-panel { margin-top: 28px; }
.tabs.is-ready .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel { animation: panel-in .35s ease both; }
.tab-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-intro { text-align: center; max-width: 680px; margin: 0 auto 24px; color: var(--muted); font-size: 15.5px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.tile {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  padding: 28px 26px; border-radius: 6px; border-top: 3px solid var(--navy);
  box-shadow: 0 14px 40px -30px rgba(21, 43, 71, .5);
  transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -26px rgba(21, 43, 71, .55); }
.tile h3 { font-size: 23px; }
.tile p { font-size: 15px; color: var(--muted); margin: 0; }
.tile-icon, .card-icon { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile-icon { width: 44px; height: 44px; padding: 8px; background: var(--sky); border-radius: 50%; box-sizing: content-box; }
.tile-more { margin-top: auto; padding-top: 6px; color: var(--navy); font-size: 15px; }
.tile-more::after { content: " \2192"; display: inline-block; transition: transform .2s; }
.tile:hover .tile-more::after { transform: translateX(4px); }
.tile.person { flex-direction: row; align-items: flex-start; gap: 20px; }
.tile.person picture { flex: 0 0 110px; }
.tile.person img { width: 110px; height: 138px; object-fit: cover; object-position: top; border-radius: 4px; }
.tile.person > div { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.unsure { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; background: var(--paper); border-radius: 6px; padding: 32px; max-width: 860px; margin-inline: auto; box-shadow: 0 14px 40px -30px rgba(21, 43, 71, .5); }
.unsure > div:first-child { flex: 1 1 340px; }
.unsure h3 { font-size: 24px; margin-bottom: 8px; }
.unsure p { color: var(--muted); font-size: 15.5px; }
.unsure-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) {
  .tile-grid, .tile-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .tile.person { flex-direction: column; }
  .tile.person img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-position: 50% 0; }
  .tile.person picture { flex-basis: auto; }
}

/* ---------- Home: about ---------- */
.about { background: var(--paper); padding-block: 64px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.about-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.about-copy h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 16px; }
.about-copy p { font-size: 15.5px; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%231f3d63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about { padding-block: 44px; } }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Attorneys page ---------- */
.attorney { padding-block: 28px; scroll-margin-top: 80px; }
.attorney:last-of-type { padding-bottom: 64px; }
.attorney-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  background: var(--paper);
  box-shadow: 0 18px 50px -30px rgba(21, 43, 71, .45);
}
.attorney-copy { min-width: 0; padding: 36px 36px 40px; }
.attorney-copy h2 { font-size: clamp(30px, 4vw, 44px); text-align: center; margin-bottom: 6px; }
.attorney-copy .role { text-align: center; color: var(--navy); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 26px; }
.attorney-copy .body { border-top: 2px solid var(--navy); padding-top: 24px; font-size: 15px; }
@media (max-width: 860px) {
  .attorney-grid { grid-template-columns: 1fr; }
  .attorney-copy { padding: 28px 20px 32px; }
}

.attorney-aside { position: sticky; top: 90px; background: var(--paper); border-left: 1px solid var(--sky-deep); padding-bottom: 28px; display: flex; flex-direction: column; }
.attorney-aside .attorney-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.facts { margin: 0; padding: 22px 26px 6px; display: grid; gap: 14px; }
.facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; }
.attorney-aside .btn { margin: 14px 26px 0; }
@media (max-width: 860px) {
  .attorney-grid { display: flex; flex-direction: column; }
  .attorney-aside { display: contents; }
  .attorney-aside .attorney-photo { order: -1; }
  .attorney-aside .attorney-photo img { aspect-ratio: 1 / 1; object-position: 50% 0; }
  .facts { border-top: 1px solid var(--sky-deep); margin-inline: 20px; padding: 20px 0 0; }
  .attorney-aside .btn { margin: 18px 20px 28px; align-self: flex-start; }
}

/* ---------- Content cards (practice areas, mediation) ---------- */
.cards { display: grid; gap: 28px; padding-bottom: 56px; }
.card {
  background: var(--paper);
  padding: 40px clamp(20px, 5vw, 56px);
  box-shadow: 0 18px 50px -34px rgba(21, 43, 71, .45);
  scroll-margin-top: 90px;
  min-width: 0;
}
.card h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--sky-deep);
}
.card p { font-size: 15.5px; }
.card h2 { display: flex; align-items: center; gap: 14px; }
.card-icon { width: 30px; height: 30px; flex: none; padding: 8px; background: var(--sky); border-radius: 50%; box-sizing: content-box; }
.card-action { margin-top: 22px; }
.card .es { margin-top: 24px; background: var(--sky); border-radius: 4px; }
.card .es summary { cursor: pointer; padding: 16px 22px; list-style: none; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card .es summary::-webkit-details-marker { display: none; }
.card .es summary::before { content: "+"; font-size: 20px; line-height: 1; color: var(--navy); width: 14px; align-self: center; }
.card .es[open] summary::before { content: "\2212"; }
.card .es .es-title { font-family: var(--font-display); font-size: 21px; color: var(--navy); }
.card .es summary small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card .es p { padding: 0 22px 20px; margin: 0; }
.card .who { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.card .who:has(.avatar) { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-right: 6px; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.jump a { font-size: 14px; padding: 6px 14px; border: 1px solid var(--navy); border-radius: 999px; text-decoration: none; background: var(--paper); }
.jump a:hover { background: var(--navy); color: var(--paper); }

/* ---------- Call-to-action strip ---------- */
.cta { background: var(--navy); color: var(--paper); padding-block: 44px; text-align: center; }
.cta h2 { color: var(--paper); font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 10px; }
.cta p { margin-bottom: 22px; opacity: .9; }
.cta .btn-outline { background: transparent; color: var(--paper); border: 1px solid rgba(255, 255, 255, .7); }
.cta .btn-outline:hover { background: rgba(255, 255, 255, .12); color: var(--paper); border-color: var(--paper); }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta a.phone { color: var(--paper); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: start; padding-bottom: 56px; }
.contact-info, .contact-form { background: var(--paper); padding: 34px clamp(20px, 4vw, 40px); min-width: 0; box-shadow: 0 18px 50px -34px rgba(21, 43, 71, .45); }
.contact-info h2, .contact-form h2 { font-size: 26px; margin-bottom: 18px; }
.contact-info address { font-style: normal; margin-bottom: 18px; }
.contact-info dl { margin: 0 0 20px; display: grid; gap: 12px; }
.contact-info dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-info dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--sky-deep);
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 61, 99, .18); }
.form .btn { justify-self: start; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; font-size: 14.5px; color: var(--navy); min-height: 1.5em; margin: 0; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Home: testimonials ---------- */
.testimonials { padding-block: 64px 72px; }
.testimonials-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: stretch; }
.review-summary {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--paper); border-radius: 14px; padding: 34px 30px;
  display: flex; flex-direction: column;
}
.summary-label { margin: 0 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-deep); }
.summary-score { margin: 0; display: flex; flex-direction: column; }
.summary-num { font-family: var(--font-display); font-size: 64px; line-height: 1; }
.summary-unit { font-size: 18px; margin-top: 6px; }
.summary-stars { margin-top: 14px; color: var(--gold); font-size: 24px; letter-spacing: 4px; line-height: 1; }
.summary-rating { margin: 12px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.summary-rating[hidden] { display: none; }
.summary-copy { margin: 20px 0 26px; font-size: 15px; color: rgba(255, 255, 255, .82); }
.summary-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.summary-actions [hidden] { display: none; }

.quote-carousel {
  position: relative; min-width: 0;
  background: var(--paper); border-radius: 14px;
  box-shadow: 0 24px 50px -34px rgba(21, 43, 71, .55);
  display: flex; flex-direction: column;
}
.quote-carousel::before {
  content: "\201C"; position: absolute; top: 4px; right: 28px;
  font-family: Georgia, "Times New Roman", serif; font-size: 160px; line-height: 1;
  color: var(--sky); pointer-events: none;
}
.quote-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; outline-offset: -3px;
  align-items: flex-start; transition: height .3s ease;
}
.quote-track::-webkit-scrollbar { display: none; }
.quote-slide {
  flex: 0 0 100%; scroll-snap-align: start; margin: 0;
  padding: 40px clamp(24px, 4.5vw, 52px) 20px;
  display: flex; flex-direction: column; gap: 16px; position: relative;
}
.quote-stars { color: var(--gold); font-size: 20px; letter-spacing: 3px; line-height: 1; }
.quote-headline { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); line-height: 1.25; color: var(--navy); max-width: 26ch; }
.quote-body { margin: 0; }
.quote-body p { font-size: 15.5px; color: var(--muted); }
.quote-slide.is-long:not(.is-open) .quote-body p {
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.quote-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: 14.5px; color: var(--navy); text-decoration: underline; cursor: pointer; }
.quote-author { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 14px; }
.quote-author strong, .quote-author .quote-name { display: block; font-weight: 400; font-size: 17px; color: var(--ink); text-decoration: none; }
.quote-author .quote-name:hover { color: var(--navy); text-decoration: underline; }
.quote-source { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quote-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--sky); color: var(--navy); font-size: 16px; letter-spacing: .04em;
}
.quote-controls { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px clamp(24px, 4.5vw, 52px) 26px; border-top: 1px solid var(--sky); }
.quote-arrow {
  width: 42px; height: 42px; border-radius: 50%; flex: none; cursor: pointer;
  border: 1px solid var(--sky-deep); background: var(--paper); display: grid; place-items: center;
  transition: background-color .2s, border-color .2s;
}
.quote-arrow:hover { background: var(--navy); border-color: var(--navy); }
.quote-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quote-arrow:hover svg { stroke: var(--paper); }
.quote-nav { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.quote-count { margin: 0; font-family: var(--font-display); font-size: 15px; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.quote-count [data-count-current] { color: var(--navy); font-size: 18px; }
.quote-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.quote-dot {
  width: 18px; height: 4px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sky-deep); position: relative;
  transition: width .3s ease, background-color .3s ease;
}
.quote-dot::after { content: ""; position: absolute; inset: -10px -3px; }
.quote-dot:hover { background: var(--steel); }
.quote-dot[aria-current="true"] { width: 36px; background: var(--navy); }
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .summary-num { font-size: 52px; }
  .summary-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .quote-carousel::before { font-size: 110px; right: 16px; }
  .quote-controls { padding-inline: 16px; }
}

.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--paper); }

/* ---------- Contact & mediation forms ---------- */
.page-head .aside-link { margin-top: 8px; font-size: 15px; }
.contact-side { display: grid; gap: 28px; min-width: 0; }
.contact-info p { font-size: 15px; }
.contact-info address { font-size: 15.5px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 16px; font-size: 15px; line-height: 1.55; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--paper); font-size: 14px;
}
.steps strong { font-weight: 400; color: var(--navy); }
.field select { appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f3d63' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field label .req, .field label .opt, .field legend .opt { font-size: 12.5px; color: var(--muted); }
.field label .req { color: var(--navy); }
.field label .req[hidden] { display: none; }
.choices { border: 0; padding: 0; margin: 0; display: flex; flex-flow: row wrap; gap: 8px 10px; }
.choices legend { font-size: 14px; padding: 0; margin-bottom: 6px; width: 100%; }
.choices label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--sky-deep); border-radius: 999px;
  font-size: 14.5px; cursor: pointer; background: var(--paper);
}
.choices label:has(input:checked) { border-color: var(--navy); background: var(--sky); color: var(--navy); }
.choices input { accent-color: var(--navy); margin: 0; }
.form-section { grid-column: 1 / -1; font-size: 19px; color: var(--navy); padding-bottom: 8px; border-bottom: 1px solid var(--sky-deep); margin-top: 6px; }
.form-section:first-of-type { margin-top: 0; }
.form-status.is-error { color: #a12a2a; }
.mediator { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; padding-block: 14px; border-top: 1px solid var(--sky-deep); }
.mediator:first-of-type { border-top: 0; padding-top: 0; }
.mediator img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
.mediator h3 { font-size: 19px; margin-bottom: 4px; }
.mediator h3 a { text-decoration: none; }
.mediator p { font-size: 14.5px; color: var(--muted); margin: 0; }
.mediators .more-link { margin-top: 10px; font-size: 15px; }

/* Directions + map */
.visit { background: var(--paper); border-top: 1px solid var(--sky-deep); padding-block: 48px; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 36px; align-items: start; }
.visit h2 { font-size: 28px; margin-bottom: 12px; }
.visit-copy p { font-size: 15.5px; color: var(--muted); }
.directions-field { margin-bottom: 14px; }
.visit .office { margin-top: 26px; }
.visit .office img { width: 100%; border-radius: 4px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: 4px; background: var(--sky); }
@media (max-width: 860px) {
  .visit-grid { grid-template-columns: 1fr; }
  .map iframe { min-height: 320px; }
  .visit .office { display: none; }
}
.reviews-teaser { text-align: center; padding-block: 28px 36px; font-size: 16px; }
.reviews-teaser p { margin: 0; }
.reviews-teaser .stars { color: #c99a1d; letter-spacing: 2px; margin-right: 6px; }

.btn-light { background: var(--paper); color: var(--navy); border: 1px solid var(--paper); }
.btn-light:hover { background: var(--sky); border-color: var(--sky); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 3px solid var(--navy); font-size: 15px; line-height: 1.6; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: start;
  padding-block: 48px 40px;
}
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 16px;
}
.site-footer address { font-style: normal; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; overflow-wrap: break-word; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .logo { width: 150px; margin: 0 0 16px; }
.site-footer .serving { margin: 0; max-width: 34ch; color: var(--muted); font-size: 14px; }
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 40px;
  border-top: 1px solid var(--sky-deep);
  padding-block: 20px 28px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.legal p { margin: 0; max-width: 78ch; }
.legal .copyright { white-space: nowrap; text-align: right; }
.legal .credit { display: block; margin-top: 2px; opacity: .85; }
.legal .credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal .credit a:hover { color: var(--navy); }
@media (max-width: 700px) { .legal .copyright { text-align: left; white-space: normal; } }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
  .footer-brand .logo { margin: 0; width: 130px; flex: none; }
  .site-footer .serving { max-width: 46ch; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-block: 36px 28px; }
  .footer-col:nth-child(3) { grid-column: 1 / -1; order: 5; }
  .footer-brand { display: block; }
  .footer-brand .logo { margin-bottom: 14px; }
}


/* ---------- 404 ---------- */
.notfound { padding-block: 80px; text-align: center; }
.notfound h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 14px; }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
ul.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }

/* ==========================================================================
   Phone layout. Overrides for small screens, kept together so they win.
   ========================================================================== */
.t-short, .t-short-intro { display: none; }
.burger { display: inline-block; position: relative; width: 18px; height: 12px; margin-right: 8px; vertical-align: -1px; }
.burger::before, .burger::after, .burger span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s, opacity .2s, top .2s;
}
.burger::before { top: 0; }
.burger span { top: 5px; }
.burger::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .burger::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { top: 5px; transform: rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .burger span { opacity: 0; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; padding: 10px 14px; font-size: 15px; }
  .nav { gap: 0; padding: 4px 0 12px; }
  .nav a { padding: 13px 4px; font-size: 16px; border-radius: 0; border-top: 1px solid var(--sky); }
  .nav a[aria-current] { background: none; color: var(--navy); font-weight: 600; }
  .nav a[aria-current]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); margin-right: 10px; vertical-align: 2px; }
  .nav a:hover { background: none; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .site-header .wrap { min-height: 60px; }
  .brand img { height: 40px; }

  /* Buttons: full width, stacked, easy to tap */
  .btn { display: block; width: 100%; padding: 14px 20px; font-size: 16px; }
  .hero-actions, .cta .actions, .unsure-actions, .summary-actions, .notfound .actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .form .btn, .card-action .btn, .attorney-aside .btn, .about-copy .btn { justify-self: stretch; align-self: stretch; }
  .attorney-aside .btn { width: auto; }

  /* Panels run edge to edge instead of floating in thick margins */
  .card, .contact-form, .contact-info, .attorney-grid, .quote-carousel, .review-summary, .unsure {
    margin-inline: calc(-1 * var(--gutter)); border-radius: 0; box-shadow: none;
  }
  .cards, .contact-grid, .contact-side { gap: 12px; }
  .card { padding: 28px var(--gutter); }
  .card h2 { font-size: 25px; }
  .card p { font-size: 16px; }
  .contact-form, .contact-info { padding: 28px var(--gutter); }

  /* Page headings */
  .page-head { padding-block: 32px 22px; }
  .page-head h1 { font-size: 32px; }
  .page-head p { font-size: 16px; }
  .jump { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { white-space: nowrap; flex: none; }

  /* Home hero */
  .hero { padding-block: 24px 96px; }
  .hero-photo { max-width: none; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 12%; border-radius: 10px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .08); }
  .hero-photo-tag { left: 12px; bottom: 12px; font-size: 12.5px; }
  .hero-eyebrow { font-size: 11.5px; letter-spacing: .12em; margin-bottom: 10px; }
  .hero h1 { font-size: 30px; line-height: 1.15; margin-bottom: 14px; }
  .hero .lede { font-size: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-call { text-align: center; }

  /* Three highlight cards: side by side, compact */
  .highlights { margin-top: -64px; padding-bottom: 8px; }
  .highlight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .highlight { flex-direction: column; text-align: center; gap: 0; padding: 16px 6px 14px; border-radius: 10px; }
  .highlight-icon { display: none; }
  .highlight-num { font-size: 30px; min-width: 0; }
  .highlight-label { margin-top: 6px; font-size: 12.5px; line-height: 1.35; }

  /* How can we help: one segmented control */
  .helper { padding-block: 32px 40px; }
  .section-head { margin-bottom: 20px; }
  .section-head h2 { font-size: 28px; }
  .tab-list { flex-wrap: nowrap; gap: 0; background: var(--paper); border: 1px solid var(--sky-deep); border-radius: 999px; padding: 4px; }
  .tab-list [role="tab"] { flex: 1 1 0; padding: 11px 4px; font-size: 15px; border: 0; line-height: 1.2; }
  .tab-list .t-full { display: none; }
  .tab-list .t-short { display: inline; }
  .t-short-intro { display: inline; font-weight: 600; color: var(--navy); }
  .panel-intro { text-align: left; font-size: 15.5px; }
  .tile-grid { gap: 10px; }
  .tile { padding: 20px var(--gutter); margin-inline: calc(-1 * var(--gutter)); border-radius: 0; box-shadow: none; border-top-width: 2px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 6px; align-items: center; }
  .tile-icon { width: 26px; height: 26px; padding: 9px; grid-row: span 1; }
  .tile h3 { font-size: 21px; }
  .tile p, .tile .tile-more { grid-column: 1 / -1; }
  .tile.person { display: flex; flex-direction: row; gap: 14px; }
  .tile.person picture { flex: 0 0 76px; }
  .tile.person img { width: 76px; height: 96px; aspect-ratio: auto; }
  .unsure { padding: 24px var(--gutter); }

  /* About */
  .about { padding-block: 36px; }
  .about-copy h2 { font-size: 27px; }

  /* Reviews */
  .testimonials { padding-block: 40px 44px; }
  .testimonials-grid { gap: 12px; }
  .review-summary { padding: 24px var(--gutter); display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .summary-label, .summary-copy, .summary-actions, .summary-rating { grid-column: 1 / -1; }
  .summary-score { grid-row: span 2; }
  .summary-num { font-size: 46px; }
  .summary-unit { font-size: 15px; }
  .summary-stars { margin: 0; font-size: 20px; align-self: end; }
  .summary-rating { margin-top: 10px; }
  .summary-copy { display: none; }
  .summary-actions { margin-top: 18px; }
  .quote-slide { padding: 28px var(--gutter) 12px; gap: 12px; }
  .quote-headline { font-size: 23px; }
  .quote-body p { font-size: 16px; }
  .quote-carousel::before { font-size: 90px; right: 14px; top: 0; }
  .quote-controls { padding: 14px var(--gutter) 20px; }

  /* Call to action band */
  .cta { padding-block: 36px; }
  .cta p { font-size: 16px; }

  /* Attorneys */
  .attorney { padding-block: 14px; }
  .attorney-copy { padding: 24px var(--gutter) 8px; }
  .attorney-copy h2 { font-size: 29px; }
  .attorney-copy .body { font-size: 16px; }
  .facts { margin-inline: var(--gutter); }
  .attorney-aside .btn { margin: 18px var(--gutter) 26px; }

  /* Forms */
  .form { gap: 18px; }
  .form-status:empty { display: none; }
  .choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .choices legend { grid-column: 1 / -1; }
  .choices label { justify-content: center; padding: 10px 6px; font-size: 14px; gap: 6px; }
  .visit { padding-block: 32px; }
  .map iframe { min-height: 280px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 32px 24px; }
  .footer-col:nth-child(3) { grid-column: auto; order: 0; }
  .footer-brand { display: flex; align-items: center; gap: 16px; }
  .footer-brand > a { flex: none; }
  .footer-brand .logo { width: 96px; margin: 0; }
  .site-footer .serving { font-size: 13.5px; }
  nav.footer-col ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .site-footer ul { gap: 12px; }
  .legal { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}

/* Tablets: between the phone layout and the desktop two-column layout */
@media (min-width: 601px) and (max-width: 820px) {
  .hero-photo { max-width: none; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 12%; }
  .about-photo img { aspect-ratio: 16 / 9; }
  .hero-actions .btn { flex: 1 1 0; }
}
