/* ============================================================
   MDAFP — Morris Duffy Alonso Faley & Pitcoff
   Design: refined legal editorial · navy + brand blue
   ============================================================ */
:root {
  --navy: #12263f;
  --navy-deep: #0b1a2c;
  --blue: #3692d0;          /* MDAFP brand blue (accents/large text) */
  --blue-ink: #1f6ea1;      /* AA-safe blue for normal-size text on light bg */
  --blue-soft: #5b9fd4;     /* logo blue */
  --ice: #e9f1f8;
  --paper: #f9f7f3;
  --ink: #222b33;
  --ink-soft: #4c5763;
  --line: #d8dee5;
  --line-navy: rgba(255,255,255,.14);
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- justified block text, site-wide ---------- */
p, li { text-align: justify; text-justify: inter-word; hyphens: auto; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- kicker / eyebrow ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-ink);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 44px; height: 1px; background: var(--blue); }
.kicker.center { justify-content: center; }
.kicker.center::after { content: ""; width: 44px; height: 1px; background: var(--blue); }
.kicker.on-dark { color: var(--blue-soft); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #c8d3e0;
  font-size: 13px;
  letter-spacing: .04em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #d7e3ef; }
.topbar .socials { display: flex; gap: 16px; align-items: center; }
.topbar .socials svg { width: 15px; height: 15px; fill: #8fb7d8; transition: fill .2s; }
.topbar .socials a:hover svg { fill: #fff; }

/* ---------- header / nav ---------- */
header.site {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-navy);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}


nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a {
  white-space: nowrap;
  color: #cfdae5;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav.main a:hover { color: #fff; text-decoration: none; border-bottom-color: var(--blue); }
nav.main a.active { color: #fff; border-bottom-color: var(--blue); }
nav.main a.cta {
  border: 1px solid var(--blue);
  padding: 9px 18px;
  color: #fff;
  border-radius: 2px;
}
nav.main a.cta:hover { background: var(--blue); border-bottom-color: transparent; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(11,26,44,.96) 0%, rgba(18,38,63,.9) 55%, rgba(18,38,63,.62) 100%),
    url("images/teamHome.jpg") right center / cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; max-width: 1180px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.15;
  max-width: 15ch;
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--blue-soft); }
.hero p.lede { max-width: 54ch; color: #c3d2e0; font-size: 18px; margin-bottom: 38px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  transition: all .2s;
}
.btn.primary { background: var(--blue-ink); color: #fff; }
.btn.primary:hover { background: #16537a; text-decoration: none; }
.btn.ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.btn.ghost.dark { border-color: var(--navy); color: var(--navy); }
.btn.ghost.dark:hover { background: var(--navy); color: #fff; }

/* staggered load-in */
.rise { opacity: 0; transform: translateY(22px); animation: rise .8s cubic-bezier(.2,.7,.3,1) forwards; }
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; } .rise.d3 { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- stat band ---------- */
.stats { background: var(--navy-deep); color: #fff; border-top: 1px solid var(--line-navy); }
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 44px; padding-bottom: 44px;
  gap: 24px;
}
.stat { border-left: 1px solid var(--line-navy); padding-left: 24px; }
.stat b { font-family: var(--serif); font-size: 40px; font-weight: 400; color: var(--blue-soft); display: block; line-height: 1.1; }
.stat span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #aebccb; }

/* ---------- sections ---------- */
section.block { padding: 92px 0; }
section.block.tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 22ch;
}
h2.title.center { margin-left: auto; margin-right: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split .photo { position: relative; }
.split .photo img { border-radius: 3px; box-shadow: 24px 24px 0 var(--ice); }
.split .photo::before {
  content: ""; position: absolute; top: -18px; left: -18px;
  width: 92px; height: 92px;
  border-top: 3px solid var(--blue); border-left: 3px solid var(--blue);
}
.prose p { margin-bottom: 18px; color: var(--ink-soft); }
.prose p b { color: var(--ink); }

/* ---------- practice cards (home) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 34px 30px 30px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18,38,63,.12); border-top-color: var(--blue); }
.card .num { font-family: var(--serif); font-style: italic; color: var(--blue-ink); font-size: 15px; margin-bottom: 14px; display: block; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--navy); margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.card a.more { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card a.more::after { content: " →"; }

/* ---------- practice areas page ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after {
  content: "MDAFP";
  position: absolute; right: -30px; bottom: -60px;
  font-family: var(--serif); font-size: 220px; line-height: 1;
  color: rgba(255,255,255,.04); letter-spacing: -6px;
  pointer-events: none;
}
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 48px); max-width: none; }
@media (min-width: 861px){ .page-hero:not(#ph):not(.pa-hero) h1 { white-space: nowrap; } }
.page-hero p { color: #b9c9d9; max-width: 60ch; margin-top: 16px; }

/* ---------- practice areas search hero + card grid ---------- */
.pa-hero { padding-bottom: 44px; }
.pa-search { max-width: 480px; margin-top: 26px; }
.pa-search input { width: 100%; padding: 14px 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; font-family: var(--sans); font-size: 15px; background: rgba(255,255,255,.08); color: #fff; }
.pa-search input::placeholder { color: #b9c9d9; }
.pa-search input:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 2px; background: rgba(255,255,255,.14); }
a.card.pa-card { display: block; text-decoration: none; cursor: pointer; }
a.card.pa-card h3 { font-size: 19px; }
a.card.pa-card span.more { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
a.card.pa-card span.more::after { content: " →"; }

/* ---------- practice areas accordion ---------- */
.pa-accordion { max-width: 900px; margin: 0 auto; }
/* About page — faded courthouse background behind the white text area (watermarked comp until licensed) */
.about-bg { position: relative; overflow: hidden; }
.about-bg::before {
  content: ""; position: absolute; inset: 0;
  background: url("images/courthouse.jpg") center 22% / cover no-repeat;
  opacity: .12; filter: grayscale(25%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 80%, transparent 100%);
  pointer-events: none;
}
.about-bg > .wrap { position: relative; z-index: 1; }

.pa-intro-band { max-width: 1180px; margin: 0 auto; padding: 52px 0 8px; }
.pa-intro { max-width: none; margin: 0; font-size: 18px; line-height: 1.8; color: var(--ink-soft); text-align: left; }
.pa-accordion-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; max-width: 1180px; margin: 0 auto; align-items: stretch; }
.pa-acc-col { min-width: 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .pa-accordion-grid { grid-template-columns: 1fr; } .pa-acc-col:first-child { border-bottom: 0; } }
.pa-acc-item { border-bottom: 1px solid var(--line); }
.pa-acc-col > .pa-acc-item:last-child { border-bottom: 0; }
.pa-acc-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 4px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--navy);
}
.pa-acc-item summary::-webkit-details-marker { display: none; }
.pa-acc-item summary::marker { content: ""; }
.pa-acc-toggle { flex: none; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; position: relative; margin-left: 20px; transition: all .2s; }
.pa-acc-toggle::before, .pa-acc-toggle::after { content: ""; position: absolute; background: var(--navy); transition: transform .2s; }
.pa-acc-toggle::before { top: 50%; left: 6px; right: 6px; height: 1px; transform: translateY(-50%); }
.pa-acc-toggle::after { left: 50%; top: 6px; bottom: 6px; width: 1px; transform: translateX(-50%); }
.pa-acc-item[open] .pa-acc-toggle { background: var(--navy); border-color: var(--navy); }
.pa-acc-item[open] .pa-acc-toggle::before, .pa-acc-item[open] .pa-acc-toggle::after { background: #fff; }
.pa-acc-item[open] .pa-acc-toggle::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.pa-acc-item:hover summary { color: var(--blue-ink); }
.pa-acc-body { padding: 0 4px 30px; max-width: 70ch; }
.pa-acc-body p { color: var(--ink-soft); margin-bottom: 16px; }
.pa-acc-body a.more { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.pa-acc-body a.more::after { content: " →"; }

.pa-layout { display: grid; grid-template-columns: 260px 1fr; gap: 64px; padding: 72px 0; }
.pa-nav { position: sticky; top: 108px; align-self: start; }
.pa-nav .label { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.pa-nav a {
  display: block; padding: 11px 0 11px 18px;
  border-left: 2px solid var(--line);
  color: var(--ink-soft); font-size: 15px;
  transition: all .2s;
}
.pa-nav a:hover, .pa-nav a.active { border-left-color: var(--blue); color: var(--navy); text-decoration: none; }
.pa-article { border-bottom: 1px solid var(--line); padding-bottom: 56px; margin-bottom: 56px; scroll-margin-top: 120px; }
.pa-article:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pa-article h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--navy); margin: 6px 0 8px; }
.pa-article .tagline { font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 17px; margin-bottom: 18px; }
.pa-article p { color: var(--ink-soft); margin-bottom: 16px; }
.pa-article ul { margin: 0 0 18px 20px; color: var(--ink-soft); }
.pa-article li { margin-bottom: 7px; }
.pa-article h4 { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin: 26px 0 10px; }
.pa-more { text-align: center; max-width: 640px; margin: 64px auto 0; color: var(--ink-soft); }
.pa-more b { color: var(--navy); }

/* ---------- publications ---------- */
.pub-list { max-width: 860px; margin: 0 auto; }
.pub {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 118px 1fr; gap: 34px;
}
.pub:last-child { border-bottom: 0; }
.pub .date {
  font-family: var(--serif); font-style: italic;
  color: var(--blue-ink); font-size: 15.5px; line-height: 1.5; padding-top: 4px;
}
.pub h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; color: var(--navy); line-height: 1.3; margin-bottom: 8px; }
.pub .byline { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.pub p { color: var(--ink-soft); font-size: 15.5px; }
.pub a.more { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: inline-block; margin-top: 12px; }
.pub a.more::after { content: " →"; }

/* ---------- social page ---------- */
.feed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 52px; }
.feed-col h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 20px; }
.feed-col h3 svg { width: 20px; height: 20px; fill: var(--blue); }
.post {
  background: #fff; border: 1px solid var(--line);
  border-radius: 4px; padding: 24px 26px; margin-bottom: 18px;
  transition: box-shadow .2s;
}
.post:hover { box-shadow: 0 10px 30px rgba(18,38,63,.09); }
.post .meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.post .avatar {
  width: 42px; height: 42px; border-radius: 3px;
  background: var(--navy); color: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 15px;
}
.post .who b { display: block; font-size: 14.5px; color: var(--navy); }
.post .who span { font-size: 12.5px; color: var(--ink-soft); }
.post p { font-size: 15px; color: var(--ink); }
.post .tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--blue); }
.fb-embed { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.note-box { background: var(--ice); border: 1px solid #cfe0ee; border-radius: 3px; padding: 22px 26px; font-size: 14.5px; color: var(--ink-soft); margin-top: 40px; }
.note-box b { color: var(--navy); }

/* ---------- publications teaser on home ---------- */
.teaser-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.teaser {
  background: var(--navy); color: #fff; padding: 32px 30px;
  border-radius: 3px; position: relative; overflow: hidden;
  transition: transform .25s;
}
.teaser, .teaser:hover { text-decoration: none; }
.teaser:hover { transform: translateY(-6px); }
.teaser::after { content: "§"; position: absolute; right: 14px; bottom: -14px; font-family: var(--serif); font-size: 96px; color: rgba(255,255,255,.06); }
.teaser .date { font-family: var(--serif); font-style: italic; color: var(--blue-soft); font-size: 14px; margin-bottom: 12px; display: block; }
.teaser h3 { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.teaser span.src { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #93a5b7; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--navy-deep), var(--navy));
  color: #fff; text-align: center; padding: 88px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 120%, rgba(54,146,208,.25), transparent 55%);
}
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; position: relative; }
.cta-band p { color: #b9c9d9; margin-bottom: 34px; position: relative; text-align: center; }
.cta-band .btn { position: relative; }

/* ---------- accreditation badges ---------- */
.badges { background: #eef1f4; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.badge-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 48px 56px; }
.badge-row img { height: 68px; width: auto; opacity: .82; filter: grayscale(100%); transition: opacity .2s; }
.badge-row img:hover { opacity: 1; }

/* ---------- footer ---------- */
footer.site { background: var(--navy-deep); color: #aebccb; padding: 70px 0 0; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 44px; padding-bottom: 54px; }
.foot-div { border-left: 1px solid var(--line-navy); padding-left: 34px; }
.foot-locations { font-size: 17px; line-height: 1.7; color: #d7e0e9; max-width: 32ch; }
.foot-grid img { height: 52px; width: auto; margin-bottom: 18px; }
.foot-tagline { text-align: center; color: #93a5b7; font-size: 14px; letter-spacing: .04em; padding-bottom: 34px; border-top: 1px solid var(--line-navy); padding-top: 28px; }
.foot-grid h4 { color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.foot-grid a { display: block; color: #aebccb; padding: 4px 0; }
.foot-grid a:hover { color: #fff; text-decoration: none; }
.foot-grid p { margin-bottom: 8px; }
.foot-div p { font-size: 17px; line-height: 1.7; color: #d7e0e9; }
#res-count, #pub-count { display: none; }

/* ---------- redesigned footer ---------- */
.foot-main { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr; gap: 48px; padding-bottom: 50px; align-items: start; }
.foot-brand-col .foot-brand img { height: 46px; width: auto; }
.foot-tag { color: #93a5b7; font-size: 14.5px; margin: 20px 0 22px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-navy); display: inline-flex; align-items: center; justify-content: center; color: #8fb7d8; transition: background .2s, border-color .2s, color .2s; }
.foot-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.foot-social svg { width: 21px; height: 21px; fill: currentColor; }
.foot-col h4 { color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.foot-col > a { display: block; color: #aebccb; padding: 6px 0; font-size: 15px; }
.foot-col > a:hover { color: #fff; text-decoration: none; }
.foot-col p { color: #cdd9e5; font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.foot-col p a { color: #cdd9e5; }
.foot-col p a:hover { color: #fff; }
/* News hub */
.news-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1040px; margin: 0 auto; }
.news-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 38px 34px; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: 0 14px 32px rgba(18,38,63,.12); transform: translateY(-2px); text-decoration: none; }
.news-card h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.news-card p { color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; }
.news-card .more { color: var(--blue-ink); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) { .news-hub { grid-template-columns: 1fr; } }

/* simple footer */
.foot-simple { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding-bottom: 40px; }
.foot-simple .foot-brand img { height: 88px; width: auto; }
.foot-simple .foot-social { justify-content: center; }
.foot-contact-line { color: #cdd9e5; font-size: 15px; }
.foot-contact-line a { color: #cdd9e5; }
.foot-contact-line a:hover { color: #fff; }
.foot-offices { color: #9fb6c9; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-top: -4px; }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 34px; }
.foot-bar .foot-brand img { height: 64px; width: auto; }
.foot-bar .foot-offices { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.foot-bar .foot-offices a { color: #cdd9e5; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; transition: color .2s; }
.foot-bar .foot-offices a:hover { color: #fff; }
.foot-bar .foot-offices .sep { color: #3a4d63; }
.foot-bar .foot-social { justify-content: flex-end; }
@media (max-width: 760px) { .foot-bar { justify-content: center; text-align: center; } }
.att-badges { margin-top: 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.att-badges .badge { height: 96px; width: auto; display: block; }
.legal .wrap.foot-legal2 { display: flex; justify-content: center; align-items: center; gap: 8px 22px; flex-wrap: wrap; text-align: center; }
.foot-legal2 .foot-disc a { color: #cdd9e5; text-decoration: underline; cursor: pointer; }
.foot-legal2 .foot-disc a:hover { color: #fff; }
@media (max-width: 860px) {
  .foot-main { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .legal .wrap.foot-legal2 { justify-content: center; text-align: center; }
}
@media (max-width: 480px) { .foot-main { grid-template-columns: 1fr; } }
.legal { border-top: 1px solid var(--line-navy); padding: 22px 0; font-size: 12.5px; color: #9fb0c1; }
.legal .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal .wrap.foot-legal { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.foot-legal .foot-copy { text-align: left; }
.foot-legal .foot-veterans { text-align: center; }
.foot-legal .foot-disc { text-align: right; }
.foot-legal .foot-disc a { color: #cdd9e5; text-decoration: underline; cursor: pointer; }
.foot-legal .foot-disc a:hover { color: #fff; }
@media (max-width: 820px) {
  .legal .wrap.foot-legal { grid-template-columns: 1fr; gap: 8px; }
  .foot-legal .foot-copy, .foot-legal .foot-disc { text-align: center; }
  .foot-legal .foot-veterans { order: -1; }
}

/* Disclaimer modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(11,26,44,.72); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.modal-overlay[hidden] { display: none; }
.modal-box { background: #fff; max-width: 560px; width: 100%; border-radius: 6px; padding: 40px 40px 36px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.modal-box h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--navy); margin-bottom: 16px; }
.modal-box p { color: var(--ink-soft); line-height: 1.7; font-size: 15px; text-align: left; }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.modal-close:hover { color: var(--navy); }
.legal-links a { color: #cdd9e5; text-decoration: underline; }
.legal-links a:hover { color: #fff; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .cards, .teaser-row { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .pa-layout { grid-template-columns: 1fr; }
  .pa-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .pa-nav .label { width: 100%; }
  .pa-nav a { border: 1px solid var(--line); border-radius: 40px; padding: 8px 16px; font-size: 13.5px; }
  .feed-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; row-gap: 30px; }
  .foot-div { border-left: 0; border-top: 1px solid var(--line-navy); padding-left: 0; padding-top: 24px; }
}
@media (max-width: 720px) {
  nav.main {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); flex-direction: column; gap: 0;
    padding: 10px 24px 20px; border-bottom: 1px solid var(--line-navy);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line-navy); }
  .menu-toggle { display: block; }
  .cards, .teaser-row { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 72px; padding-bottom: 72px; }
  .pub { grid-template-columns: 1fr; gap: 6px; }
  .topbar .wrap { flex-direction: column; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FULL-SITE COMPONENTS (v2 build)
   ============================================================ */

/* ---- nav dropdown ---- */
nav.main .dropdown { position: relative; }
nav.main .dropdown > a::after { content: " ▾"; font-size: 10px; opacity: .8; }
nav.main .dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; min-width: 210px; padding: 8px 0;
  box-shadow: 0 16px 40px rgba(18,38,63,.18); border-radius: 3px;
  opacity: 0; visibility: hidden; transition: all .18s; z-index: 60;
  border-top: 3px solid var(--blue);
}
nav.main .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
nav.main .dropdown-menu a {
  display: block; padding: 10px 22px; color: var(--ink); font-size: 12.5px;
  letter-spacing: .1em; border-bottom: 0; width: 100%;
}
nav.main .dropdown-menu a:hover { background: var(--ice); color: var(--navy); border-bottom: 0; }

/* ---- attorneys directory ---- */
.att-section { margin-bottom: 56px; scroll-margin-top: 130px; }
.att-tabs { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 92px; z-index: 40; }
.att-tabs .wrap { display: flex; gap: 8px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.att-tab {
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); padding: 9px 20px; border-radius: 40px; border: 1px solid var(--line);
  transition: all .2s;
}
.att-tab:hover { color: var(--navy); text-decoration: none; border-color: var(--blue); }
.att-tab.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.att-section h2 {
  font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--navy);
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 26px;
}
.att-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.att-card {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue);
  padding: 18px 20px; transition: transform .2s, box-shadow .2s;
}
.att-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18,38,63,.1); }
.att-card b { display: block; font-family: var(--serif); font-size: 17px; color: var(--navy); font-weight: 400; margin-bottom: 4px; }
.att-card span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---- results (verdicts / appeals / decisions) ---- */
.result-list { max-width: 900px; margin: 0 auto; }
.result {
  display: grid; grid-template-columns: 120px 1fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.result:last-child { border-bottom: 0; }
.result .rdate {
  font-family: var(--serif); font-style: italic; color: var(--blue-ink);
  font-size: 15.5px; line-height: 1.5; padding-top: 2px; white-space: nowrap;
}
.result .tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.result .badge {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--blue-ink); padding: 4px 12px; border-radius: 40px;
}
.result .badge.win { background: #1c7a4a; }
.result .court { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.result h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); margin-bottom: 12px; font-style: italic; }
.result p { color: var(--ink-soft); font-size: 15px; margin-bottom: 12px; }
.result .outcome { font-size: 14.5px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; }
.result .outcome b { color: #1c7a4a; }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info .row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .ic {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 3px; background: var(--ice);
  display: flex; align-items: center; justify-content: center;
}
.contact-info .ic svg { width: 20px; height: 20px; fill: var(--blue); }
.contact-info h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 5px; }
.contact-info p { color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 34px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--blue); }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.captcha-wrap { margin: 6px 0 20px; }
.captcha-slot { min-height: 78px; display: flex; align-items: center; }
.captcha-note { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.office-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.office-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 24px; }
.office-card b { display: block; font-family: var(--serif); font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.office-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---- social (MBI-style feed) ---- */
.social-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.channel-card {
  background: var(--navy); color: #fff; padding: 28px; border-radius: 4px; position: relative; overflow: hidden;
}
.channel-card.li { background: linear-gradient(140deg, #0a1f38, #0a66c2); }
.channel-card .chan-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.channel-card .chan-head svg { width: 26px; height: 26px; fill: #fff; }
.channel-card .chan-head b { font-size: 16px; letter-spacing: .04em; }
.channel-card .chan-head span { font-size: 12.5px; color: rgba(255,255,255,.7); display: block; }
.channel-card p { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.channel-card .stats-mini { display: flex; gap: 24px; margin-bottom: 18px; }
.channel-card .stats-mini b { font-family: var(--serif); font-size: 22px; display: block; }
.channel-card .stats-mini span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); }
.channel-card a.chan-btn { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.5); padding: 10px 18px; border-radius: 2px; }
.channel-card a.chan-btn:hover { background: rgba(255,255,255,.14); text-decoration: none; }

.feed-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 0 28px; flex-wrap: wrap; gap: 16px; }
.feed-sub { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; max-width: 56ch; }
.feed-head h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--navy); }
.feed-head .sync { font-size: 12.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.feed-head .sync .dot { width: 8px; height: 8px; border-radius: 50%; background: #1c7a4a; box-shadow: 0 0 0 3px rgba(28,122,74,.2); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(18,38,63,.13); }
.post-card .pimg { aspect-ratio: 16/9; background: var(--ice) center/cover no-repeat; position: relative; }
.post-card .pimg .plat {
  position: absolute; top: 12px; left: 12px; width: 30px; height: 30px; border-radius: 6px;
  background: #0a66c2; display: flex; align-items: center; justify-content: center;
}
.post-card .pimg .plat svg { width: 17px; height: 17px; fill: #fff; }
.post-card .pbody { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .pdate { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 8px; }
.post-card .ptext { font-size: 14.5px; color: var(--ink); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.post-card .plink { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.post-card .plink::after { content: " →"; }
.feed-loading { text-align: center; color: var(--ink-soft); padding: 40px; font-size: 15px; }

@media (max-width: 960px) {
  .att-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .office-cards, .social-intro, .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .att-grid, .office-cards, .social-intro, .post-grid { grid-template-columns: 1fr; }
  .contact-form .two { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .result .rdate { padding-top: 0; font-size: 14px; }
  nav.main .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 0 16px; background: transparent; border-top: 0; }
  nav.main .dropdown-menu a { color: #cfdae5; padding: 10px 0; }
  nav.main .dropdown-menu a:hover { background: transparent; color: #fff; }
  nav.main .dropdown > a::after { content: ""; }
  .captcha-slot { transform: scale(.95); transform-origin: left top; }
}

/* ============================================================
   v3 COMPONENTS — attorney photos/detail, results filter, admin
   ============================================================ */

/* attorney cards with photo */
.att-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
a.att-card { display: block; padding: 0; border-left: 0; border-top: 3px solid var(--blue); overflow: hidden; }
a.att-card .thumb { aspect-ratio: 3/4; background: var(--ice) center/cover no-repeat; position: relative; }
a.att-card .thumb.noimg { display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg,#12263f,#3692d0); }
a.att-card .thumb.noimg span { font-family: var(--serif); font-size: 42px; color: rgba(255,255,255,.85); }
a.att-card .meta2 { padding: 16px 18px 18px; }
a.att-card .meta2 b { display: block; font-family: var(--serif); font-size: 17px; color: var(--navy); font-weight: 400; margin-bottom: 4px; }
a.att-card .meta2 span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
a.att-card:hover { text-decoration: none; }
a.att-card:hover .meta2 b { color: var(--blue); }

/* attorney vCard-style cards */
.vcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vcard { position: relative; display: flex; background: var(--navy); border-radius: 12px; overflow: hidden; min-height: 190px; transition: box-shadow .2s, transform .2s; }
.vcard:hover { box-shadow: 0 14px 32px rgba(18,38,63,.28); transform: translateY(-2px); }
.vcard-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.vcard-header { padding: 20px 24px 16px; }
.vcard-name { text-decoration: none; }
.vcard-header .vcard-name b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: #fff; }
.vcard:hover .vcard-name b { color: var(--blue-soft); }
.vcard-header .vcard-role { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 2px; display: block; }
.vcard-contacts { padding: 16px 24px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vcard-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.vcard-row a { color: rgba(255,255,255,.85); position: relative; z-index: 2; }
.vcard-row a:hover { color: var(--blue-soft); text-decoration: underline; }
.vicon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--blue-ink); flex: none; }
.vicon svg { width: 14px; height: 14px; }
.vcard-photo { flex: none; width: 42%; background: var(--navy) center top/cover no-repeat; display: block; position: relative; z-index: 2; }
.vcard-photo.noimg { display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg,#12263f,#3692d0); }
.vcard-photo.noimg span { font-family: var(--serif); font-size: 32px; color: rgba(255,255,255,.85); }
/* whole-card click target: the name link stretches to cover the entire card */
.vcard-name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (max-width: 860px) { .vcard-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .vcard { flex-direction: column; } .vcard-photo { width: 100%; height: 190px; } }

/* attorney detail */
.att-detail { display: grid; grid-template-columns: 320px 1fr; gap: 56px; padding: 64px 0; align-items: start; }
.att-side { position: sticky; top: 108px; }
.att-side .portrait { width: 100%; border-radius: 4px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(18,38,63,.12); margin-bottom: 22px; }
.att-side .portrait.noimg { aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg,#12263f,#3692d0); }
.att-side .portrait.noimg span { font-family: var(--serif); font-size: 72px; color: rgba(255,255,255,.9); }
.att-side .sidebox { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px 24px; margin-bottom: 16px; }
.att-side .sidebox h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.att-side .sidebox ul { list-style: none; }
.att-side .sidebox li { font-size: 14.5px; color: var(--ink-soft); padding: 5px 0; border-bottom: 1px solid var(--line); }
.att-side .sidebox li:last-child { border-bottom: 0; }
.att-side .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.att-side .tags a { font-size: 12px; background: var(--ice); color: var(--navy); padding: 6px 12px; border-radius: 40px; letter-spacing: .03em; }
.att-side .tags a:hover { background: var(--blue); color: #fff; text-decoration: none; }
.att-side .contact-line { font-size: 14.5px; color: var(--ink); padding: 6px 0; display: flex; gap: 10px; }
.att-main .role { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.att-main h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px,4vw,46px); color: var(--navy); line-height: 1.1; margin-bottom: 22px; }
.att-main h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--blue); display: inline-block; }
.att-main p { color: var(--ink-soft); margin-bottom: 16px; }
.att-main ul.exp { margin: 0 0 10px 0; list-style: none; }
.att-main ul.exp li { color: var(--ink-soft); padding: 10px 0; border-bottom: 1px solid var(--line); }
.att-back { display: inline-block; margin-top: 40px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.att-back::before { content: "← "; }

/* attorney detail — Skadden-style redesign */
.att-idband { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--navy); }
.att-id-l { display: flex; align-items: center; }
.att-id-inner { width: 100%; padding: 56px 40px 56px 24px; }
.att-id-l .kicker { margin-bottom: 12px; color: var(--blue-soft); }
.att-id-l .kicker::before, .att-id-l .kicker::after { background: var(--blue-soft); }
.att-name { font-family: var(--serif); font-weight: 400; font-size: clamp(30px,4vw,44px); color: #fff; line-height: 1.1; margin-bottom: 10px; }
.att-subtitle { color: rgba(255,255,255,.78); font-size: 15.5px; }
.att-id-contact { display: flex; flex-direction: column; gap: 6px; margin: 20px 0 4px; }
.att-id-contact .contact-line { font-size: 14.5px; color: rgba(255,255,255,.9); }
.att-id-contact .contact-line a { color: rgba(255,255,255,.9); }
.att-id-contact .contact-email { display: flex; align-items: center; gap: 8px; margin: 2px 0; }
.att-id-contact .contact-email a { font-size: 13.5px; color: var(--blue-soft); word-break: break-all; flex: none; font-weight: 600; }
.att-id-contact .copy-email { display: inline-flex; align-items: center; justify-content: center; padding: 5px; border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.att-id-contact .copy-email:hover { background: #fff; color: var(--navy); }
.att-id-contact .copy-email.copied { background: #1c7a4a; border-color: #1c7a4a; color: #fff; }
.att-id-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.att-id-actions .btn.sm { padding: 12px 18px; font-size: 11.5px; letter-spacing: .08em; white-space: nowrap; }
.att-id-actions .btn.primary { background: var(--blue-soft); color: var(--navy); }
.att-id-actions .btn.primary:hover { background: #7cb4e0; }
.att-id-actions .btn.ghost.dark { border-color: rgba(255,255,255,.5); color: #fff; }
.att-id-actions .btn.ghost.dark:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 480px) {
  .att-id-actions { flex-direction: column; }
  .att-id-actions .btn.sm { width: 100%; text-align: center; }
}
.att-id-r { position: relative; min-height: 100%; }
.att-portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: right center; display: block; border: 0; }
.att-portrait.noimg { position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg,#12263f,#3692d0); min-height: 480px; }
.att-portrait.noimg span { font-family: var(--serif); font-size: 96px; color: rgba(255,255,255,.9); }
.att-caps { padding: 22px 0; border-bottom: 1px solid var(--line); }
.att-caps h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.att-caps .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.att-caps .tags a { font-size: 12px; background: var(--ice); color: var(--navy); padding: 6px 12px; border-radius: 40px; letter-spacing: .03em; }
.att-caps .tags a:hover { background: var(--blue); color: #fff; text-decoration: none; }
.att-content { padding-top: 44px; padding-bottom: 20px; }
.att-content .att-main { max-width: 860px; }
.cred-block { margin-bottom: 24px; }
.cred-block h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.cred-block ul { list-style: none; }
.cred-block ul li { font-size: 14.5px; color: var(--ink-soft); padding: 5px 0; border-bottom: 1px solid var(--line); }
.cred-block ul li:last-child { border-bottom: 0; }
@media (max-width: 760px) {
  .att-idband { grid-template-columns: 1fr; }
  .att-id-r { order: -1; min-height: 340px; }
  .att-id-inner { padding: 40px 24px; }
}

/* results filterable page */
.res-controls { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.res-tabs { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 5px; }
.res-tabs button { border: 0; background: transparent; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 9px 20px; border-radius: 40px; cursor: pointer; transition: all .2s; }
.res-tabs button.on { background: var(--navy); color: #fff; }
.res-search { flex: 1; min-width: 220px; display: flex; gap: 10px; }
.res-search input, .res-search select { padding: 11px 14px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--sans); font-size: 14px; background: #fff; color: var(--ink); }
.res-search input { flex: 1; }
.res-count { font-size: 13px; color: var(--ink-soft); margin: 18px 0; }
.res-panel { display: none; }
.res-panel.on { display: block; }
.res-empty { text-align: center; color: var(--ink-soft); padding: 50px; }

/* login + admin */
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 5px; padding: 40px; }
.auth-card h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.auth-card p.sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; }
.auth-card .field { margin-bottom: 18px; }
.auth-card label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.auth-card input, .admin-form input, .admin-form textarea, .admin-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--sans); font-size: 15px; background: var(--paper); color: var(--ink); }
.auth-card input:focus, .admin-form input:focus, .admin-form textarea:focus { outline: none; border-color: var(--blue); }
.auth-err { color: #b3261e; font-size: 13.5px; margin-top: 10px; display: none; }
.admin-form .field { margin-bottom: 18px; }
.admin-form label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.admin-note { background: var(--ice); border: 1px solid #cfe0ee; border-radius: 4px; padding: 18px 20px; font-size: 14px; color: var(--ink-soft); margin: 18px 0; }
.admin-json { width: 100%; min-height: 200px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; background: var(--navy-deep); color: #cfe0ee; border: 0; border-radius: 4px; padding: 18px; }
.pub-admin-list .pub-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pub-admin-list .pub-row b { font-family: var(--serif); font-weight: 400; color: var(--navy); }
.pub-admin-list .pub-row button { border: 1px solid var(--line); background: #fff; border-radius: 3px; padding: 6px 12px; font-size: 12px; cursor: pointer; }

@media (max-width: 960px) {
  .att-grid { grid-template-columns: 1fr 1fr; }
  .att-detail { grid-template-columns: 1fr; gap: 32px; }
  .att-side { position: static; max-width: 340px; }
}
@media (max-width: 720px) {
  .att-grid { grid-template-columns: 1fr 1fr; }
  .res-search { flex-direction: column; }
  .res-tabs { width: 100%; justify-content: center; }
}
@media (max-width: 480px) { .att-grid { grid-template-columns: 1fr; } }

/* ---- pager ---- */
.pager { display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-top:40px; }
.pager button { border:1px solid var(--line); background:#fff; color:var(--navy); font-family:var(--sans); font-size:13.5px; font-weight:600; padding:9px 14px; border-radius:3px; cursor:pointer; transition:all .15s; }
.pager button:hover:not(:disabled) { border-color:var(--blue); color:var(--blue); }
.pager button.on { background:var(--navy); color:#fff; border-color:var(--navy); }
.pager button:disabled { opacity:.4; cursor:default; }
.pager .dots { padding:9px 4px; color:var(--ink-soft); }
/* keep header logo readable on small screens */


/* ---- social feed: show faces fully (no crop) + solo channel card ---- */
.social-intro.solo { grid-template-columns: 1fr; max-width: 560px; }
.post-card .pimg { aspect-ratio: 4 / 3; background-color: var(--navy); background-size: contain; background-position: center; background-repeat: no-repeat; }

/* ---- brand: full logo lockup, sized by width so the firm name stays legible ---- */
.brand { display: inline-flex; align-items: center; }
.brand img { width: 290px; height: auto; display: block; }
.foot-brand { justify-content: flex-start; }
.foot-brand img { width: 220px; }
.foot-grid > div:first-child { text-align: left; }
@media (max-width: 960px){ .brand img { width: 250px; } }
@media (max-width: 720px){ .brand img { width: 210px; } }
@media (max-width: 400px){ .brand img { width: 180px; } }

/* ============================================================
   ACCESSIBILITY (WCAG 2.1 AA)
   ============================================================ */
/* Skip-to-content link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 3px;
  font-weight: 700; letter-spacing: .04em; transition: top .15s;
}
.skip-link:focus { top: 12px; text-decoration: none; outline: 3px solid #fff; outline-offset: 2px; }
#main { scroll-margin-top: 90px; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, .card:focus-visible, .att-card:focus-visible,
.teaser:focus-visible, .post-card:focus-visible, .res-tabs button:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 2px;
  border-radius: 2px;
}
/* On dark surfaces use a lighter ring for contrast */
.topbar a:focus-visible, header.site a:focus-visible, nav.main a:focus-visible,
footer.site a:focus-visible, .channel-card a:focus-visible, .skip-link:focus-visible {
  outline-color: #fff;
}
/* Form fields: keep the brand border AND add a clear focus ring for keyboard users */
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible,
.auth-card input:focus-visible, .admin-form input:focus-visible, .admin-form textarea:focus-visible,
.admin-form select:focus-visible, .res-search input:focus-visible, .res-search select:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .rise { opacity: 1 !important; transform: none !important; }
}

/* ---------- attorney authored publications ---------- */
.att-pubs { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.att-pubs li { border-bottom: 1px solid var(--line); }
.att-pubs li a { display: flex; gap: 14px; padding: 12px 0; color: var(--ink); font-size: 14.5px; align-items: baseline; line-height: 1.45; }
.att-pubs li a:hover { color: var(--blue-ink); text-decoration: none; }
.att-pubs .pd { color: var(--blue-ink); font-size: 12px; font-weight: 700; min-width: 40px; letter-spacing: .04em; flex: none; }
.att-main h3 .pubcount { color: var(--ink-soft); font-family: var(--sans); font-size: 15px; font-weight: 400; }
.att-side .contact-line { font-size: 14px; color: var(--ink); margin-bottom: 4px; word-break: break-word; }


/* ---------- breadcrumbs (attorney detail top) ---------- */
.crumbs { border-bottom: 1px solid var(--line); background: #eceef1; }
.crumbs .wrap { display: flex; align-items: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; font-size: 13px; flex-wrap: wrap; }
.crumbs a { color: var(--blue-ink); font-weight: 600; }
.crumbs span { color: var(--ink-soft); }
.crumbs .cur { color: var(--ink); font-weight: 600; }
.crumbs .crumbs-back { margin-left: auto; }

/* ---------- attorney contact card ---------- */
.att-side .contact-box .contact-line { font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.contact-email { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.contact-email a { font-size: 13.5px; color: var(--blue-ink); word-break: break-all; flex: 1; }
.copy-email { flex: none; border: 1px solid var(--line); background: #fff; color: var(--navy); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 3px; cursor: pointer; transition: all .15s; }
.copy-email:hover { border-color: var(--blue); color: var(--blue); }
.copy-email.copied { background: #1c7a4a; border-color: #1c7a4a; color: #fff; }
.contact-actions { display: flex; gap: 8px; }
.att-side .btn.sm { flex: 1; padding: 10px 8px; font-size: 11px; letter-spacing: .08em; text-align: center; white-space: nowrap; }
