/* NYC Jewish Lawyer: phone first. Black end card, white page, one cobalt accent. */

:root {
  --ink: #0c0c0d;
  --ink-2: #19191b;
  --paper: #ffffff;
  --stone: #f4f2ee;
  --line: #e2dfd9;
  --line-2: #cfcbc4;
  --line-dark: #2c2c30;
  --text: #1d1c1a;
  --muted: #5d5a55;
  --muted-light: #a9a7a2;
  --accent: #2b48c9;
  --accent-deep: #1f379e;
  --accent-light: #9db0ff;
  --error: #b3261e;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --gutter: 20px;
  --wrap: 1180px;
  --radius: 10px;
  --dock-h: 66px;
  --top-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, input, textarea, label { -webkit-tap-highlight-color: rgba(43, 72, 201, .12); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

section[id] { scroll-margin-top: calc(var(--top-h) + 8px); }

/* ---------- type ---------- */

.kicker {
  font: 600 12px/1.35 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.kicker--light { color: var(--accent-light); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 11.4vw, 96px);
  line-height: .98;
  letter-spacing: -.028em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 8.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.022em;
  color: var(--ink);
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}

.body { overflow-wrap: anywhere; }
.body p:last-child, .lede p:last-child { margin-bottom: 0; }
.lede { font-size: 18px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.textlink:hover { color: var(--accent); }
.textlink--light { color: #fff; text-decoration-color: var(--accent-light); }
.textlink--light:hover { color: var(--accent-light); }
.textlink--arrow, .area__go { text-decoration: none; }
.textlink--arrow .u, .area__go .u {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.arr { display: inline-block; transition: transform .15s; }
.area__go:hover .arr { transform: translateX(3px); }
.textlink--arrow:hover .arr { transform: translateY(2px); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font: 600 16px/1.15 var(--sans);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
  max-width: 100%;
}
.btn .ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--accent); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }
.btn--paper { background: #fff; color: var(--ink); }
.btn--paper:hover { background: var(--accent-light); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: #fff; }
.btn--block { width: 100%; min-height: 56px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row .btn { flex: 1 1 auto; white-space: nowrap; padding: 0 16px; gap: 8px; }

/* ---------- top of page ---------- */

.preview-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: var(--accent); color: #fff;
  font: 600 13px/1 var(--sans); letter-spacing: .02em; text-align: center;
  padding: calc(9px + env(safe-area-inset-top)) 12px 9px;
}
.is-preview { padding-top: calc(31px + env(safe-area-inset-top)); }

.announce { background: var(--accent); color: #fff; font: 500 14px/1.4 var(--sans); }
.announce .wrap { padding-top: 10px; padding-bottom: 10px; text-align: center; }
.announce p { margin: 0; }
.announce a { color: #fff; text-underline-offset: 4px; }

.adline {
  font: 500 10.5px/1.2 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.adline .wrap { padding-top: 7px; padding-bottom: 7px; }

.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.mark { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-height: 44px; text-decoration: none; min-width: 0; }
.mark__brand {
  font: 700 14px/1.1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mark__by { font: italic 400 15px/1.15 var(--serif); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__right { display: flex; align-items: center; gap: 18px; flex: none; }
.top__phone { display: none; }
.lang { display: flex; align-items: center; }
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  font: 600 13px/1 var(--sans); letter-spacing: .1em;
  color: var(--muted); text-decoration: none;
}
.lang a + a { position: relative; }
.lang a + a::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); }
.lang a[aria-current] { color: var(--ink); }
.lang a[aria-current] span[aria-hidden] { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 3px; }

@media (min-width: 960px) {
  :root { --top-h: 76px; }
  .top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
  .is-preview .top { top: calc(31px + env(safe-area-inset-top)); }
  .top__in { min-height: 76px; }
  .mark__brand { font-size: 15px; }
  .mark__by { font-size: 16px; }
  .top__phone {
    display: inline-flex; align-items: center; min-height: 44px;
    font: 600 16px/1 var(--sans); letter-spacing: .01em; color: var(--ink); text-decoration: none;
    padding: 0 16px; border: 1.5px solid var(--ink); border-radius: var(--radius);
  }
  .top__phone:hover { background: var(--ink); color: #fff; }
}

/* ---------- hero ---------- */

.hero { padding: 0 0 56px; }
.hero__in { display: grid; grid-template-areas: "media" "head" "body"; }
.hero__in.no-photo { grid-template-areas: "head" "body"; padding-top: 40px; }
.hero__head { grid-area: head; padding-top: 30px; }
.hero__head .kicker { margin-bottom: 14px; }
.hero__media { grid-area: media; margin: 0 calc(-1 * var(--gutter)); }
.hero__body { grid-area: body; padding-top: 18px; }
.frame--hero { aspect-ratio: 545 / 288; }
.endcard {
  background: var(--ink); color: #fff;
  font: 700 12.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  text-align: center; padding: 15px 16px;
  overflow-wrap: anywhere;
}
.hero .textlink { margin-top: 14px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.facts li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.4; color: var(--text);
  overflow-wrap: anywhere;
}
.facts li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); transform: translateY(-2px); }

@media (min-width: 640px) and (max-width: 959px) {
  .hero__media { margin: 28px 0 0; }
  .frame--hero { max-width: 545px; }
  .hero__media .endcard { max-width: 545px; }
}

@media (min-width: 960px) {
  .hero { padding: 64px 0 88px; }
  .hero__in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 545px);
    grid-template-areas: "head head" "body media";
    column-gap: 72px;
    align-items: start;
  }
  .hero__in.no-photo { grid-template-areas: "head head" "body body"; padding-top: 0; }
  .hero__head { padding-top: 0; margin-bottom: 44px; }
  .hero__head .display { max-width: 15ch; }
  .hero__media { margin: 6px 0 0; }
  .hero__body { padding-top: 0; max-width: 560px; }
  .lede { font-size: 19px; }
  .cta-row .btn { flex: 0 1 auto; min-width: 170px; }
}
@media (min-width: 1200px) {
  .hero__head .display { max-width: none; }
}

/* ---------- intake form ---------- */

.intake { background: var(--stone); padding: 56px 0 64px; }
.intake__intro .body { color: var(--text); }
.direct { display: flex; align-items: center; gap: 14px; margin: 24px 0 32px; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); }
.direct__txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.direct__txt strong { font-weight: 600; font-size: 15px; }
.direct__txt a { font: 500 22px/1.3 var(--serif); color: var(--ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.direct__txt a:hover { color: var(--accent); }

.form { position: relative; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend {
  display: block; padding: 0;
  font: 600 15px/1.3 var(--sans); color: var(--ink);
  margin: 0 0 8px;
}
.field input, .field textarea {
  display: block; width: 100%;
  font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  padding: 13px 14px;
  min-height: 52px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f8b84; opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(43, 72, 201, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.field__err { font-size: 14px; font-weight: 500; color: var(--error); margin: 6px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; margin: 0; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center;
  min-height: 46px; padding: 0 18px;
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: 999px;
  font: 500 16px/1.15 var(--sans);
  transition: background-color .12s, border-color .12s, color .12s;
  pointer-events: none;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(43, 72, 201, .35); }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.fineprint { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }

.form__status:empty { display: none; }
.form__status { margin-top: 16px; }
.notice { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; font-size: 16px; line-height: 1.5; }
.notice p { margin: 0; }
.notice--error { border-left-color: var(--error); }
.notice .cta-row { margin-top: 14px; }
.notice a.inline { font-weight: 600; color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; white-space: nowrap; }

.form__done { display: none; outline: none; }
.form.is-sent .form__fields, .form.is-sent .form__status { display: none; }
.form.is-sent .form__done { display: block; }
.form__done-title { font: 500 30px/1.15 var(--serif); color: var(--ink); margin: 0 0 10px; }
.form__done-note { color: var(--muted); margin: 0; }

@media (min-width: 960px) {
  .intake { padding: 120px 0; }
  .intake__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: start; }
  .intake__intro { position: sticky; top: calc(var(--top-h) + 32px); }
  .form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px 36px 30px; }
  .form .field input, .form .field textarea { background: #fff; }
}

/* ---------- photos ---------- */

.frame { position: relative; display: block; overflow: hidden; background: #d9d6d0; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- practice ---------- */

.practice { padding: 72px 0; }
.practice__grid { display: grid; grid-template-areas: "head" "media" "list"; row-gap: 36px; }
.practice__grid.no-photo { grid-template-areas: "head" "list"; }
.practice__head { grid-area: head; }
.practice__head .h2 { margin-bottom: 16px; }
.practice__head .body { color: var(--text); max-width: 34em; }
.practice__media { grid-area: media; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.practice__media.n1 { grid-template-columns: minmax(0, 420px); }
.still { margin: 0; }
.frame--still { aspect-ratio: 4 / 5; }
.still figcaption { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 8px; overflow-wrap: anywhere; }

.areas { grid-area: list; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.area { border-bottom: 1px solid var(--line); }
.area__link { display: grid; grid-template-columns: 44px minmax(0, 1fr) 22px; align-items: start; padding: 22px 0 20px; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.area__txt { display: block; min-width: 0; }
.area__b { display: block; }
.area__chev { width: 20px; height: 20px; margin-top: 6px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s, stroke .15s; }
.area__link:hover .area__t, .area__link:focus-visible .area__t { color: var(--accent); }
.area__link:hover .area__chev { stroke: var(--accent); transform: translateX(3px); }
.area__link:active { background: rgba(0,0,0,.03); }
.area__n { font: 500 15px/1.9 var(--serif); color: var(--accent); font-feature-settings: "lnum", "tnum"; }
.area__t { font: 500 27px/1.15 var(--serif); letter-spacing: -.01em; color: var(--ink); margin: 0 0 6px; overflow-wrap: anywhere; }
.area__b { color: var(--muted); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.area__b p { margin: 0; }
.area__go {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; margin-top: 4px;
  font: 600 15px/1.2 var(--sans); color: var(--ink);
  text-decoration: none;
}
.area__go:hover { color: var(--accent); }

@media (min-width: 960px) {
  .practice { padding: 96px 0; }
  .practice__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    grid-template-areas: "media head" "media list";
    column-gap: 88px; row-gap: 48px;
    align-items: start;
  }
  .practice__grid.no-photo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list"; }
  .practice__media { grid-template-columns: 1fr; gap: 32px; position: sticky; top: calc(var(--top-h) + 32px); }
  .practice__media.n1 { grid-template-columns: 1fr; }
  .practice__media .still:nth-child(2) .frame--still { aspect-ratio: 1 / 1; }
  .area__link { grid-template-columns: 64px minmax(0, 1fr) 24px; padding: 28px 0 24px; }
  .area__t { font-size: 32px; }
  .area__n { font-size: 17px; line-height: 2.1; }
}

/* ---------- motorcycle ---------- */

.moto { background: var(--ink); color: #e8e6e1; padding: 0 0 72px; }
.moto__in { display: grid; }
.moto .frame--moto { aspect-ratio: 1000 / 940; margin: 0 calc(-1 * var(--gutter)); }
.moto__text { padding-top: 40px; }
.moto__in.no-photo .moto__text { padding-top: 72px; }
.moto .h2 { color: #fff; }
.moto .body { color: #d8d6d1; font-size: 18px; }
.moto .btn { margin-top: 30px; }

@media (min-width: 640px) and (max-width: 959px) {
  .moto { padding-top: 64px; }
  .moto .frame--moto { margin: 0; max-width: 440px; }
}
@media (min-width: 960px) {
  .moto { padding: 96px 0; }
  .moto__in { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); column-gap: 88px; align-items: center; }
  .moto__in.no-photo { grid-template-columns: minmax(0, 760px); }
  .moto .frame--moto { margin: 0; }
  .moto__text, .moto__in.no-photo .moto__text { padding-top: 0; }
  .moto .h2 { font-size: clamp(48px, 5vw, 66px); }
}

/* ---------- prior result ---------- */

.result { padding: 64px 0; border-bottom: 1px solid var(--line); }
.result .kicker { margin-bottom: 10px; }
/* Size follows the amount's length (--len, set by render) so it never wraps or overflows. */
.result__amount {
  --len: 8;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, min(18vw, calc(140vw / var(--len))), 168px);
  line-height: 1.04;
  letter-spacing: -.04em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  margin: 0 0 22px;
  font-feature-settings: "lnum";
}
.result__txt { max-width: 620px; }
.result__title { font: 500 24px/1.25 var(--serif); color: var(--ink); margin: 0 0 14px; overflow-wrap: anywhere; }
.result__disc {
  font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--ink);
  border-left: 3px solid var(--accent); padding: 2px 0 2px 12px;
  margin: 0 0 16px;
}
.result__body { color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }

@media (min-width: 960px) {
  .result { padding: 88px 0; }
  .result__amount { margin: 0 0 30px; }
  .result__txt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; max-width: 980px; align-items: start; }
  .result__title { font-size: 30px; margin: 0; }
  .result__disc { margin-top: 6px; }
  .result__body { grid-column: 2; }
}

/* ---------- about ---------- */

.about { background: var(--stone); padding: 64px 0 72px; }
.about__in { display: grid; row-gap: 36px; }
.frame--about { aspect-ratio: 1 / 1; max-width: 480px; }
.about .body { font-size: 17px; }
.about__firm { margin: 30px 0 0; }

/* ---------- socials under the hero ---------- */
.socrow { margin-top: 22px; }
.socrow__k { display: block; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.socs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.soc { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font: 600 14px/1 var(--sans); color: var(--ink); text-decoration: none; transition: border-color .15s, color .15s; }
.soc:hover { border-color: var(--accent); color: var(--accent); }
.soc__ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- The Barnes Firm: three-dot panel that opens in place ---------- */
.firm { margin-top: 28px; }
.firm summary { list-style: none; display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 16px 0 18px; border: 1.5px solid var(--ink);
  border-radius: var(--radius); font: 600 16px/1.2 var(--sans); color: var(--ink); cursor: pointer; user-select: none; }
.firm summary::-webkit-details-marker { display: none; }
.firm summary:hover { border-color: var(--accent); }
.firm summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.firm__dots { display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; }
.firm__dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.firm[open] .firm__dots { background: rgba(43, 72, 201, .12); color: var(--accent); }
.firm__body { margin-top: 14px; padding: 4px 0 4px 18px; border-left: 2px solid var(--accent); max-width: 520px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.firm__body p { margin: 0 0 8px; }
.firm__body p:last-child { margin: 0; }
.firm__k { font-weight: 600; color: var(--ink); }
.firm__link { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.firm--dark { margin-top: 4px; }
.firm--dark summary { color: #fff; border-color: rgba(255, 255, 255, .55); }
.firm--dark summary:hover { border-color: #fff; }
.firm--dark[open] .firm__dots { background: rgba(255, 255, 255, .14); color: #fff; }
.firm--dark .firm__body { color: rgba(255, 255, 255, .72); border-left-color: var(--accent-light); }
.firm--dark .firm__k, .firm--dark .firm__link { color: #fff; }
.firm--dark .firm__link { text-decoration-color: var(--accent-light); }
.foot .firm { margin: 22px 0 6px; }

@media (min-width: 960px) {
  .about { padding: 96px 0; }
  .about__in { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); column-gap: 88px; align-items: start; }
  .about__in.no-photo { grid-template-columns: minmax(0, 720px); }
  .about .body { font-size: 18px; max-width: 36em; }
}

/* ---------- credentials ---------- */

.creds { padding: 72px 0; }
.creds__in { display: grid; row-gap: 40px; }
.creds__list { margin: 8px 0 0; border-top: 1px solid var(--line); }
.cred { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cred dt { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; overflow-wrap: anywhere; }
.cred dd { margin: 0; font: 400 21px/1.35 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.creds__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.creds__media.n1 { grid-template-columns: minmax(0, 360px); }
.frame--cred { aspect-ratio: 4 / 5; }

@media (min-width: 960px) {
  .creds { padding: 96px 0; }
  .creds__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 88px; align-items: start; }
  .creds__in.no-photo { grid-template-columns: minmax(0, 760px); }
  .cred { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; padding: 22px 0; }
  .cred dt { margin: 5px 0 0; }
  .creds__media { grid-template-columns: 1fr; gap: 24px; padding-top: 8px; position: sticky; top: calc(var(--top-h) + 32px); }
  .creds__media.n2 .frame--cred:last-child { aspect-ratio: 1 / 1; width: 72%; justify-self: end; }
  .creds__media.n1 { grid-template-columns: 1fr; }
}

/* ---------- videos ---------- */

.videos { background: var(--stone); padding: 72px 0; }
.videos__in { display: grid; row-gap: 32px; }
.video { display: block; margin: 0; text-decoration: none; color: var(--ink); }
.frame--video { aspect-ratio: 940 / 438; }
.play {
  position: absolute; left: 16px; bottom: 16px; width: 56px; height: 56px;
  border-radius: 50%; background: rgba(255, 255, 255, .94);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
  transition: transform .15s;
}
.play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 3px; }
a.video:hover .play { transform: scale(1.06); }
.video__cap { display: block; margin-top: 12px; font: 500 19px/1.3 var(--serif); overflow-wrap: anywhere; }
.video__go { display: block; margin-top: 4px; font: 600 14px/1.4 var(--sans); color: var(--accent); }
.channels { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff;
  font: 500 15px/1.2 var(--sans); color: var(--ink); text-decoration: none;
  max-width: 100%; overflow-wrap: anywhere;
}
.pill:hover { border-color: var(--ink); }

@media (min-width: 960px) {
  .videos { padding: 96px 0; }
  .videos__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 80px; align-items: center; }
  .videos__in.no-photo { grid-template-columns: minmax(0, 760px); }
  .video { max-width: 680px; }
}

/* ---------- Spanish box ---------- */

.es-box { padding: 72px 0; }
.es-box__in { display: grid; row-gap: 32px; }
.frame--es { aspect-ratio: 540 / 420; max-width: 480px; }
.es-box__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }

@media (min-width: 960px) {
  .es-box { padding: 96px 0; }
  .es-box__in { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); column-gap: 88px; align-items: center; }
  .es-box__in.no-photo { grid-template-columns: minmax(0, 720px); }
}

/* ---------- closing end card ---------- */

.close { background: var(--ink); color: #e8e6e1; padding: 72px 0 64px; }
.close__name {
  font: 700 clamp(22px, 6.4vw, 54px)/1.1 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.close__tag { font: italic 400 clamp(26px, 6.6vw, 44px)/1.15 var(--serif); color: #d8d6d1; margin: 0 0 22px; overflow-wrap: anywhere; }
.close__body { color: #bdbab4; max-width: 34em; overflow-wrap: anywhere; }
.close__phone {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 400 clamp(40px, 11vw, 76px)/1 var(--serif); letter-spacing: -.02em;
  color: #fff; text-decoration: none; margin: 30px 0 0;
  white-space: nowrap;
}
.close__phone:hover { color: var(--accent-light); }
.close .cta-row { max-width: 420px; }
.close__grid { display: grid; gap: 26px; margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line-dark); }
.close__grid h3 { font: 600 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); margin: 0 0 8px; }
.close__grid p { margin: 0; overflow-wrap: anywhere; }

@media (min-width: 720px) {
  .close__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .close { padding: 96px 0 72px; }
  .close__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
}

/* ---------- footer ---------- */

.foot { background: #000; color: var(--muted-light); font-size: 14px; line-height: 1.6; padding: 40px 0 44px; }
.foot p { margin: 0 0 12px; overflow-wrap: anywhere; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: #e8e6e1; text-underline-offset: 3px; overflow-wrap: anywhere; }
.foot a:hover { color: #fff; }
.foot__adv { font: 600 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.foot__brand strong { color: #fff; font-weight: 600; }
.foot__addr { font-style: normal; margin: 0 0 12px; overflow-wrap: anywhere; }
.foot__addr a { padding: 0; }
.foot__social { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot__social a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__legal { color: #8d8b86; }
.foot__end a { padding: 0; }

/* ---------- phone dock: Call and Text ---------- */

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid var(--line);
  transition: transform .2s ease;
}
.dock .btn { min-height: 50px; padding: 0 12px; font-size: 16px; border-radius: 12px; }
.kb-open .dock { transform: translateY(110%); }

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .foot { padding-bottom: 48px; }
}

/* Phones: the social pills are one swipeable row instead of three ragged lines. */
@media (max-width: 599px) {
  .socs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 2px; scroll-padding: 0 var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .socs::-webkit-scrollbar { display: none; }
  .socs li { flex: none; }
}
.hero__body, .socrow { min-width: 0; max-width: 100%; }
.firm__link { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- menu (drops down from the header, works without JS) ---------- */
@media (max-width: 959px) { .top { position: relative; z-index: 50; } }
.menu { position: static; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 4px;
  cursor: pointer; font: 600 15px/1 var(--sans); letter-spacing: .02em; color: var(--ink);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.menu__bars { position: relative; display: block; width: 22px; height: 14px; }
.menu__bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu__bars i:nth-child(1) { top: 0; }
.menu__bars i:nth-child(2) { top: 6px; }
.menu__bars i:nth-child(3) { top: 12px; }
.menu[open] .menu__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu__bars i:nth-child(2) { opacity: 0; }
.menu[open] .menu__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu__lbl { display: none; }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  background: var(--paper, #fff); border-top: 3px solid var(--accent); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(12, 12, 13, .14);
  padding: 8px var(--gutter) 20px; max-height: calc(100vh - 120px); overflow-y: auto;
  animation: menuIn .18s ease-out;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex; align-items: center; min-height: 56px; text-decoration: none;
  font: 600 17px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.menu__list a:hover, .menu__list a[aria-current] { color: var(--accent); }
.menu__cta { display: flex; gap: 10px; max-width: 1200px; margin: 18px auto 0; }
.menu__cta .btn { flex: 1 1 0; }
@media (min-width: 640px) { .menu__lbl { display: inline; } }
@media (min-width: 960px) {
  .menu__panel { padding: 12px var(--gutter) 28px; }
  .menu__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
  .menu__cta { max-width: 1200px; justify-content: flex-start; }
  .menu__cta .btn { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .menu__panel { animation: none; } .menu__bars i { transition: none; } }

/* ---------- about page ---------- */
.about__more { display: inline-flex; min-height: 44px; align-items: center; margin-top: 18px; }
.about--page { background: var(--paper, #fff); padding-top: 40px; }
.about__h1 { margin: 0 0 20px; }
.about--page .cta-row { margin-top: 26px; }
@media (min-width: 960px) { .about--page { padding-top: 72px; } }
@media (max-width: 639px) {
  .top__in { gap: 6px; }
  .top__right { gap: 2px; }
  .mark__brand { letter-spacing: .12em; font-size: 13px; }
  .menu__btn { min-width: 44px; justify-content: flex-end; }
}
.about--page .about__h1 { font-size: clamp(44px, 9vw, 76px); line-height: 1; }
.menu__cta .btn { white-space: nowrap; padding: 0 14px; gap: 8px; flex: 1 1 auto; }
.menu:not([open]) .menu__panel { display: none; }

/* ---------- spacing tighten (Muse re-grade, Nov 24): no section gap over ~64px on desktop, ~48px on phones ---------- */
.practice, .creds, .videos, .es-box { padding: 56px 0; }
.about { padding: 56px 0 56px; }
.result { padding: 48px 0; }
.intake { padding: 48px 0 56px; }
.moto { padding-bottom: 56px; }
.close { padding: 56px 0 48px; }
.close__grid { margin-top: 36px; padding-top: 28px; }
.foot { padding-top: 32px; }
@media (min-width: 960px) {
  .hero { padding: 48px 0 56px; }
  .hero__head { margin-bottom: 32px; }
  .intake { padding: 72px 0; }
  .practice, .creds, .videos, .es-box, .about, .moto { padding: 64px 0; }
  .result { padding: 56px 0; }
  .close { padding: 64px 0 48px; }
  .about__in, .creds__in { align-items: center; }
  .creds__media { position: static; }
  .moto__in { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
  .moto .frame--moto { max-width: 380px; }
}
.moto .frame--moto { aspect-ratio: 1 / 1; }
/* second pass: every band between sections stays under ~80px */
.practice, .creds, .videos, .es-box, .about, .result, .intake { padding: 36px 0; }
.moto { padding-bottom: 36px; }
.close { padding: 40px 0 36px; }
.foot { padding-top: 28px; }
@media (min-width: 960px) {
  .hero { padding: 36px 0 40px; }
  .practice, .creds, .videos, .es-box, .about, .moto, .result, .intake { padding: 40px 0; }
  .close { padding: 44px 0 40px; }
}
.hero { padding-bottom: 20px; }
.result { padding-bottom: 24px; }
@media (min-width: 960px) {
  .practice { padding-top: 16px; }
  .result { padding-bottom: 24px; }
  .creds { padding-bottom: 20px; }
}
@media (min-width: 960px) { .intake { padding-bottom: 28px; } }

/* ---------- Nov 24 round 2: fill the form's left column, result side by side, no Harley photo ---------- */
.next { margin: 0 0 24px; padding: 20px 0 0; border-top: 1px solid var(--line-2); }
.next__h { font: 600 15px/1.3 var(--sans); letter-spacing: .02em; color: var(--ink); margin: 0 0 12px; }
.next__list { margin: 0; padding: 0; list-style: none; counter-reset: n; }
.next__list li { counter-increment: n; position: relative; padding: 0 0 12px 36px; font-size: 16px; line-height: 1.5; color: var(--text); }
.next__list li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px/24px var(--sans); text-align: center; }
.facts--intake { margin-top: 8px; }
@media (max-width: 959px) { .facts--intake { display: none; } }
@media (min-width: 960px) {
  .intake__intro { position: static; }
  .intake__in { align-items: start; }
  .result__row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 64px; align-items: center; }
  .result__amount { margin: 0; font-size: clamp(72px, 8.5vw, 128px); }
  .result__txt { display: block; max-width: 520px; }
  .result__title { margin: 0 0 12px; }
  .result__disc { margin-top: 0; }
  .es-box__in { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); column-gap: 64px; }
}
.moto__in.no-photo .moto__text { padding-top: 36px; } @media (min-width: 640px) { .moto { padding-top: 40px; } .moto__in.no-photo .moto__text { padding-top: 0; } }
@media (min-width: 960px) {
  .moto__in.no-photo { grid-template-columns: minmax(0, 1fr); }
  .moto__in.no-photo .moto__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .moto__in.no-photo .moto__text > .kicker { grid-column: 1; grid-row: 1; }
  .moto__in.no-photo .moto__text > .h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .moto__in.no-photo .moto__text > .body { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; }
  .moto__in.no-photo .moto__text > .btn { grid-column: 2; grid-row: 3; justify-self: start; }
}

/* ---------- Nov 24 round 4 (Muse measures joins content-to-content; target under 60px) ---------- */
.practice, .creds, .videos, .es-box, .about, .result, .intake, .moto { padding-top: 24px; padding-bottom: 24px; }
.close { padding: 28px 0 24px; }
.foot { padding: 24px 0 24px; }
.body > p:last-child, .lede > p:last-child, .result__body > p:last-child, .creds__list, .facts { margin-bottom: 0; }
.creds__media.n1 .frame--cred { aspect-ratio: 1 / 1; }
@media (min-width: 960px) {
  .hero { padding-bottom: 24px; }
  .practice, .creds, .videos, .es-box, .about, .result, .intake, .moto { padding-top: 28px; padding-bottom: 28px; }
  .close { padding: 32px 0 28px; }
  .foot { padding: 28px 0 24px; }
  body { padding-bottom: 0; }
}
.area:last-child .area__link { padding-bottom: 4px; }
.cred:last-child { padding-bottom: 4px; }
.facts li:last-child { padding-bottom: 4px; }
.moto .btn { margin-top: 20px; }
.moto__in.no-photo .moto__text { padding-top: 0; }
@media (min-width: 960px) {
  .practice, .creds, .videos, .es-box, .about, .result, .intake, .moto { padding-top: 24px; padding-bottom: 24px; }
  .close { padding-top: 28px; }
}
