/* Small additions to the existing forms; existing page styles and CTAs stay in place. */
form[data-contact-form] .contact-optional { margin-inline-start: .25em; font-size: .9em; font-weight: 400; opacity: .85; }
.form form[data-contact-form] label[for$="message"],
.sticky-intake form[data-contact-form] label[for$="message"] { display: block; }
form[data-contact-form] select {
  box-sizing: border-box; display: block; width: 100%; min-width: 0; min-height: 48px;
  margin: 0; padding: .625rem 2.5rem .625rem .75rem; border: 1px solid #aab5c5; border-radius: 2px;
  appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2312233c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .875rem center;
  color: #12233c; font: 400 1rem/1.5 'Montserrat', sans-serif;
}
form[data-contact-form] select:focus { outline: 2px solid #d2b57e; outline-offset: 2px; border-color: #d2b57e; }
.contact-select { position: relative; min-width: 0; }
.contact-select.is-enhanced select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.contact-select__trigger {
  position: relative; display: block; box-sizing: border-box; width: 100%; min-height: 48px;
  padding: 10px 42px 10px 12px; border: 1px solid #b9c5d2; border-radius: 6px;
  background: #fff; color: #12233c; text-align: left; cursor: pointer;
  font: 500 1rem/1.45 Montserrat, sans-serif; white-space: normal; overflow-wrap: anywhere;
}
.contact-select__trigger.is-placeholder { color: #48586b; font-weight: 400; }
.contact-select__trigger::after {
  content: ''; position: absolute; right: 17px; top: 50%; width: 7px; height: 7px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg);
}
.contact-select__trigger[aria-expanded="true"]::after { transform: translateY(-28%) rotate(225deg); }
.contact-select__trigger:focus-visible, .contact-select__trigger[aria-expanded="true"] {
  outline: 2px solid #b28c40; outline-offset: 2px;
}
.contact-select__trigger[aria-invalid="true"] { border-color: #a74125; }
.contact-select__error { margin: 5px 0 0; color: inherit; font: 500 .8125rem/1.45 Montserrat, sans-serif; }
.contact-select__menu {
  position: fixed; inset: auto; box-sizing: border-box; margin: 0; padding: 5px;
  overflow: auto; overscroll-behavior: contain; border: 1px solid #cbd5df; border-radius: 9px;
  background: #fff; color: #12233c; box-shadow: 0 10px 26px rgb(8 28 51 / 18%);
  font: 500 1rem/1.4 Montserrat, sans-serif;
}
.contact-select__menu [role="option"] {
  position: relative; display: flex; align-items: center; box-sizing: border-box; min-height: 44px;
  padding: 10px 34px 10px 11px; border-radius: 5px; overflow-wrap: anywhere; cursor: pointer;
}
.contact-select__menu [role="option"][aria-selected="true"] { background: #f7f0e1; }
.contact-select__menu [role="option"][aria-selected="true"]::after {
  content: ''; position: absolute; right: 14px; top: 50%; width: 5px; height: 9px;
  color: #6e5023; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: translateY(-60%) rotate(45deg);
}
.contact-select__menu [role="option"].is-active { box-shadow: inset 0 0 0 1px #b28c40; }
@media (hover: hover) {
  .contact-select__trigger:hover { border-color: #9a7738; }
  .contact-select__menu [role="option"]:hover { background: #edf1f6; }
  .contact-select__menu [role="option"][aria-selected="true"]:hover { background: #f7f0e1; }
}
@media (forced-colors: active) {
  .contact-select__menu [role="option"].is-active { outline: 1px solid Highlight; outline-offset: -2px; }
}
.form form[data-contact-form] textarea[name="message"],
.sticky-intake form[data-contact-form] textarea[name="message"] { min-height: 76px; height: 76px; resize: vertical; }
form[data-contact-form] .contact-security { grid-column: 1 / -1; min-width: 0; margin: 2px 0 0; }
form[data-contact-form] .contact-security__summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; padding: 4px 0; }
form[data-contact-form] .contact-verification {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%;
  margin: 0; padding: 0; border: 0; color: inherit;
  font: 500 12px/1.5 'Montserrat', sans-serif; letter-spacing: .01em;
}
.contact-security__provider { font: 400 10px/1.6 'Montserrat', sans-serif; color: inherit; opacity: .75; }
.contact-security__provider a { font: inherit !important; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.contact-verification__icon { box-sizing: border-box; display: inline-block; flex: 0 0 16px; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; }
[data-contact-verification][data-state="verifying"] .contact-verification__icon { border-right-color: transparent; animation: contact-verify-spin .8s linear infinite; }
[data-contact-verification][data-state="verified"] .contact-verification__icon { border: 0; background: #237452; position: relative; }
[data-contact-verification][data-state="verified"] .contact-verification__icon::after { content: ''; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
[data-contact-verification][data-state="error"] .contact-verification__icon { border-style: dotted; }
form[data-contact-form] .contact-status { grid-column: 1 / -1; margin: 8px 0; font-size: 14px; line-height: 1.5; }
.form form[data-contact-form] .contact-status { color: #fff; }
form[data-contact-form] [hidden] { display: none !important; }
@keyframes contact-verify-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { [data-contact-verification][data-state="verifying"] .contact-verification__icon { animation: none; } }

/* Compact contact-page and footer presentation. Native fields and all intake logic are unchanged. */
:is(.skrr-contact, .skrr-footer-review) .form form { gap: 5px 12px; }
:is(.skrr-contact, .skrr-footer-review) .form .title { margin-bottom: 6px; font-size: 12px; line-height: 1.45; }
:is(.skrr-contact, .skrr-footer-review) .form form .field label { margin-bottom: 4px; font-size: 14px; line-height: 1.45; }
:is(.skrr-contact, .skrr-footer-review) .form form .field:first-of-type,
:is(.skrr-contact, .skrr-footer-review) .form form .field--message:has(select) { grid-column: 1 / -1; }
:is(.skrr-contact, .skrr-footer-review) .form form input:not([type="hidden"]):not([name="_gotcha"]) {
  min-height: 48px; height: 48px; padding: 10px 12px; border-color: #b9c5d2; border-radius: 4px;
}
:is(.skrr-contact, .skrr-footer-review) .form form textarea[name="message"] {
  min-height: 64px; height: 64px; padding: 8px 12px; border-color: #b9c5d2; border-radius: 4px;
}
:is(.skrr-contact, .skrr-footer-review) .form form textarea::placeholder { font-size: 14px; line-height: 1.45; }
:is(.skrr-contact, .skrr-footer-review) .contact-select select {
  min-height: 48px; padding: 11px 36px 11px 12px; border-color: #b9c5d2; border-radius: 4px;
  font-size: 16px; line-height: 1.45;
}
:is(.skrr-contact, .skrr-footer-review) .contact-security { margin-top: 0; }
:is(.skrr-contact, .skrr-footer-review) .contact-security__summary { padding: 1px 0; gap: 4px 12px; }
:is(.skrr-contact, .skrr-footer-review) .form form .contact-status { margin: 0; font-size: 11px; line-height: 1.45; }
:is(.skrr-contact, .skrr-footer-review) .form form .contact-status[role="alert"] { font-size: 13px; }
.skrr-footer-review .form form[data-contact-form] .contact-status { color: #526172; }
:is(.skrr-contact, .skrr-footer-review) .form form .formBtm { margin-top: 2px; }
:is(.skrr-contact, .skrr-footer-review) .form form .formBtm .defaultBtn { min-height: 48px; padding: 11px 12px; border-radius: 4px; font-size: 16px; }

.skrr-contact { padding-top: 9px; }
.skrr-contact__breadcrumb { margin-bottom: 16px; }
.skrr-contact__consultation-header { gap: 12px; margin-bottom: 6px; }
.skrr-contact__portraits { width: 208px; gap: 6px; }
.skrr-contact__team { margin-right: 0; }
.skrr-contact .skrr-contact__credentials {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center;
  gap: 4px 16px; margin-bottom: 8px; padding: 6px 12px 8px; border-radius: 4px;
}
.skrr-contact .skrr-contact__credentials > p { grid-column: 1 / -1; margin: 0; font-size: 10px; line-height: 1.3; }
.skrr-contact .skrr-contact__super-lawyers-row,
.skrr-contact .skrr-contact__badge-row { display: contents; }
.skrr-contact .skrr-contact__super-lawyers-row figure { grid-template-rows: 44px auto; row-gap: 3px; align-self: start; }
.skrr-contact .skrr-contact__super-lawyers-row img { height: 44px; }
.skrr-contact .skrr-contact__super-lawyers-row figcaption { font-size: 11px; line-height: 1.4; }
.skrr-contact .skrr-contact__super-lawyers-row small { margin-top: 1px; font-size: 10px; line-height: 1.4; }
.skrr-contact .skrr-contact__badge-row img { width: 100%; height: 40px; object-fit: contain; }
.skrr-contact .skrr-contact__legal { margin-top: 9px; font-size: 11px; line-height: 1.45; }

.skrr-footer-review { padding-block: 24px; }
.skrr-footer-review__layout { max-width: 1120px; gap: 18px 36px; }
.skrr-footer-review__panel { padding: 18px 20px; border-radius: 4px; }
.skrr-footer-review__consultation-header { gap: 10px; margin-bottom: 8px; }
.skrr-footer-review__team { flex: 0 0 auto; }
.skrr-footer-review .skrr-contact__portraits { flex-wrap: nowrap; width: 162px; gap: 6px; }
.skrr-footer-review .skrr-contact__portraits > span { flex-basis: 36px; width: 36px; }
.skrr-footer-review__panel-heading p { margin-top: 2px; }
.skrr-footer-review .skrr-footer-review__legal { margin-top: 8px; font-size: 11px; line-height: 1.45; }
.skrr-footer-review__recognition { margin-top: 8px; padding-top: 6px; }
.skrr-footer-review__badges { gap: 8px; margin-top: 6px; }
.skrr-footer-review__badges img { height: 48px; }
.skrr-footer-review__badges figcaption { margin-top: 4px; font-size: 11px; line-height: 1.4; }
.skrr-footer-review__badges small { font-size: 10px; line-height: 1.4; }
.intake-panel-in-view [data-sticky-intake-launcher-shell],
.intake-panel-in-view footer .content .backtotop.scrollToTopBtn { visibility: hidden; pointer-events: none; }

@media (min-width: 981px) {
  .skrr-contact__layout { grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: 16px 44px; }
  .skrr-contact__right { margin-top: -18px; padding: 14px 20px 14px 24px; }
  .skrr-contact h1 { font-size: 34px; margin-bottom: 6px; }
  .skrr-contact h2 { font-size: 30px; }
  .skrr-contact .skrr-contact__fee { font-size: 14px; }
  .skrr-contact .skrr-contact__eyebrow { margin-bottom: 5px; }
  .skrr-contact .skrr-contact__lead { line-height: 1.5; }
  .skrr-contact .skrr-contact__proof { margin-top: 8px; padding-top: 8px; }
  .skrr-contact__proof dt { font-size: 30px; }
  .skrr-contact__proof dd { font-size: 12px; line-height: 1.4; }
  .skrr-contact__methods { margin-top: 8px; padding-bottom: 8px; gap: 12px; }
  .skrr-contact .skrr-contact__contact-link { min-height: 44px; }
  .skrr-contact .skrr-contact__review-summary { margin-bottom: 8px; }
  .skrr-contact__review-grid { gap: 8px 20px; }
  .skrr-contact__review { gap: 6px; }
  .skrr-contact .skrr-contact__review blockquote { font-size: 12px; line-height: 1.4; }
  .skrr-contact .skrr-contact__reviews-link { margin-top: 16px; }
}

@media (min-width: 981px) and (max-height: 800px) {
  .skrr-contact .form form { row-gap: 5px; }
  .skrr-contact__consultation-header { margin-bottom: 6px; }
  .skrr-contact__consultation { display: flex; flex-direction: column; }
  .skrr-contact__consultation-header { order: 0; }
  .skrr-contact__form-wrap { order: 1; }
  .skrr-contact .skrr-contact__credentials { order: 2; margin-top: 12px; margin-bottom: 0; }
  .skrr-contact h2 { font-size: 27px; }
  .skrr-contact__portraits { width: 184px; }
}

@media (min-width: 981px) and (min-height: 801px) {
  .skrr-contact__right { margin-top: -18px; }
  .skrr-contact__reviews { display: flex; flex-direction: column; align-self: stretch; padding-bottom: 55px; }
  .skrr-contact .skrr-contact__reviews-link { margin-top: auto; align-self: flex-start; }
}

/* Keep the action visible in short desktop windows without shrinking usable controls. */
@media (min-width: 981px) and (max-height: 700px) {
  .skrr-contact { padding-top: 4px; }
  .skrr-contact__breadcrumb { margin-bottom: 10px; }
  .skrr-contact__right { margin-top: -30px; padding-top: 12px; }
  .skrr-contact__consultation { display: flex; flex-direction: column; }
  .skrr-contact__consultation-header { order: 0; }
  .skrr-contact__form-wrap { order: 1; }
  .skrr-contact .skrr-contact__credentials { order: 2; margin-top: 10px; margin-bottom: 0; }
  .skrr-contact h2 { font-size: 25px; }
  .skrr-contact__portraits { width: 148px; }
  .skrr-contact .form form { row-gap: 5px; }
  .skrr-footer-review__panel { padding-top: 12px; }
  .skrr-footer-review .form form { row-gap: 4px; }
  .skrr-footer-review__consultation-header { margin-bottom: 4px; }
  .skrr-footer-review .form .title { margin-bottom: 4px; }
  :is(.skrr-contact, .skrr-footer-review) .form form input:not([type="hidden"]):not([name="_gotcha"]),
  :is(.skrr-contact, .skrr-footer-review) .contact-select select,
  :is(.skrr-contact, .skrr-footer-review) .contact-select__trigger { min-height: 44px; padding-block: 9px; }
  :is(.skrr-contact, .skrr-footer-review) .form form textarea[name="message"] { min-height: 60px; height: 60px; }
}

@media (max-width: 980px) {
  .skrr-contact { padding-top: 16px; }
  .skrr-contact__layout { gap: 18px; }
  .skrr-contact__consultation { padding: 18px; display: flex; flex-direction: column; }
  .skrr-contact__consultation-header { order: 0; }
  .skrr-contact__form-wrap { order: 1; }
  .skrr-contact__consultation-header { gap: 10px; margin-bottom: 10px; }
  .skrr-contact__portraits { width: 184px; }
  .skrr-contact .skrr-contact__credentials { order: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; margin-top: 12px; margin-bottom: 0; }
  .skrr-contact .skrr-contact__badge-row img { height: 36px; }
  .skrr-footer-review__layout { max-width: 640px; gap: 18px; }
}
@media (max-width: 540px) {
  :is(.skrr-contact, .skrr-footer-review) .form form { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  :is(.skrr-contact, .skrr-footer-review) .form form .field:first-of-type,
  :is(.skrr-contact, .skrr-footer-review) .form form .field--message:has(select) { grid-column: 1 / -1; }
  :is(.skrr-contact, .skrr-footer-review) .form form .field label { font-size: 13px; }
  :is(.skrr-contact, .skrr-footer-review) .form form input:not([type="hidden"]):not([name="_gotcha"]),
  :is(.skrr-contact, .skrr-footer-review) .contact-select__trigger,
  :is(.skrr-contact, .skrr-footer-review) .contact-select select { min-height: 48px; height: auto; font-size: 16px; }
  :is(.skrr-contact, .skrr-footer-review) .form form textarea[name="message"] { min-height: 72px; height: 72px; font-size: 16px; }
  :is(.skrr-contact, .skrr-footer-review) .form form .formBtm .defaultBtn { min-height: 48px; }
  .skrr-contact__consultation { padding: 16px; }
  .skrr-contact__consultation-header { margin-bottom: 8px; }
  .skrr-contact h2 { font-size: 25px; }
  .skrr-contact__portraits { width: 168px; }
  .skrr-contact .skrr-contact__credentials { padding: 7px 8px; gap: 6px 8px; }
  .skrr-contact .skrr-contact__super-lawyers-row figure { grid-template-rows: 40px auto; }
  .skrr-contact .skrr-contact__super-lawyers-row img { height: 40px; }
  .skrr-footer-review { padding: 20px 16px; }
  .skrr-footer-review__panel { padding: 16px; }
  .skrr-footer-review__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .skrr-footer-review__badges img { height: 40px; }
  .skrr-footer-review__badges figcaption { font-size: 11px; }
}
@media (min-width: 360px) and (max-width: 540px) {
  :is(.skrr-contact, .skrr-footer-review) .form form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  :is(.skrr-contact, .skrr-footer-review) .form form textarea[name="message"] { min-height: 84px; height: 84px; }
}

/* Align visible artwork, preserving the original files and native lazy loading.
   The crop variables remove only the measured blank margins inside each file. */
:is(.skrr-contact, .skrr-footer-review) .skrr-award-image-slot {
  display: flex; align-items: flex-end; justify-content: center;
  width: 100%; height: 40px; min-width: 0;
}
:is(.skrr-contact, .skrr-footer-review) .skrr-award-art {
  --award-ratio: 1; --award-image-width: 100%; --award-image-left: 0%; --award-image-top: 0%;
  display: block; position: relative; overflow: hidden;
  width: min(100%, calc(40px * var(--award-ratio))); max-width: 180px;
  aspect-ratio: var(--award-ratio); flex: 0 1 auto;
}
:is(.skrr-contact, .skrr-footer-review) .skrr-award-art img {
  position: absolute; display: block; left: var(--award-image-left); top: var(--award-image-top);
  width: var(--award-image-width); max-width: none; height: auto; min-height: 0;
  margin: 0; padding: 0; border: 0; object-fit: fill;
}
:is(.skrr-contact, .skrr-footer-review) .skrr-award-art--super-lawyers {
  --award-ratio: 4.3469387755; --award-image-width: 120.1877934272%;
  --award-image-left: -10.0938967136%; --award-image-top: -86.7346938776%;
}
:is(.skrr-contact, .skrr-footer-review) :is(.skrr-award-art--pennsylvania, .skrr-award-art--philadelphia) {
  --award-ratio: 1.0116822430; --award-image-width: 159.3533487298%; --award-image-left: -29.7921478060%;
}
:is(.skrr-contact, .skrr-footer-review) .skrr-award-art--av-preeminent { --award-ratio: 3.4090909091; }
:is(.skrr-contact, .skrr-footer-review) .skrr-award-art--client-champion { --award-ratio: 4.5454545455; }
:is(.skrr-contact, .skrr-footer-review) .skrr-award-art--avvo {
  --award-ratio: 1.6476190476; --award-image-width: 138.7283236994%;
  --award-image-left: -19.6531791908%; --award-image-top: -3.8095238095%;
}
.skrr-contact .skrr-contact__super-lawyers-row figure {
  grid-template-rows: 40px 32px; row-gap: 3px; align-self: start;
}
.skrr-contact .skrr-contact__super-lawyers-row figcaption { line-height: 1.4; }
.skrr-contact .skrr-contact__badge-row figure { display: block; min-width: 0; margin: 0; align-self: start; }
.skrr-footer-review__badges figure { display: grid; grid-template-rows: 40px 48px; row-gap: 4px; align-content: start; }
.skrr-footer-review__badges figcaption { margin: 0; line-height: 1.4; }
.skrr-footer-review__badges small { margin-top: 1px; line-height: 1.4; }
@media (min-width: 981px) {
  .skrr-footer-review .skrr-award-art--philadelphia {
    width: min(100%, calc(46px * var(--award-ratio)));
    transform: translateY(2px);
  }
}
@media (max-width: 540px) {
  .skrr-contact .skrr-contact__credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skrr-contact .skrr-contact__super-lawyers-row figure { grid-template-rows: 40px 48px; }
}
