:root {
  --night: #0e0e0c;
  --night-2: #171714;
  --night-3: #22211d;
  --white: #fffcf8;
  --paper: #f6f3ec;
  --ink: #141412;
  --muted: #5e5a54;
  --line: #e3dfd6;
  --line-dark: rgba(244, 240, 230, 0.14);
  --cream: #f4f0e6;
  --cream-dim: #cfc8ba;
  --gold: #c6a15b;
  --gold-ink: #7a5c26;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 78rem;
  --header: 4.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.2s;
  --slow: 0.9s;
}

@view-transition {
  navigation: auto;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 1rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: #efe4cc;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--white);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 0.95;
}

h1 { margin: 0; font-size: clamp(3.8rem, 8vw, 8.25rem); }
h2 { margin: 0; font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
h3 { margin: 0; font-size: clamp(1.75rem, 2.3vw, 2.15rem); font-weight: 600; line-height: 1.05; }

p { margin: 0; }

address { font-style: normal; }

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.light h2 em,
.light h1 em {
  color: var(--gold-ink);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.dark .kicker,
.hero .kicker,
.page-open .kicker,
.close .kicker,
.choice .kicker { color: var(--cream-dim); }

.rule {
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.lede {
  max-width: 38rem;
  margin-top: 1.35rem;
  font-size: 1.15rem;
  line-height: 1.5;
}

/* Links and buttons */

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  padding-bottom: 0.3rem;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.link:hover::after {
  transform: scaleX(0.35);
}

.arrow {
  display: inline-block;
  transition: transform var(--fast) var(--ease);
}

.link:hover .arrow,
.svc:hover .arrow,
.svc.is-active .arrow {
  transform: translateX(0.3rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  background: var(--gold);
  color: var(--night);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 1.15rem 1.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--fast) ease, transform var(--fast) var(--ease);
}

.btn:hover {
  background: #d8b878;
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0); }

.btn-dark {
  background: var(--night);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--night-3);
  color: var(--gold);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--night);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast) ease, background var(--fast) ease;
  view-transition-name: site-header;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  background: rgba(14, 14, 12, 0.94);
  backdrop-filter: blur(10px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 1.15rem;
  border-right: 1px solid var(--line-dark);
  color: var(--cream);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-words {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.85;
}

.brand-legal {
  display: flex;
  justify-content: space-between;
  margin-top: 0.32rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.nav-desk {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desk a {
  position: relative;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.35rem 0;
}

.nav-desk a:not(.nav-call)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-desk a:hover::after,
.nav-desk a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-desk a.nav-call {
  border: 1px solid rgba(198, 161, 91, 0.55);
  border-radius: 999px;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding: 0.7rem 1.15rem;
  transition: background var(--fast) ease, color var(--fast) ease;
}

.nav-desk a.nav-call:hover {
  background: var(--gold);
  color: var(--night);
}

.nav-mobile { display: none; }

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header));
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 14, 12, 0.96) 0%, rgba(14, 14, 12, 0.86) 38%, rgba(14, 14, 12, 0.35) 72%, rgba(14, 14, 12, 0.2) 100%),
    linear-gradient(0deg, rgba(14, 14, 12, 0.9) 0%, rgba(14, 14, 12, 0) 35%);
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0 2.5rem;
}

.hero h1 {
  max-width: 9.5em;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.line > span {
  display: block;
}

.hero .lede {
  max-width: 34rem;
  color: var(--cream-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

/* Announcement bar */

.notice {
  background: var(--night-2);
  color: var(--cream);
  border-bottom: 1px solid rgba(198, 161, 91, 0.3);
  font-size: 0.85rem;
}

.notice .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.7rem 0;
  text-align: center;
}

.notice-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.notice a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 161, 91, 0.5);
}

/* Stats band */

.stats {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: clamp(2rem, 4vw, 3rem) 1.5rem;
}

.stat + .stat { border-left: 1px solid var(--line-dark); }

.stat-num {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.stat-label {
  display: block;
  margin-top: 0.85rem;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stat-note {
  display: block;
  margin-top: 0.45rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
  max-width: 22ch;
}

/* Why section */

.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why article {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--white);
  overflow: hidden;
  transition: background 0.4s ease;
}

.why article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.why article:hover { background: var(--paper); }
.why article:hover::before { transform: scaleX(1); }

.why-num {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}

.why h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.why p { color: var(--muted); max-width: 46ch; }

/* Solicitor cards */

.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.card-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(198, 161, 91, 0.18), transparent 55%),
    var(--night);
}

.card-art::after {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(198, 161, 91, 0.28);
  transition: inset 0.6s var(--ease);
}

.card:hover .card-art::after { inset: 0.6rem; }

.card-initials {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: transform 0.8s var(--ease);
}

.card:hover .card-initials { transform: scale(1.05); }

.card-body {
  padding-top: 1.4rem;
}

.card-body .kicker { margin-bottom: 0.6rem; }

.card-body h3 { font-size: clamp(2.1rem, 3.2vw, 2.9rem); }

.card-body p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 48ch;
}

.card-body a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.card-body a:hover { color: var(--gold-ink); }

/* Urgent strip */

/* Sections */

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-tight { padding-top: 0; }

.paper { background: var(--paper); }

.dark {
  background: var(--night);
  color: var(--cream);
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-intro .lede {
  margin-top: 0;
  color: var(--muted);
}

.dark .section-intro .lede { color: var(--cream-dim); }

/* Service index */

.services {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  counter-reset: svc;
}

.svc {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.svc::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.svc:hover::after,
.svc.is-active::after {
  transform: scaleX(1);
}

.svc-num {
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.svc-name {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  transition: transform 0.45s var(--ease), color var(--fast) ease;
}

.svc:hover .svc-name,
.svc.is-active .svc-name {
  transform: translateX(0.5rem);
}

.svc-note {
  display: none;
  grid-column: 2 / -1;
  color: var(--muted);
}

.svc .arrow {
  color: var(--gold-ink);
  font-size: 1.1rem;
}

.svc-panel {
  position: sticky;
  top: calc(var(--header) + 2rem);
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
  min-height: 38rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.svc-panel-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.svc-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 14, 12, 0.94) 0%, rgba(14, 14, 12, 0.72) 38%, rgba(14, 14, 12, 0.18) 72%);
  pointer-events: none;
}

.svc-panel-num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1;
}

.svc-panel h3 {
  margin: 0.55rem 0 0.75rem;
  color: var(--cream);
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 0.98;
}

.svc-panel p {
  color: var(--cream-dim);
}

.svc-panel dl {
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-dark);
}

.svc-panel dt {
  color: var(--cream-dim);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.svc-panel dd {
  margin: 0.45rem 0 0;
  color: var(--cream);
}

.svc-panel .link {
  margin-top: auto;
  padding-top: 2rem;
  align-self: flex-start;
}

.svc-panel .link::after { bottom: 0; }

.svc-panel-body,
.svc-panel .link {
  position: relative;
  z-index: 1;
}

.svc-panel-body {
  transition: opacity 0.22s ease, transform 0.35s var(--ease);
}

.svc-panel-body.is-swapping {
  opacity: 0;
  transform: translateY(0.6rem);
}

/* Split and people */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split img,
.photo img {
  width: 100%;
  height: min(38rem, 72vh);
  object-fit: cover;
}

.photo {
  margin: 0;
  overflow: hidden;
}

.person + .person {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.person .kicker { margin-bottom: 0.65rem; }

.person h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
}

.person p:last-child,
.matter p,
.timeline p {
  color: var(--muted);
  max-width: 62ch;
}

.person a,
.form-note a {
  text-underline-offset: 0.18em;
}

.split .link { margin-top: 2rem; }

/* Process preview */

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}

.process li {
  padding: 1.75rem 1.5rem 0 0;
}

.process li + li {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line-dark);
}

.process-num {
  display: block;
  margin-bottom: 1.75rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.6rem;
  font-style: italic;
  line-height: 1;
}

.process h3 {
  margin-bottom: 0.65rem;
  font-size: 1.55rem;
}

.process p { color: var(--cream-dim); }

.process-foot {
  margin-top: 3rem;
}

/* Frames */

.frame {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: min(85vh, 50rem);
  object-fit: cover;
}

.frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(0deg, rgba(14, 14, 12, 0.75), rgba(14, 14, 12, 0));
  color: var(--cream);
}

.frame figcaption p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  letter-spacing: -0.02em;
}

/* Close band */

.close {
  background: var(--night);
  color: var(--cream);
  padding: clamp(5rem, 9vw, 7.5rem) 0;
}

.close .lede {
  color: var(--cream-dim);
  margin-top: 1rem;
}

.close-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
}

.close-call {
  justify-self: end;
  text-align: right;
}

.phone-link {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--fast) ease;
}

.phone-link:hover { color: var(--cream); }

.close-call p {
  margin-top: 0.85rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
}

.close-call p a {
  color: var(--cream);
  text-underline-offset: 0.25em;
}

.close-call p a:hover { color: var(--gold); }

/* Inner page openings */

.page-open {
  background: var(--night);
  color: var(--cream);
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.page-open-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
}

.page-open h1 {
  max-width: 10em;
  font-size: clamp(3rem, 6vw, 5.75rem);
}

.page-open .lede {
  margin-top: 0;
  color: var(--cream-dim);
}

.page-open-photo {
  position: relative;
  overflow: hidden;
}

.page-open-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-open-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(14, 14, 12, 0.95) 0%, rgba(14, 14, 12, 0.8) 45%, rgba(14, 14, 12, 0.35) 100%);
}

.page-open-photo .wrap {
  position: relative;
  z-index: 2;
}

/* Practice page */

.practice-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 7rem);
}

.practice-index {
  position: sticky;
  top: calc(var(--header) + 2rem);
  align-self: start;
}

.practice-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.practice-index a {
  position: relative;
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0 0.6rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--fast) ease;
}

.practice-index a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 2px;
  background: var(--line);
  transition: background var(--fast) ease;
}

.practice-index a:hover,
.practice-index a.is-current {
  color: var(--ink);
}

.practice-index a.is-current::before {
  background: var(--gold);
}

.practice-index .idx {
  color: var(--gold-ink);
  font-family: var(--serif);
  font-style: italic;
}

.matter {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.matter:last-child { border-bottom: 1px solid var(--line); }

.matter-num {
  padding-top: 0.4rem;
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
}

.matter h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.matter-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
}

.matter-detail h3 {
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.45rem;
  height: 1px;
  background: var(--gold);
}

.matter .link { margin-top: 1.75rem; }

/* People page */

.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.people .person,
.people .person + .person {
  margin-top: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--ink);
}

.people .card-art { margin-bottom: 1.75rem; }

.people .person h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.areas-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.areas-tags li {
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.section .people { padding: 0; }

/* Directory */

.filters {
  display: none;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.js .filters { display: flex; }

.filter {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--fast) ease, border-color var(--fast) ease, color var(--fast) ease;
}

.filter span {
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

.filter:hover { border-color: var(--ink); }

.filter.is-active {
  border-color: var(--night);
  background: var(--night);
  color: var(--cream);
}

.filter.is-active span { color: var(--gold); }

.filter:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.tier + .tier { margin-top: 3.5rem; }

.tier[hidden] { display: none; }

.tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
}

.tier-head h2 { font-size: clamp(2rem, 3vw, 2.75rem); }

.tier-count {
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
}

.lawyers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.lawyer {
  position: relative;
  padding: 1.75rem 1.5rem 2rem;
  background: var(--white);
  transition: background var(--fast) ease;
}

.lawyer::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.lawyer-photo {
  display: block;
  width: calc(100% + 3rem);
  height: 15.5rem;
  margin: -1.75rem -1.5rem 1.25rem;
  object-fit: cover;
  object-position: center 18%;
}

.lawyer:hover::before { transform: scaleX(1); }

.lawyer-mark {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(198, 161, 91, 0.45);
  border-radius: 50%;
  background: var(--night);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.lawyer-role {
  margin-bottom: 0.4rem;
  color: var(--gold-ink);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lawyer h3 {
  margin-bottom: 0.5rem;
  font-size: 1.65rem;
  line-height: 1.05;
}

.lawyer-area {
  color: var(--muted);
  font-size: 0.92rem;
}

.lawyer-area a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.lawyer-email {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.lawyer-email a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.lawyer-email a:hover { color: var(--gold-ink); }

/* Timeline */

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 7rem);
  --progress: 0;
}

.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 1.6rem;
  top: clamp(3rem, 6vw, 5rem);
  bottom: clamp(5rem, 9vw, 7rem);
  width: 1px;
}

.timeline::before { background: var(--line); }

.timeline::after {
  background: var(--gold);
  transform-origin: top;
  transform: scaleY(var(--progress));
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 40rem);
  gap: 2rem;
  padding: 0 0 3.5rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.timeline li.is-reached .timeline-dot {
  border-color: var(--gold);
  background: var(--night);
  color: var(--gold);
}

.timeline h2 {
  margin: 0.4rem 0 0.7rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

/* Contact */

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.choice {
  display: block;
  padding: 1.6rem 1.5rem 1.7rem;
  background: var(--night-2);
  color: var(--cream);
  text-decoration: none;
  transition: background var(--fast) ease;
}

.choice:hover { background: var(--night-3); }

.choice .kicker { margin-bottom: 0.8rem; }

.choice strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.choice span.choice-note {
  display: block;
  margin-top: 0.6rem;
  color: var(--cream-dim);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.contact-grid h2 {
  margin-bottom: 2rem;
}

.enquiry { display: grid; gap: 1.5rem; }

.field {
  position: relative;
  display: grid;
  gap: 0.35rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color var(--fast) ease;
}

.field:focus-within label { color: var(--gold-ink); }

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  padding: 0.6rem 0;
  outline: none;
}

.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.field:focus-within::after { transform: scaleX(1); }

textarea { min-height: 8rem; resize: vertical; }

.enquiry .btn { justify-self: start; margin-top: 0.5rem; }

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34rem;
}

.form-banner {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--gold);
  background: var(--paper);
  color: var(--ink);
}

.form-banner.is-error { border-left-color: #8a3a32; }

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

.contact-panel {
  position: sticky;
  top: calc(var(--header) + 2rem);
  background: var(--night);
  color: var(--cream);
  padding: 1.9rem 1.75rem 2rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  font-size: 0.85rem;
}

.status[hidden] { display: none; }

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cream-dim);
}

.status.is-open .status-dot {
  background: #7fc79a;
  box-shadow: 0 0 0 0 rgba(127, 199, 154, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

.contact-panel h2 {
  margin-bottom: 1rem;
  font-size: 2.1rem;
}

.contact-panel h2 em {
  margin-left: 0.4rem;
  font-size: 1.25rem;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.hours th,
.hours td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 400;
  text-align: left;
}

.hours td { text-align: right; }

.hours th {
  color: var(--cream-dim);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hours tr.is-today th,
.hours tr.is-today td {
  color: var(--gold);
}

.contact-panel address {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-panel a {
  color: var(--cream);
  text-decoration: none;
}

.contact-panel a:hover { color: var(--gold); }

.contact-panel p + p { margin-top: 0.3rem; }

.contact-panel .link { margin-top: 1.4rem; }

/* Footer */

.site-footer {
  background: var(--night-2);
  color: var(--cream-dim);
  padding: clamp(3.5rem, 6vw, 5rem) 0 1.75rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-mark {
  display: flex;
  flex-direction: column;
  width: min(100%, 16rem);
  color: var(--cream);
}

.footer-mark .brand-name {
  font-size: clamp(3.2rem, 7vw, 4.6rem);
}

.footer-mark .brand-legal {
  margin-top: 0.5rem;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.footer-label {
  margin-bottom: 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer p + p { margin-top: 0.35rem; }

.site-footer a { color: var(--cream); text-decoration: none; }

.site-footer a:hover { color: var(--gold); }

.footer-nav {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.footer-base {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
}

.call-dock { display: none; }

/* Motion */

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 199, 154, 0.55); }
  70% { box-shadow: 0 0 0 0.6rem rgba(127, 199, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 199, 154, 0); }
}

@keyframes rise {
  from { transform: translateY(105%); }
  to { transform: none; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: none; }
}

@keyframes settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes page-out {
  to { opacity: 0; transform: translateY(-0.5rem); }
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(0.75rem); }
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: page-out 0.25s ease both;
  }

  ::view-transition-new(root) {
    animation: page-in 0.5s var(--ease) both;
  }

  .hero-photo,
  .page-open-photo img {
    animation: settle 2.6s var(--ease) both;
  }

  .line > span {
    animation: rise 1s var(--ease) both;
  }

  .line:nth-child(2) > span { animation-delay: 0.1s; }
  .line:nth-child(3) > span { animation-delay: 0.2s; }

  .enter {
    animation: fade-up 0.9s var(--ease) both;
    animation-delay: calc(0.25s + var(--i, 0) * 0.1s);
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
    transition-delay: calc(var(--i, 0) * 0.08s);
  }

  .js .reveal.in {
    opacity: 1;
    transform: none;
  }

  .js .unveil img {
    clip-path: inset(12% 0 12% 0);
    transform: scale(1.08);
    transition: clip-path 1.3s var(--ease), transform 1.6s var(--ease);
  }

  .js .unveil.in img {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .status.is-open .status-dot { animation: none; }

  .timeline::after { transform: scaleY(1); }
}

/* Responsive */

@media (max-width: 980px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }

  .lawyers { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .stat:nth-child(3) { border-left: 0; }

  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }

  .services { grid-template-columns: 1fr; }

  .svc-panel { display: none; }

  .svc-note { display: block; }

  .svc { grid-template-columns: 2.6rem 1fr auto; row-gap: 0.4rem; }

  .process { grid-template-columns: 1fr 1fr; }

  .process li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .process li:nth-child(n + 3) {
    margin-top: 1.5rem;
    border-top: 1px solid var(--line-dark);
  }
}

@media (max-width: 900px) {
  .section-intro,
  .split,
  .page-open-grid,
  .people,
  .contact-grid,
  .footer-grid,
  .practice-layout,
  .close-inner,
  .matter-detail,
  .choices,
  .why,
  .team {
    grid-template-columns: 1fr;
  }

  .notice .wrap { flex-direction: column; gap: 0.3rem; }

  .practice-index { display: none; }

  .contact-panel { position: static; }

  .close-call {
    justify-self: start;
    text-align: left;
  }

  .phone-link { white-space: normal; }
}

@media (max-width: 760px) {
  .nav-desk { display: none; }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -1.5rem;
    padding-inline: 1.5rem;
    scrollbar-width: none;
  }

  .filter { flex: none; }

  .nav-mobile { display: block; }

  .nav-mobile summary {
    position: relative;
    z-index: 41;
    list-style: none;
    cursor: pointer;
    color: var(--cream);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .nav-mobile summary::-webkit-details-marker { display: none; }

  .menu-close { display: none; }
  .nav-mobile[open] .menu-open { display: none; }
  .nav-mobile[open] .menu-close { display: inline; }

  .nav-mobile nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding: calc(var(--header) + 1rem) 1.5rem 2rem;
    background: var(--night);
  }

  .nav-mobile nav a {
    color: var(--cream);
    font-family: var(--serif);
    font-size: 2.6rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-decoration: none;
  }

  .nav-mobile nav a[aria-current="page"] { color: var(--gold); }

  .nav-mobile nav .menu-meta {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-dark);
    color: var(--cream-dim);
    font-family: var(--sans);
    font-size: 0.95rem;
  }

  .nav-mobile nav .menu-meta a {
    font-family: var(--sans);
    font-size: 1.1rem;
    color: var(--gold);
  }

  .stats .wrap { grid-template-columns: 1fr; }

  .stat + .stat,
  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .stat { padding: 1.6rem 0; }

  .process { grid-template-columns: 1fr; }

  .process li,
  .process li + li {
    padding-left: 0;
    border-left: 0;
  }

  .process li + li {
    margin-top: 1.5rem;
    border-top: 1px solid var(--line-dark);
  }

  .field-row { grid-template-columns: 1fr; }

  .matter { grid-template-columns: 1fr; gap: 0.25rem; }

  .timeline li { grid-template-columns: 3.2rem 1fr; gap: 1.1rem; }

  .call-dock {
    display: flex;
    position: fixed;
    z-index: 25;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    padding: 0.95rem 1rem;
    background: var(--gold);
    color: var(--night);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
  }

  body { padding-bottom: 3.3rem; }
}

@media (max-width: 480px) {
  .lawyers { grid-template-columns: 1fr; }
}
