/* ==========================================================================
   Lakemont Law Group, "Counsel"
   Built to the reference direction: deep navy, cream, and a single gold.
   Inter carries everything; Instrument Serif italic is used only for the
   small eyebrows and the words that are allowed to lift out of a heading.

   Mobile first. Every breakpoint below is min-width.
   Breakpoints: 560 / 768 / 1024 / 1280
   ========================================================================== */

:root {
  --navy:      #001624;
  --navy-2:    #04202F;   /* cards on navy */
  --navy-3:    #0A2A3B;   /* hover on navy */
  --cream:     #FDF9F4;
  --white:     #FFFFFF;
  --gold:      #D1902E;
  --gold-lt:   #E3A845;
  --gold-dk:   #96641A;
  --ink:       #001624;
  --muted:     #3C4B55;   /* body copy on cream, 8.6:1 */
  --muted-d:   #C2CDD4;   /* body copy on navy, 11.4:1 */
  --line:      #E6DED2;
  --line-d:    rgba(253, 249, 244, 0.16);

  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --r-card: 10px;
  --r-lg:   20px;
  --r-pill: 50px;

  --ease:    cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* -------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, address, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--navy); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  padding: 14px 20px; background: var(--gold); color: var(--navy);
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

.shell { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px)  { .shell { padding-inline: 32px; } }
@media (min-width: 1280px) { .shell { padding-inline: 0; } }

/* -------------------------------------------------------------- typography */
/* The eyebrow is the one piece of ornament the page repeats: an italic
   serif line in gold, sitting above almost every heading. */
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.2;
  color: var(--gold);
}
/* On cream, plain gold reads at 2.6:1. The darker tone clears AA. */
.eyebrow--l { color: var(--gold-dk); }

.h1 {
  font-size: clamp(36px, 6.6vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.h2 {
  font-size: clamp(29px, 4.2vw, 48px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.lede { font-size: 16.5px; line-height: 1.7; }
@media (min-width: 768px) { .lede { font-size: 17px; } }
.body { font-size: 16px; line-height: 1.75; }

.muted   { color: var(--muted); }
.muted-d { color: var(--muted-d); }
.on-navy { color: var(--cream); }

/* A serif italic word lifted out of a sans heading. */
.lift { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: 0; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 18px 12px 22px;
  border: 0; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color 280ms var(--ease-io), color 280ms var(--ease-io), border-color 280ms var(--ease-io);
}
/* The small circled arrow that follows every call to action. */
.btn__dot {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 100%;
  background: var(--navy); color: var(--gold);
  transition: transform 520ms var(--ease-io), background-color 280ms var(--ease-io), color 280ms var(--ease-io);
}
.btn__dot svg { width: 12px; height: 12px; }
.btn:hover .btn__dot { transform: translateX(4px) rotate(45deg); }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-lt); }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--navy-3); }
.btn--navy .btn__dot { background: var(--gold); color: var(--navy); }
.btn--ghost { border: 1px solid var(--line-d); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost .btn__dot { background: var(--gold); color: var(--navy); }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 56px; padding: 15px 22px 15px 28px; font-size: 15.5px; }

/* A plain gold link with a rule under it and an arrow that slides. */
.alink {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--gold);
  text-decoration: underline; text-underline-offset: 5px;
  text-decoration-thickness: 1px; text-decoration-color: rgba(209, 144, 46, 0.45);
}
.alink svg { width: 16px; height: 16px; transition: transform 460ms var(--ease-io); }
.alink:hover svg { transform: translateX(6px); }

/* -------------------------------------------------------------- announce */
.announce {
  background: var(--gold); color: var(--navy);
  font-size: 13.5px; font-weight: 500; text-align: center;
}
/* The bar is kept to one line, but the telephone link inside it still has to
   be a 44px target, so the bar takes its height from the link. */
.announce p { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; min-height: 44px; }
.announce a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; text-decoration: none; font-weight: 600; }
.announce span { display: none; }
@media (min-width: 768px) { .announce span { display: inline; } }

/* ---------------------------------------------------------------- header */
.head {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy);
  border-bottom: 1px solid transparent;
  transition: box-shadow 320ms var(--ease-io), border-color 320ms var(--ease-io);
}
.head.is-stuck { border-bottom-color: var(--line-d); box-shadow: 0 10px 30px rgba(0, 10, 18, 0.35); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
/* The lockup never exceeds 175px anywhere on the site. */
.brand img { width: 160px; max-width: 175px; }
@media (min-width: 560px)  { .brand img { width: 175px; } }
@media (min-width: 1024px) { .brand img { width: 175px; } }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 4px; }
  .nav > li { position: relative; }
  .nav__a {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; padding-inline: 12px;
    font-size: 14px; font-weight: 500; color: var(--cream); text-decoration: none;
    transition: color 240ms var(--ease-io);
  }
  .nav__a:hover { color: var(--gold); }
  .nav__a svg { width: 11px; height: 11px; transition: transform 340ms var(--ease-io); }
  .nav > li.is-open .nav__a svg { transform: rotate(180deg); }
  .nav > li.is-open .nav__a { color: var(--gold); }

  /* The dropdowns are opened by the script, so with no script the links in
     them are still reachable from the footer and the pages themselves. */
  .drop {
    position: absolute; left: 0; top: calc(100% + 10px); z-index: 5;
    min-width: 232px; padding: 8px;
    background: var(--navy-2); border: 1px solid var(--line-d); border-radius: var(--r-card);
    box-shadow: 0 24px 50px rgba(0, 8, 14, 0.45);
  }
  /* The panel sits 10px clear of the menu item for the look of it, which
     leaves a strip the pointer has to cross with nothing under it. This
     bridges that strip, so moving down from the item to the panel never
     leaves the list item and the menu cannot close under the cursor. It is
     part of .drop, so it only exists while the panel is open. */
  .drop::before {
    content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  }
  .drop a {
    display: block; padding: 11px 14px; border-radius: 6px;
    font-size: 14px; color: var(--cream); text-decoration: none;
    transition: background-color 220ms var(--ease-io), color 220ms var(--ease-io);
  }
  .drop a:hover { background: var(--navy-3); color: var(--gold); }
}

.head__end { display: flex; align-items: center; gap: 10px; }
.head__end .btn { display: none; }
@media (min-width: 560px) { .head__end .btn { display: inline-flex; } }

.burger {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  background: none; border: 1px solid var(--line-d); border-radius: 8px;
  color: var(--cream); cursor: pointer;
}
.burger span { display: block; width: 18px; }
.burger i { display: block; height: 1.5px; background: currentColor; transition: transform 320ms var(--ease-io); }
.burger i + i { margin-top: 5px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] i + i { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

/* ---------------------------------------------------------------- drawer */
.drawer {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  /* Clears the announcement bar and the masthead stacked above it, so the
     first link is never tucked under the logo. */
  padding: 124px 20px 26px; background: var(--navy); overflow-y: auto;
}
.drawer__nav a {
  display: flex; align-items: center; gap: 14px;
  min-height: 58px; padding-block: 8px;
  border-bottom: 1px solid var(--line-d);
  font-size: 21px; font-weight: 500; color: var(--cream); text-decoration: none;
}
.drawer__i { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--gold); }
.drawer__foot { padding-top: 26px; }
.drawer__tel { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 22px; font-weight: 600; color: var(--cream); text-decoration: none; }
.drawer__addr { margin-top: 4px; font-size: 14.5px; line-height: 1.7; color: var(--muted-d); }

/* ------------------------------------------------------------------ hero */
/* A shade off the header's navy on purpose. While the photograph is still
   loading the two would otherwise merge into one tall dark block, and the
   header's contents then look stranded at the top of it. */
/* The photograph is a background rather than an element in the flow. As an
   <img> it was being translated for parallax with no headroom, which pulled
   it away from the top and opened a band of bare colour under the header.
   A background cannot drift: it is painted into the box and clipped to it. */
.hero {
  position: relative;
  background-color: #0A2130;
  background-image: url("../img/c-hero.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
/* The picture is never cropped horizontally and stays centred, so the group
   is whole and their faces sit above the type. The scrim is built to leave
   the upper half clear and darken only the lower half, where the headline
   goes, which matters here because the photograph is a bright one. */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(0,22,36,0.96) 0%, rgba(0,22,36,0.86) 30%, rgba(0,22,36,0.4) 56%, rgba(0,22,36,0.3) 100%);
}
@media (min-width: 860px) {
  .hero__scrim {
    background:
      linear-gradient(0deg, rgba(0,22,36,0.96) 0%, rgba(0,22,36,0.82) 26%, rgba(0,22,36,0.3) 54%, rgba(0,22,36,0.22) 100%),
      linear-gradient(90deg, rgba(0,22,36,0.5) 0%, rgba(0,22,36,0.14) 52%, rgba(0,22,36,0.28) 100%);
  }
}
.hero__in {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(540px, 86vh, 820px);
  padding-block: 56px 44px;
}
@media (min-width: 1024px) { .hero__in { padding-block: 90px 64px; } }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: end; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 54px; } }
.hero__h { margin-top: 14px; max-width: 14ch; color: var(--cream); }
.hero__side { max-width: 46ch; }
.hero__p { color: #D7E0E5; }
.hero__cta { margin-top: 20px; }

/* --------------------------------------------------------------- marquee */
/* Duplicated in the markup and moved by the script. With no script it simply
   sits still, which is why the first copy alone already reads correctly. */
.marq { overflow: hidden; background: var(--gold); color: var(--navy); }
.marq__track { display: flex; width: max-content; }
.marq__set { display: flex; align-items: center; flex: 0 0 auto; padding-block: 13px; }
.marq__set span {
  display: inline-flex; align-items: center;
  padding-inline: 22px;
  font-size: clamp(17px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.01em;
  text-transform: uppercase; white-space: nowrap;
}
.marq__set i { font-style: normal; font-size: 18px; opacity: 0.7; }

/* --------------------------------------------------------------- section */
.sec { padding-block: 56px; }
@media (min-width: 768px)  { .sec { padding-block: 76px; } }
@media (min-width: 1024px) { .sec { padding-block: 104px; } }
.sec--cream { background: var(--cream); }
.sec--navy  { background: var(--navy); color: var(--cream); }
.sec--tight { padding-block: 44px; }

/* ------------------------------------------------------------------ intro */
/* The row runs the full container, so its edges line up with the header and
   the hero. The width is filled rather than narrowed: the picture column
   carries a figure card, and the fact rail underneath spans the lot. */
.intro { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 1024px) {
  .intro { grid-template-columns: minmax(0, 1fr) 470px; gap: clamp(48px, 5.5vw, 80px); }
}
.intro__h { margin-top: 16px; max-width: 15ch; }
.intro__p { margin-top: 20px; max-width: 54ch; }
.intro__cta { margin-top: 28px; }

/* the assurance card under the copy */
.vouch {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 26px; padding: 18px 20px; max-width: 440px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
}
.vouch__tick {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 100%;
  background: var(--gold); color: var(--navy);
}
.vouch__tick svg { width: 17px; height: 17px; }
.vouch b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.vouch__body > span { display: block; margin-top: 5px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
/* The gold blade sits behind the picture, clipped to a long slant. */
.blade { position: relative; }
.blade::before {
  content: ""; position: absolute; z-index: 0;
  inset: 14% -6% 14% 18%;
  background: var(--gold);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}
.blade img { position: relative; z-index: 1; border-radius: var(--r-card); }
/* Capped and centred while the layout is a single column too, otherwise a
   tablet gives this one portrait most of a screen. */
.intro__fig { position: relative; max-width: 420px; margin-inline: auto; }
.intro__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 1024px) {
  .intro__fig { max-width: none; margin-inline: 0; }
  .intro__fig img { aspect-ratio: 3 / 4; }
}

/* The figure card. It sits inside the picture on small screens, where
   hanging it outside would push past the container, and steps out over the
   column gap once there is room for it. */
.fig__fact {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; width: 198px;
  padding: 18px 20px; background: var(--navy); border-radius: var(--r-card); color: var(--cream);
}
@media (min-width: 1024px) { .fig__fact { left: -44px; bottom: 36px; width: 212px; padding: 22px 24px; } }
.fig__fact b { display: block; font-size: clamp(34px, 3.4vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--gold); }
.fig__fact span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted-d); }

/* ------------------------------------------------------------- fact rail */
.rail {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  margin-top: 44px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 560px)  { .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rail { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; } }
.rail__i { padding: 22px 20px; background: var(--cream); }
@media (min-width: 1024px) {
  .rail__i { padding: 26px 24px; }
  /* flush with the container edges, so the rail measures the same width
     as the header and the hero above it */
  .rail__i:first-child { padding-left: 0; }
  .rail__i:last-child  { padding-right: 0; }
}
.rail__i b { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.rail__i span { display: block; margin-top: 7px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ----------------------------------------------------------- big statement */
.claim {
  text-align: center;
  font-size: clamp(30px, 6.6vw, 76px);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  text-transform: uppercase;
}
.claim .lift { text-transform: none; font-weight: 400; }

/* ------------------------------------------------------------------ bento */
/* An asymmetric 7/5 split: the photograph spans both rows and the two cards
   stack beside it. The quote is no longer one of the four; it has its own
   full width line underneath, which is what stops the grid feeling boxy. */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) {
  .bento { grid-template-columns: 7fr 5fr; grid-template-rows: 340px 300px; gap: 20px; }
  .bx--shot { grid-row: span 2; }
}
.bx { border-radius: 14px; overflow: hidden; }

.bx--shot { position: relative; min-height: 320px; }
.bx--shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bx__cap {
  position: relative; z-index: 2; height: 100%; min-height: 320px;
  box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
  background: linear-gradient(0deg, rgba(0,22,36,0.94) 6%, rgba(0,22,36,0.1) 62%);
}
@media (min-width: 1024px) { .bx--shot, .bx__cap { min-height: 0; } .bx__cap { padding: 34px; } }
.bx__eyebrow { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; color: var(--gold); }
.bx__h { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.25; }
.bx__cap .bx__h { margin-top: 10px; color: var(--cream); max-width: 22ch; }
.bx__p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: #C2CDD4; max-width: 46ch; }

.bx--fact {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 280px; padding: 26px; background: var(--white); border: 1px solid var(--line);
}
@media (min-width: 1024px) { .bx--fact { min-height: 0; padding: 32px; } }
.bx__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.bx__k { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dk); }
.bx__badge { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 100%; background: #F3EFE8; color: var(--navy); }
.bx__badge svg { width: 16px; height: 16px; }
.bx__d { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 34ch; }

.bx--proc { min-height: 280px; padding: 26px; background: var(--navy); color: var(--cream); }
@media (min-width: 1024px) { .bx--proc { min-height: 0; padding: 32px; } }
.bx--proc .bx__h { color: var(--gold); }
.bx__sub { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted-d); max-width: 42ch; }

/* The process reads as one line of time with four marks on it, rather than
   a chart that is not plotting anything. */
.track { position: relative; margin-top: 30px; padding-top: 22px; }
.track__rule { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(253, 249, 244, 0.2); }
.track__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.track__i { position: relative; }
.track__dot { position: absolute; top: -20px; left: 0; width: 11px; height: 11px; border-radius: 100%; background: var(--gold); }
.track__dot--end { background: var(--cream); }
.track__i b { display: block; font-size: 13.5px; font-weight: 600; }
.track__i span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted-d); }

/* ------------------------------------------------------- the quote, in full */
.said {
  display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center;
  margin-top: 16px; padding: 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px;
}
@media (min-width: 768px)  { .said { grid-template-columns: 148px minmax(0, 1fr); gap: 30px; } }
@media (min-width: 1024px) { .said { grid-template-columns: 148px minmax(0, 1fr) auto; gap: 34px; margin-top: 20px; padding: 28px 34px 28px 28px; } }
.said__face { width: 148px; height: 148px; object-fit: cover; border-radius: 10px; }
.said__mark { width: 24px; height: 24px; color: var(--gold); }
.said__q { margin-top: 12px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.3; max-width: 34ch; }
.said__by { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1023px) { .said__cta { justify-self: start; } }

/* --------------------------------------------------------------- practice */
.phead { text-align: center; max-width: 740px; margin-inline: auto; }
.phead .h2 { margin-top: 12px; }
.phead p { margin-top: 16px; }

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 560px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; } }
.card {
  position: relative; display: block; overflow: hidden;
  border: 1px solid rgba(209, 144, 46, 0.55); border-radius: var(--r-card);
  text-decoration: none; color: var(--cream);
  transition: border-color 300ms var(--ease-io), transform 520ms var(--ease);
}
.card:hover { border-color: var(--gold); transform: translateY(-5px); }
.card__fig { overflow: hidden; }
.card__fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 760ms var(--ease-io); }
.card:hover .card__fig img { transform: scale(1.06); }
.card__t {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 18px;
  background: linear-gradient(0deg, rgba(0,22,36,0.94) 12%, rgba(0,22,36,0) 100%);
  font-size: 18px; font-weight: 600; line-height: 1.25;
}
.cards__cta { display: flex; justify-content: center; margin-top: 32px; }

/* ----------------------------------------------------------------- focus */
.focus { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .focus { grid-template-columns: 1fr 1fr; gap: 64px; } }
/* A small picture overlapping a large one, the way the reference stacks them. */
.stack { position: relative; padding-top: 44px; padding-left: 0; }
@media (min-width: 560px) { .stack { padding-left: 54px; } }
.stack__big img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-card); }
.stack__sm { display: none; }
@media (min-width: 560px) {
  .stack__sm {
    display: block; position: absolute; left: 0; top: 0; z-index: 2;
    width: 44%; max-width: 230px;
    border: 5px solid var(--navy); border-radius: var(--r-card); overflow: hidden;
  }
  .stack__sm img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
}
.focus__h { margin-top: 14px; max-width: 15ch; }
.focus__p { margin-top: 18px; max-width: 52ch; }
.focus__cta { margin-top: 26px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.stat b { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: var(--gold); line-height: 1.1; }
.stat span { display: block; margin-top: 5px; font-size: 14px; color: var(--muted-d); }

/* ------------------------------------------------------------ gold banner */
.banner {
  display: flex; flex-direction: column; gap: 20px;
  padding: 28px; border-radius: var(--r-lg);
  background: var(--gold); color: var(--navy);
}
@media (min-width: 860px) { .banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 30px; padding: 36px 40px; } }
.banner h2 { font-size: clamp(23px, 3vw, 34px); font-weight: 600; line-height: 1.2; max-width: 20ch; }

/* ------------------------------------------------------------------ team */
.team { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px)  { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tm {
  position: relative; display: block; overflow: hidden;
  border: 1px solid rgba(209, 144, 46, 0.55); border-radius: var(--r-card);
  text-decoration: none; color: var(--cream);
  transition: border-color 300ms var(--ease-io);
}
.tm:hover { border-color: var(--gold); }
.tm img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 760ms var(--ease-io); }
.tm:hover img { transform: scale(1.05); }
.tm__c {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 18px;
  background: linear-gradient(0deg, rgba(0,22,36,0.95) 14%, rgba(0,22,36,0) 100%);
}
/* Both are spans so the whole card can stay a single anchor, which means
   they have to be told to behave as blocks. */
.tm__n { display: block; font-size: 20px; font-weight: 600; line-height: 1.2; }
.tm__r { display: block; margin-top: 5px; font-size: 13.5px; color: var(--gold); }

.teamfoot { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
@media (min-width: 1024px) { .teamfoot { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.stars { display: flex; gap: 5px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.teamfoot h2 { margin-top: 16px; }
.teamfoot .alink { margin-top: 12px; }

/* ---------------------------------------------------------- testimonials */
.quotes { columns: 1; column-gap: 20px; margin-top: 40px; }
@media (min-width: 768px)  { .quotes { columns: 2; } }
@media (min-width: 1280px) { .quotes { columns: 3; } }
.qt {
  break-inside: avoid; margin-bottom: 20px; padding: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
}
.qt > p { font-size: 15.5px; line-height: 1.7; }
.qt__meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.qt__meta .stars svg { width: 15px; height: 15px; }
.qt__ok { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.qt__by { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.qt__av {
  display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px;
  border-radius: 100%; background: var(--navy); color: var(--gold);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
}
.qt__n { font-size: 15px; font-weight: 600; }
.qt__w { font-size: 13px; color: var(--muted); }
.quotes__cta { display: flex; justify-content: center; margin-top: 12px; }

/* --------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.contact__h { margin-top: 14px; max-width: 15ch; }
.contact__p { margin-top: 18px; max-width: 54ch; }
.contact__p + .contact__p { margin-top: 14px; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.faces { display: flex; }
.faces img { width: 44px; height: 44px; border-radius: 100%; border: 2px solid var(--cream); object-fit: cover; }
.faces img + img { margin-left: -13px; }
.trust__c b { display: block; font-size: 16px; font-weight: 600; }
.trust__c p { margin-top: 4px; font-size: 14px; color: var(--muted); max-width: 40ch; }

.form { padding: 24px; background: var(--navy); border-radius: var(--r-lg); color: var(--cream); color-scheme: dark; }
@media (min-width: 768px) { .form { padding: 32px; } }
.f2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .f2 { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 500; color: #C6D3DA; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--cream);
  background: rgba(253, 249, 244, 0.06);
  border: 1px solid var(--line-d); border-radius: 8px;
  transition: border-color 240ms var(--ease-io), background-color 240ms var(--ease-io);
}
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7D8F99; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background-color: rgba(253, 249, 244, 0.1); }
.field [aria-invalid="true"] { border-color: #E2A0A0; }
/* The closed control keeps the same tone as the inputs beside it, but as a
   solid colour. A translucent background leaves the platform to pick the
   open list's ground, and it picks white, which hid the cream text. */
.field select { background-color: #0F2431; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #C6D3DA 50%), linear-gradient(135deg, #C6D3DA 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field select:focus { background-color: #16303D; }
.field select option { background-color: #0F2431; color: var(--cream); }
.form .btn { margin-top: 6px; }
.sent { margin-top: 14px; padding: 13px 15px; border-left: 2px solid var(--gold); font-size: 14.5px; line-height: 1.6; color: #C6D3DA; }

/* ------------------------------------------------------------- credentials */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
@media (min-width: 768px) { .creds { grid-template-columns: repeat(4, 1fr); } }
.crd { padding: 22px 18px; background: var(--cream); text-align: center; }
.crd b { display: block; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold); }
.crd span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------------- map */
/* A real map, full bleed, sitting between the credentials and the footer.
   The frame is given its height here rather than by the embed, so the page
   reserves the space before the map loads and nothing shifts under it. */
.map { display: block; background: #E8E6E1; }
.map__frame {
  display: block; width: 100%; height: 320px; border: 0;
}
@media (min-width: 768px)  { .map__frame { height: 400px; } }
@media (min-width: 1280px) { .map__frame { height: 460px; } }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--navy); color: var(--cream); }
.foot__in { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: 52px 36px; }
@media (min-width: 560px)  { .foot__in { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .foot__in { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-block: 72px 44px; } }
.foot__brand img { width: 175px; }
.foot__blurb { margin-top: 18px; font-size: 14.5px; line-height: 1.7; color: var(--muted-d); max-width: 30ch; }
.foot__k { margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.foot__l { display: flex; align-items: center; min-height: 44px; font-size: 14.5px; color: var(--muted-d); text-decoration: none; transition: color 240ms var(--ease-io); }
.foot__l:hover { color: var(--gold); }
.foot__row { display: flex; align-items: flex-start; gap: 11px; min-height: 44px; padding-block: 8px; font-size: 14.5px; color: var(--muted-d); }
.foot__row svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; color: var(--gold); }
.foot__row a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; color: inherit; text-decoration: none; }
.foot__row a:hover { color: var(--gold); }
.foot__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-block: 20px; border-top: 1px solid var(--line-d);
  font-size: 13.5px; color: #7D8F99;
}
.foot__bar p { margin: 0; }

/* =============================== THE ABOUT PAGE =============================== */

/* A section that follows another of the same ground keeps the pair reading as
   one band instead of two. */
.sec--top0 { padding-top: 0; }

/* --------------------------------------------------------------- page hero */
.ahero { background: var(--navy); color: var(--cream); }
.ahero__in { padding-block: 54px; text-align: center; }
@media (min-width: 768px)  { .ahero__in { padding-block: 74px; } }
@media (min-width: 1024px) { .ahero__in { padding-block: 96px; } }
.ahero__h { margin-top: 12px; }
.ahero__p { margin-top: 20px; max-width: 62ch; margin-inline: auto; }
.ahero__cta { margin-top: 30px; }

/* ------------------------------------------------- picture beside the copy */
/* Two of these on the page, mirrored. Both fill the container, so their outer
   edges line up with the header, the hero and the footer. */
.duo { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 1024px) {
  .duo { grid-template-columns: 460px minmax(0, 1fr); gap: clamp(48px, 5vw, 76px); }
  /* the mirrored one: copy first, picture second, and a wider picture */
  .duo--rev { grid-template-columns: minmax(0, 1fr) 520px; }
}
.duo__fig img {
  display: block; width: 100%; aspect-ratio: 24 / 25;
  object-fit: cover; border-radius: var(--r-lg);
}
@media (min-width: 1024px) { .duo--rev .duo__fig img { aspect-ratio: 29 / 25; } }
.duo__h { margin-top: 14px; max-width: 18ch; }
.duo__p { margin-top: 20px; max-width: 58ch; }
.duo__p + .duo__p { margin-top: 16px; }
.duo__cta { margin-top: 28px; }

/* ------------------------------------------------------------- the history */
.tl__head { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) {
  .tl__head { grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(48px, 5vw, 76px); align-items: end; }
}
.tl__h { margin-top: 14px; max-width: 17ch; }
.tl__lede { max-width: 50ch; }

.tl__wrap { margin-top: 44px; }
@media (min-width: 1024px) { .tl__wrap { margin-top: 60px; } }

/* The track scrolls sideways. Native scrolling, the keyboard and a trackpad
   all work on their own; the script only adds mouse dragging on top. */
.tl__track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  border-top: 1px solid var(--line-d);
}
.tl__track::-webkit-scrollbar { display: none; }
.tl__track:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
@media (hover: hover) { .tl__track { cursor: grab; } }
.tl__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }

.tl__i {
  position: relative; flex: 0 0 240px;
  scroll-snap-align: start;
  padding: 28px 26px 0 0;
}
@media (min-width: 768px)  { .tl__i { flex-basis: 288px; padding-right: 32px; } }
@media (min-width: 1280px) { .tl__i { flex-basis: 304px; } }
/* the marker sitting on the rule above each entry */
.tl__i::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 100%;
  background: var(--gold);
}
.tl__y {
  font-size: clamp(30px, 3.4vw, 40px); font-weight: 700;
  line-height: 1; letter-spacing: -0.02em; color: var(--gold);
}
.tl__t { margin-top: 14px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.tl__d { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--muted-d); }

.tl__hint {
  display: flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-d);
}
.tl__hint svg { display: block; width: 17px; height: 17px; }

/* ------------------------------------------------------------ the partners */
/* Portraits first, then the heading underneath, as the reference has it. */
/* Three across only once a column is wide enough to carry a portrait. At
   560 the thirds come out near 160px, which is too narrow for a face. */
.prow { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px)  { .prow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1024px) { .prow { gap: 24px; } }
.pc img {
  display: block; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; border-radius: var(--r-card);
}
.pc__n { margin-top: 18px; font-size: clamp(19px, 2vw, 22px); font-weight: 600; line-height: 1.25; }
.pc__r { margin-top: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.pc__d { margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: var(--muted-d); }

.pfoot { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 44px; padding-top: 38px; border-top: 1px solid var(--line-d); }
@media (min-width: 1024px) {
  .pfoot { grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(48px, 5vw, 76px); align-items: start; margin-top: 56px; }
}
.pfoot__h { margin-top: 14px; max-width: 16ch; }
.pfoot__side p { max-width: 50ch; }
.pfoot__cta { margin-top: 24px; }

/* ------------------------------------------------------ what you can expect */
.vals { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px)  { .vals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1024px) { .vals { gap: clamp(40px, 4.5vw, 64px); } }
.val { padding-top: 22px; border-top: 2px solid var(--navy); }
.val__k { font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dk); }
.val__p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* ------------------------------------------------------------- closing band */
/* A photograph behind the last call to action, darkened enough that the text
   on top clears contrast whatever part of the picture it lands on. */
.cta {
  position: relative; isolation: isolate;
  background-color: var(--navy-2);
  background-image: url("../img/court-street.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: var(--cream);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(0, 22, 36, 0.95) 0%, rgba(0, 22, 36, 0.86) 55%, rgba(0, 22, 36, 0.74) 100%);
}
.cta__in { padding-block: 68px; text-align: center; }
@media (min-width: 768px)  { .cta__in { padding-block: 88px; } }
@media (min-width: 1024px) { .cta__in { padding-block: 112px; } }
.cta__h { margin-top: 12px; max-width: 21ch; margin-inline: auto; }
.cta__p { margin-top: 18px; max-width: 54ch; margin-inline: auto; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ============================ THE PRACTICE AREAS ============================ */

/* ------------------------------------------------- what we do not take on */
.nope { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px)  { .nope { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nope { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.nope__i { padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
@media (min-width: 1024px) { .nope__i { padding: 26px 24px; } }
.nope__x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 100%; background: #FBF2E2; color: var(--gold-dk); }
.nope__x svg { width: 18px; height: 18px; }
.nope__t { margin-top: 20px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.nope__p { margin-top: 9px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

/* ------------------------------------------- a detail page's photo hero */
/* The index heroes are flat navy and centred. A detail page carries the
   photograph for its own area beside the copy, which is what tells you at a
   glance what the page is about. The frame is portrait on a wide screen and
   landscape on a narrow one, so both the portrait and the landscape sources
   in the library crop well. */
.shero { background: var(--navy); color: var(--cream); }
.shero__grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; padding-block: 44px; }
@media (min-width: 768px)  { .shero__grid { padding-block: 62px; } }
@media (min-width: 1024px) {
  .shero__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(48px, 5vw, 80px); padding-block: 84px; }
}
@media (min-width: 1280px) { .shero__grid { grid-template-columns: minmax(0, 1fr) 420px; } }
.shero__h { margin-top: 12px; max-width: 14ch; }
.shero__p { margin-top: 18px; max-width: 52ch; }
.shero__cta { margin-top: 28px; }
.shero__fig { margin: 0; }
.shero__fig img {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; border-radius: var(--r-lg);
}
@media (min-width: 1024px) { .shero__fig img { aspect-ratio: 4 / 5; } }

/* ------------------------------------------- who handles this work */
.meet {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-top: 34px; padding: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
}
@media (min-width: 560px) { .meet { grid-template-columns: 136px minmax(0, 1fr); gap: 26px; align-items: start; } }
@media (min-width: 1024px) { .meet { padding: 26px; } }
.meet__ph { display: block; width: 100%; max-width: 170px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.meet__k { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dk); }
.meet__n { margin-top: 10px; font-size: clamp(20px, 2vw, 23px); font-weight: 600; line-height: 1.25; }
.meet__r { margin-top: 5px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.meet__d { margin-top: 13px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.meet__link {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--gold-dk); text-decoration: none;
}
.meet__link .btn__dot { width: 24px; height: 24px; background: var(--gold); color: var(--navy); }
.meet__link .btn__dot svg { width: 13px; height: 13px; }
.meet__link:hover .btn__dot { transform: translateX(3px); }

/* ------------------------------------------------------ a split section head */
.pahead { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
@media (min-width: 1024px) {
  .pahead { grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(48px, 5vw, 76px); align-items: end; margin-bottom: 48px; }
}
.pahead--rule { padding-top: 38px; border-top: 2px solid var(--navy); }
.pahead__h { margin-top: 14px; max-width: 16ch; }
.pahead__side { max-width: 52ch; }

/* --------------------------------------------------------- the eight cards */
.pcards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 560px)  { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .pcards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.pcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.pcard__fig {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-card);
}
.pcard__fig img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 600ms var(--ease-io);
}
@media (min-width: 1024px) { .pcard__fig img { aspect-ratio: 5 / 6; } }
.pcard:hover .pcard__fig img { transform: scale(1.04); }
/* the index number, sitting on the picture */
.pcard__n {
  position: absolute; top: 12px; left: 12px;
  display: grid; place-items: center; min-width: 34px; height: 34px;
  padding-inline: 9px; border-radius: 100px;
  background: var(--navy); color: var(--gold);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
}
/* The body grows, and the fee row is pushed to the bottom of it, so the
   fee and the partner line up across a row of cards of different lengths. */
.pcard__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.pcard__t {
  display: block; font-size: clamp(19px, 1.9vw, 22px); font-weight: 600; line-height: 1.25;
  transition: color 240ms var(--ease-io);
}
.pcard:hover .pcard__t { color: var(--gold-dk); }
.pcard__d { display: block; margin-top: 10px; margin-bottom: 14px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.pcard__m {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline;
  margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line);
}
.pcard__m b { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold-dk); }
.pcard__m i { font-style: normal; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------- a detail page body */
/* The article and its sidebar fill the container together, so the page's
   outer edges stay on the header's. */
.pa { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
@media (min-width: 1024px) {
  .pa { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(56px, 5.5vw, 96px); }
}
@media (min-width: 1280px) { .pa { grid-template-columns: minmax(0, 1fr) 380px; } }

.pa__h { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.pa__h--gap { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .pa__h--gap { margin-top: 64px; } }
.pa__p { margin-top: 18px; max-width: 62ch; }

/* what we handle */
.pal { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 26px; background: var(--line); }
@media (min-width: 768px) { .pal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pal__i { padding: 22px 0 22px; background: var(--cream); }
@media (min-width: 768px) {
  .pal__i { padding: 24px 24px 24px 0; }
  .pal__i:nth-child(even) { padding-left: 24px; padding-right: 0; }
}
.pal__t { font-size: 17.5px; font-weight: 600; line-height: 1.3; }
.pal__d { margin-top: 9px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* what happens first */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__n {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 100%;
  background: var(--navy); color: var(--gold);
  font-size: 14px; font-weight: 700;
}
.step__t { font-size: 17px; font-weight: 600; line-height: 1.3; }
.step__d { margin-top: 7px; font-size: 14.5px; line-height: 1.7; color: var(--muted); max-width: 54ch; }

/* common questions: native details, so it opens with no script at all */
.faq { margin-top: 26px; border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 20px 0; min-height: 44px; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 600; line-height: 1.45;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold-dk); }
.faq__i:focus-within .faq__q { color: var(--gold-dk); }
.faq__x {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 28px; height: 28px; margin-top: 1px; border-radius: 100%;
  background: #F1E7D6; color: var(--navy);
  transition: transform 300ms var(--ease-io), background-color 300ms var(--ease-io);
}
.faq__x svg { width: 15px; height: 15px; }
.faq__i[open] .faq__x { transform: rotate(45deg); background: var(--gold); }
.faq__a { padding-bottom: 22px; }
.faq__a p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 62ch; }

/* ------------------------------------------------------------- the sidebar */
.side { display: grid; gap: 20px; }
@media (min-width: 1024px) { .side { position: sticky; top: 104px; } }

.side__card { padding: 26px 24px; background: var(--navy); border-radius: var(--r-lg); color: var(--cream); }
.side__k { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.side__fee { margin-top: 12px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.side__by { margin-top: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line-d); font-size: 14.5px; color: var(--muted-d); }
.side__by a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(253, 249, 244, 0.4); }
.side__by a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.side__card .btn { margin-top: 20px; }
.side__note { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted-d); }

.side__nav { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.side__nav .side__k { color: var(--gold-dk); }
.side__nav ul { margin-top: 6px; }
.side__nav li { border-bottom: 1px solid var(--line); }
.side__nav li:last-child { border-bottom: 0; }
.side__nav a {
  display: flex; align-items: center; min-height: 46px;
  font-size: 15px; color: var(--navy); text-decoration: none;
  transition: color 240ms var(--ease-io);
}
.side__nav a:hover { color: var(--gold-dk); }
.side__all {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px;
  font-size: 14px; font-weight: 600; color: var(--gold-dk); text-decoration: none;
}
.side__all .btn__dot { width: 24px; height: 24px; background: var(--gold); color: var(--navy); }
.side__all .btn__dot svg { width: 13px; height: 13px; }
.side__all:hover .btn__dot { transform: translateX(3px); }

/* ============================== THE ATTORNEYS ============================== */

/* ------------------------------------------------------- a partner profile */
/* Each profile fills the container and the picture side alternates, so the
   three read as a column rather than as three identical cards. */
.prof { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 1024px) {
  .prof { grid-template-columns: 400px minmax(0, 1fr); gap: clamp(48px, 5vw, 76px); }
  .prof--rev { grid-template-columns: minmax(0, 1fr) 400px; }
  .prof--rev .prof__fig { order: 2; }
}
@media (min-width: 1280px) {
  .prof { grid-template-columns: 440px minmax(0, 1fr); }
  .prof--rev { grid-template-columns: minmax(0, 1fr) 440px; }
}
.prof + .prof { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .prof + .prof { margin-top: 76px; padding-top: 76px; } }
/* the anchors land under the sticky header rather than behind it */
.prof { scroll-margin-top: 110px; }

.prof__fig { margin: 0; }
.prof__fig img {
  display: block; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; border-radius: var(--r-lg);
}
.prof__n { margin-top: 12px; }

.prof__q { margin-top: 22px; padding-left: 20px; border-left: 3px solid var(--gold); }
.prof__q p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(19px, 2.1vw, 24px); line-height: 1.4; color: var(--navy);
}
.prof__p { margin-top: 20px; max-width: 62ch; }

.prof__cols { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .prof__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.prof__k { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dk); }
.prof__list { margin-top: 12px; }
.prof__list li { font-size: 15px; line-height: 1.6; color: var(--muted); }
.prof__list li + li { margin-top: 9px; }
.prof__list--links li { margin: 0; }
.prof__list--links li + li { margin-top: 0; }
.prof__list--links a {
  display: flex; align-items: center; min-height: 44px;
  color: var(--navy); text-decoration: none;
  transition: color 240ms var(--ease-io);
}
.prof__list--links a:hover { color: var(--gold-dk); }
.prof__cta { margin-top: 26px; }

/* ------------------------------------------------- who does what, and for how much */
.wtab { border-top: 1px solid var(--line-d); }
.wtab__h, .wtab__r {
  display: grid; grid-template-columns: 1fr; gap: 4px;
  padding-block: 18px; border-bottom: 1px solid var(--line-d);
}
@media (min-width: 768px) {
  .wtab__h, .wtab__r { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
}
.wtab__h { display: none; }
@media (min-width: 768px) { .wtab__h { display: grid; padding-block: 14px; } }
.wtab__h span { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.wtab__a a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 17px; font-weight: 600; color: var(--cream); text-decoration: none;
  transition: color 240ms var(--ease-io);
}
@media (min-width: 768px) { .wtab__a a { min-height: 0; } }
.wtab__a a:hover { color: var(--gold); }
.wtab__p { font-size: 15px; color: var(--muted-d); }
.wtab__f { font-size: 15px; font-weight: 600; color: var(--gold); }

/* --------------------------------------------- admissions and memberships */
.mem { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .mem { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mem__c { padding: 26px 0; background: var(--cream); }
@media (min-width: 768px) {
  .mem__c { padding: 28px 26px 28px 0; }
  .mem__c + .mem__c { padding-left: 26px; }
}
.mem__t { font-size: 19px; font-weight: 600; line-height: 1.3; }
.mem__l { margin-top: 16px; }
.mem__l li { padding-block: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); }
.mem__l li:first-child { border-top: 0; padding-top: 0; }

/* =============================== THE CONTACT PAGE =============================== */

/* The details and the form share the container, so the page's outer edges
   stay on the header's. The form is already a navy card of its own, which is
   why it reads correctly sitting on the cream. */
.cx { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) {
  .cx { grid-template-columns: minmax(0, 1fr) 520px; gap: clamp(48px, 5vw, 80px); }
}
@media (min-width: 1280px) { .cx { grid-template-columns: minmax(0, 1fr) 560px; } }
.cx__h { margin-top: 14px; max-width: 15ch; }
.cx__p { margin-top: 18px; max-width: 50ch; }
.cx__note { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
/* the anchor from the hero lands below the sticky header */
.cx__form { scroll-margin-top: 104px; }

.dtl { margin-top: 36px; border-top: 1px solid var(--line); }
.dtl__i { padding-block: 24px; border-bottom: 1px solid var(--line); }
.dtl__k { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dk); }
.dtl__big { margin-top: 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.dtl__big a { color: var(--navy); text-decoration: none; transition: color 240ms var(--ease-io); }
.dtl__big a:hover { color: var(--gold-dk); }
.dtl__v { margin-top: 10px; font-size: 16px; line-height: 1.65; }
.dtl__v a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 22, 36, 0.3); }
.dtl__v a:hover { color: var(--gold-dk); text-decoration-color: var(--gold-dk); }
.dtl__d { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 48ch; }
/* the out of hours note, marked so it is not read as one more address */
.dtl__i--flag { padding: 22px; margin-top: 24px; background: #FBF2E2; border: 0; border-radius: var(--r-card); }

.hours { margin-top: 12px; }
.hours li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  padding-block: 9px; font-size: 15px; line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours span { color: var(--muted); }
.hours b { font-weight: 600; }

/* the privilege note, inside the form card and on its dark ground */
.warn {
  margin: 4px 0 18px; padding: 14px 16px;
  background: rgba(209, 144, 46, 0.1); border: 1px solid rgba(209, 144, 46, 0.3); border-radius: 8px;
  font-size: 13.5px; line-height: 1.65; color: #D8E2E7;
}

/* ------------------------------------------------------- what happens next */
.nxt { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-d); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
@media (min-width: 560px)  { .nxt { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .nxt { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nxt__i { padding: 26px 0; background: var(--navy); }
@media (min-width: 560px) { .nxt__i { padding: 28px 24px 28px 0; } }
@media (min-width: 1024px) { .nxt__i { padding: 30px 26px 30px 0; } .nxt__i + .nxt__i { padding-left: 26px; } }
@media (min-width: 560px) and (max-width: 1023px) { .nxt__i:nth-child(even) { padding-left: 24px; padding-right: 0; } }
.nxt__w { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.nxt__t { margin-top: 16px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.nxt__d { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--muted-d); }

/* ------------------------------------------------------------- finding us */
.find { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px)  { .find { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.find__i { padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.find__t { font-size: 19px; font-weight: 600; line-height: 1.3; }
.find__d { margin-top: 11px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* ================================ THE FEES PAGE ================================ */

/* ------------------------------------------------------------ the three bases */
.basis { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px)  { .basis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1024px) { .basis { gap: 24px; } }
.basis__i {
  display: flex; flex-direction: column;
  padding: 28px 26px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color 300ms var(--ease-io), box-shadow 300ms var(--ease-io);
}
.basis__i:hover { border-color: var(--gold); box-shadow: 0 16px 40px rgba(0, 22, 36, 0.08); }
.basis__n { color: var(--navy); }
.basis__n { font-size: clamp(20px, 2vw, 23px); font-weight: 600; line-height: 1.25; }
.basis__f {
  margin-top: 10px; font-size: clamp(30px, 3.4vw, 38px); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.025em; color: var(--gold-dk);
  font-variant-numeric: tabular-nums;
}
.basis__r { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.basis__k { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); }
.basis__d { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
/* The three cards are the same height, but their rules only line up if the
   rows line up too. Subgrid hands each card the same four row tracks, so the
   "Best for" and "How it works" rules sit at one height across all three.
   Without subgrid the flex column above still reads correctly, just with the
   second rule where each card's own text puts it. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .basis { grid-template-rows: auto auto auto auto; }
    .basis__i { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  }
}

/* ------------------------------------------------------- the worked example */
.work { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 1024px) {
  .work { grid-template-columns: minmax(0, 1fr) 480px; gap: clamp(48px, 5vw, 80px); }
}
@media (min-width: 1280px) { .work { grid-template-columns: minmax(0, 1fr) 520px; } }
.work__h { margin-top: 14px; max-width: 15ch; }
.work__p { margin-top: 18px; max-width: 52ch; }
.work__p + .work__p { margin-top: 14px; }

/* The invoice is a cream card standing on the navy, so it reads as a piece of
   paper rather than as another panel. */
.bill { padding: 26px 24px; background: var(--cream); color: var(--navy); border-radius: var(--r-lg); }
@media (min-width: 768px) { .bill { padding: 32px 30px; } }
.bill__h { padding-bottom: 20px; border-bottom: 2px solid var(--navy); }
.bill__t { font-size: clamp(20px, 2.2vw, 24px); font-weight: 600; line-height: 1.25; }
.bill__w { margin-top: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dk); }
.bill__r {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px;
  padding-block: 14px; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.55;
}
.bill__r span { flex: 1 1 60%; color: var(--muted); }
.bill__r b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bill__total {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px;
  margin-top: 4px; padding-top: 18px; border-top: 2px solid var(--navy);
}
.bill__total span { font-size: 16px; font-weight: 600; }
.bill__total b { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bill__note { margin-top: 16px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ------------------------------------------------- what never gets charged */
.never { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 560px)  { .never { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .never { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.never__i {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 20px 22px 0; background: var(--cream);
  font-size: 15px; line-height: 1.6;
}
@media (min-width: 560px) { .never__i:nth-child(even) { padding-left: 20px; } }
@media (min-width: 1024px) {
  .never__i { padding-left: 0; }
  .never__i:nth-child(3n-1), .never__i:nth-child(3n) { padding-left: 22px; }
}
.never__x {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 100%;
  background: #F1E7D6; color: var(--gold-dk);
}
.never__x svg { width: 14px; height: 14px; }

/* the process steps run four across once there is room */
@media (min-width: 768px)  { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .steps--4 .step { flex-direction: column; gap: 14px; } }
.step__w { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dk); }
.step__w + .step__t { margin-top: 8px; }

/* -------------------------------------------------- the questions about money */
.fq { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 1024px) {
  .fq { grid-template-columns: 420px minmax(0, 1fr); gap: clamp(48px, 5vw, 80px); }
  .fq__copy { position: sticky; top: 104px; }
}
.fq__h { margin-top: 14px; max-width: 18ch; }
.fq .faq { margin-top: 0; }

/* ============================== THE INSIGHTS ============================== */

.lede__k { margin-bottom: 20px; }

/* --------------------------------------------------------- the lead piece */
.lead {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color 300ms var(--ease-io), box-shadow 300ms var(--ease-io);
}
@media (min-width: 860px) { .lead { grid-template-columns: 1.05fr 1fr; } }
.lead:hover { border-color: var(--gold); box-shadow: 0 18px 46px rgba(0, 22, 36, 0.1); }
.lead__fig { display: block; overflow: hidden; }
.lead__fig img { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; transition: transform 700ms var(--ease-io); }
@media (min-width: 860px) { .lead__fig img { min-height: 380px; } }
.lead:hover .lead__fig img { transform: scale(1.04); }
.lead__body { display: block; padding: 28px 26px; }
@media (min-width: 1024px) { .lead__body { padding: 40px 38px; } }
.lead__cat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dk); }
.lead__t { display: block; margin-top: 16px; font-size: clamp(24px, 3vw, 36px); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; }
.lead__s { display: block; margin-top: 16px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.lead__m { display: block; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.lead__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 14.5px; font-weight: 600; color: var(--gold-dk); }
.lead__go .btn__dot { width: 26px; height: 26px; background: var(--gold); color: var(--navy); }
.lead__go .btn__dot svg { width: 14px; height: 14px; }
.lead:hover .lead__go .btn__dot { transform: translateX(3px); }

/* ------------------------------------------------------------- the filter */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 10px 18px;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--navy); background: transparent;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color 240ms var(--ease-io), color 240ms var(--ease-io), border-color 240ms var(--ease-io);
}
.chip:hover { border-color: var(--navy); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.chips__count { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ----------------------------------------------------------- a post card */
.posts { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
@media (min-width: 560px)  { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.posts--3 { margin-top: 0; }
.posts__none { margin-top: 28px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 15px; line-height: 1.7; color: var(--muted); }

.post { display: flex; flex-direction: column; }
.post[hidden] { display: none; }
.post__fig { display: block; overflow: hidden; border-radius: var(--r-card); }
.post__fig img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 700ms var(--ease-io); }
.post:hover .post__fig img { transform: scale(1.05); }
.post__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.post__cat { font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dk); }
.post__t { margin-top: 11px; font-size: clamp(18px, 1.8vw, 20px); font-weight: 600; line-height: 1.3; }
.post__t a { color: inherit; text-decoration: none; transition: color 240ms var(--ease-io); }
.post__t a:hover { color: var(--gold-dk); }
.post__s { margin-top: 10px; margin-bottom: 14px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.post__m { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.post__m i { font-style: normal; padding-inline: 7px; opacity: 0.6; }

/* --------------------------------------------------------- the post page */
.ahero--post .ahero__in { text-align: left; }
.post__chip {
  display: inline-block; padding: 7px 15px; border-radius: var(--r-pill);
  background: rgba(209, 144, 46, 0.16); border: 1px solid rgba(209, 144, 46, 0.4);
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.art__title { margin-top: 20px; max-width: 20ch; }
.art__stand { margin-top: 20px; max-width: 58ch; margin-inline: 0; }
.art__by { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-d); font-size: 13.5px; color: var(--muted-d); }

.art__fig { margin: 0 0 44px; }
.art__fig img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); }
@media (min-width: 1024px) { .art__fig { margin-bottom: 60px; } }

.art { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
@media (min-width: 1024px) {
  .art { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(56px, 5.5vw, 88px); }
}
@media (min-width: 1280px) { .art { grid-template-columns: minmax(0, 1fr) 340px; } }

.art__h {
  margin-top: 44px; font-size: clamp(23px, 2.4vw, 30px); font-weight: 600;
  line-height: 1.25; letter-spacing: -0.015em; scroll-margin-top: 104px;
}
.art__main > .art__h:first-child { margin-top: 0; }
.art__p { margin-top: 16px; font-size: 16.5px; line-height: 1.8; color: #3C4B55; max-width: 66ch; }
.art__note { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 66ch; }

.keys { margin-top: 40px; padding: 26px 24px; background: var(--navy); border-radius: var(--r-lg); color: var(--cream); }
@media (min-width: 768px) { .keys { padding: 30px 28px; } }
.keys__k { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.keys__l { margin-top: 18px; }
.keys__l li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line-d); font-size: 15.5px; line-height: 1.6; }
.keys__l li:last-child { border-bottom: 0; padding-bottom: 0; }
.keys__l li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 7px; height: 7px; border-radius: 100%; background: var(--gold); }

/* the table of contents */
.toc { counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc li:last-child { border-bottom: 0; }
.toc a {
  display: flex; gap: 10px; align-items: baseline; min-height: 46px; padding-block: 11px;
  font-size: 14.5px; line-height: 1.5; color: var(--navy); text-decoration: none;
  transition: color 240ms var(--ease-io);
}
.toc a::before { content: counter(toc, decimal-leading-zero); flex: 0 0 auto; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-dk); }
.toc a:hover { color: var(--gold-dk); }

/* the author block */
.writer {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.writer__ph { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 100%; }
.writer__n { margin-top: 9px; font-size: 18px; font-weight: 600; line-height: 1.25; }
.writer__r { margin-top: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------- the fee range tile */
/* A range is two figures that have to read as one quantity, which a single
   72px number cannot do: side by side at that size they wrap and break the
   tile. They are set smaller, with a gold rule between them instead of the
   word "to", and the numbers are tabular so the two line up on their digits. */
.announce__est { font-weight: 700; letter-spacing: 0.04em; }

.bx--fact .bx__mid { margin-block: auto; }
.bx__scale {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.bx__range {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 12px;
}
.bx__fig {
  font-size: clamp(34px, 3.8vw, 46px); font-weight: 700; line-height: 1;
  letter-spacing: -0.03em; color: var(--gold-dk);
  font-variant-numeric: tabular-nums;
}
.bx__dash { flex: 0 0 auto; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.bx--fact .bx__d { margin-top: 14px; }
.bx__foot {
  margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.55; color: var(--muted);
}

/* ========================= THE AUDIT PASS COMPONENTS ========================= */

/* ------------------------------------------------------- footer additions */
.foot__social { display: flex; gap: 10px; margin-top: 22px; }
.foot__social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-d); border-radius: 100%;
  color: var(--cream);
  transition: border-color 260ms var(--ease-io), color 260ms var(--ease-io), background-color 260ms var(--ease-io);
}
.foot__social a:hover { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.foot__social svg { width: 17px; height: 17px; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot__legal a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13.5px; color: var(--muted-d); text-decoration: none;
  transition: color 240ms var(--ease-io);
}
.foot__legal a:hover { color: var(--gold); }

/* ------------------------------------------- an attorney page's sidebar */
.pracs li { border-bottom: 1px solid var(--line); }
.pracs li:last-child { border-bottom: 0; }
.pracs a {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px;
  min-height: 48px; padding-block: 11px; text-decoration: none;
  transition: color 240ms var(--ease-io);
}
.pracs a span { font-size: 15px; font-weight: 600; color: var(--navy); }
.pracs a b { font-size: 12.5px; font-weight: 600; color: var(--gold-dk); }
.pracs a:hover span { color: var(--gold-dk); }

.others li { border-bottom: 1px solid var(--line); }
.others li:last-child { border-bottom: 0; }
.others a {
  display: block; min-height: 48px; padding-block: 11px;
  font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none;
  transition: color 240ms var(--ease-io);
}
.others a i { display: block; margin-top: 2px; font-style: normal; font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.others a:hover { color: var(--gold-dk); }

/* --------------------------------------------------------- recent matters */
.matters { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px)  { .matters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .matters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.matter {
  display: flex; flex-direction: column;
  padding: 26px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color 300ms var(--ease-io), box-shadow 300ms var(--ease-io);
}
.matter:hover { border-color: var(--gold); box-shadow: 0 16px 40px rgba(0, 22, 36, 0.08); }
.matter__head { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.matter__ico {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 100%;
  background: #F1E7D6; color: var(--gold-dk);
  transition: background-color 280ms var(--ease-io), color 280ms var(--ease-io);
}
.matter__ico svg { width: 19px; height: 19px; }
.matter:hover .matter__ico { background: var(--gold); color: var(--navy); }
.matter__cat a { font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dk); text-decoration: none; }
.matter__cat a:hover { color: var(--navy); }
.matter__t { margin-top: 18px; font-size: 19.5px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.matter__d { margin-top: 11px; margin-bottom: 18px; font-size: 15px; line-height: 1.7; color: var(--muted); }
/* the outcome sits on the card's baseline, so the six line up across a row */
.matter__out {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line);
}
.matter__out span { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.matter__out b { font-size: 15px; font-weight: 600; color: var(--navy); }

/* ------------------------------------- client words, reused on inner pages */
.words { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 34px; }
@media (min-width: 768px) { .words { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.word {
  display: flex; flex-direction: column;
  padding: 24px 22px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.word__q { font-size: 16px; line-height: 1.7; color: var(--navy); }
.word__q::before { content: "\201C"; }
.word__q::after { content: "\201D"; }
.word__by { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--muted); }
.word__by b { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.word__stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.word__stars svg { width: 15px; height: 15px; }

/* ------------------------------- the enquiry form sitting inside a page */
.ask { margin-top: 44px; }
.ask .form { margin-top: 20px; }
.ask__h { font-size: clamp(22px, 2.3vw, 27px); font-weight: 600; line-height: 1.25; color: var(--navy); }
.ask__p { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 56ch; }

/* ------------------------------------------------ the contact widget */
/* The sidebar is on screen for the whole article, so it carries the ways to
   get in touch rather than a second button competing with the form below. */
.reach { padding: 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.reach__l { margin-top: 14px; }
.reach__l li + li { border-top: 1px solid var(--line); }
.reach__l a {
  display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding-block: 12px; text-decoration: none;
}
.reach__i {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 100%;
  background: #F1E7D6; color: var(--gold-dk);
  transition: background-color 260ms var(--ease-io), color 260ms var(--ease-io);
}
.reach__i svg { width: 17px; height: 17px; }
.reach__l a:hover .reach__i { background: var(--gold); color: var(--navy); }
.reach__t { display: block; min-width: 0; }
.reach__t b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.reach__t i { display: block; margin-top: 2px; font-style: normal; font-size: 13px; line-height: 1.45; color: var(--muted); }
.reach__cta { margin-top: 18px; }

/* The sidebar column must be as tall as the article for sticky to have any
   range to travel through; the grid aligns rows to the start otherwise. The
   sidebar's own content is kept shorter than the window, which is what lets
   plain CSS sticky hold it. CSS sticky runs on the compositor, so unlike a
   transform updated per scroll frame it cannot shake. */
@media (min-width: 1024px) { .pa__side, .art__side { align-self: stretch; } }

/* the form at the foot of a practice page, which the sidebar button targets */
.ask { scroll-margin-top: 104px; }

/* The other practice areas moved out of the sidebar and under the article, so
   the sidebar stays shorter than the window and sticky stays smooth. */
.palist { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 560px)  { .palist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .palist { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.palist a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  min-height: 112px; padding: 20px 18px; background: var(--cream);
  text-decoration: none;
  transition: background-color 260ms var(--ease-io);
}
.palist a:hover { background: var(--white); }
.palist b { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.palist span { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--gold-dk); }
.palist a:hover b { color: var(--gold-dk); }

/* ----------------------------------------------------------------- motion */
/* Added by the script, so a page with no script renders fully visible. */
.r-up   { opacity: 0; transform: translateY(26px); }
.r-fade { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .r-up, .r-fade { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
