/* Site-wide finishing layer, loaded after each page's own stylesheet on every public Go page.
 * It removes the marks that make a page look machine-made (upper-case spaced-out labels, glowing gradients, coloured edge bars,
 * slanted words in headings) and adds the finish a front-end designer would: layered soft shadows, cards that lift a little on
 * hover, buttons that look pressable, and calm focus rings. Motion (polish.js) is off for visitors who ask for reduced motion.
 * Only presentation changes here: no text, link or layout order. Remove this file's <link> to get the previous look back. */
:root {
  --pol-shadow-1: 0 1px 2px rgba(14, 24, 48, .06), 0 1px 1px rgba(14, 24, 48, .04);
  --pol-shadow-2: 0 1px 2px rgba(14, 24, 48, .05), 0 6px 18px -6px rgba(14, 24, 48, .12);
  --pol-shadow-3: 0 2px 4px rgba(14, 24, 48, .06), 0 18px 36px -10px rgba(14, 24, 48, .22);
  --pol-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- labels: normal sentence case, no letter-spacing ---- */
.eyebrow, .sp-eyebrow, .lp-hero-eyebrow,
label.f, .lp-card-label, .lp-glance small, .lp-cred dt, .ex-glance small, .ex-fld small, .sp-form-group label, .sp-lc-label,
.rg-form legend, .spot-label, .fcols h4, .sp-fcols h4, .v2-footer-col h4, .pr-chip, .rg-chip, .ex-tag {
  text-transform: none !important; letter-spacing: 0 !important;
}
label.f, .sp-form-group label, .sp-lc-label { font-size: 13px; font-weight: 600; }
.lp-card-label, .lp-glance small, .ex-glance small, .ex-fld small { font-size: 12.5px; font-weight: 600; }
.lp-cred dt { font-size: 13px; }
.lp-subtitle { text-transform: none !important; letter-spacing: 0 !important; font-size: 15px; color: var(--ip-ink, #0e1830); }
.fcols h4, .sp-fcols h4, .v2-footer-col h4 { font-size: 14px; font-weight: 600; }
.rg-form legend { font-size: 15px; color: var(--sp-ink, #0e1830); }
.spot-label { font-size: 12.5px; }
.pr-chip, .rg-chip, .ex-tag { font-size: 12px; font-weight: 600; }

/* the labels that carry information become a quiet pill (the attorney count in the home hero, a question's category) */
.hero .eyebrow, .sp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 11px; border-radius: 99px;
  font: 600 13.5px/1.2 var(--body); color: #c3f1ec; background: rgba(52, 211, 201, .09); border: 1px solid rgba(52, 211, 201, .26);
}
.hero .eyebrow::before, .sp-eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--teal, #34d3c9); box-shadow: 0 0 0 3px rgba(52, 211, 201, .18); }
.lp-hero-eyebrow { font-size: 14px; font-weight: 600; color: #b5ece6; }

/* ---- no slanted words in headings (the coloured word keeps its colour) ---- */
h1 em, h2 em, h3 em { font-style: normal !important; }

/* ---- no glowing gradients behind page headers ---- */
.sp-hero, .ex-top { background-image: none !important; }
.lp-hero { background: #123a35 !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--pol-shadow-2); }
.lp-hero::after { display: none !important; }

/* ---- no coloured edge bars: a normal edge and a soft shadow instead ---- */
.finder { border-top: 0 !important; }
.sp-getstarted, .sp-claimnote { border-top: 1px solid var(--sp-border, #d5dbe6) !important; }

/* ---- depth: layered soft shadows on cards ---- */
.area, .person, .guide, .ask-grid, .nj-list, .exh-card, .sp-section, .sp-contact-grid > div, .ar-card, .pr-card, .lp-card, .ex-card, .finder {
  box-shadow: var(--pol-shadow-2);
}
.pr-card.pr-pick { box-shadow: 0 0 0 1px var(--sp-accent, #0c746e), var(--pol-shadow-3); }

/* cards that are links lift a little under the pointer */
.area, .person, .guide, .exh-card, .ar-card {
  transition: transform .22s var(--pol-ease), box-shadow .22s var(--pol-ease), border-color .22s;
}
.area:hover, .person:hover, .guide:hover, .exh-card:hover, .ar-card:hover { transform: translateY(-3px); box-shadow: var(--pol-shadow-3); }

/* ---- buttons: a slight top highlight and a real pressed state ---- */
.btn-teal, .btn-brass, .sp-btn, .sp-nbtn.teal, .tiny, .nj-ghost-go, .ar-btn {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 1px 2px rgba(4, 32, 30, .22), 0 6px 14px -6px rgba(12, 116, 110, .5);
  transition: transform .15s var(--pol-ease), box-shadow .15s var(--pol-ease), background-color .15s;
}
.nj-btn { box-shadow: inset 0 -1px 0 rgba(12, 116, 110, .18), 0 6px 16px -6px rgba(0, 0, 0, .35); transition: transform .15s var(--pol-ease), box-shadow .15s var(--pol-ease); }
.btn-teal:hover, .btn-brass:hover, .sp-btn:hover, .sp-nbtn.teal:hover, .tiny:hover, .nj-ghost-go:hover, .ar-btn:hover, .nj-btn:hover { transform: translateY(-1px); }
.btn:active, .sp-btn:active, .sp-nbtn:active, .tiny:active, .ar-btn:active, .nj-ghost-go:active {
  transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .18);
}

/* ---- inputs: one calm focus ring everywhere ---- */
.f input:focus, .f select:focus, .ask-card textarea:focus, .exh-search input:focus {
  outline: none; border-color: var(--teal-deep, #0c746e); background: #fff; box-shadow: 0 0 0 4px rgba(52, 211, 201, .22);
}

/* ---- the top bar: its own band, stays at the top while scrolling, the logo at its full size ---- */
.topbar, .sp-navband, #v2-nav.v2-nav-sticky {
  position: sticky; top: 0; z-index: 1100;
  background: #0c1528; border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .25s, box-shadow .25s;
}
.topbar .nav { padding-block: 14px; gap: 26px; }
.sp-nav { padding-block: 14px; gap: 26px; }
#v2-nav.v2-nav-sticky { height: 78px; }
html.pol-scrolled .topbar, html.pol-scrolled .sp-navband, html.pol-scrolled #v2-nav.v2-nav-sticky {
  background: rgba(12, 21, 40, .9); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .75);
}
/* the logo shown at its natural size (crisp), set apart from the links by a thin rule */
.topbar .logo, .sp-navband .sp-logo, #v2-nav .v2-nav-brand { flex: none; padding-right: 24px; border-right: 1px solid rgba(255, 255, 255, .12); line-height: 0; }
.topbar .logo img, .sp-navband .sp-logo img, #v2-nav .v2-nav-brand img { height: 50px; width: auto; display: block; }
/* links: brighter, a teal line slides in under the one you point at (and under the current page) */
.nav-links a, .sp-nav-links a, #v2-nav-links a { position: relative; padding: 8px 0; font-size: 14.5px; font-weight: 500; color: #b6c3d9; text-decoration: none; transition: color .15s; }
.nav-links a::after, .sp-nav-links a::after, #v2-nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--teal, #34d3c9);
  transform: scaleX(0); transform-origin: left center; transition: transform .22s var(--pol-ease);
}
.nav-links a:hover, .sp-nav-links a:hover, #v2-nav-links a:hover, .sp-nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .sp-nav-links a:hover::after, #v2-nav-links a:hover::after, .sp-nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.topbar .btn, .sp-nav .sp-nbtn, .v2-nav-cta { padding: 11px 18px; border-radius: 9px; font-size: 14px; font-weight: 700; }
#v2-nav-links { gap: 22px; }
@media (max-width: 1240px) { .nav-links, .sp-nav-links, #v2-nav-links { gap: 16px !important; } .nav-links a, .sp-nav-links a, #v2-nav-links a { font-size: 13.5px; } }
@media (max-width: 700px) {
  .topbar .logo img, .sp-navband .sp-logo img, #v2-nav .v2-nav-brand img { height: 40px; }
  .topbar .logo, .sp-navband .sp-logo, #v2-nav .v2-nav-brand { border-right: 0; padding-right: 0; }
}

/* ---- the Featured attorney card beside the search box: the Featured firms flip in one after another ----
   (polish.js turns the deck on; without it only the first card shows. Pointing at the card pauses it; it never moves under the pointer.) */
.spot-more { display: none; }
.spot-deck.spot-live { display: grid; perspective: 1400px; }
.spot-deck.spot-live > .spot-card {
  grid-area: 1 / 1; display: grid; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: rotateY(-95deg); opacity: 0; pointer-events: none;
  transition: transform .6s cubic-bezier(.45, .05, .2, 1), opacity .45s ease, border-color .2s;
}
.spot-deck.spot-live > .spot-card.is-on { transform: none; opacity: 1; pointer-events: auto; }
.spot-deck.spot-live > .spot-card.is-out { transform: rotateY(95deg); opacity: 0; }
.spot-deck.spot-live > .spot-card.no-tr { transition: none !important; }
.spot-deck.spot-still > .spot-card { transition: none !important; }
.spot-card { cursor: pointer; }
.spot-card:hover { border-color: var(--teal, #34d3c9); }
.spot-card:hover .spot-go { background: #5fe3da; }
.spot-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; }
.spot-dots[hidden] { display: none; }
.spot-dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; overflow: hidden; cursor: pointer; background: rgba(255, 255, 255, .22); transition: width .3s var(--pol-ease), background-color .2s; }
.spot-dot:hover { background: rgba(255, 255, 255, .42); }
.spot-dot:focus-visible { outline: 2px solid var(--teal, #34d3c9); outline-offset: 3px; }
.spot-dot[aria-current="true"] { width: 38px; background: rgba(52, 211, 201, .22); }
.spot-dot i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--teal, #34d3c9); }
.spot-dot[aria-current="true"] i { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .spot-deck.spot-live:not(.spot-still) ~ .spot-dots .spot-dot[aria-current="true"] i { width: 0; animation: pol-spot-fill 6s linear forwards; }
  .spot.is-paused .spot-dot i { animation-play-state: paused !important; }
}
@keyframes pol-spot-fill { to { width: 100%; } }

/* ---- "Describe your legal problem" box (guides, legal resources, practice-area and city pages) ---- */
.askbox { display: grid; gap: 10px; margin: 0; }
.askbox-l { font-size: 14px; font-weight: 600; color: var(--sp-ink, #0e1830); }
.askbox textarea { width: 100%; min-height: 84px; resize: vertical; padding: 12px 13px; border: 1px solid var(--sp-border, #d5dbe6); border-radius: 10px; background: #f7f9fc; font: 500 15px/1.5 var(--body); color: var(--sp-ink, #0e1830); }
.askbox textarea:focus { outline: none; border-color: var(--teal-deep, #0c746e); background: #fff; box-shadow: 0 0 0 4px rgba(52, 211, 201, .22); }
.askbox-go { justify-self: start; padding: 12px 18px; border: 0; border-radius: 9px; background: var(--teal, #34d3c9); color: #04201e; font: 700 15px/1 var(--body); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 6px 14px -6px rgba(12, 116, 110, .5); }
.askbox-go:hover { background: #5fe3da; }
.askbox-note { margin: 0 !important; font-size: 13px !important; color: var(--sp-ink-dim, #4a5877) !important; }
.askbox-sec h2 { margin-bottom: 12px !important; }
.ar-ask .askbox-go { justify-self: stretch; }

/* ---- scroll reveal (polish.js adds the classes; without the script nothing is hidden) ---- */
@media (prefers-reduced-motion: no-preference) {
  .pol-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--pol-ease), transform .7s var(--pol-ease); }
  .pol-reveal.pol-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .area, .person, .guide, .exh-card, .ar-card, .btn, .sp-btn, .tiny { transition: none !important; transform: none !important; }
}
@media print { .pol-reveal { opacity: 1 !important; transform: none !important; } }

/* ---- welcome card (polish.js): bottom corner, never covers the page ---- */
.wel { position: fixed; right: 16px; bottom: 16px; z-index: 950; width: 340px; max-width: calc(100% - 32px); box-sizing: border-box;
  padding: 18px 18px 14px; border-radius: 16px; background: #fff; color: #0a1120; border: 1px solid rgba(14, 24, 48, .1);
  box-shadow: var(--pol-shadow-3); font-size: 14px; line-height: 1.45; text-align: left;
  opacity: 0; transform: translateY(14px); transition: opacity .3s var(--pol-ease), transform .3s var(--pol-ease); }
.wel.wel-on { opacity: 1; transform: none; }
.wel-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent;
  color: #5b6577; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: none; }
.wel-x:hover { background: rgba(14, 24, 48, .07); color: #0a1120; }
.wel-h { display: block; margin: 0 30px 4px 0; font-size: 16.5px; font-weight: 700; color: #0a1120; }
.wel-sub, .wel-note { margin: 0 0 12px; font-size: 13px; color: #5b6577; }
.wel-opts { display: grid; gap: 8px; }
.wel-opt { display: block; width: 100%; text-align: left; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(14, 24, 48, .12);
  background: #f7f9fb; color: #0a1120; font: inherit; cursor: pointer; box-shadow: none;
  transition: border-color .15s, background .15s, transform .15s var(--pol-ease); }
.wel-opt b { display: block; font-size: 14.5px; }
.wel-opt span { display: block; margin-top: 2px; font-size: 12.5px; color: #5b6577; }
.wel-opt:hover { border-color: #0c746e; background: #eef8f7; transform: translateY(-1px); }
.wel-skip { display: block; margin: 10px auto 0; padding: 4px 8px; border: 0; background: none; color: #5b6577; font: inherit; font-size: 13px;
  text-decoration: underline; cursor: pointer; box-shadow: none; }
.wel textarea { display: block; width: 100%; box-sizing: border-box; margin: 6px 0 8px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(14, 24, 48, .18); background: #fff; color: #0a1120; font: inherit; font-size: 14px; resize: vertical; min-height: 76px; }
.wel textarea:focus { outline: none; border-color: #0c746e; box-shadow: 0 0 0 3px rgba(12, 116, 110, .18); }
.wel-go { width: 100%; padding: 11px 14px; border: 0; border-radius: 10px; background: #0c746e; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.wel-go:hover { background: #095c57; }
.wel button:focus-visible { outline: 2px solid #0c746e; outline-offset: 2px; }
@media (max-width: 560px) { .wel { right: 12px; left: 12px; width: auto; max-width: none; padding: 16px 16px 12px; } }
@media (prefers-reduced-motion: reduce) { .wel { transition: none; transform: none; } }
@media print { .wel { display: none !important; } }
