/* ==========================================================================
   Attorney (Brother) page — mobile comp. Loads after styles.css and reuses
   its nav, large-quote band, CTA, trust banner, locations and footer.
   ========================================================================== */

:root { --ink-body: #3c4443; --at-pad: 20px; }

/* ---------- Attorney header ---------- */
.at-header { background: var(--dark); color: #fff; padding: 10px 0 64px; }
.at-portrait { width: 375px; max-width: 100%; height: auto; margin: 0 auto; display: block; }
.at-header-body { padding: 40px var(--at-pad) 0; display: grid; gap: 0; }
.at-header-body > * { min-width: 0; }
.at-crumbs {
  display: flex; align-items: center; gap: 12px;
  width: auto; max-width: calc(100vw - 40px); min-width: 0; flex-wrap: nowrap;
  border: 1px solid rgba(255 255 255 / .25); border-radius: 2px;
  padding: 8px 16px;
  font-size: 14px; line-height: 16.8px; color: rgba(255 255 255 / .8);
}
.at-crumbs a:hover { text-decoration: underline; }
.at-crumbs span { color: #fff; font-weight: 500; min-width: 0; }
.at-crumbs a { white-space: nowrap; }
.at-crumbs img { flex: none; }
.at-crumbs img { width: 7px; height: 12px; }
.at-header h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 36px; line-height: 40.32px; margin-top: 24px; max-width: 460px;
}
.at-role {
  font-family: var(--font-serif); font-style: italic;
  font-size: 24px; line-height: 29.76px; color: #c1c1c1; margin-top: 22px;
}
.at-facts { display: grid; gap: 20px; margin-top: 32px; width: 335px; max-width: 100%; }
.at-facts li {
  position: relative; padding-left: 24px;
  font-size: 16px; line-height: 24px;
}
.at-facts li::before {
  content: ""; position: absolute; left: 6px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: #fff;
}

/* ---------- Case results ---------- */
.at-results { padding: 36px var(--at-pad); }
.at-results h2 { font-size: 30px; line-height: 35.4px; color: var(--dark); margin-bottom: 12px; }
.at-results-btn { margin-top: 36px; }
.at-results-list { display: grid; }
.at-result {
  display: grid; gap: 0; justify-items: start;
  padding: 44px 0 43px; border-bottom: 1px solid var(--line);
}
.at-result .at-label { margin-top: 17px; }
.at-result .link-more { margin-top: 29px; }
.at-amount { font-family: var(--font-serif); font-size: 42px; line-height: 46.2px; color: var(--dark); }
.at-label { font-size: 18px; line-height: 27.9px; color: var(--ink-body); }
.at-result .link-more { font-size: 16px; line-height: 19.2px; }

/* ---------- Video ---------- */
.at-video { position: relative; margin: 0 var(--at-pad); }
.at-video > img { width: 100%; height: 258px; object-fit: cover; }
.at-video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.at-video-play img { width: 71px; height: 71px; }

/* ---------- Awards ---------- */
.at-awards {
  background: var(--gray-200);
  min-height: 254px;
  padding: 16px var(--at-pad);
  display: grid; align-content: center; gap: 24px;
}
.at-awards h2 { font-size: 24px; line-height: 29.76px; color: var(--dark); text-align: center; }
.at-awards-row { display: flex; align-items: center; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.at-awards-row::-webkit-scrollbar { display: none; }
.at-award { flex: none; display: grid; place-items: center; }
.at-award img { max-height: 72px; max-width: 128px; width: auto; }

.at-body-main, .at-body-side { display: contents; }

/* ---------- Attorney body ---------- */
.at-body { padding: 64px var(--at-pad); }
.at-body h2 { font-size: 30px; line-height: 35.4px; color: var(--dark); }
.at-body h2 em { font-style: normal; display: inline; }
.at-tabs { display: flex; gap: 8px; margin-top: 28px; }
.at-tab {
  padding: 10px 20px; border-radius: 2px;
  font-size: 16px; line-height: 19.2px; color: var(--ink);
  background: var(--gray-200);
}
.at-tab.is-active { background: var(--red); color: #fff; }
.at-copy { display: none; gap: 8px; margin-top: 32px; }
.at-copy.is-active { display: grid; }
.at-copy p { font-size: 16px; line-height: 24px; color: var(--ink-body); }
.at-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 20px; line-height: 30px;
  color: var(--ink); padding-left: 22px; border-left: 2px solid var(--red);
  margin: 24px 0;
}
.at-body-img { width: 100%; height: 254px; object-fit: cover; margin: 16px 0; }
/* the At Play panel's image slot — the comp ships it as an empty
   844x486 placeholder rectangle, so the container is drawn, artwork pending */
.at-body-placeholder { background: var(--gray-200); box-shadow: inset 0 0 0 1px var(--line); }
.at-rule { border: 0; border-top: 2px solid var(--line); margin: 40px 0 0; }
.at-sub { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 29.76px; margin-top: 36px; }
.at-edu { display: grid; gap: 24px; margin-top: 28px; }
.at-edu-item {
  background: var(--gray-200); padding: 22px 26px;
  border-left: 3px solid var(--red);
  font-family: var(--font-serif); font-size: 16px; line-height: 24px; color: var(--ink);
}
.at-edu-item em { font-style: italic; }
.at-team { display: grid; gap: 24px; margin-top: 28px; }
.at-member { display: flex; align-items: center; gap: 16px; }
.at-member img { width: 120px; height: 120px; object-fit: cover; flex: none; }
.at-member-name { font-family: var(--font-serif); font-size: 20px; line-height: 26px; color: var(--dark); }
.at-member-role { font-size: 18px; line-height: 27px; font-weight: 300; color: var(--ink-body); margin-top: 4px; }

/* ---------- In the news ---------- */
.at-news { background: var(--gray-200); padding: 64px var(--at-pad); display: grid; gap: 24px; }
.at-news h2 { font-size: 30px; line-height: 35.4px; margin-bottom: 20px; }
.at-news-card { background: #fff; padding: 28px 20px; display: grid; gap: 16px; justify-items: start; }
.at-news-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 20px; line-height: 26px; color: var(--ink); }
.at-news-card .link-more { margin-top: 6px; font-size: 16px; line-height: 19.2px; }

/* ---------- Client video ---------- */
.at-clients { padding: 36px var(--at-pad); display: grid; gap: 20px; justify-items: start; position: relative; }
.at-clients-text { display: grid; gap: 20px; justify-items: start; }
.at-lineart { display: none; }
.at-clients h2 { font-size: 30px; line-height: 35.4px; }
.at-clients-badge {
  width: 334px; max-width: 100%; min-height: 82px;
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  justify-items: start; gap: 4px 26px; padding: 12px 18px;
  border: 1px solid var(--line); padding: 12px 18px; margin: 0;
}
.at-clients-badge .badge-text { padding: 0; background: none; font-size: 19.36px; line-height: 27.45px; }
.at-client-video { position: relative; width: 100%; }
.at-client-video > img { width: 100%; height: 300px; object-fit: cover; display: block; }
.at-client-video .at-video-play img { width: 48px; height: 48px; }

/* ---------- Reviews ---------- */
.at-reviews-sec { padding: 36px 0; }
.at-reviews { padding-inline: var(--at-pad); gap: 32px; }
.at-reviews .review-card {
  width: 337px; max-width: 88vw; min-height: 0;
  background: var(--gray-200); padding: 40px 24px;
  display: grid; gap: 24px; align-content: start;
}
.at-reviews .review-card .stars { width: 116px; height: 19px; }
.at-reviews .review-card p { font-size: 16px; line-height: 24px; color: var(--review-ink); }
.at-reviews .review-card footer { display: grid; gap: 0; }
.at-reviews .review-card footer strong {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 18px; line-height: 26.1px; color: var(--review-ink);
}
.at-reviews .review-card footer span { font-size: 16px; line-height: 24px; color: #505050; }

/* ---------- CTA tweaks ---------- */
.at-cta .cta-copy { gap: 12px; }
.at-cta .cta-copy h2 { font-size: 30px; line-height: 35.4px; max-width: none; }
.at-cta .cta-copy p { font-size: 16px; line-height: 24px; }

/* ---------- Large quote band: stacked on this page (photo over text) ---------- */
.at-quote-band { min-height: 583px; padding: 36px var(--at-pad) 0; display: block; }
.at-quote-band .quote-split { display: flex; flex-direction: column-reverse; height: auto; background: transparent; padding: 0; }
.at-quote-band .quote-photo { position: relative; width: 100%; border-radius: 5px; }
.at-quote-band .quote-photo::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 87px;
  background: linear-gradient(to left, #222222 0%, rgba(34 34 34 / 0) 86.3%);
  border-radius: 0 5px 5px 0; pointer-events: none;
}
.at-quote-band .quote-photo img { width: 100%; max-width: 100%; height: 335px; object-fit: cover; object-position: center; transform: scaleX(-1); border-radius: 5px; display: block; }
.at-quote-band .quote-photo img.quote-photo-desktop { display: none; }
.at-quote-band .quote-block { padding: 0; margin-top: 28px; }
.at-quote-band .quote-text {
  font-family: var(--font-serif); font-style: italic;
  font-size: 18px; line-height: 25.2px; color: #fff; width: auto; max-width: 335px;
}
.at-quote-band .quote-attrib {
  background: transparent; padding: 0; margin-top: 34px; min-height: 0; gap: 16px;
}
.at-quote-band .quote-bar { height: 40px; width: 3px; }
.at-quote-band .quote-attrib { align-items: center; }
.at-quote-band .quote-attrib p {
  font-family: var(--font-serif); font-size: 15px; line-height: 18.6px;
  letter-spacing: 0; color: #fff;
}
.at-quote-band .attrib-name { font-weight: 700; }
.at-quote-band .attrib-role { font-size: 14px; line-height: 21px; color: var(--line); text-transform: none; }

.at-google { grid-row: 1 / 3; width: 34px; height: 32px; }
.at-clients-badge .at-stars { grid-column: 2; }
.at-clients-badge .badge-text { grid-column: 2; }

/* ==========================================================================
   Attorney — desktop (1440 comp)
   ========================================================================== */
@media (min-width: 1440px) {
  :root { --at-pad: 48px; }

  /* ---- header: copy left, full-bleed portrait right ---- */
  .at-header { min-height: 740px; padding: 0; position: relative; }
  .at-portrait {
    position: absolute; top: 0; right: 0;
    width: 740px; height: 740px; margin: 0; object-fit: cover;
  }
  .at-header-body { position: relative; padding: 225px 0 0 64px; max-width: 704px; }
  .at-crumbs { width: 429px; max-width: 429px; height: 40px; padding: 10px 16px; font-size: 16px; line-height: 19.2px; flex-wrap: nowrap; }
  .at-header h1 { font-size: 56px; line-height: 60.48px; max-width: 560px; margin-top: 32px; }
  .at-role { font-size: 32px; line-height: 38.4px; margin-top: 25px; }
  .at-facts { width: 560px; gap: 9px; margin-top: 36px; }
  .at-facts li { padding-left: 24px; font-size: 16px; line-height: 24px; }

  /* ---- case results: heading + button left, 3 across right ---- */
  .at-results {
    min-height: 304px;
    padding: 58px 48px 0 80px;
    display: grid;
    grid-template-columns: 480px 1fr;
    column-gap: 0;
    align-content: start;
  }
  .at-results h2 { grid-column: 1; font-size: 42px; line-height: 47.88px; margin-bottom: 28px; max-width: 400px; }
  .at-results-btn { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; margin: 0; font-size: 16px; line-height: 19.2px; padding: 12px 24px; min-height: 43px; border-radius: 2px; }
  .at-results-list {
    grid-column: 2; grid-row: 1 / 3;
    display: grid; grid-template-columns: repeat(3, 245px);
    column-gap: 32px;
  }
  .at-result { padding: 0 0 30px; border-bottom: 1px solid var(--line); align-content: start; }
  .at-amount { font-size: 42px; line-height: 46.2px; }
  .at-result .at-label { margin-top: 16px; font-size: 20px; line-height: 31px; }
  .at-result .link-more { margin-top: 30px; font-size: 16px; line-height: 19.2px; }

  /* ---- video ---- */
  .at-video { margin: 36px 80px; }
  .at-video > img { height: 738px; }

  /* ---- awards ---- */
  .at-awards { min-height: 246px; padding: 16px 48px; gap: 20px; }
  .at-awards h2 { font-size: 32px; line-height: 38.4px; }
  .at-awards-row { justify-content: center; gap: 82px; overflow: visible; width: 100%; padding: 0; }

  /* ---- body: copy left (844), education/team right (420) ---- */
  .at-body {
    min-height: 1563px;
    padding: 64px 48px;
    display: grid;
    grid-template-columns: minmax(0, 844px) 420px;
    justify-content: center;
    column-gap: 80px;
    align-items: start;
  }
  .at-body-main { display: block; }
  .at-body-side { display: block; }
  .at-body h2 { font-size: 42px; line-height: 47.88px; }
  .at-tabs { margin-top: 22px; }
  .at-copy { margin-top: 22px; gap: 18px; }
  .at-copy.is-active { display: grid; }
  .at-copy p { font-size: 18px; line-height: 27.9px; }
  .at-quote {
    font-size: 25px; line-height: 37.5px; border-left: 0;
    padding-left: 22px; margin: 24px 0;
  }
  .at-body-img { height: 487px; margin: 24px 0; }

  /* right column */
  .at-body-side .at-rule { width: 420px; margin: 0; border-top: 2px solid var(--line); }
  .at-body-side .at-rule:first-child { display: none; }
  .at-body-side .at-sub { font-size: 32px; line-height: 38.4px; margin: 0; }
  .at-body-side .at-rule + .at-sub { margin-top: 44px; }
  .at-edu { gap: 16px; margin-top: 24px; margin-bottom: 44px; }
  .at-edu-item { padding: 8px 18px; font-size: 16px; line-height: 24px; }
  .at-team { gap: 24px; margin-top: 28px; }
  .at-member-name { font-size: 24px; line-height: 30.72px; }
  .at-member-role { font-size: 18px; line-height: 27px; }

  /* ---- large quote band ---- */
  .at-quote-band {
    min-height: 735px; padding: 36px 48px;
    display: grid; grid-template-columns: 600px 600px;
    grid-template-rows: min-content min-content;
    justify-content: center; column-gap: 80px;
    align-content: center; align-items: center;
  }
  .at-quote-band .quote-split { display: contents; }
  .at-quote-band .quote-photo { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .at-quote-band .quote-photo img.quote-photo-mobile { display: none; }
  .at-quote-band .quote-photo img.quote-photo-desktop {
    display: block; width: 600px; height: 623px; object-fit: cover;
  }
  .at-quote-band .quote-photo { width: 600px; position: relative; border-radius: 0; }
  .at-quote-band .quote-photo img.quote-photo-mobile { display: none; }
  .at-quote-band .quote-photo img.quote-photo-desktop { width: 600px; border-radius: 0; }
  .at-quote-band .quote-photo::after {
    content: ""; position: absolute; inset: 0 0 0 auto; width: 155px;
    background: linear-gradient(to left, #222222 0%, rgba(34 34 34 / 0) 86.3%);
    pointer-events: none;
  }
  .at-quote-band .quote-block { grid-column: 2; grid-row: 1; align-self: end; margin: 0; padding: 0; }
  .at-quote-band .quote-text { font-size: 28px; line-height: 39.2px; max-width: none; }
  .at-quote-band .quote-attrib { grid-column: 2; grid-row: 2; align-self: start; margin-top: 34px; gap: 20px; }
  .at-quote-band .quote-attrib p { font-size: 24px; line-height: 29.76px; }
  .at-quote-band .attrib-role { font-size: 18px; line-height: 27px; }

  /* ---- news: 3 across ---- */
  .at-news {
    min-height: 488px; padding: 69px 48px;
    display: grid; grid-template-columns: repeat(3, 427px);
    justify-content: space-between; column-gap: 32px; row-gap: 0;
    align-content: start;
  }
  .at-news h2 { grid-column: 1 / -1; font-size: 42px; line-height: 47.88px; margin-bottom: 35px; }
  .at-news-card { padding: 28px 24px; gap: 12px; align-content: start; }
  .at-news-card h3 { font-size: 24px; line-height: 30.72px; }

  /* ---- client video: copy left, video right ---- */
  .at-clients {
    min-height: 746px; padding: 36px 48px;
    display: grid; grid-template-columns: 632px 632px;
    justify-content: space-between; align-content: center;
  }
  .at-clients { position: relative; align-content: end; }
  /* line-art motif from Figma: 6x 614px squares, staggered down-left */
  .at-clients { overflow: hidden; }
  .at-lineart {
    display: block; position: absolute; left: -186px; top: -487px;
    width: 769px; height: 769px; pointer-events: none; z-index: 0;
    background: url(../assets/img/attorney/lineart.svg) no-repeat 0 0 / 769px 769px;
  }
  .at-clients-text, .at-client-video { position: relative; z-index: 1; }
  .at-clients-text {
    grid-column: 1; grid-row: 1 / 3;
    align-self: end; justify-items: start;
    display: grid; gap: 0; position: relative;
    padding-bottom: 70px;
  }
  .at-clients h2 { font-size: 32px; line-height: 38.4px; max-width: none; white-space: nowrap; }
  .at-clients-badge { margin-top: 30px; }
  .at-client-video { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .at-client-video > img { width: 632px; height: 674px; }

  /* ---- reviews: 3 across ---- */
  .at-reviews-sec { min-height: 773px; padding: 36px 48px; }
  .at-reviews {
    display: grid; grid-template-columns: repeat(3, 405px);
    justify-content: space-between; overflow: visible; padding: 0; gap: 0;
  }
  .at-reviews .review-card { width: 405px; max-width: none; height: 587px; padding: 40px 32px; justify-items: start; text-align: left; gap: 32px; align-content: start; }
  .at-reviews-pager { grid-column: 1 / -1; margin-top: 28px; }
  .at-reviews .review-card p { font-size: 18px; line-height: 27.9px; }

  /* ---- CTA: image left, copy right ---- */
  .at-cta {
    min-height: 400px; padding: 0 48px 0 0;
    grid-template-columns: 680px minmax(0, 1fr);
    justify-content: start; align-items: center; column-gap: 80px;
  }
  .at-cta .cta-image { order: 1; width: 680px; height: 400px; object-fit: cover; }
  .at-cta .cta-copy { order: 2; padding: 0; }
  .at-cta .cta-copy h2 { font-size: 42px; line-height: 47.88px; }
  .at-cta .cta-copy p { font-size: 18px; line-height: 27.9px; margin: 20px 0 28px; }
  .at-cta { column-gap: 80px; grid-template-columns: 680px 1fr; padding: 0 48px 0 0; }
}

/* pagination rows for the award + review sliders */
.at-awards-pager, .at-reviews-pager { padding-block: 24px 0; }

@media (min-width: 1440px) {
  /* page is unconstrained — keep the fixed-width desktop rows centred */
  .at-results, .at-news, .at-clients, .at-reviews-sec { justify-content: center; column-gap: 80px; }
  .at-cta { justify-content: start; }
  .at-results { grid-template-columns: minmax(0, 480px) auto; }
  .at-news { column-gap: 32px; }
  .at-reviews { justify-content: center; column-gap: 32px; }
  .at-video, .at-body-img { max-width: 1344px; margin-inline: auto; }
}


/* ================= Attorney — Round 2 design update ================= */

/* ---- in-body quotes: red left stroke (comp) ---- */
.at-quote {
  border-left: 2px solid var(--red);
  padding-left: 22px;
  margin: 0;
}

/* ---- right-panel video ---- */
.at-side-video { position: relative; display: block; margin-top: 28px; }
.at-side-video img { width: 100%; display: block; }
.at-side-play { position: absolute; left: 14px; bottom: 14px; background: none; border: 0; padding: 0; cursor: pointer; }
.at-side-play img { width: 26px; height: 24px; }

/* ---- client testimonial: single video ---- */
.at-clients-head { display: grid; gap: 16px; }
.at-client-single { position: relative; display: block; margin-top: 32px; }
.at-client-single > img { width: 100%; height: 340px; object-fit: cover; display: block; }
.at-client-play { position: absolute; left: 35px; bottom: 36px; background: none; border: 0; padding: 0; cursor: pointer; }
.at-client-play img { width: 26px; height: 24px; }
.at-google { width: 26px; height: 25px; flex: none; }
.at-clients-badge {
  width: 334px; min-height: 82px; box-sizing: border-box;
  display: grid; grid-template-columns: 34px 1fr; align-items: center;
  column-gap: 24px; padding: 12px 16px;   /* 24 keeps the longer label on one line */
}
.at-clients-badge .at-google { grid-row: 1 / 3; align-self: center; width: 34px; height: 32px; }
.at-clients-badge .at-stars { grid-column: 2; align-self: end; }
.at-clients-badge .badge-text { grid-column: 2; padding: 0; background: none; font-size: 19.36px; line-height: 27.45px; }

@media (min-width: 1440px) {
  .at-body { min-height: 1603px; }
  .at-side-video { margin-top: 62px; }
  .at-side-video img { width: 380px; height: 213px; object-fit: cover; }
  .at-side-play { left: 22px; bottom: 22px; }
  .at-side-play img { width: 38px; height: 35px; }
  .at-quote { padding-left: 22px; margin-top: 37px; }
  .at-body-img { margin-top: 42px; }

  /* client testimonial matches the About single block (1440x919) */
  .at-clients {
    min-height: 919px; padding: 36px 48px; overflow: hidden;
    display: grid; grid-template-columns: 1fr; align-content: start; justify-content: stretch;
  }
  .at-clients-head { display: flex; justify-content: space-between; align-items: center; gap: 32px; justify-self: stretch; }
  .at-clients-head h2, .at-clients-head .reviews-badge { align-self: center; margin: 0; }
  .at-clients h2 { font-size: 42px; line-height: 47.88px; white-space: normal; max-width: 900px; }
  .at-client-single { width: 1344px; height: 672px; margin-top: 36px; }
  .at-client-single > img { width: 1344px; height: 672px; }
  .at-client-play { left: 26px; bottom: 26px; }
  .at-client-play img { width: 38px; height: 35px; }
}
