/*
Theme Name: Howard Simmons Law Theme
Theme URI: https://howardsimmonslaw.com/
Author: FultonStudio / Ken Jones
Description: Premium modern WordPress theme for Howard Simmons P.C. Attorney At Law. v1.4.5 rebuild based on the preferred navy, gold, courthouse-style litigation design.
Version: 1.4.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: howard-simmons-law-theme
Update URI: false
*/

:root {
  --hs-navy: #07182c;
  --hs-navy-2: #0b233d;
  --hs-navy-3: #102f4d;
  --hs-ink: #111822;
  --hs-muted: #657080;
  --hs-gold: #c8923f;
  --hs-gold-2: #e1b565;
  --hs-cream: #fbf6ed;
  --hs-paper: #ffffff;
  --hs-line: rgba(17, 24, 34, .14);
  --hs-shadow: 0 28px 90px rgba(7, 24, 44, .18);
  --hs-serif: "Libre Baskerville", Georgia, serif;
  --hs-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--hs-sans);
  color: var(--hs-ink);
  background: var(--hs-cream);
  line-height: 1.58;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 99999;
  background: var(--hs-gold); color: #111; padding: 10px 14px; border-radius: 4px;
}
.skip-link:focus { left: 8px; }

/* Top Bar + Header */
.hs-topbar {
  background: #061322;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .79rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hs-topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.hs-topbar__left,
.hs-topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hs-topbar a { color: #fff; font-weight: 800; letter-spacing: .04em; }
.hs-topbar .pin,
.hs-topbar .phone-icon { color: var(--hs-gold-2); }

.hs-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 24, 44, .96);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(14px);
}
.admin-bar .hs-site-header { top: 32px; }

.hs-nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.hs-brand {
  display: inline-flex;
  flex-direction: column;
  color: #fff;
  line-height: 1;
  min-width: 236px;
}
.hs-brand__name {
  font-family: var(--hs-serif);
  color: var(--hs-gold-2);
  font-size: clamp(1.7rem, 2.2vw, 2.55rem);
  letter-spacing: .02em;
  line-height: .94;
  text-transform: uppercase;
}
.hs-brand__name .small {
  display: block;
  font-family: var(--hs-sans);
  font-size: .67rem;
  letter-spacing: .5em;
  margin-bottom: 4px;
}
.hs-brand__tagline {
  color: rgba(255,255,255,.82);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .32em;
  margin-top: 10px;
}

.hs-nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 23px;
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 900;
  flex: 1;
}
.hs-nav-menu a:not(.hs-nav-cta) {
  opacity: .9;
  padding: 34px 0;
  border-bottom: 2px solid transparent;
}
.hs-nav-menu a:hover,
.hs-nav-menu .current-menu-item > a {
  color: var(--hs-gold-2);
  border-color: var(--hs-gold);
}
.hs-nav-cta {
  background: var(--hs-gold);
  color: #111;
  padding: 16px 22px;
  border-radius: 0;
  box-shadow: 0 14px 36px rgba(200, 146, 63, .20);
  white-space: nowrap;
}
.hs-nav-cta:hover { background: var(--hs-gold-2); color: #111; }

.hs-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 38px;
  cursor: pointer;
}
.hs-nav-toggle span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: #fff;
}

/* Buttons */
.hs-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 0;
  border: 0;
  cursor: pointer;
  transition: .2s ease;
}
.hs-button--gold,
.wp-block-button__link {
  background: var(--hs-gold);
  color: #111;
  box-shadow: 0 16px 40px rgba(200,146,63,.22);
}
.hs-button--gold:hover,
.wp-block-button__link:hover {
  background: var(--hs-gold-2);
  transform: translateY(-1px);
}
.hs-button--outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.02);
}
.hs-button--outline:hover {
  border-color: var(--hs-gold-2);
  color: var(--hs-gold-2);
}

/* Hero */
.hs-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,24,44,.97) 0%, rgba(7,24,44,.91) 42%, rgba(7,24,44,.58) 100%),
    radial-gradient(circle at 75% 18%, rgba(200,146,63,.22), transparent 32%),
    linear-gradient(135deg, #07182c 0%, #0d2845 55%, #081827 100%);
}
.hs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(ellipse at 70% 50%, transparent 0, transparent 28%, rgba(0,0,0,.28) 29%, rgba(0,0,0,.0) 64%);
  background-size: 115px 100%, 100% 56px, 100% 100%;
}
.hs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,24,44,.18), rgba(7,24,44,.0)),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255,255,255,.03) 73px 76px);
  opacity: .42;
}
.hs-hero__grid {
  position: relative;
  z-index: 2;
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 58px;
  align-items: center;
  padding: 72px 0 70px;
}
.hs-eyebrow {
  color: var(--hs-gold-2);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 900;
  font-size: .78rem;
  margin: 0 0 16px;
}
.hs-hero h1,
.hs-section h2,
.hs-page-content h1,
.hs-page-content h2 {
  font-family: var(--hs-serif);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
}
.hs-hero h1 {
  font-size: clamp(2.75rem, 5vw, 5rem);
  max-width: 720px;
  letter-spacing: -.035em;
}
.hs-hero__lead {
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 570px;
  margin: 22px 0 0;
}
.hs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}
.hs-hero__media {
  position: relative;
  justify-self: end;
  width: min(458px, 100%);
  min-height: 490px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hs-hero__portrait-shell {
  position: relative;
  width: 100%;
  padding: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.04));
  box-shadow: 0 42px 110px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.16);
}
.hs-hero__portrait {
  width: 100%;
  aspect-ratio: 4 / 4.9;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04) saturate(.94);
}
.hs-hero__portrait-card {
  position: absolute;
  left: -30px;
  bottom: 42px;
  padding: 18px 20px;
  background: rgba(255,255,255,.96);
  color: var(--hs-ink);
  box-shadow: var(--hs-shadow);
  min-width: 210px;
  border-left: 4px solid var(--hs-gold);
}
.hs-hero__portrait-card strong,
.hs-hero__portrait-card span {
  display: block;
}
.hs-hero__portrait-card strong {
  font-family: var(--hs-serif);
  font-size: 1rem;
}
.hs-hero__portrait-card span {
  color: var(--hs-muted);
  font-size: .86rem;
  margin-top: 3px;
}

/* Trust Strip */
.hs-trust-strip {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, #081b30, #102e4a, #081b30);
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hs-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.hs-trust-item {
  min-height: 118px;
  padding: 20px 18px;
  text-align: center;
  color: #fff;
  border-left: 1px solid rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hs-trust-item:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.hs-trust-icon {
  color: var(--hs-gold-2);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}
.hs-trust-item strong {
  display: block;
  line-height: 1.22;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .78rem;
}

/* Sections */
.hs-section {
  padding: 86px 0;
}
.hs-section--cream { background: var(--hs-cream); }
.hs-section--white { background: #fff; }
.hs-section__heading {
  max-width: 790px;
  margin: 0 auto 40px;
  text-align: center;
}
.hs-section__heading h2 {
  font-size: clamp(2rem, 3.1vw, 3.15rem);
  color: var(--hs-ink);
}
.hs-section__heading p:not(.hs-eyebrow) {
  color: var(--hs-muted);
  font-size: 1.04rem;
  margin: 16px auto 0;
  max-width: 720px;
}

.hs-practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hs-practice-card {
  position: relative;
  min-height: 250px;
  background: #fff;
  border: 1px solid rgba(17,24,34,.12);
  padding: 30px 24px 26px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(7,24,44,.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hs-practice-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hs-shadow);
  border-color: rgba(200,146,63,.4);
}
.hs-practice-card__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7,24,44,.24);
  border-radius: 50%;
  color: var(--hs-navy);
  font-size: 2rem;
  background: #f8fafc;
}
.hs-practice-card h3 {
  margin: 0 0 10px;
  font-family: var(--hs-serif);
  font-size: 1.18rem;
  line-height: 1.25;
}
.hs-practice-card p {
  color: #4f5966;
  font-size: .9rem;
  line-height: 1.5;
  margin: 0 0 16px;
}
.hs-practice-card a {
  color: var(--hs-gold);
  font-weight: 900;
  font-size: .78rem;
}
.hs-practice-card a::after {
  content: " →";
}

/* Split former prosecutor + process */
.hs-split-band {
  background: #fff;
  padding: 0;
}
.hs-split-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hs-prosecutor-panel {
  min-height: 430px;
  padding: 70px max(48px, calc((100vw - 1200px) / 2)) 70px max(24px, calc((100vw - 1200px) / 2));
  background:
    linear-gradient(90deg, rgba(7,24,44,.98), rgba(7,24,44,.82)),
    radial-gradient(circle at 80% 20%, rgba(200,146,63,.22), transparent 35%),
    linear-gradient(135deg, #07182c, #102c49);
  color: rgba(255,255,255,.8);
  position: relative;
  overflow: hidden;
}
.hs-prosecutor-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 88px 100%, 100% 50px;
}
.hs-prosecutor-panel > * { position: relative; z-index: 1; }
.hs-prosecutor-panel h2 {
  font-family: var(--hs-serif);
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 0 0 20px;
}
.hs-prosecutor-panel p {
  max-width: 560px;
}
.hs-process-panel {
  min-height: 430px;
  padding: 70px max(24px, calc((100vw - 1200px) / 2)) 70px 56px;
  background: #fff;
}
.hs-process-panel h2 {
  font-family: var(--hs-serif);
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  text-align: center;
  margin-bottom: 42px;
}
.hs-process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 0;
}
.hs-process-line::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(200,146,63,.72);
}
.hs-process-step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.hs-process-icon {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(7,24,44,.28);
  background: #f7f8fa;
  color: var(--hs-navy);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}
.hs-process-step strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 8px;
}
.hs-process-step h3 {
  font-family: var(--hs-serif);
  font-size: .99rem;
  line-height: 1.18;
  margin: 0 0 8px;
}
.hs-process-step p {
  color: #4f5966;
  font-size: .82rem;
  line-height: 1.42;
  margin: 0;
}

/* Credentials + CTA */
.hs-credentials-cta {
  background: #fff;
}
.hs-credentials-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hs-credentials-panel {
  padding: 62px 56px 62px max(24px, calc((100vw - 1200px) / 2));
  background: #fff;
  text-align: center;
}
.hs-credentials-panel h2 {
  font-family: var(--hs-serif);
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
  margin: 0 0 38px;
}
.hs-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.hs-badge {
  text-align: center;
}
.hs-badge__seal {
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(7,24,44,.22);
  background:
    radial-gradient(circle, #fff 0 42%, #f0f3f7 43% 100%);
  color: var(--hs-navy);
  font-size: 1.8rem;
  font-weight: 900;
}
.hs-badge p {
  font-size: .82rem;
  line-height: 1.3;
  margin: 0;
  color: #263240;
}
.hs-final-cta {
  min-height: 300px;
  color: #fff;
  padding: 68px max(24px, calc((100vw - 1200px) / 2)) 60px 56px;
  background:
    linear-gradient(90deg, rgba(7,24,44,.98), rgba(7,24,44,.82)),
    radial-gradient(circle at 88% 50%, rgba(200,146,63,.28), transparent 32%),
    linear-gradient(135deg, #061322, #102e4a);
  position: relative;
  overflow: hidden;
}
.hs-final-cta::after {
  content: "⚖";
  position: absolute;
  right: 48px;
  bottom: -48px;
  font-size: 15rem;
  line-height: 1;
  color: rgba(200,146,63,.22);
}
.hs-final-cta > * { position: relative; z-index: 1; }
.hs-final-cta h2 {
  font-family: var(--hs-serif);
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.08;
  margin: 0 0 14px;
}
.hs-final-cta p {
  color: rgba(255,255,255,.78);
  max-width: 520px;
  margin-bottom: 24px;
}

/* Criminal tags */
.hs-defense-tags {
  background: var(--hs-cream);
}
.hs-defense-box {
  background: var(--hs-navy);
  color: #fff;
  padding: 46px;
  box-shadow: var(--hs-shadow);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
}
.hs-defense-box h2 {
  color: #fff;
  font-family: var(--hs-serif);
  font-size: clamp(1.85rem, 2.7vw, 2.8rem);
  margin: 0 0 14px;
}
.hs-defense-box p { color: rgba(255,255,255,.72); }
.hs-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}
.hs-tag-cloud span {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  padding: 9px 12px;
  font-size: .84rem;
}

/* Forms / Scheduler */
.hs-contact-section {
  background: linear-gradient(180deg, #fff, var(--hs-cream));
}
.hs-contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.hs-contact-grid h2 {
  font-family: var(--hs-serif);
  font-size: clamp(2rem, 3vw, 3.25rem);
  margin: 0 0 18px;
}
.hs-contact-grid p { color: var(--hs-muted); }
.hs-contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.hs-contact-cards a {
  display: block;
  background: #fff;
  border: 1px solid var(--hs-line);
  padding: 20px;
  box-shadow: 0 14px 38px rgba(7,24,44,.06);
}
.hs-contact-cards strong {
  display: block;
  color: var(--hs-gold);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .72rem;
}
.hs-contact-cards span {
  display: block;
  color: var(--hs-ink);
  font-weight: 900;
  margin-top: 4px;
}

.hs-law-form,
.hs-law-scheduler {
  background: #fff;
  border: 1px solid var(--hs-line);
  padding: 32px;
  box-shadow: var(--hs-shadow);
}
.hs-law-form-grid,
.hs-law-scheduler-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hs-law-form label,
.hs-law-scheduler label {
  display: grid;
  gap: 7px;
  color: #263240;
  font-weight: 900;
  font-size: .84rem;
}
.hs-law-form input,
.hs-law-form select,
.hs-law-form textarea,
.hs-law-scheduler input,
.hs-law-scheduler select,
.hs-law-scheduler textarea {
  width: 100%;
  border: 1px solid rgba(17,24,34,.18);
  background: #fbfbfb;
  padding: 13px 14px;
  font: inherit;
  color: var(--hs-ink);
  border-radius: 0;
}
.hs-law-form input:focus,
.hs-law-form select:focus,
.hs-law-form textarea:focus,
.hs-law-scheduler input:focus,
.hs-law-scheduler select:focus,
.hs-law-scheduler textarea:focus {
  outline: 3px solid rgba(200,146,63,.22);
  border-color: var(--hs-gold);
}
.hs-law-form .full,
.hs-law-scheduler .full {
  grid-column: 1 / -1;
}
.hs-law-checkbox {
  display: flex !important;
  grid-template-columns: 18px 1fr !important;
  gap: 10px !important;
  align-items: flex-start;
  color: var(--hs-muted) !important;
  font-weight: 500 !important;
}
.hs-law-checkbox input {
  margin-top: 4px;
  width: auto;
}
.hs-law-note {
  color: var(--hs-muted);
  font-size: .88rem;
  margin: 0;
}
.hs-law-note a {
  color: var(--hs-navy);
  font-weight: 900;
}
.hs-law-message {
  padding: 14px 16px;
  margin: 0 0 18px;
  font-weight: 800;
}
.hs-law-message.success { background: #eaf8ef; color: #175a2d; }
.hs-law-message.error { background: #fff0f0; color: #8b1f1f; }

/* Page Content */
.hs-page-content {
  background: #fff;
  padding: 84px 0;
}
.hs-page-content article {
  max-width: 900px;
}
.hs-page-content h1 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  margin-bottom: 24px;
}
.hs-page-content h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  margin-top: 42px;
  margin-bottom: 16px;
}
.hs-page-content p,
.hs-page-content li {
  color: #3f4956;
  font-size: 1.04rem;
}
.hs-page-content a {
  color: var(--hs-navy);
  text-decoration: underline;
  text-decoration-color: var(--hs-gold);
  text-underline-offset: 4px;
}

/* Footer */
.hs-site-footer {
  background: #061322;
  color: rgba(255,255,255,.72);
  border-top: 3px solid var(--hs-gold);
  padding: 58px 0 28px;
}
.hs-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .9fr .9fr .8fr .8fr;
  gap: 30px;
}
.hs-footer-brand {
  margin-bottom: 18px;
  min-width: 0;
}
.hs-site-footer h3 {
  color: var(--hs-gold-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin: 0 0 14px;
}
.hs-site-footer p {
  margin-top: 0;
  font-size: .9rem;
}
.hs-site-footer a {
  color: rgba(255,255,255,.9);
}
.hs-socials {
  display: flex;
  gap: 10px;
}
.hs-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1b4d82;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.hs-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.13);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.58);
}
.hs-mobile-callbar { display: none; }

@media (max-width: 1120px) {
  .hs-nav-menu { gap: 14px; font-size: .72rem; }
  .hs-practice-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-trust-grid { grid-template-columns: repeat(3, 1fr); }
  .hs-split-band__grid,
  .hs-credentials-cta__grid,
  .hs-defense-box,
  .hs-contact-grid {
    grid-template-columns: 1fr;
  }
  .hs-prosecutor-panel,
  .hs-process-panel,
  .hs-credentials-panel,
  .hs-final-cta {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 860px) {
  .admin-bar .hs-site-header { top: 46px; }
  .container { width: min(100% - 32px, 1200px); }
  .hs-topbar__inner,
  .hs-topbar__left,
  .hs-topbar__right {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 8px 0;
  }
  .hs-nav { min-height: 78px; }
  .hs-brand { min-width: 0; }
  .hs-brand__name { font-size: 1.45rem; }
  .hs-brand__name .small { letter-spacing: .36em; }
  .hs-brand__tagline { letter-spacing: .22em; font-size: .66rem; }
  .hs-nav-toggle { display: block; }
  .hs-nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #07182c;
    border: 1px solid rgba(255,255,255,.12);
    padding: 18px;
    box-shadow: var(--hs-shadow);
  }
  .hs-nav-menu.is-open { display: flex; }
  .hs-nav-menu a:not(.hs-nav-cta) { padding: 10px 0; border: 0; }
  .hs-nav-cta { text-align: center; }
  .hs-hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 0 46px;
  }
  .hs-hero__media {
    justify-self: start;
    width: min(390px, 100%);
    min-height: 0;
  }
  .hs-hero__portrait-card {
    left: 15px;
    bottom: 26px;
  }
  .hs-trust-grid {
    grid-template-columns: 1fr;
  }
  .hs-trust-item,
  .hs-trust-item:last-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .hs-section { padding: 66px 0; }
  .hs-practice-grid,
  .hs-process-line,
  .hs-badge-grid,
  .hs-law-form-grid,
  .hs-law-scheduler-grid {
    grid-template-columns: 1fr;
  }
  .hs-process-line::before { display: none; }
  .hs-prosecutor-panel,
  .hs-process-panel,
  .hs-credentials-panel,
  .hs-final-cta {
    padding: 56px 24px;
  }
  .hs-defense-box { padding: 32px 24px; }
  .hs-law-form,
  .hs-law-scheduler { padding: 24px; }
  .hs-footer-grid { grid-template-columns: 1fr; }
  .hs-footer-bottom {
    flex-direction: column;
    padding-bottom: 68px;
  }
  .hs-mobile-callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    z-index: 1001;
    left: 0;
    right: 0;
    bottom: 0;
    background: #061322;
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .hs-mobile-callbar a {
    color: #fff;
    text-align: center;
    padding: 14px 10px;
    font-weight: 900;
    font-size: .84rem;
  }
  .hs-mobile-callbar a:first-child {
    background: var(--hs-gold);
    color: #111;
  }
}

@media (max-width: 540px) {
  .hs-hero h1 { font-size: 2.55rem; }
  .hs-hero__actions,
  .hs-button { width: 100%; }
  .hs-final-cta::after { font-size: 9rem; right: 12px; }
}


/* v1.4.5 SEO Landing Pages */
.hs-page-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,24,44,.98), rgba(7,24,44,.86)),
    radial-gradient(circle at 82% 25%, rgba(200,146,63,.22), transparent 34%),
    linear-gradient(135deg, #07182c, #102f4d);
  overflow: hidden;
}
.hs-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 98px 100%, 100% 54px;
}
.hs-page-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: grid;
  align-items: center;
  padding: 72px 0;
  max-width: 960px;
}
.hs-page-hero h1 {
  font-family: var(--hs-serif);
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  line-height: 1.06;
  margin: 0;
  letter-spacing: -.04em;
}
.hs-page-hero p:not(.hs-eyebrow) {
  color: rgba(255,255,255,.82);
  font-size: 1.16rem;
  max-width: 790px;
  margin: 22px 0 0;
}
.hs-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}
.hs-detail-main {
  max-width: 880px;
}
.hs-detail-main h2 {
  font-family: var(--hs-serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
  margin: 0 0 20px;
}
.hs-detail-main h3 {
  font-family: var(--hs-serif);
  font-size: 1.35rem;
  margin: 30px 0 10px;
}
.hs-detail-main p,
.hs-detail-main li {
  color: #3f4956;
  font-size: 1.03rem;
}
.hs-detail-main ul {
  padding-left: 1.2rem;
}
.hs-detail-main a {
  color: var(--hs-navy);
  text-decoration: underline;
  text-decoration-color: var(--hs-gold);
  text-underline-offset: 4px;
}
.hs-detail-sidebar {
  position: sticky;
  top: 130px;
}
.hs-sidebar-card {
  background: #fff;
  border: 1px solid var(--hs-line);
  box-shadow: var(--hs-shadow);
  padding: 28px;
  margin-bottom: 18px;
}
.hs-sidebar-card h2,
.hs-sidebar-card h3 {
  font-family: var(--hs-serif);
  margin: 0 0 12px;
  font-size: 1.28rem;
}
.hs-sidebar-card p {
  color: var(--hs-muted);
  font-size: .95rem;
  margin-top: 0;
}
.hs-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hs-sidebar-list li {
  border-top: 1px solid var(--hs-line);
  padding: 11px 0;
  color: #2d3744;
  font-weight: 700;
  font-size: .92rem;
}
.hs-sidebar-list a {
  color: inherit;
}
.hs-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 34px 0;
}
.hs-feature-item {
  border: 1px solid var(--hs-line);
  background: #fff;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(7,24,44,.06);
}
.hs-feature-item strong {
  display: block;
  font-family: var(--hs-serif);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.hs-feature-item p {
  margin: 0;
  font-size: .95rem;
}
.hs-service-band {
  background: var(--hs-navy);
  color: #fff;
  padding: 42px;
  margin: 42px 0;
}
.hs-service-band h2,
.hs-service-band h3 {
  color: #fff;
}
.hs-service-band p,
.hs-service-band li {
  color: rgba(255,255,255,.76);
}
.hs-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.hs-check-grid li {
  position: relative;
  padding-left: 24px;
}
.hs-check-grid li::before {
  content: "•";
  color: var(--hs-gold-2);
  position: absolute;
  left: 4px;
  font-size: 1.4rem;
  line-height: 1;
}
.hs-page-form-block {
  margin-top: 42px;
  padding: 42px;
  background: var(--hs-cream);
  border: 1px solid rgba(17,24,34,.1);
}
.hs-page-form-block h2 {
  margin-bottom: 14px;
}
.hs-faq {
  margin-top: 42px;
}
.hs-faq details {
  background: #fff;
  border: 1px solid var(--hs-line);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.hs-faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--hs-ink);
}
.hs-faq details p {
  margin-bottom: 0;
}
.hs-schedule-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.hs-schedule-card {
  background: var(--hs-navy);
  color: #fff;
  padding: 34px;
  box-shadow: var(--hs-shadow);
}
.hs-schedule-card h2 {
  color: #fff;
  font-family: var(--hs-serif);
  margin-top: 0;
}
.hs-schedule-card p,
.hs-schedule-card li {
  color: rgba(255,255,255,.76);
}
.hs-legal-note {
  font-size: .88rem !important;
  color: var(--hs-muted) !important;
  border-left: 4px solid var(--hs-gold);
  padding: 14px 18px;
  background: #fff;
  margin-top: 28px;
}
@media (max-width: 980px) {
  .hs-detail-layout,
  .hs-schedule-intro {
    grid-template-columns: 1fr;
  }
  .hs-detail-sidebar {
    position: static;
  }
  .hs-feature-list,
  .hs-check-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .hs-page-hero__inner {
    min-height: 340px;
    padding: 54px 0;
  }
  .hs-service-band,
  .hs-page-form-block,
  .hs-schedule-card {
    padding: 26px;
  }
}


/* v1.4.5 cleaner landing page rendering */
.hs-custom-page {
  background: #fff;
}
.hs-default-page-wrap {
  background: #fff;
  padding: 84px 0;
}
.hs-default-page-wrap article {
  max-width: 900px;
}
.hs-default-page-wrap h1 {
  font-family: var(--hs-serif);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.08;
  margin: 0 0 24px;
}


/* v1.4.5 audit fixes: cleaner navigation, tighter side gutters, wider content */
.container {
  width: min(1320px, calc(100% - 28px));
}

.hs-nav {
  min-height: 84px;
  gap: 22px;
}

.hs-nav-menu {
  flex: 1;
}

.hs-nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-nav-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-nav-menu a:not(.hs-nav-cta),
.hs-nav-list a:not(.hs-nav-cta) {
  display: inline-flex;
  align-items: center;
  min-height: 84px;
  padding: 0;
  border-bottom: 2px solid transparent;
}

.hs-nav-list .hs-nav-cta {
  min-height: auto;
  padding: 14px 18px;
}

.hs-brand {
  min-width: 205px;
}

.hs-brand__name {
  font-size: clamp(1.45rem, 2vw, 2.15rem);
}

.hs-brand__tagline {
  letter-spacing: .24em;
}

.hs-hero__grid {
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
}

.hs-section {
  padding: 76px 0;
}

.hs-detail-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
}

.hs-detail-main {
  max-width: none;
}

.hs-page-hero__inner {
  max-width: 1040px;
}

.hs-page-hero h1 {
  max-width: 980px;
}

.hs-page-form-block {
  padding: 34px;
}

.hs-footer-grid {
  grid-template-columns: 1.2fr .85fr .7fr 1fr .55fr;
}

@media (max-width: 1120px) {
  .hs-nav-list {
    gap: 12px;
  }
  .hs-nav-list a {
    font-size: .72rem;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 24px, 1320px);
  }

  .hs-nav-menu {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #07182c;
    border: 1px solid rgba(255,255,255,.12);
    padding: 16px;
    box-shadow: var(--hs-shadow);
  }

  .hs-nav-menu.is-open {
    display: block;
  }

  .hs-nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hs-nav-list a:not(.hs-nav-cta) {
    min-height: auto;
    padding: 12px 0;
    border: 0;
  }

  .hs-nav-list .hs-nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .hs-detail-layout {
    grid-template-columns: 1fr;
  }

  .hs-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* remove browser bullets if old WP nav markup is still present */
.hs-nav-menu > li,
.hs-nav-menu .menu-item {
  list-style: none;
}

.hs-nav-menu > li::marker,
.hs-nav-menu .menu-item::marker {
  content: "";
}


/* v1.4.5 margin/gutter fix: add roughly .25 inch buffer on both sides */
:root {
  --hs-page-gutter: 48px;
  --hs-mobile-gutter: 34px;
}

/* Restore comfortable page gutters after the v1.3.0 audit made them too tight. */
.container {
  width: min(1320px, calc(100% - var(--hs-page-gutter))) !important;
}

/* Sections that calculate their own edge padding need to respect the same visual buffer. */
.hs-prosecutor-panel,
.hs-process-panel,
.hs-credentials-panel,
.hs-final-cta {
  padding-left: max(24px, calc(var(--hs-page-gutter) / 2)) !important;
  padding-right: max(24px, calc(var(--hs-page-gutter) / 2)) !important;
}

/* Keep text and cards from touching the viewport on custom landing pages. */
.hs-page-hero__inner,
.hs-detail-layout,
.hs-schedule-intro,
.hs-contact-grid,
.hs-defense-box,
.hs-practice-grid,
.hs-footer-grid,
.hs-trust-grid,
.hs-hero__grid {
  margin-left: auto;
  margin-right: auto;
}

/* Slightly tighten max width without losing the new buffer. */
.hs-detail-layout {
  max-width: 1320px;
}

/* WordPress admin bar / block styles can add full-width behavior; keep designed pages contained. */
.hs-custom-page > section > .container,
.hs-page-content > .container,
.hs-default-page-wrap > .container {
  width: min(1320px, calc(100% - var(--hs-page-gutter))) !important;
}

@media (max-width: 860px) {
  .container,
  .hs-custom-page > section > .container,
  .hs-page-content > .container,
  .hs-default-page-wrap > .container {
    width: min(100% - var(--hs-mobile-gutter), 1320px) !important;
  }

  .hs-prosecutor-panel,
  .hs-process-panel,
  .hs-credentials-panel,
  .hs-final-cta {
    padding-left: calc(var(--hs-mobile-gutter) / 2) !important;
    padding-right: calc(var(--hs-mobile-gutter) / 2) !important;
  }
}

@media (max-width: 420px) {
  :root {
    --hs-mobile-gutter: 28px;
  }
}


/* v1.4.5 legal pages */
.hs-legal-page .hs-detail-main {
  max-width: 960px;
}
.hs-legal-page h2 {
  margin-top: 38px;
}
.hs-legal-page h3 {
  margin-top: 28px;
}
.hs-legal-page ol,
.hs-legal-page ul {
  padding-left: 1.35rem;
}
.hs-legal-effective {
  display: inline-block;
  background: rgba(200,146,63,.12);
  border-left: 4px solid var(--hs-gold);
  padding: 10px 14px;
  color: #2f3844;
  font-weight: 800;
  margin: 20px 0 0;
}


/* v1.4.5 audit cleanup */
.hs-nav-menu,
.hs-nav-menu ul,
.hs-nav-menu li,
.hs-nav-list,
.hs-nav-list li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.hs-nav-menu li::marker,
.hs-nav-list li::marker {
  content: "" !important;
}

.hs-nav-list a {
  text-decoration: none;
}

.hs-footer-grid.no-social {
  grid-template-columns: 1.25fr .9fr .75fr 1fr;
}

.hs-site-footer .hs-brand__name {
  font-size: 1.35rem;
}

.hs-site-footer .hs-brand__name .small {
  letter-spacing: .28em;
}

.hs-practice-card p {
  min-height: 82px;
}

.hs-footer-bottom span:last-child {
  text-align: right;
}

@media (max-width: 860px) {
  .hs-footer-grid.no-social,
  .hs-footer-grid {
    grid-template-columns: 1fr;
  }

  .hs-footer-bottom span:last-child {
    text-align: left;
  }

  .hs-practice-card p {
    min-height: 0;
  }
}


/* v1.4.5 courthouse hero update based on approved mockup */
.hs-hero.hs-hero--courthouse {
  background-image:
    linear-gradient(90deg, rgba(5, 15, 28, .98) 0%, rgba(5, 15, 28, .94) 34%, rgba(5, 15, 28, .62) 58%, rgba(5, 15, 28, .20) 100%),
    linear-gradient(180deg, rgba(7, 24, 44, .18) 0%, rgba(7, 24, 44, .42) 100%),
    var(--hs-hero-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hs-hero.hs-hero--courthouse::before {
  opacity: .16;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 120px 100%, 100% 58px;
}

.hs-hero.hs-hero--courthouse::after {
  background:
    radial-gradient(circle at 72% 38%, rgba(225, 181, 101, .14), transparent 28%),
    linear-gradient(90deg, rgba(7,24,44,.42), rgba(7,24,44,0));
  opacity: .72;
}

.hs-hero--courthouse .hs-hero__grid {
  grid-template-columns: minmax(480px, .95fr) minmax(420px, 1.05fr);
  min-height: 670px;
  padding-top: 86px;
  padding-bottom: 86px;
}

.hs-hero--courthouse .hs-hero__content {
  max-width: 710px;
}

.hs-hero--courthouse .hs-hero__media {
  display: none;
}

.hs-hero--courthouse h1 {
  font-size: clamp(3rem, 5.4vw, 5.65rem);
  letter-spacing: -.045em;
  text-shadow: 0 4px 30px rgba(0,0,0,.22);
}

.hs-hero--courthouse .hs-hero__lead {
  max-width: 660px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.hs-hero--courthouse .hs-button--outline {
  background: rgba(5,15,28,.22);
  backdrop-filter: blur(4px);
}

@media (max-width: 1040px) {
  .hs-hero.hs-hero--courthouse {
    background-position: 64% center;
  }

  .hs-hero--courthouse .hs-hero__grid {
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .hs-hero--courthouse .hs-hero__content {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .hs-hero.hs-hero--courthouse {
    background-image:
      linear-gradient(90deg, rgba(5, 15, 28, .98) 0%, rgba(5, 15, 28, .92) 62%, rgba(5, 15, 28, .58) 100%),
      linear-gradient(180deg, rgba(7, 24, 44, .18) 0%, rgba(7, 24, 44, .54) 100%),
      var(--hs-hero-bg);
    background-position: 70% center;
  }

  .hs-hero--courthouse .hs-hero__grid {
    min-height: 560px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hs-hero--courthouse h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }
}


/* v1.4.5 hero portrait clarity fix
   The left text area keeps a strong navy readability overlay,
   but the overlay fades before Howard's face/suit so the portrait stays clean. */
.hs-hero.hs-hero--courthouse {
  background-image:
    linear-gradient(90deg,
      rgba(5, 15, 28, .98) 0%,
      rgba(5, 15, 28, .94) 34%,
      rgba(5, 15, 28, .72) 48%,
      rgba(5, 15, 28, .30) 60%,
      rgba(5, 15, 28, .08) 72%,
      rgba(5, 15, 28, 0) 100%
    ),
    linear-gradient(180deg,
      rgba(7, 24, 44, .08) 0%,
      rgba(7, 24, 44, .18) 100%
    ),
    var(--hs-hero-bg) !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Remove the heavy full-hero haze from the portrait side. */
.hs-hero.hs-hero--courthouse::after {
  background:
    radial-gradient(circle at 76% 38%, rgba(225, 181, 101, .08), transparent 24%),
    linear-gradient(90deg,
      rgba(7,24,44,.30) 0%,
      rgba(7,24,44,.20) 34%,
      rgba(7,24,44,.08) 52%,
      rgba(7,24,44,0) 72%
    ) !important;
  opacity: .38 !important;
}

/* Keep subtle texture, but reduce it so the face does not look dirty. */
.hs-hero.hs-hero--courthouse::before {
  opacity: .08 !important;
}

/* Give the text its own slight shadow instead of darkening the whole photo. */
.hs-hero--courthouse .hs-hero__content {
  text-shadow: 0 2px 22px rgba(0,0,0,.38);
}

.hs-hero--courthouse .hs-hero__lead {
  color: rgba(255,255,255,.92);
}

@media (max-width: 1040px) {
  .hs-hero.hs-hero--courthouse {
    background-position: 66% center;
    background-image:
      linear-gradient(90deg,
        rgba(5, 15, 28, .98) 0%,
        rgba(5, 15, 28, .92) 42%,
        rgba(5, 15, 28, .44) 66%,
        rgba(5, 15, 28, .08) 100%
      ),
      linear-gradient(180deg, rgba(7,24,44,.08), rgba(7,24,44,.20)),
      var(--hs-hero-bg) !important;
  }
}

@media (max-width: 760px) {
  .hs-hero.hs-hero--courthouse {
    background-position: 72% center;
    background-image:
      linear-gradient(90deg,
        rgba(5, 15, 28, .98) 0%,
        rgba(5, 15, 28, .94) 55%,
        rgba(5, 15, 28, .64) 82%,
        rgba(5, 15, 28, .34) 100%
      ),
      var(--hs-hero-bg) !important;
  }
}


/* v1.4.5 backend-controlled hero overlay
   Values are controlled from HS Law System > Settings > Hero Overlay Controls.
   Lower values = clearer/brighter image. Higher values = darker overlay. */
.hs-hero.hs-hero--courthouse {
  background-image:
    linear-gradient(90deg,
      rgba(5, 15, 28, var(--hs-hero-overlay-left, .92)) 0%,
      rgba(5, 15, 28, var(--hs-hero-overlay-left, .92)) 31%,
      rgba(5, 15, 28, var(--hs-hero-overlay-mid, .30)) 50%,
      rgba(5, 15, 28, var(--hs-hero-overlay-right, 0)) 69%,
      rgba(5, 15, 28, var(--hs-hero-overlay-right, 0)) 100%
    ),
    linear-gradient(180deg,
      rgba(7, 24, 44, var(--hs-hero-haze-top, .02)) 0%,
      rgba(7, 24, 44, var(--hs-hero-haze-bottom, .05)) 100%
    ),
    var(--hs-hero-bg) !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hs-hero.hs-hero--courthouse::after {
  background:
    radial-gradient(circle at 76% 38%, rgba(225, 181, 101, var(--hs-hero-accent-opacity, .05)), transparent 24%),
    linear-gradient(90deg,
      rgba(7, 24, 44, calc(var(--hs-hero-overlay-left, .92) * .22)) 0%,
      rgba(7, 24, 44, calc(var(--hs-hero-overlay-mid, .30) * .18)) 45%,
      rgba(7, 24, 44, var(--hs-hero-overlay-right, 0)) 72%
    ) !important;
  opacity: 1 !important;
}

.hs-hero.hs-hero--courthouse::before {
  opacity: var(--hs-hero-texture-opacity, .02) !important;
}

.hs-hero--courthouse .hs-hero__content {
  text-shadow: 0 2px 24px rgba(0,0,0,var(--hs-hero-text-shadow-opacity, .42));
}

.hs-hero--courthouse .hs-hero__lead {
  color: rgba(255,255,255,.93);
}

@media (max-width: 1040px) {
  .hs-hero.hs-hero--courthouse {
    background-position: 66% center;
    background-image:
      linear-gradient(90deg,
        rgba(5, 15, 28, var(--hs-hero-tablet-left, .94)) 0%,
        rgba(5, 15, 28, var(--hs-hero-tablet-left, .94)) 38%,
        rgba(5, 15, 28, var(--hs-hero-tablet-mid, .44)) 64%,
        rgba(5, 15, 28, var(--hs-hero-tablet-right, .08)) 100%
      ),
      linear-gradient(180deg,
        rgba(7, 24, 44, var(--hs-hero-haze-top, .02)) 0%,
        rgba(7, 24, 44, var(--hs-hero-haze-bottom, .05)) 100%
      ),
      var(--hs-hero-bg) !important;
  }
}

@media (max-width: 760px) {
  .hs-hero.hs-hero--courthouse {
    background-position: 72% center;
    background-image:
      linear-gradient(90deg,
        rgba(5, 15, 28, var(--hs-hero-mobile-left, .94)) 0%,
        rgba(5, 15, 28, var(--hs-hero-mobile-left, .94)) 52%,
        rgba(5, 15, 28, var(--hs-hero-mobile-mid, .64)) 82%,
        rgba(5, 15, 28, var(--hs-hero-mobile-right, .32)) 100%
      ),
      var(--hs-hero-bg) !important;
  }
}


/* v1.4.5 logo integration */
.hs-brand {
  text-decoration: none;
}
.hs-brand--image {
  min-width: 240px;
}
.hs-brand__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: clamp(240px, 25vw, 430px);
  max-height: 74px;
  object-fit: contain;
}
.hs-site-footer .hs-brand--image .hs-brand__logo {
  max-width: 280px;
  max-height: 62px;
}
@media (max-width: 960px) {
  .hs-brand--image {
    min-width: 0;
    max-width: 250px;
  }
  .hs-brand__logo {
    max-width: 220px;
    max-height: 58px;
  }
  .hs-site-footer .hs-brand--image .hs-brand__logo {
    max-width: 220px;
    max-height: 52px;
  }
}
@media (max-width: 760px) {
  .hs-brand__logo {
    max-width: 190px;
    max-height: 50px;
  }
}

/* v1.4.5 transparent logo + larger sizing */
.hs-nav {
  min-height: 100px;
}

.hs-brand--image {
  min-width: 270px;
}

.hs-brand__logo {
  max-width: clamp(290px, 30vw, 520px);
  max-height: 86px;
}

.hs-site-footer .hs-brand--image .hs-brand__logo {
  max-width: 340px;
  max-height: 76px;
}

@media (max-width: 960px) {
  .hs-nav {
    min-height: 94px;
  }

  .hs-brand--image {
    max-width: 285px;
  }

  .hs-brand__logo {
    max-width: 255px;
    max-height: 66px;
  }

  .hs-site-footer .hs-brand--image .hs-brand__logo {
    max-width: 245px;
    max-height: 60px;
  }
}

@media (max-width: 760px) {
  .hs-brand__logo {
    max-width: 220px;
    max-height: 58px;
  }
}


/* v1.4.5 logo + hero text left buffer
   0.5 inch in CSS = approximately 48px at standard 96dpi.
   This targets the header logo area and hero text containers without pushing all body content inward. */
:root {
  --hs-left-edge-buffer: 48px;
  --hs-mobile-left-edge-buffer: 28px;
}

@media (min-width: 861px) {
  .hs-site-header > .container.hs-nav,
  .hs-hero > .container,
  .hs-page-hero > .container {
    width: min(1320px, calc(100% - (var(--hs-left-edge-buffer) * 2))) !important;
  }

  .hs-site-header > .container.hs-nav,
  .hs-hero > .container,
  .hs-page-hero > .container {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hs-hero--courthouse .hs-hero__content,
  .hs-page-hero__inner {
    padding-left: 0 !important;
  }
}

@media (max-width: 860px) {
  .hs-site-header > .container.hs-nav,
  .hs-hero > .container,
  .hs-page-hero > .container {
    width: min(100% - (var(--hs-mobile-left-edge-buffer) * 2), 1320px) !important;
  }
}

@media (max-width: 420px) {
  :root {
    --hs-mobile-left-edge-buffer: 20px;
  }
}


/* v1.4.5 launch audit cleanup */
.hs-footer-grid.no-social {
  grid-template-columns: 1.2fr .95fr .75fr 1fr;
}

.hs-site-footer .hs-socials:empty,
.hs-site-footer .hs-socials:has(a[href="#"]) {
  display: none;
}

.hs-practice-card p {
  min-height: 84px;
}

.hs-footer-bottom span:last-child {
  text-align: right;
}

@media (max-width: 860px) {
  .hs-footer-bottom span:last-child {
    text-align: left;
  }
  .hs-practice-card p {
    min-height: 0;
  }
}


/* v1.4.5 lightweight launch additions */
.hs-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 1002;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hs-gold);
  color: #111;
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(7,24,44,.28);
  border: 1px solid rgba(255,255,255,.24);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.hs-back-to-top:hover {
  transform: translateY(-2px);
  background: var(--hs-gold-2);
}
.hs-service-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.hs-practice-card p {
  min-height: 84px;
}
@media (max-width: 860px) {
  .hs-back-to-top {
    right: 16px;
    bottom: 74px;
    width: 42px;
    height: 42px;
  }
  .hs-practice-card p {
    min-height: 0;
  }
}


/* v1.4.5 service installer page layout repair */
.hs-installed-service-page {
  background: #fff;
}

.hs-installed-service-page > .hs-page-hero:first-child {
  margin-top: 0;
}

.hs-installed-service-page .hs-detail-layout {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.hs-installed-service-page .hs-page-hero__inner {
  padding-left: 0;
  padding-right: 0;
}

.hs-installed-service-page .hs-detail-main {
  min-width: 0;
}

.hs-installed-service-page .hs-detail-sidebar {
  min-width: 0;
}

.hs-installed-service-page > p:empty,
.hs-installed-service-page p:empty {
  display: none;
}

@media (max-width: 980px) {
  .hs-installed-service-page .hs-detail-layout {
    grid-template-columns: 1fr;
  }
}


/* v1.4.5 site credits footer */
.hs-site-credit {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.64);
  font-size: .78rem;
  line-height: 1.55;
}
.hs-site-credit a {
  color: rgba(255,255,255,.84);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,146,63,.35);
}
.hs-site-credit a:hover {
  color: var(--hs-gold);
}
.hs-credit-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.hs-credit-card {
  background: #fff;
  border: 1px solid rgba(7,24,44,.10);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(7,24,44,.08);
}
.hs-credit-card h2,
.hs-credit-card h3 {
  margin-top: 0;
}


/* v1.4.5 polish fixes */
.hs-installed-credit-page{background:#fff;}
.hs-installed-credit-page>.hs-page-hero:first-child{margin-top:0;}
.hs-installed-credit-page .hs-credit-list{max-width:1080px;margin-left:auto;margin-right:auto;}
.hs-sidebar-list a{text-decoration:none;}
