/* ==========================================================================
   Gambriani Law PC — Design System
   Premium, restrained criminal-defence aesthetic.
   Palette: monochrome — #ffffff, #000000, #f7f7f7 (light gray), #333940 (slate).
            The full-colour heraldic crest is the single brand accent.
   Type:    Libre Baskerville (display serif) + Lato (UI / body).
   ========================================================================== */

:root {
  /* Color — grayscale palette */
  --ink:          #06112d;   /* deepest: footer, strong = brand navy */
  --primary:      #06112d;   /* navy: dark sections, headings */
  --primary-700:  #16264f;   /* lighter navy for depth  */
  --bronze:       #06112d;   /* accent on light = navy   */
  --bronze-dark:  #06112d;   /* strong accent / hover = navy */
  --bronze-soft:  #dfe3ec;
  --sand:         #ffc603;   /* primary CTA accent = brand yellow */
  --sand-dark:    #e6b203;   /* CTA hover = deeper yellow */
  --card-gray:    #f4f6fa;   /* light section/card       */
  --navy-2:       #06112d;   /* nav pill = navy          */
  --gold:         #ffc603;   /* brand-accent yellow      */
  --gold-soft:    #ffd84d;
  --paper:        #ffffff;
  --paper-2:      #f4f6fa;
  --cream:        #f4f6fa;
  --line:         #e3e7ef;
  --gray-700:     #202020;   /* body text = near-black   */
  --gray-500:     #5a6170;   /* muted                    */
  --gray-300:     #c2c7d2;
  --white:        #ffffff;

  /* Type scale (1.25 ratio) */
  --fs-xs:   0.78rem;
  --fs-sm:   0.9rem;
  --fs-base: 1rem;
  --fs-md:   1.15rem;
  --fs-lg:   1.45rem;
  --fs-xl:   1.95rem;
  --fs-2xl:  2.6rem;
  --fs-3xl:  3.4rem;
  --fs-4xl:  4.2rem;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;

  --maxw: 1180px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(15,22,32,.06), 0 1px 2px rgba(15,22,32,.04);
  --shadow:    0 10px 30px rgba(15,22,32,.08);
  --shadow-lg: 0 24px 60px rgba(15,22,32,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----- Reset ----- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }

h1,h2,h3,h4 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .2px;
  margin: 0 0 var(--s-4);
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--s-4); }

.eyebrow {
  font-family: "Lato", sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bronze-dark);
  margin: 0 0 var(--s-3);
}

/* ----- Layout ----- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-5); }
.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-8) 0; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--primary); color: var(--cream); }
.section--ink h1,.section--ink h2,.section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--bronze); }
.lead { font-size: var(--fs-md); color: var(--gray-700); max-width: 60ch; }
.section--ink .lead { color: #d7dbe2; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.measure { max-width: 68ch; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: "Lato", sans-serif;
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .02em;
  padding: .85em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
.btn--primary { background: var(--bronze); color: var(--primary); }
.btn--primary:hover { background: var(--bronze-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--bronze); color: var(--bronze-dark); }
.btn--onink { background: var(--bronze); color: var(--primary); }
.btn--onink:hover { background: var(--white); }
.btn--ghost-onink { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.3); }
.btn--ghost-onink:hover { border-color: var(--bronze); color: var(--white); }
@media (prefers-reduced-motion: no-preference){
  .btn:hover { transform: translateY(-1px); }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: #c9cdd4;
  font-size: var(--fs-xs);
  letter-spacing: .04em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 38px; }
.topbar a { color: #e4e7ec; font-weight: 500; }
.topbar a:hover { color: var(--bronze); }
.topbar__set { display: flex; gap: var(--s-5); align-items: center; }
.topbar__set span { color: var(--gray-300); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: padding .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.nav.is-condensed { box-shadow: var(--shadow-sm); background: rgba(250,248,244,.97); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: var(--s-4); padding-bottom: var(--s-4); transition: padding .25s var(--ease); }
.nav.is-condensed .wrap { padding-top: .55rem; padding-bottom: .55rem; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: "Libre Baskerville", serif; font-weight: 600; font-size: 1.7rem; color: var(--primary); letter-spacing: .5px; }
.brand__sub { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze-dark); font-weight: 600; margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: var(--s-6); list-style: none; }
.nav__links a {
  font-size: var(--fs-sm); font-weight: 500; color: var(--primary);
  padding: .35em 0; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--bronze); transition: width .22s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--bronze-dark); }

.nav__cta { display: flex; align-items: center; gap: var(--s-4); }
.nav__phone { font-weight: 600; color: var(--primary); font-size: var(--fs-sm); white-space: nowrap; }
.nav__phone:hover { color: var(--bronze-dark); }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: transform .25s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(15,22,32,.86), rgba(20,35,58,.93)),
    radial-gradient(60% 80% at 75% 20%, #25344f 0%, #14233a 60%);
  color: var(--cream);
  overflow: hidden;
}
.hero::after{
  content:""; position:absolute; right:-8%; top:50%; transform: translateY(-50%);
  width: 520px; height: 520px; border:1px solid rgba(176,141,87,.25); border-radius: 50%;
  pointer-events: none;
}
.hero::before{
  content:""; position:absolute; right:4%; top:50%; transform: translateY(-50%);
  width: 360px; height: 360px; border:1px solid rgba(176,141,87,.18); border-radius: 50%;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-top: var(--s-9); padding-bottom: var(--s-9); }
.hero__inner { max-width: 760px; }
.hero h1 { color: var(--white); font-size: var(--fs-4xl); margin-bottom: var(--s-4); }
.hero h1 em { color: var(--bronze); font-style: normal; }
.hero__lead { font-size: var(--fs-md); color: #d7dbe2; max-width: 56ch; margin-bottom: var(--s-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-7); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--s-6); align-items: center; padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.12); }
.hero__trust .stars { color: var(--bronze); letter-spacing: 2px; }
.hero__trust small { display:block; color: var(--gray-300); font-size: var(--fs-xs); }
.hero__trust strong { color: var(--white); font-family: "Libre Baskerville", serif; font-size: 1.5rem; }
.hero__badges { display: flex; gap: var(--s-5); flex-wrap: wrap; color: #c4cad3; font-size: var(--fs-xs); letter-spacing:.08em; text-transform: uppercase; }

/* ==========================================================================
   Practice cards
   ========================================================================== */
.grid { display: grid; gap: var(--s-5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.pcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-6);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  position: relative;
  display: flex; flex-direction: column;
}
.pcard:hover { box-shadow: var(--shadow); border-color: var(--bronze-soft); }
@media (prefers-reduced-motion: no-preference){ .pcard:hover { transform: translateY(-3px); } }
.pcard__icon { width: 38px; height: 38px; color: var(--bronze-dark); margin-bottom: var(--s-4); }
.pcard h3 { margin-bottom: var(--s-2); font-size: 1.35rem; }
.pcard p { font-size: var(--fs-sm); color: var(--gray-500); margin-bottom: var(--s-4); }
.pcard__link { margin-top: auto; font-size: var(--fs-sm); font-weight: 600; color: var(--bronze-dark); display: inline-flex; align-items: center; gap: .4em; }
.pcard__link svg { transition: transform .2s var(--ease); }
.pcard:hover .pcard__link svg { transform: translateX(3px); }

/* ----- Value / why-us ----- */
.feature { display: flex; gap: var(--s-4); }
.feature__num { font-family: "Libre Baskerville", serif; font-size: 2rem; color: var(--bronze); line-height: 1; min-width: 1.4em; }
.feature h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.feature p { font-size: var(--fs-sm); color: var(--gray-500); }
.section--ink .feature p { color: #c4cad3; }

/* ----- Attorney ----- */
.attorney { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); align-items: start; }
.attorney__photo {
  background: linear-gradient(160deg, var(--primary-700), var(--primary));
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: flex; align-items: flex-end; justify-content: center;
  color: rgba(255,255,255,.4);
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.attorney__photo span { font-size: var(--fs-xs); letter-spacing: .15em; text-transform: uppercase; padding: var(--s-4); text-align:center; }
.attorney__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.attorney__meta { list-style: none; margin: var(--s-5) 0 0; border-top: 1px solid var(--line); }
.attorney__meta li { display: flex; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.attorney__meta strong { color: var(--primary); min-width: 130px; font-weight: 600; }
.creds { display:flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.creds span, .creds a { font-size: var(--fs-xs); background: var(--cream); border:1px solid var(--line); color: var(--gray-700); padding: .35em .8em; border-radius: 100px; }
.creds a { transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease); }
.creds a:hover { background: #fff; border-color: var(--gold); color: var(--primary); }

/* ----- Stat band ----- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: var(--s-5); text-align:center; }
.stat strong { display:block; font-family:"Libre Baskerville",serif; font-size: var(--fs-2xl); color: var(--bronze); line-height:1; }
.stat span { font-size: var(--fs-xs); letter-spacing:.12em; text-transform: uppercase; color:#c4cad3; }

/* ----- Reviews ----- */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s-5); }
.review {
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-6);
}
.review .stars { color: var(--bronze); letter-spacing:2px; margin-bottom: var(--s-3); }
.review p { font-style: italic; color: var(--gray-700); font-size: var(--fs-sm); }
.review cite { display:block; margin-top: var(--s-3); font-style: normal; font-weight:600; color: var(--primary); font-size: var(--fs-sm); }

/* ----- Accordion (FAQ / practice detail) ----- */
.accordion { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: var(--s-5) 0; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center;
  font-family: "Libre Baskerville", serif; font-size: 1.3rem; color: var(--primary);
}
.acc__btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.acc__btn .plus { position: relative; width: 18px; height: 18px; flex: none; }
.acc__btn .plus::before,.acc__btn .plus::after { content:""; position:absolute; background: var(--bronze-dark); transition: transform .25s var(--ease); }
.acc__btn .plus::before { left:0; top:8px; width:18px; height:2px; }
.acc__btn .plus::after  { left:8px; top:0; width:2px; height:18px; }
.acc__btn[aria-expanded="true"] .plus::after { transform: scaleY(0); }
.acc__panel { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.acc__panel > div { padding: 0 0 var(--s-5); color: var(--gray-500); font-size: var(--fs-sm); }

/* ==========================================================================
   Practice area detail blocks
   ========================================================================== */
.pa-block { padding: var(--s-8) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.pa-block:last-child { border-bottom: 0; }
.pa-block__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-7); align-items: start; }
.pa-block h2 { font-size: var(--fs-xl); }
.pa-block ul.ticks { list-style: none; margin: var(--s-3) 0; }
.pa-block ul.ticks li { padding-left: 1.7em; position: relative; margin-bottom: var(--s-2); font-size: var(--fs-sm); }
.pa-block ul.ticks li::before { content:""; position:absolute; left:0; top:.55em; width:9px; height:9px; border:2px solid var(--bronze); border-top:0; border-right:0; transform: rotate(-45deg); }

/* ----- Page banner ----- */
.banner { background: var(--primary); color: var(--cream); }
.banner .wrap { padding: var(--s-8) var(--s-5); }
.banner h1 { color: var(--white); margin-bottom: var(--s-3); }
.banner p { color:#cfd4dc; max-width: 58ch; margin: 0; }
.crumbs { font-size: var(--fs-xs); letter-spacing:.08em; text-transform: uppercase; color: var(--bronze); margin-bottom: var(--s-4); }
.crumbs a:hover { color: var(--white); }

/* ----- Contact ----- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.form-field { margin-bottom: var(--s-5); }
.form-field label { display:block; font-size: var(--fs-sm); font-weight:600; color: var(--primary); margin-bottom: var(--s-2); }
.form-field input, .form-field select, .form-field textarea {
  width:100%; padding: .8em 1em; font: inherit; font-size: var(--fs-sm);
  border:1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--gray-700);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus {
  outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(176,141,87,.18);
}
.form-note { font-size: var(--fs-xs); color: var(--gray-500); }

/* Intake form (Case Review) */
.intake { max-width: 760px; margin: 0 auto; }
.intake h2 { margin-bottom: var(--s-3); }
.intake .form-intro { color: var(--gray-700); margin-bottom: var(--s-6); }
.req { color: #cf2e2e; font-weight: 700; }
.form-radio { border: 0; padding: 0; margin: 0 0 var(--s-5); min-width: 0; }
.form-radio legend { font-size: var(--fs-sm); font-weight: 600; color: var(--primary); margin-bottom: var(--s-3); padding: 0; }
.form-radio .radio { display: flex; align-items: flex-start; gap: .6em; font-size: var(--fs-sm);
  color: var(--gray-700); margin-bottom: var(--s-2); cursor: pointer; line-height: 1.45; }
.form-radio .radio input { width: auto; margin: 3px 0 0; accent-color: var(--primary); flex: none; }
.intake .form-actions { display: flex; justify-content: flex-end; margin-top: var(--s-4); }
.intake .btn--submit { background: var(--primary); color: var(--gold); border-radius: var(--radius); padding: .9em 2em; }
.intake .btn--submit:hover { background: #000; color: var(--gold); }
.contact-card { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: var(--s-6); margin-bottom: var(--s-5); color: var(--gray-700); }
.contact-card a:not(.btn) { color: var(--bronze-dark); }
.contact-card a:not(.btn):hover { color: var(--primary); }
.contact-card h3 { font-size: 1.25rem; margin-bottom: var(--s-3); }
.contact-card .row { display:flex; gap: var(--s-3); align-items:flex-start; margin-bottom: var(--s-3); font-size: var(--fs-sm); }
.contact-card .row svg { color: var(--bronze-dark); flex: none; margin-top: 3px; }
.map-embed { aspect-ratio: 16/10; border:1px solid var(--line); border-radius: var(--radius); width:100%; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: #aab0ba; font-size: var(--fs-sm); }
.footer .wrap { padding-top: var(--s-8); padding-bottom: var(--s-6); }
.footer__grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-6); }
.footer h4 { color: var(--white); font-family:"Lato",sans-serif; font-size: var(--fs-xs); letter-spacing:.16em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer a:hover { color: var(--bronze); }
.footer ul { list-style:none; }
.footer ul li { margin-bottom: var(--s-2); }
.footer__brand .brand__name { color: var(--white); }
.footer__disclaimer { margin-top: var(--s-7); padding-top: var(--s-5); border-top:1px solid rgba(255,255,255,.1); font-size: var(--fs-xs); color: #7e858f; line-height: 1.7; }
.footer__bottom { display:flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); font-size: var(--fs-xs); color:#7e858f; }

/* ==========================================================================
   Floating contact (urgent-call affordance)
   ========================================================================== */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 60; display:flex; flex-direction: column; gap: 10px; }
.float-contact a {
  width: 54px; height: 54px; border-radius: 50%; display:grid; place-items:center;
  box-shadow: var(--shadow); color: var(--white); transition: transform .18s var(--ease);
}
.float-contact a:hover { transform: scale(1.06); }
.float-contact .fc-call { background: var(--bronze-dark); }
.float-contact .fc-wa { background: #25D366; }
.float-contact svg { width: 26px; height: 26px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Skip link & a11y
   ========================================================================== */
.skip { position:absolute; left:-999px; top:0; background: var(--gold); color: var(--primary); padding:.7em 1.2em; font-weight:600; z-index:100; border-radius: 0 0 var(--radius) 0; }
.skip:focus { left:0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  :root { --fs-4xl: 3rem; --fs-3xl: 2.6rem; --fs-2xl: 2.1rem; }
  .grid--3, .reviews, .stats { grid-template-columns: repeat(2,1fr); }
  .attorney, .contact-grid, .pa-block__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s-3) var(--s-5) var(--s-5);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; padding: var(--s-4) 0; }
  .nav__links a::after { display: none; }
  .nav__cta .nav__phone { display: none; }
  .hero__trust { gap: var(--s-5); }
}

@media (max-width: 540px) {
  :root { --fs-4xl: 2.5rem; --s-9: 4rem; --s-8: 3rem; }
  .grid--3, .grid--2, .reviews, .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 var(--s-4); }
}

/* ==========================================================================
   ====  HOMEPAGE v2 — "Veritas-grade" component library  ====
   Additive. Interior pages keep the original components above.
   ========================================================================== */

/* ----- Image placeholders (drop real files in /assets to replace) ----- */
.ph { position: relative; overflow: hidden; display: grid; place-items: center;
      background: linear-gradient(135deg, #06112d 0%, #16264f 60%, #06112d 100%); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph__label { position: relative; z-index: 1; color: rgba(255,255,255,.6); font-size: var(--fs-xs);
      letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: var(--s-4);
      border: 1px dashed rgba(255,255,255,.25); border-radius: 4px; }
.ph--light { background: var(--card-gray); }
.ph--light .ph__label { color: var(--gray-500); border-color: var(--gray-300); }

/* ----- Laurel eyebrow ----- */
.eyebrow--laurel { display: inline-flex; align-items: center; gap: .5em; }
.eyebrow--laurel .sprig { color: currentColor; flex: none; }
.eyebrow--laurel .sprig.flip { transform: scaleX(-1); }

/* ==========================================================================
   Floating pill nav
   ========================================================================== */
.nav--float { background: transparent; border-bottom: 0; backdrop-filter: none; }
.nav--float .wrap { gap: var(--s-4); padding-top: var(--s-5); padding-bottom: 0; }
.nav--float.is-condensed { box-shadow: none; background: transparent; }
.nav--float.is-condensed .wrap { padding-top: var(--s-3); }

.pill { background: rgba(6,17,45,.92); backdrop-filter: saturate(140%) blur(8px);
        border-radius: 999px; box-shadow: var(--shadow-sm); }
.brand--pill { padding: .65rem 1.3rem; border-radius: 999px; background: rgba(6,17,45,.92);
        backdrop-filter: saturate(140%) blur(8px); box-shadow: var(--shadow-sm); }
.brand--pill .brand__name { color: #fff; }
.brand--pill .brand__sub { color: #c4c8cc; }

.navbar { display: flex; align-items: center; gap: var(--s-5); padding: .5rem .5rem .5rem 1.6rem; }
.navbar .nav__links { gap: var(--s-4); }
.navbar .nav__links a { color: #e9ecf1; font-weight: 500; padding: .3em 0; }
.navbar .nav__links a::after { background: var(--sand); }
.navbar .nav__links a[aria-current="page"] { color: var(--sand); }
.navbar .nav__links li:not(:last-child)::marker { content: ""; }
.navbar .sep { color: rgba(255,255,255,.35); font-size: .7rem; }
.navbar .btn--pill { background: var(--sand); color: var(--primary); border-radius: 999px; padding: .7em 1.3em; }
.navbar .btn--pill:hover { background: #fff; }
.navbar .nav__toggle span { background: #fff; }

/* ==========================================================================
   Hero v2
   ========================================================================== */
.herox { position: relative; min-height: 88vh; display: flex; align-items: center;
         color: #fff; overflow: hidden; margin-top: -84px; padding-top: 84px; }
.herox__bg { position: absolute; inset: 0; z-index: 0; }
.herox__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.02); }
.herox__bg::after { content: ""; position: absolute; inset: 0;
         background: linear-gradient(90deg, rgba(6,17,45,.94) 0%, rgba(6,17,45,.78) 45%, rgba(6,17,45,.28) 100%); }
.herox .wrap { position: relative; z-index: 2; padding-top: var(--s-8); padding-bottom: var(--s-8); width: 100%; }
.herox__inner { max-width: 760px; }
.herox h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 1.02; margin-bottom: var(--s-5); }
.herox h1 em { color: var(--sand); font-style: normal; }
.herox__lead { font-size: var(--fs-md); color: #d7dbe2; max-width: 52ch; margin-bottom: var(--s-6); }
.herox__cta { display: inline-flex; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-8); }
.herox .eyebrow { color: var(--sand); }

/* Avatar stack + rating */
.proof { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.avstack { display: flex; }
.avstack span { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
        margin-left: -12px; background: var(--primary-700); display: grid; place-items: center;
        font-size: .8rem; font-weight: 600; color: var(--sand); box-shadow: var(--shadow-sm); }
.avstack span:first-child { margin-left: 0; }
.proof__rating .stars { color: var(--sand); letter-spacing: 2px; }
.proof__rating strong { color: #fff; font-weight: 600; }
.proof__rating small { display: block; color: #b8bec8; font-size: var(--fs-xs); }

/* Glass "talk to an attorney" card */
.glasscard { position: absolute; right: 5%; bottom: 8%; z-index: 3; width: min(370px, 80vw);
        background: rgba(255,255,255,.96); border-radius: 16px; padding: var(--s-5);
        box-shadow: var(--shadow-lg); display: flex; gap: var(--s-4); }
.glasscard__badge { position: relative; flex: none; }
.glasscard__badge .ph { width: 64px; height: 64px; border-radius: 12px; }
.glasscard__badge .ring { position: absolute; top: -8px; right: -8px; width: 30px; height: 30px;
        background: var(--primary); color: #fff; border-radius: 50%; display: grid; place-items: center; }
.glasscard h4 { font-family: "Lato", sans-serif; font-size: var(--fs-sm); color: var(--primary); margin: 0 0 2px; }
.glasscard p { font-size: var(--fs-xs); color: var(--gray-500); margin: 0; line-height: 1.5; }
.glasscard a { display: inline-flex; align-items: center; gap: .3em; margin-top: var(--s-2);
        font-size: var(--fs-sm); font-weight: 600; color: var(--bronze-dark); }
@media (max-width: 900px){ .glasscard { position: static; width: auto; margin-top: var(--s-6); } }

/* ==========================================================================
   About / stat cards
   ========================================================================== */
.about2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.featurelist { margin-top: var(--s-6); display: grid; gap: var(--s-5); }
.fitem { display: flex; gap: var(--s-4); }
.ficon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--cream);
        border: 1px solid var(--line); display: grid; place-items: center; color: var(--bronze-dark); }
.fitem h3 { font-size: 1.25rem; margin-bottom: 4px; }
.fitem p { font-size: var(--fs-sm); color: var(--gray-500); margin: 0; }
.about2__media .ph { aspect-ratio: 4/3; border-radius: 14px; }
.statcards { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.statcard { background: var(--card-gray); border-radius: 14px; padding: var(--s-5); }
.statcard b { font-family: "Libre Baskerville", serif; font-size: var(--fs-2xl); color: var(--primary); line-height: 1; }
.statcard b sup { color: var(--bronze); font-size: .5em; }
.statcard .lab { font-weight: 600; color: var(--primary); margin-left: .4em; }
.statcard p { font-size: var(--fs-sm); color: var(--gray-500); margin: var(--s-2) 0 0; }

/* ----- Memberships strip (replaces "trusted by companies") ----- */
.memberships { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.memberships .wrap { display: flex; align-items: center; justify-content: center; gap: var(--s-7);
        flex-wrap: wrap; padding-top: var(--s-6); padding-bottom: var(--s-6); }
.memberships span { font-size: var(--fs-sm); letter-spacing: .04em; color: var(--gray-500); font-weight: 500; }
.memberships .mlabel { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-dark); }

/* ==========================================================================
   Practice rows (big alternating)
   ========================================================================== */
.parow { border-radius: 18px; padding: var(--s-7); margin-bottom: var(--s-5);
        display: grid; grid-template-columns: 1fr 1.1fr auto; gap: var(--s-6); align-items: center;
        background: var(--card-gray); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.parow:hover { box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference){ .parow:hover { transform: translateY(-3px); } }
.parow--navy { background: var(--primary); color: var(--cream); }
.parow--navy h3, .parow--navy .parow__num { color: #fff; }
.parow--navy .parow__desc { color: #c8cdd6; }
.parow__head .parow__num { font-family: "Libre Baskerville", serif; color: var(--bronze); font-size: 1.4rem; }
.parow__head h3 { font-size: var(--fs-xl); margin: 0; }
.parow__desc { font-size: var(--fs-sm); color: var(--gray-500); margin-top: var(--s-4); max-width: 34ch; }
.parow__media .ph { aspect-ratio: 16/10; border-radius: 12px; min-width: 230px; }
.parow__aside { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); min-width: 220px; }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tag { font-size: var(--fs-xs); padding: .4em .9em; border-radius: 999px;
        background: rgba(0,0,0,.05); color: var(--gray-700); }
.parow--navy .tag { background: rgba(255,255,255,.12); color: #e4e5e7; }
.btn--sand { background: var(--sand); color: var(--primary); border-radius: 999px; }
.btn--sand:hover { background: #fff; }
@media (max-width: 860px){
  .parow { grid-template-columns: 1fr; }
  .parow__media .ph { min-width: 0; }
  .parow__aside { min-width: 0; }
}

/* ==========================================================================
   Section header (two-column: title left, intro right)
   ========================================================================== */
.sechead { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: end; margin-bottom: var(--s-7); }
.sechead h2 { margin: 0; }
.sechead p { color: var(--gray-500); margin: 0; }
@media (max-width: 760px){ .sechead { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ==========================================================================
   Testimonials (client stories)
   ========================================================================== */
.stories { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-8); align-items: start; }
.ministats { display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-7); margin-top: var(--s-6); }
.ministat b { font-family: "Libre Baskerville", serif; font-size: var(--fs-2xl); color: var(--primary); line-height: 1; }
.ministat b sup { color: var(--bronze); font-size: .5em; }
.ministat span { display: block; font-size: var(--fs-sm); color: var(--gray-500); margin-top: 4px; }
.tcards { display: grid; gap: var(--s-5); }
.tcard { background: var(--card-gray); border-radius: 16px; padding: var(--s-6); }
.tcard__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.tcard__av { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-700);
        display: grid; place-items: center; color: var(--sand); font-weight: 600; flex: none; }
.tcard__head b { color: var(--primary); font-family: "Libre Baskerville", serif; font-size: 1.3rem; }
.tcard__head span { display: block; font-size: var(--fs-xs); color: var(--bronze-dark); letter-spacing: .04em; }
.tcard__quote { color: var(--bronze); font-family: "Libre Baskerville", serif; font-size: 2.4rem; line-height: .4; }
.tcard p { font-size: var(--fs-sm); color: var(--gray-700); margin: var(--s-2) 0 0; }
@media (max-width: 820px){ .stories { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ==========================================================================
   How it works (step cards w/ glass overlay)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.stepcard { position: relative; border-radius: 16px; overflow: hidden; min-height: 420px;
        display: flex; align-items: flex-end; }
.stepcard .ph { position: absolute; inset: 0; }
.stepcard__panel { position: relative; z-index: 2; margin: var(--s-4); padding: var(--s-5);
        background: rgba(6,17,45,.62); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14);
        border-radius: 12px; color: #fff; }
.stepcard__num { width: 38px; height: 38px; border-radius: 50%; background: var(--sand); color: var(--primary);
        display: grid; place-items: center; font-weight: 700; margin-bottom: var(--s-3); }
.stepcard__panel h3 { color: #fff; font-size: 1.4rem; margin-bottom: var(--s-2); }
.stepcard__panel p { color: #d7dbe2; font-size: var(--fs-sm); margin: 0; }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ split (image + accordion)
   ========================================================================== */
.faqx { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-8); align-items: start; }
.faqx__media .ph { aspect-ratio: 3/4; border-radius: 16px; height: 100%; }
.acc2 { display: grid; gap: var(--s-4); }
.acc2 .acc__item { border: 0; background: var(--card-gray); border-radius: 12px; padding: 0 var(--s-5); }
.acc2 .acc__btn { font-family: "Lato", sans-serif; font-size: var(--fs-base); font-weight: 600; color: var(--primary); padding: var(--s-5) 0; }
.acc2 .acc__panel > div { padding-bottom: var(--s-5); }
@media (max-width: 820px){ .faqx { grid-template-columns: 1fr; } .faqx__media { display: none; } }

/* ==========================================================================
   Contact section v2 (navy)
   ========================================================================== */
.contactx { position: relative; background: var(--primary); color: #fff; overflow: hidden; }
.contactx::before { content: ""; position: absolute; inset: 0;
        background: radial-gradient(70% 100% at 80% 0%, #16264f 0%, transparent 60%); opacity: .7; }
.contactx .wrap { position: relative; z-index: 1; }
.contactx h2 { color: #fff; }
.contactx h3 { color: #fff; }
.contactx .contact-card h3 { color: var(--primary); }
.contactx .lead { color: #d7dbe2; }
.contactx__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.contactx .crow { display: flex; gap: var(--s-3); align-items: center; color: #d7dbe2; margin-bottom: var(--s-4); font-size: var(--fs-sm); }
.contactx .crow svg { color: var(--sand); flex: none; }
.contactx .map-embed { border: 0; border-radius: 12px; }
.contactx .form-field label { color: #c6ccd6; }
.contactx .form-field input, .contactx .form-field select, .contactx .form-field textarea {
        background: #fff; border-color: transparent; }
.contactx .btn--submit { width: 100%; justify-content: center; background: var(--sand); color: var(--primary);
        border-radius: 999px; padding: 1em; font-size: var(--fs-base); }
.contactx .btn--submit:hover { background: #fff; }
@media (max-width: 820px){ .contactx__grid { grid-template-columns: 1fr; } }

/* ----- Footer additions ----- */
.footer__social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.footer__social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px;
        display: grid; place-items: center; color: #c9ced6; }
.footer__social a:hover { border-color: var(--sand); color: var(--sand); }
.footer__grid--5 { grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; }
@media (max-width: 980px){ .footer__grid--5 { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 540px){ .footer__grid--5 { grid-template-columns: 1fr 1fr; } }

/* Float-nav mobile menu */
@media (max-width: 760px){
  .nav--float .navbar { padding: .5rem .6rem; gap: var(--s-3); }
  .nav--float .navbar .sep { display: none; }
  .nav--float .nav__links {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    background: rgba(6,17,45,.98); border-radius: 14px; box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-3) var(--s-5); display: none;
  }
  .nav--float .nav__links.is-open { display: flex; }
  .nav--float .nav__links li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav--float .nav__links a { color: #fff; display: block; padding: var(--s-4) 0; }
  .nav--float .navbar .btn--pill { display: none; }
}

/* ==========================================================================
   ====  MONOCHROME palette overrides  ====
   Buttons and dark-surface accents tuned for the grayscale palette.
   ========================================================================== */

/* Buttons (light surfaces) */
.btn--primary { background: #06112d; color: #fff; }
.btn--primary:hover { background: #16264f; color: #fff; }
.btn--onink { background: #ffc603; color: #06112d; }
.btn--onink:hover { background: #fff; color: #06112d; }
.btn--sand { background: #ffc603; color: #06112d; }
.btn--sand:hover { background: #ffd84d; color: #06112d; }

/* Accent (yellow) buttons that sit ON navy surfaces */
.herox .btn--sand, .parow--navy .btn--sand { background: #ffc603; color: #06112d; }
.herox .btn--sand:hover, .parow--navy .btn--sand:hover { background: #fff; color: #06112d; }
.contactx .btn--submit { background: #ffc603; color: #06112d; }
.contactx .btn--submit:hover { background: #fff; color: #06112d; }
.navbar .btn--pill { background: #ffc603; color: #06112d; }
.navbar .btn--pill:hover { background: #fff; color: #06112d; }

/* Light text / yellow accents on dark surfaces */
.herox h1 em { color: #fff; }
.herox .eyebrow, .section--ink .eyebrow, .contactx .eyebrow, .banner .crumbs { color: #ffc603; }
.proof__rating .stars { color: #ffc603; }
.avstack span, .tcard__av { color: #ffc603; }
.navbar .nav__links a::after { background: #ffc603; }
.navbar .nav__links a[aria-current="page"] { color: #ffc603; }
.section--ink .stat strong { color: #ffc603; }

/* ----- Brand wordmark + crest emblem ----- */
.brand--pill { flex-direction: row; align-items: center; gap: .6rem; }
.brand__logo { height: 42px; width: 42px; object-fit: contain; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.footer__logo { height: 72px; width: auto; max-width: 280px; object-fit: contain; margin-bottom: var(--s-3); }

/* ==========================================================================
   ====  REVISION 3 — gold details, fixed nav, hero resize, team, marquees  ====
   ========================================================================== */

/* Brand-accent details — navy on light surfaces, yellow on dark */
.eyebrow { color: var(--primary); }
.herox .eyebrow, .section--ink .eyebrow, .contactx .eyebrow, .banner .crumbs { color: var(--gold); }
.parow__num { color: var(--primary); }
.parow--navy .parow__num { color: var(--gold); }
.tcard__quote { color: var(--gold); }
.proof__rating .stars, .review .stars, .tcard .stars { color: var(--gold); }
.statcard b sup, .ministat b sup, .statrow b sup { color: var(--primary); }
.statrow .s b { color: var(--primary); }

/* Fixed floating nav (removes the top white line); logo-only brand */
.nav--float { position: fixed; top: 0; left: 0; right: 0; }
.brand--pill { background: rgba(6,17,45,.92); backdrop-filter: saturate(140%) blur(8px);
  box-shadow: var(--shadow-sm); padding: .45rem 1.1rem; border-radius: 999px; }
.brand__logo { height: 48px; width: auto; object-fit: contain; transition: height .25s var(--ease); }
.nav--float.is-condensed .brand__logo { height: 40px; width: auto; }

/* Language toggle (EN / FA) */
.langtoggle { display:inline-flex; align-items:center; color:#fff; font-weight:600; font-size:var(--fs-xs);
  letter-spacing:.06em; border:1px solid var(--gold); border-radius:999px; padding:.55em .9em; white-space:nowrap; }
.langtoggle:hover { background: var(--gold); color: var(--primary); }

/* Hero: ~30% smaller heading + lead, clear the fixed nav */
.herox { margin-top: 0; padding-top: 132px; min-height: 92vh; }
.herox h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); margin-bottom: var(--s-4); }
.herox__lead { font-size: .9rem; max-width: 46ch; margin-bottom: var(--s-6); }
.herox__cta { margin-bottom: var(--s-7); }
.btn--hero { background: var(--primary); color:#fff; border:1px solid var(--gold); }
.btn--hero:hover { background:#16264f; color:#fff; border-color: var(--gold); }

/* About: smaller paragraph + compact inline stat line */
.about__lead { font-size: 1rem; color: var(--gray-700); max-width: 52ch; }
.statrow { display:flex; flex-wrap:wrap; gap: var(--s-5) var(--s-7); margin: var(--s-5) 0;
  padding: var(--s-4) 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.statrow .s b { font-family:"Libre Baskerville", serif; font-size:1.4rem; color:var(--primary); line-height:1; }
.statrow .s span { display:block; font-size:var(--fs-xs); color:var(--gray-500); margin-top:4px; letter-spacing:.02em; }
.about2 .featurelist { margin-top: var(--s-4); }

/* Memberships marquee */
.memberships .wrap { justify-content:flex-start; gap:var(--s-5); flex-wrap:nowrap; overflow:hidden; }
.memberships .mlabel { flex:none; }
.memberships .mtrack { display:flex; gap:var(--s-7); align-items:center; white-space:nowrap; animation: marquee 30s linear infinite; }
.memberships .mtrack span { color: var(--gray-500); font-weight:500; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .memberships .mtrack { animation: none; } }

/* Team grid */
.team-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: var(--s-5); }
.tmember { text-align:center; }
.tmember .frame { position:relative; aspect-ratio:4/5; border:1px solid var(--gold); padding:7px;
  background:var(--card-gray); border-radius:6px; margin-bottom: var(--s-4); }
.tmember .frame .ph { position:absolute; inset:7px; border-radius:3px; }
.tmember h3 { font-size:1.4rem; margin:0 0 2px; }
.tmember .role { font-size:var(--fs-xs); letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin:0 0 3px; font-weight:600; }
.tmember .pa { font-size:var(--fs-sm); color:var(--gray-500); margin:0; }
@media (max-width: 900px){ .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .team-grid { grid-template-columns: 1fr; max-width:320px; margin:0 auto; } }

/* Mobile floating-nav legibility (text wordmark needs a backing pill) */
@media (max-width: 820px){
  .nav--float .brand--pill {
    background: rgba(6,17,45,.95); backdrop-filter: saturate(140%) blur(8px);
    box-shadow: var(--shadow-sm); padding: .4rem .85rem; border-radius: 999px;
  }
  .nav--float .brand__logo { height: 38px; }
  .nav--float .langtoggle { display: none; }
}

/* Hero trust badges (replaces star-rating proof) */
.hbadges { display:flex; flex-wrap:wrap; gap:var(--s-5) var(--s-6); }
.hbadge { display:flex; flex-direction:column; }
.hbadge b { font-family:"Libre Baskerville", serif; font-size:1.15rem; color:#fff; line-height:1.1; }
.hbadge small { color:#b8bec8; font-size:var(--fs-xs); margin-top:3px; letter-spacing:.02em; }
.hbadge + .hbadge { padding-left:var(--s-6); border-left:1px solid rgba(255,255,255,.16); }
@media (max-width:540px){ .hbadge + .hbadge { padding-left:0; border-left:0; } }

/* Reviews horizontal scroll */
.reviews-marquee { overflow:hidden; }
.reviews-track { display:flex; gap:var(--s-5); width:max-content; animation: marquee 55s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
.reviews-track .tcard { width: 380px; flex:none; white-space:normal; }
@media (prefers-reduced-motion: reduce){
  .reviews-marquee { overflow-x:auto; }
  .reviews-track { animation:none; }
}

/* ==========================================================================
   ====  REVISION 4 — full-width masthead (replaces the floating pill)  ====
   Top utility bar + edge-to-edge navy nav with a Criminal Defense dropdown.
   ========================================================================== */

/* Top utility bar */
.utilitybar { background: #04091c; color: #cfd4e0; font-size: var(--fs-xs); letter-spacing: .03em; }
.utilitybar .wrap { display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: var(--s-3) var(--s-4); min-height: 40px; text-align: center; }
.utilitybar .uhi { color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.utilitybar a { color: #fff; font-weight: 600; }
.utilitybar a:hover { color: var(--gold); }
.utilitybar .usep { color: rgba(255,255,255,.32); }

/* Full-width nav bar */
.nav--bar { position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--primary); border-bottom: 3px solid var(--gold); backdrop-filter: none; }
.nav--bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding-top: .95rem; padding-bottom: .95rem; }
.nav--bar.is-condensed { background: var(--primary); box-shadow: var(--shadow); }
.nav--bar .brand { padding: 0; background: transparent; box-shadow: none; flex: none; }
.nav--bar .brand__logo { height: 62px; width: auto; object-fit: contain; transition: height .25s var(--ease); }
.nav--bar.is-condensed .brand__logo { height: 56px; }

/* Menu (top level) */
.nav--bar .nav__links { display: flex; align-items: center; gap: var(--s-5); list-style: none; }
.nav--bar .nav__links > li { position: relative; }
.nav--bar .nav__links > li > a { display: inline-flex; align-items: center; gap: .35em;
  color: #fff; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .55em 0; white-space: nowrap; }
.nav--bar .nav__links > li > a:hover,
.nav--bar .nav__links > li > a[aria-current="page"] { color: var(--gold); }
.nav--bar .nav__links > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav--bar .nav__links > li > a:hover::after,
.nav--bar .nav__links > li > a[aria-current="page"]::after { transform: scaleX(1); }

/* Dropdown */
.has-dd .dd__toggle { background: none; border: 0; color: #fff; cursor: pointer; padding: .3em .2em;
  display: inline-flex; align-items: center; }
.has-dd .dd__caret { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.has-dd:hover .dd__toggle, .has-dd.is-open .dd__toggle { color: var(--gold); }
.has-dd:hover .dd__caret, .has-dd.is-open .dd__caret { transform: rotate(180deg); }
.dd__menu { position: absolute; top: 100%; left: 0; min-width: 540px; list-style: none;
  background: #fff; border-radius: 0 0 10px 10px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold);
  padding: var(--s-4); display: grid; grid-template-columns: 1fr 1fr; gap: 1px var(--s-5);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease); z-index: 60; }
.has-dd:hover .dd__menu, .has-dd.is-open .dd__menu { opacity: 1; visibility: visible; transform: none; }
.dd__menu li { position: static; }
.dd__menu a { display: block; padding: .5em .7em; font-size: var(--fs-sm); color: var(--gray-700);
  text-transform: none; letter-spacing: 0; font-weight: 500; border-radius: 6px; white-space: nowrap; }
.dd__menu a::after { display: none; }
.dd__menu a:hover { background: var(--card-gray); color: var(--primary); }

/* CTA on the bar */
.nav--bar .btn--pill { background: var(--gold); color: var(--primary); border-radius: 999px;
  padding: .6em 1.2em; text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: .06em; flex: none; }
.nav--bar .btn--pill:hover { background: #fff; }

/* Contact Us styled as the yellow CTA pill */
.nav--bar .nav__links > li > a.nav__cta { background: var(--gold); color: var(--primary);
  border-radius: 999px; padding: .5em 1.2em; }
.nav--bar .nav__links > li > a.nav__cta::after { display: none; }
.nav--bar .nav__links > li > a.nav__cta:hover,
.nav--bar .nav__links > li > a.nav__cta[aria-current="page"] { background: #fff; color: var(--primary); }

/* Hero no longer clears a fixed nav */
.herox { margin-top: 0; padding-top: var(--s-8); min-height: 76vh; }

/* Toggle + mobile */
.nav--bar .nav__toggle span { background: #fff; }
.nav--bar .nav__toggle { display: none; }
@media (max-width: 960px){
  .nav--bar .nav__toggle { display: block; }
  .nav--bar .masthead__cta { display: none; }
  .nav--bar .nav__links {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--primary);
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-3) var(--s-5) var(--s-5);
    box-shadow: var(--shadow); border-bottom: 3px solid var(--gold);
    display: none; max-height: 78vh; overflow-y: auto; }
  .nav--bar .nav__links.is-open { display: flex; }
  .nav--bar .nav__links > li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav--bar .nav__links > li > a { padding: var(--s-4) 0; }
  .nav--bar .nav__links > li > a::after { display: none; }
  .has-dd .dd__toggle { position: absolute; right: 0; top: .4em; padding: var(--s-3); }
  .dd__menu { position: static; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border-top: 0;
    border-radius: 0; background: rgba(255,255,255,.05); padding: 0 0 var(--s-3);
    opacity: 1; visibility: visible; transform: none; display: none; }
  .has-dd.is-open .dd__menu { display: grid; }
  .has-dd:hover .dd__menu { opacity: 1; } /* no hover-open on touch */
  .dd__menu a { color: #dfe3ec; padding: .65em var(--s-4); }
  .dd__menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
  /* In the stacked mobile menu, Contact Us looks like the other links (not a pill) */
  .nav--bar .nav__links > li > a.nav__cta { background: transparent; color: #fff;
    border-radius: 0; padding: var(--s-4) 0; }
  .nav--bar .nav__links > li > a.nav__cta:hover,
  .nav--bar .nav__links > li > a.nav__cta[aria-current="page"] { background: transparent; color: var(--gold); }
}

/* Criminal-defense charge entries (anchored) */
.cat-title { margin-bottom: var(--s-5); }
.charges { display: grid; gap: 0; }
.charge { scroll-margin-top: 130px; padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.charges .charge:first-child { border-top: 0; padding-top: 0; }
.charge h3 { font-size: 1.3rem; margin-bottom: var(--s-2); }
.charge p { color: var(--gray-500); max-width: 78ch; margin: 0; font-size: var(--fs-sm); }
.charge .tag { margin-top: var(--s-3); display: inline-block; }

/* ==========================================================================
   ====  REVISION 5 — serving band (bold label, clipped, seamless loop)  ====
   The label sits outside the scroll viewport, so the marquee can never
   overlap it. The track holds 4 sets; translateX(-50%) loops the first 2.
   ========================================================================== */
.servingband { padding-top: var(--s-5); }
.serving { display: flex; align-items: center; gap: var(--s-5); overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: var(--s-4) 0; }
.serving__label { flex: none; font-size: var(--fs-xs); letter-spacing: .18em;
  text-transform: uppercase; color: var(--primary); font-weight: 700; }
.serving__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.serving__track { display: flex; gap: var(--s-7); width: max-content; white-space: nowrap;
  animation: marquee 32s linear infinite; }
.serving__track span { color: var(--gray-500); font-weight: 500; font-size: var(--fs-sm); }
.serving:hover .serving__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){ .serving__track { animation: none; } }

/* Responsive video embed (16:9) */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* About section — two-row layout (intro + video, then 3-up features) */
.about-section { padding-top: var(--s-7); }
.about-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-8);
  align-items: center; margin-bottom: var(--s-8); }
.about-intro h2 { margin-bottom: var(--s-4); }
.about-intro .about__lead { margin-bottom: 0; }
.video-cap { margin: var(--s-3) 0 0; font-size: var(--fs-xs); letter-spacing: .12em;
  text-transform: uppercase; color: var(--gray-500); text-align: center; }
.featuregrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6);
  border-top: 1px solid var(--line); padding-top: var(--s-7); }
.featuregrid .fitem { margin: 0; }
@media (max-width: 860px){
  .about-intro { grid-template-columns: 1fr; gap: var(--s-6); }
  .featuregrid { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* Section-header eyebrow keeps its spacing (the generic .sechead p rule zeroed it) */
.sechead .eyebrow { margin-bottom: var(--s-3); }

/* Practice-area cards (Charges we defend) */
.pa-cards { margin-top: var(--s-3); }
.pa-cards .pcard { padding: var(--s-6); }
.pa-cards .pcard__icon { margin-bottom: var(--s-5); color: var(--primary); }
.pa-cards .pcard h3 { font-size: 1.45rem; margin-bottom: var(--s-3); }
.pa-cards .pcard p { margin-bottom: var(--s-5); }
.pa-cards .pcard:hover { border-color: var(--gold); }
.pa-cards .pcard:hover .pcard__link { color: var(--bronze-dark); }
.pa-cards .pcard:hover .pcard__icon { color: var(--gold); }
/* Helpful-links directory (Resources) */
.linklist { list-style: none; margin-top: var(--s-3); }
.linklist li { margin-bottom: var(--s-2); }
.linklist a { font-size: var(--fs-sm); color: var(--gray-700); display: inline-flex; align-items: center; gap: .35em; }
.linklist a::after { content: "\2197"; font-size: .85em; color: var(--gray-500); }
.linklist a:hover { color: var(--bronze-dark); }
.linklist a:hover::after { color: var(--gold); }

/* Anchor-target cards on the practice-areas page */
.pa-cards .pcard[id] { scroll-margin-top: 120px; }
.pa-cards .pcard > p:last-child { margin-bottom: 0; }
.pa-catgrid { margin-top: var(--s-5); }

/* Practice-area detail page (content + sidebar) */
.pa-detail { display: grid; grid-template-columns: 1.35fr .65fr; gap: var(--s-8); align-items: start; }
.pa-detail__main > p { color: var(--gray-700); }
.pa-detail__main h2 { font-size: var(--fs-xl); margin-top: var(--s-7); }
.pa-detail__main .ticks { list-style: none; margin: var(--s-4) 0; }
.pa-detail__main .ticks li { padding-left: 1.7em; position: relative; margin-bottom: var(--s-3); }
.pa-detail__main .ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px;
  border: 2px solid var(--gold); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.pa-side { display: grid; gap: var(--s-5); position: sticky; top: 120px; }
.pa-side .contact-card { margin-bottom: 0; }
.pa-side .contact-card .btn { width: 100%; justify-content: center; margin-top: var(--s-2); }
.side-nav { background: var(--card-gray); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); }
.side-nav h4 { font-family: "Lato", sans-serif; font-size: var(--fs-xs); letter-spacing: .16em;
  text-transform: uppercase; color: var(--primary); margin-bottom: var(--s-3); }
.side-nav ul { list-style: none; }
.side-nav li { margin-bottom: var(--s-2); }
.side-nav a { font-size: var(--fs-sm); color: var(--gray-700); }
.side-nav a:hover { color: var(--bronze-dark); }
@media (max-width: 860px){
  .pa-detail { grid-template-columns: 1fr; gap: var(--s-6); }
  .pa-side { position: static; }
}

/* Client reviews (masonry of real Google reviews) */
.reviewmasonry { column-count: 3; column-gap: var(--s-5); margin-top: var(--s-2); }
.rcard { break-inside: avoid; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: var(--s-6); margin: 0 0 var(--s-5); }
.rcard__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: var(--s-3); font-size: 1.05rem; }
.rcard blockquote { margin: 0 0 var(--s-4); font-size: var(--fs-sm); color: var(--gray-700); line-height: 1.7; }
.rcard figcaption { display: flex; align-items: center; gap: var(--s-3); }
.rcard__av { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--gold);
  display: grid; place-items: center; font-weight: 700; flex: none; font-size: var(--fs-sm); }
.rcard figcaption b { color: var(--primary); font-family: "Libre Baskerville", serif; font-size: 1.05rem; }
.rcard figcaption .rmeta { display: block; font-size: var(--fs-xs); color: var(--bronze-dark); letter-spacing: .03em; }
@media (max-width: 900px){ .reviewmasonry { column-count: 2; } }
@media (max-width: 600px){ .reviewmasonry { column-count: 1; } }

/* Featured videos (auto-populated from the YouTube channel feed) */
.videogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-2); }
.vskeleton { aspect-ratio: 16/9; border-radius: 14px;
  background: linear-gradient(100deg, #eceff5 30%, #f6f8fb 50%, #eceff5 70%); background-size: 200% 100%;
  animation: vshimmer 1.4s linear infinite; }
@keyframes vshimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.vcard { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; color: inherit; }
.vcard__thumb { position: relative; display: block; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.vcard:hover .vcard__thumb img { transform: scale(1.05); }
.vcard__play { position: absolute; inset: 0; display: grid; place-items: center; }
.vcard__play span { width: 56px; height: 56px; border-radius: 50%; background: rgba(6,17,45,.82);
  display: grid; place-items: center; transition: background .2s var(--ease); }
.vcard:hover .vcard__play span { background: var(--gold); }
.vcard__play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.vcard:hover .vcard__play svg { color: var(--primary); }
.vcard__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: var(--s-3); font-family: "Libre Baskerville", serif; font-size: 1.05rem; color: var(--primary); line-height: 1.3; }
.vcard--cta { grid-column: 1 / -1; display: grid; place-items: center; aspect-ratio: 16/4; min-height: 140px;
  border: 1px dashed var(--gray-300); border-radius: 14px; color: var(--bronze-dark); font-weight: 700;
  font-family: "Libre Baskerville", serif; font-size: 1.2rem; text-align: center; padding: var(--s-6); }
.vcard--cta:hover { border-color: var(--gold); }
@media (max-width: 900px){ .videogrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .videogrid { grid-template-columns: 1fr; } }

/* Video lightbox */
.vlightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4,9,28,.88);
  display: none; align-items: center; justify-content: center; padding: var(--s-5); }
.vlightbox.is-open { display: flex; }
.vlightbox__inner { position: relative; width: min(960px, 100%); aspect-ratio: 16/9; }
.vlightbox__frame { width: 100%; height: 100%; }
.vlightbox iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); }
.vlightbox__close { position: absolute; top: -42px; right: 0; background: none; border: 0; color: #fff;
  cursor: pointer; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .04em; display: inline-flex; align-items: center; gap: .4em; }
.vlightbox__close:hover { color: var(--gold); }
