/* L&M Law — homepage
   Palette from brand sheet: maroon 6b2238, beige f4e7d8, light blue b7d9fe, navy 263343 */

:root {
  --maroon: #6b2238;
  --maroon-deep: #4e1628;
  --beige: #f4e7d8;
  --beige-deep: #e9d7c2;
  --navy: #263343;
  --blue: #b7d9fe;
  --ink: var(--navy);
  --ink-soft: rgba(38, 51, 67, 0.72);
  --rule: rgba(38, 51, 67, 0.18);
  --rule-light: rgba(244, 231, 216, 0.28);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --radius: 10px;
  --shadow: 0 18px 50px rgba(38, 51, 67, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: var(--beige);
  padding: 8px 14px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

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

/* Type scale — Cormorant for headlines, Jost for everything else */
h1,
h2,
h3,
.large,
.practice-name,
.review p {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--maroon);
}

.hero h1,
.process h2,
.process h3,
.contact h2,
.practice-panel h3 {
  color: var(--beige);
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 5rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
}

.large {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.35;
  max-width: 38ch;
}

p.large + p.large {
  margin-top: 0.9em;
}

p {
  margin: 0 0 1.1em;
  max-width: 62ch;
}

.role {
  color: var(--maroon);
  font-weight: 400;
  margin: 6px 0 20px;
}

.principal-copy .role {
  margin-bottom: 6px;
}

.contact-line {
  margin: 0 0 24px;
  font-size: 0.98rem;
}

.contact-line a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.contact-line a:hover {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 231, 216, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 8px 30px rgba(38, 51, 67, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 44px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--maroon);
}

.site-nav a {
  position: relative;
  padding: 4px 0;
}

/* Underline draws in from the left on hover */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 12px 22px;
  font-size: 0.92rem;
  line-height: 1;
  margin-left: 8px;
  background: var(--maroon);
  color: var(--beige);
  border-color: var(--maroon);
}

.site-nav .nav-cta:hover {
  background: var(--maroon-deep);
  border-color: var(--maroon-deep);
  color: var(--beige);
}

.site-nav .nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font: inherit;
  font-weight: 400;
  padding: 8px 16px;
  color: var(--ink);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 15px 30px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-light {
  color: var(--beige);
  border-color: var(--beige);
}
.btn-light:hover {
  background: var(--beige);
  color: var(--maroon);
}

.btn-dark {
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-dark:hover {
  background: var(--maroon);
  color: var(--beige);
}

/* Hero */
.hero {
  background: var(--maroon);
  color: var(--beige);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  min-height: min(84vh, 800px);
  padding-block: clamp(56px, 8vw, 110px) clamp(96px, 11vw, 150px);
}

/* One orchestrated entrance: the three hero lines rise in sequence, the portrait fades in after */
.hero-line {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1200ms var(--ease) forwards;
}
.hero-line:nth-child(2) {
  animation-delay: 180ms;
}
.hero-line:nth-child(3) {
  animation-delay: 360ms;
}
.hero-line:nth-child(4) {
  animation-delay: 540ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
  margin: 22px 0 0;
  color: var(--beige);
}

.hero-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  max-width: 46ch;
  margin-top: 28px;
  color: rgba(244, 231, 216, 0.88);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
}

.hero-phone {
  color: rgba(244, 231, 216, 0.85);
  border-bottom: 1px solid rgba(244, 231, 216, 0.4);
  transition: border-color 200ms var(--ease);
}
.hero-phone:hover {
  border-bottom-color: var(--beige);
}

.hero-mark {
  display: grid;
  place-items: center;
  align-self: center;
  padding-bottom: clamp(56px, 8vw, 110px);
}

.lockup {
  width: min(100%, 440px);
  container-type: inline-size;
}

/* Wordmark sits under the mark exactly as in the logo file: tracked-out caps, roughly the mark's width */
.wordmark {
  display: block;
  margin-top: 6.5cqi;
  padding-left: 0.42em; /* offsets the trailing letter-space so the word centres optically */
  text-align: center;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10cqi;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--beige);
  opacity: 0;
}

.monogram {
  width: 100%;
  height: auto;
  overflow: visible;
}

.mark {
  fill: var(--beige);
  opacity: 0;
}

.mark-line path {
  fill: none;
  stroke: var(--beige);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Section reveal: one fade-up per section, once */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Grid children arrive a beat apart once their section is visible */
.steps > li,
.pillars > li,
.paralegals > li{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible .steps > li,
.reveal.is-visible .pillars > li,
.reveal.is-visible .paralegals > li {
  opacity: 1;
  transform: none;
}

.reveal.is-visible :is(.steps, .pillars, .paralegals) > li:nth-child(2) {
  transition-delay: 90ms;
}
.reveal.is-visible :is(.steps, .pillars, .paralegals) > li:nth-child(3) {
  transition-delay: 180ms;
}
.reveal.is-visible :is(.steps, .pillars, .paralegals) > li:nth-child(4) {
  transition-delay: 270ms;
}

/* Sections */
.section,
.contact {
  padding-block: var(--section);
  scroll-margin-top: 76px;
}

/* Every section opens the same way: a short rule, the heading, one sentence beneath */
.section-head {
  max-width: 64ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--maroon);
  margin-bottom: 24px;
}

.section-lede {
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 56ch;
}

.process .section-head::before {
  background: var(--blue);
}

.process .section-lede {
  color: rgba(244, 231, 216, 0.8);
}


.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.split-head {
  position: sticky;
  top: 100px;
}

.split-head h2 {
  margin-bottom: 22px;
}

.aside {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* Practice areas */
.practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.practice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.practice-item {
  border-bottom: 1px solid var(--rule);
}

.practice-trigger {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 24px 0 24px 32px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
}

/* A short maroon rule fades in beside the active item; the text itself never moves */
.practice-trigger::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--maroon);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}

.practice-item.is-active .practice-trigger::before,
.practice-item.is-open .practice-trigger::before {
  opacity: 1;
  transform: scaleX(1);
}

.practice-name {
  display: block;
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  transition: color 200ms var(--ease);
}

.practice-item.is-active .practice-name,
.practice-item.is-open .practice-name,
.practice-trigger:hover .practice-name {
  color: var(--maroon);
}

.practice-desc {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* In-place detail: hidden on wide screens (the panel shows it), expands on phones */
.practice-detail,
.practice-rest {
  display: none;
}

/* Preview panel */
.practice-panel {
  position: sticky;
  top: 100px;
  background: var(--maroon);
  color: var(--beige);
  border-radius: var(--radius);
  padding: clamp(32px, 3.6vw, 48px);
}

.practice-panel-inner {
  transition: opacity 320ms var(--ease);
}

.practice-panel-inner.is-leaving {
  opacity: 0;
  transition-duration: 160ms;
}

.panel-title {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  margin-bottom: 22px;
}

.panel-body p {
  color: rgba(244, 231, 216, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 44ch;
}

.panel-body .practice-q,
.practice-detail .practice-q {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule-light);
}

.panel-body .practice-q {
  color: var(--beige);
}

.panel-body .btn {
  margin-top: 28px;
  color: var(--beige);
  border-color: var(--beige);
}

.panel-body .btn:hover {
  background: var(--beige);
  color: var(--maroon);
}

/* Process — numbered because it is a sequence */
.process {
  background: var(--navy);
  color: var(--beige);
}

.process .large {
  color: rgba(244, 231, 216, 0.85);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--rule-light);
}

.steps h3 {
  margin: 18px 0 14px;
}

.steps p {
  color: rgba(244, 231, 216, 0.8);
  font-size: 1rem;
}

.step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
}

/* Team */
.principal {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--rule);
}

.principal-photo {
  margin: 0;
  overflow: hidden;
  background: var(--beige-deep);
  border-radius: var(--radius);
}

.principal-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% 8%;
}

.paralegals {
  list-style: none;
  margin: clamp(48px, 6vw, 88px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  max-width: 720px;
}

.paralegals figure {
  margin: 0 0 22px;
  overflow: hidden;
  background: var(--beige-deep);
  border-radius: var(--radius);
}

.paralegals img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 15%;
  filter: saturate(0.9);
  transition: transform 900ms var(--ease);
}

.paralegals li:hover img {
  transform: scale(1.03);
}

.paralegals h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
}

.paralegals p {
  font-size: 1rem;
  color: var(--ink-soft);
}

.paralegals .role {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* Reviews — a slim card of client quotes overlapping the bottom of the hero */
.reviews {
  position: relative;
  z-index: 2;
  margin-top: -52px;
}

.reviews .wrap {
  background: #ffffff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding-block: 26px;
  overflow: hidden;
}

/* Edges fade out via a mask so the fade follows whatever is behind it */
.marquee-wrap {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee {
  display: flex;
  width: max-content;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-shrink: 0;
}

.is-animated .marquee-track {
  animation: scroll-left 120s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.review {
  width: clamp(300px, 30vw, 400px);
  padding: 6px 36px;
  border-left: 1px solid rgba(38, 51, 67, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

/* Long quotes get a double-width card so the strip stays slim */
.review-wide {
  width: clamp(560px, 58vw, 780px);
}

/* Long quotes get a double-width card so the strip stays slim */
.review-wide {
  width: clamp(560px, 58vw, 780px);
}

.review p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
  max-width: none;
  margin: 0;
}

.review footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.stars {
  color: var(--maroon);
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.review-more,
.review-more[hidden] {
  display: none;
}

/* When motion is reduced the strip becomes a normal horizontal scroller */
.marquee:not(.is-animated) {
  width: auto;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.marquee:not(.is-animated) .review {
  scroll-snap-align: start;
}

/* Our approach — four panels that fill maroon on hover */
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.pillar {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 36px) clamp(32px, 3vw, 48px);
  background: var(--beige);
  transition: background-color 400ms var(--ease);
}

.pillar h3 {
  position: relative;
  margin: 0 0 12px;
  transition: color 400ms var(--ease);
}

.pillar p {
  position: relative;
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
  transition: color 400ms var(--ease);
}

.pillar:hover {
  background: var(--maroon);
}

.pillar:hover h3,
.pillar:hover p {
  color: var(--beige);
}

/* Contact */
.contact {
  background: var(--maroon);
  color: var(--beige);
}

.contact .section-head::before {
  background: var(--blue);
}

.contact .section-lede {
  color: rgba(244, 231, 216, 0.85);
}

.contact-details {
  max-width: 640px;
  margin-top: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid rgba(244, 231, 216, 0.28);
  border-radius: var(--radius);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.detail:hover {
  border-color: var(--beige);
  background: rgba(244, 231, 216, 0.06);
}

.detail span {
  font-size: 0.9rem;
  color: rgba(244, 231, 216, 0.7);
}

.detail strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  line-height: 1.15;
  color: var(--beige);
  word-break: break-word;
}

.detail-note {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: rgba(244, 231, 216, 0.7);
}

.call-form {
  display: grid;
  gap: 22px;
  max-width: 640px;
}

.call-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(244, 231, 216, 0.85);
}

.call-form input,
.call-form select,
.call-form textarea {
  font: inherit;
  font-weight: 300;
  color: var(--beige);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 231, 216, 0.5);
  border-radius: 0;
  padding: 10px 0;
  width: 100%;
  transition: border-color 200ms var(--ease);
}

.call-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--beige) 50%),
    linear-gradient(135deg, var(--beige) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.call-form option {
  color: var(--navy);
}

.call-form input:focus,
.call-form select:focus,
.call-form textarea:focus {
  outline: none;
  border-bottom-color: var(--blue);
}

.call-form .btn {
  justify-self: start;
  margin-top: 8px;
}

.form-note {
  font-size: 0.9rem;
  color: rgba(244, 231, 216, 0.7);
  margin: 0;
}

.form-status {
  margin: 0;
  font-size: 1rem;
  color: var(--beige);
  min-height: 1.5em;
}

.form-status:empty {
  display: none;
}

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

.call-form .btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

/* Simple pages: thank-you and not-found */
.simple {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding-block: var(--section);
}

.simple h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
}

.simple p {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 48ch;
}

.simple .btn {
  margin-top: 32px;
}

/* Floating call button, phones only, appears once the hero has scrolled past */
.float-cta {
  display: none;
}

/* Footer */
.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--rule);
}

.footer-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 48px;
  align-items: center;
}

.footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-row nav a {
  transition: color 200ms var(--ease);
}
.footer-row nav a:hover {
  color: var(--maroon);
}

.footer-legal {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

/* Reduced motion: no entrances, no marquee, no hover movement */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-line {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .mark,
  .wordmark {
    opacity: 1;
  }
  .mark-line {
    display: none;
  }
  .reveal,
  .steps > li,
  .pillars > li,
  .paralegals > li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .paralegals li:hover img {
    transform: none;
  }
  .practice-trigger,
  .practice-trigger::before,
  .practice-panel-inner {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-mark {
    justify-items: start;
    padding-bottom: 0;
  }
  .lockup {
    width: min(66%, 320px);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split-head {
    position: static;
  }
  .steps,
  .paralegals {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .practice-panel {
    display: none;
  }
  .practice-trigger {
    padding-left: 0;
  }
  .practice-trigger::before {
    display: none;
  }
  .practice-item.is-active:not(.is-open) .practice-name {
    color: inherit;
  }
  /* Phones: the summary stays, the expanded part shows only the remaining sentences */
  .practice-item.is-open .practice-detail > p:not(.practice-rest) {
    display: none;
  }
  .practice-item.is-open .practice-rest {
    display: block;
  }
  .practice-item.is-open .practice-detail {
    display: block;
    padding: 0 0 28px 0;
    animation: unfold 400ms var(--ease) both;
  }
  @keyframes unfold {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
  }
  .practice-detail p {
    font-size: 1rem;
    color: var(--ink-soft);
  }
  .practice-detail .practice-q {
    color: var(--maroon);
    border-top-color: var(--rule);
    font-size: 1.2rem;
    margin-top: 18px;
    padding-top: 18px;
  }
  .practice-detail .btn {
    margin-top: 22px;
  }
  .principal {
    grid-template-columns: 1fr;
  }
  .principal-photo {
    max-width: 420px;
  }
  .paralegals li {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 6px 24px;
    align-items: start;
  }
  .paralegals figure {
    grid-row: 1 / span 4;
    margin: 0;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-block;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--beige);
    border-bottom: 1px solid var(--rule);
    padding: 20px var(--gutter) 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 1.1rem;
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-cta {
    margin: 6px 0 0;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .footer-row {
    grid-template-columns: 1fr;
  }
  .contact-details {
    grid-template-columns: 1fr;
  }
  .pillars {
    grid-template-columns: 1fr;
  }

  /* Phones: one centred card at a time, dots beneath */
  .marquee-wrap {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee {
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
  }
  .marquee::-webkit-scrollbar {
    display: none;
  }
  .marquee-track {
    width: 100%;
    gap: 0;
    align-items: stretch;
  }
  .review,
  .review-wide {
    flex: 0 0 100%;
    width: 100%;
    min-height: 200px;
    padding: 22px 26px 18px;
    scroll-snap-align: start;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    gap: 12px;
    justify-content: flex-start;
  }
  .review p {
    font-size: 1.02rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .review.is-open p {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .review-more {
    display: inline-block;
    align-self: flex-start;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 0.9rem;
    color: var(--maroon);
    border-bottom: 1px solid var(--maroon);
    cursor: pointer;
  }
  .review footer {
    margin-top: auto;
  }
  .review-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 0 2px;
  }
  .review-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(107, 34, 56, 0.22);
    transition: background-color 200ms var(--ease), transform 200ms var(--ease);
  }
  .review-dots button.is-active {
    background: var(--maroon);
    transform: scale(1.25);
  }
  .reviews .wrap {
    padding-block: 18px 12px;
  }
  .paralegals li {
    grid-template-columns: 112px 1fr;
    gap: 4px 20px;
    align-items: center;
  }
  .paralegals figure {
    grid-row: 1 / span 2;
  }
  .paralegals li > p:not(.role) {
    grid-column: 1 / -1;
    margin-top: 14px;
  }
  .paralegals h3 {
    font-size: 1.4rem;
    align-self: end;
  }
  .paralegals .role {
    margin: 4px 0 0;
    align-self: start;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  /* Phone hero: mark first, then headline, subline, lead and actions, all left-aligned */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding-block: 44px 56px;
  }
  .hero-copy {
    display: contents;
  }
  .hero-copy > *,
  .hero h1,
  .hero-sub,
  .hero-lead {
    text-align: center;
    margin-inline: auto;
  }
  .hero-mark {
    grid-row: 1;
    justify-items: center;
    padding: 0 0 34px;
  }
  .lockup {
    width: 150px;
  }
  .hero h1 {
    grid-row: 2;
    font-size: clamp(2.1rem, 9vw, 2.5rem);
    max-width: 12ch;
  }
  .hero-sub {
    grid-row: 3;
    font-size: 1.2rem;
    margin-top: 16px;
  }
  .hero-lead {
    grid-row: 4;
    font-size: 1.02rem;
    margin-top: 20px;
  }
  .hero-actions {
    grid-row: 5;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
  }
  .hero-grid {
    padding-bottom: 84px;
  }
  .reviews {
    margin-top: -40px;
  }
  .reviews .wrap {
    padding-block: 20px;
  }
  .float-cta {
    display: inline-block;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    padding: 14px 22px;
    background: var(--maroon);
    color: var(--beige);
    font-weight: 400;
    font-size: 0.95rem;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(107, 34, 56, 0.35);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 300ms var(--ease), transform 300ms var(--ease);
  }
  .float-cta.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* ---------- Inner pages: blog, articles, legal ---------- */
.reading {
  width: min(760px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.page-head {
  padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
}

.page-head h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  max-width: 20ch;
}

.page-head .lede {
  margin: 26px 0 0;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}





.index-note {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Article body */
.article {
  padding-block: clamp(56px, 7vw, 96px) var(--section);
}

.prose > * + * {
  margin-top: 1.4em;
}

.prose p,
.prose li {
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: none;
  margin-bottom: 0;
}

.prose h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  margin-top: 2.4em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.25;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.9em;
}

.prose strong {
  font-weight: 500;
  color: var(--ink);
}

/* Numbered question list: number and question sit on one line, answer hangs beneath */









/* Legal pages */
.legal .prose h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  margin-top: 2em;
}

.legal .prose p {
  font-size: 1.05rem;
}

.legal .updated {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .article-end {
    grid-template-columns: 1fr;
  }
  .prose ol.questions li {
    grid-template-columns: 2rem 1fr;
  }
}
