/* Holloway & Hulling homepage */

:root {
  --navy: #1b2c58;
  --navy-deep: #0f1a36;
  --blue: #29abe2;
  --blue-hover: #4dbbea;
  --blue-ink: #1474a3;
  --ink: #16223f;
  --muted: #5b6377;
  --paper: #ffffff;
  --offwhite: #f7f7f5;
  --border: #e4e2dd;

  --display: "Libre Caslon Display", Georgia, serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --max: 1260px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--navy);
}
h2 { font-size: clamp(2.3rem, 3.9vw, 3.9rem); margin-bottom: 1.4rem; }
h3 { font-size: clamp(1.5rem, 2vw, 1.95rem); }
p { margin: 0 0 1rem; color: var(--muted); }

.container { width: min(calc(100% - 96px), var(--max)); margin: 0 auto; }

.skip-link { position: absolute; left: 10px; top: -80px; z-index: 100; background: #fff; padding: 12px; }
.skip-link:focus { top: 10px; }

/* Buttons and links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 54px;
  padding: 14px 28px;
  border: 0;
  background: var(--blue);
  color: var(--navy-deep);
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, transform .25s var(--ease);
}
.button:hover { background: var(--blue-hover); transform: translateY(-2px); }
.button span { transition: transform .3s var(--ease); }
.button:hover span { transform: translateX(3px); }
.button-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.button-ghost:hover { background: #fff; color: var(--navy-deep); }
.text-link-light { color: #fff; }
.text-link-light:hover { color: var(--blue); }
.inline-link { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.button-small { min-height: 42px; padding: 10px 18px; font-size: .66rem; white-space: nowrap; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--blue-ink);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .25s;
}
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover { color: var(--navy); }
.text-link:hover span { transform: translateX(4px); }

/* Header: transparent over the hero, white once scrolled */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: background .35s, box-shadow .35s, border-color .35s, color .35s;
}
.site-header.is-scrolled {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 var(--border), 0 10px 30px -20px rgba(15, 26, 54, .25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 108px;
  transition: min-height .35s var(--ease);
}
.is-scrolled .header-inner { min-height: 84px; }

.logo { position: relative; display: block; }
.logo img { width: 245px; transition: opacity .35s, width .35s var(--ease); }
.logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.is-scrolled .logo .logo-light { opacity: 0; }
.is-scrolled .logo .logo-dark { opacity: 1; }
.is-scrolled .logo img { width: 215px; }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.header-contact { display: flex; gap: 1.6rem; font-size: .82rem; font-weight: 600; }
.header-contact span {
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
  margin-right: .3rem;
}
.header-contact a + a { padding-left: 1.6rem; border-left: 1px solid rgba(127, 127, 127, .4); }

.header-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav { display: flex; gap: clamp(14px, 1.6vw, 26px); }
.main-nav a {
  font-size: .8rem;
  font-weight: 500;
  padding: .25rem 0;
  background: linear-gradient(var(--blue), var(--blue)) left bottom / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease), color .25s;
}
.main-nav a:hover { background-size: 100% 1.5px; }
.main-nav a, .header-contact a { color: #fff; }
.is-scrolled .main-nav a, .is-scrolled .header-contact a { color: var(--ink); }
.main-nav a:hover, .header-contact a:hover { color: var(--blue); }
.is-scrolled .main-nav a:hover, .is-scrolled .header-contact a:hover { color: var(--blue-ink); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  padding: 12px 8px;
  background: none; border: 0; cursor: pointer;
  color: inherit;
}
.nav-toggle span { display: block; height: 1.5px; margin: 6px 0; background: currentColor; transition: transform .3s var(--ease); }

/* Mobile menu (shown below 1024px) */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px 24px calc(28px + env(safe-area-inset-bottom));
  background: var(--navy-deep);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font: 400 1.9rem/1.2 var(--display);
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
}
.mobile-menu nav a:hover { color: var(--blue); }
.mobile-menu-foot { display: grid; gap: 1.25rem; }
.mobile-menu-foot .button { width: 100%; }
.mobile-menu-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mobile-menu-phones a {
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .25);
  font-weight: 600;
  font-size: .95rem;
}
.mobile-menu-phones span { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }

.nav-open { overflow: hidden; }
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.nav-open .mobile-menu nav a { opacity: 1; transform: none; }
.nav-open .mobile-menu nav a:nth-child(2) { transition-delay: .03s; }
.nav-open .mobile-menu nav a:nth-child(3) { transition-delay: .06s; }
.nav-open .mobile-menu nav a:nth-child(4) { transition-delay: .09s; }
.nav-open .mobile-menu nav a:nth-child(5) { transition-delay: .12s; }
.nav-open .mobile-menu nav a:nth-child(6) { transition-delay: .15s; }
.nav-open .mobile-menu nav a:nth-child(7) { transition-delay: .18s; }
.nav-open .site-header { background: transparent; box-shadow: none; color: #fff; border-bottom-color: rgba(255, 255, 255, .14); }
.nav-open .logo .logo-light { opacity: 1; }
.nav-open .logo .logo-dark { opacity: 0; }
.nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image {
  z-index: -2;
  background: url("../img/team-photo.jpg") center 38% / cover no-repeat;
  transform: scale(1.05);
  animation: heroSettle 2.4s var(--ease) forwards;
}
@keyframes heroSettle { to { transform: scale(1); } }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(to bottom,
      rgba(15, 26, 54, .62) 0%,
      rgba(15, 26, 54, .18) 22%,
      rgba(15, 26, 54, .22) 45%,
      rgba(15, 26, 54, .7) 72%,
      rgba(15, 26, 54, .95) 100%),
    rgba(15, 26, 54, .18);
}
.hero-content { text-align: center; color: #fff; padding-bottom: clamp(140px, 13vw, 180px); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  max-width: 1080px;
  margin: 0 auto 1.4rem;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .4);
  animation: rise 1.1s var(--ease) .15s both;
}
.hero-lede {
  max-width: 700px;
  text-wrap: balance;
  margin: 0 auto 2.1rem;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  text-shadow: 0 1px 16px rgba(0, 0, 0, .35);
  animation: rise 1.1s var(--ease) .3s both;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; animation: rise 1.1s var(--ease) .45s both; }
.hero-rating { margin: 1.5rem 0 0; color: rgba(255, 255, 255, .85); font-size: .9rem; animation: rise 1.1s var(--ease) .6s both; }
.hero-rating .stars { color: var(--blue); letter-spacing: .12em; margin-right: .35rem; }
.hero-rating strong { color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Stats: floating panel overlapping the hero */

.stats { position: relative; z-index: 2; margin-top: -96px; }
.stats-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(41, 171, 226, .16), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 70%);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(15, 26, 54, .65);
}
.stats-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) .2s;
}
.stats-panel.is-visible::before { transform: scaleX(1); }
.stat { padding: clamp(2rem, 3.4vw, 3rem) clamp(1.25rem, 2.6vw, 2.5rem); }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat-num {
  margin: 0 0 .9rem;
  font: 400 clamp(3rem, 5vw, 4.75rem)/1 var(--display);
  letter-spacing: -.03em;
  color: #fff;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, .04);
}
.stat-badges img { width: 92px; height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); transition: transform .4s var(--ease); }
.stat-badges img:hover { transform: translateY(-3px) rotate(-2deg); }
.stat-num em { font-style: normal; color: var(--blue); margin-left: .04em; }
.stat-label {
  margin: 0;
  padding-top: .9rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

/* Practice areas */

.practice-section { background: var(--offwhite); }
.practice-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  padding: clamp(72px, 7vw, 104px) 0 clamp(40px, 4vw, 56px);
}
.practice-head h2 { margin: 0; }
.practice-head p { margin: 0; max-width: 520px; }

.practice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--navy-deep);
}
.practice-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(640px, 54vw, 760px);
  overflow: hidden;
  color: #fff;
}
.practice-panel + .practice-panel { border-left: 1px solid rgba(255, 255, 255, .1); }
.practice-panel > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.practice-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(15, 26, 54, .15) 0%, rgba(15, 26, 54, .6) 35%, rgba(15, 26, 54, .96) 72%);
  transition: background-color .6s var(--ease);
}
.practice-panel:hover > img { transform: scale(1.06); }
.practice-panel:hover::before { background-color: rgba(15, 26, 54, .2); }
.practice-body { padding: clamp(2rem, 3.2vw, 3rem); }
.practice-panel h3 { font-size: clamp(2.1rem, 3vw, 3rem); line-height: 1.02; margin-bottom: 1rem; }
.practice-panel h3 a { color: #fff; transition: color .25s; }
.practice-panel h3 a:hover { color: var(--blue); }
.practice-panel p { color: rgba(255, 255, 255, .85); font-size: .93rem; margin-bottom: 1.25rem; }
.practice-links {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .5rem;
  font-size: .8rem;
}
.practice-links li { padding: .3rem .7rem; border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .82); }
.practice-links a { color: #fff; }
.practice-links li:has(a) { transition: background .25s, border-color .25s; }
.practice-links li:has(a):hover { background: var(--blue); border-color: var(--blue); }
.practice-links li:has(a):hover a { color: var(--navy-deep); }
.practice-offices { display: grid; gap: .6rem; }
.practice-offices .text-link { color: #fff; font-size: .68rem; }
.practice-offices .text-link span { color: var(--blue); }
.practice-offices .text-link:hover { color: var(--blue); }

/* Why choose */

.why { padding: clamp(84px, 9vw, 136px) 0; }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.why-intro { position: sticky; top: 120px; }
.why-intro > p { max-width: 380px; margin-bottom: 2rem; }
.why-intro img { width: 100%; aspect-ratio: 1.45; object-fit: cover; margin-bottom: 2rem; }
.why-intro-tall img { aspect-ratio: 1; object-position: center 22%; }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.why-list li {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 2rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--border);
}
.why-list h3 { font-size: clamp(1.45rem, 1.9vw, 1.8rem); }
.why-list p { margin: 0; }

/* Team video */

.team { padding: clamp(84px, 9vw, 140px) 0; }
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}
.team-media { position: relative; padding: 0 0 28px 28px; }
.team-media::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 62%; height: 78%;
  background: var(--navy);
}
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: 0 30px 60px -30px rgba(15, 26, 54, .5);
}
.video img, .video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video img { transition: transform 1.2s var(--ease); }
.video:hover img { transform: scale(1.03); }
.video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 26, 54, .55), rgba(15, 26, 54, .05) 55%);
  pointer-events: none;
  transition: opacity .4s;
}
.video.is-playing::after { opacity: 0; }
.video-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.video-play-icon {
  position: relative;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(41, 171, 226, .5);
  animation: pulse 2.6s var(--ease) infinite;
  transition: transform .35s var(--ease), background .25s;
}
.video-play-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--navy-deep);
}
.video-play:hover .video-play-icon { transform: scale(1.08); background: var(--blue-hover); }
.video-play-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(41, 171, 226, .55); }
  70% { box-shadow: 0 0 0 26px rgba(41, 171, 226, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 171, 226, 0); }
}
.team-media figcaption { position: relative; margin-top: .9rem; padding-left: 1.25rem; font-size: .8rem; color: rgba(255, 255, 255, .72); }
.team-copy h2 { font-size: clamp(2.2rem, 3.4vw, 3.4rem); }
.team-copy p + p { margin-bottom: 2rem; }
.team-copy p { margin-bottom: 1rem; }
.team-copy p { max-width: 460px; }

/* Awards */

.awards { padding: clamp(72px, 8vw, 112px) 0; }
.awards-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--navy);
}
.awards-head h2 { margin: 0; }
.awards-head p { margin: 0; max-width: 540px; }
.awards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.awards-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: .5rem 1rem;
  text-align: center;
}
.awards-list li + li { border-left: 1px solid var(--border); }
.awards-list img { width: 118px; height: 118px; object-fit: contain; transition: transform .5s var(--ease); }
.awards-list li:hover img { transform: translateY(-4px) scale(1.04); }
.awards-list span { font-size: .8rem; line-height: 1.5; color: var(--muted); }
.awards-list strong { display: block; font: 400 1.2rem/1.2 var(--display); color: var(--navy); margin-bottom: .25rem; }

/* FAQ */

.faq { padding: clamp(80px, 8vw, 120px) 0; border-top: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq h2 { max-width: 12ch; }
.faq-list { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.6rem 3.5rem 1.6rem 0;
  font: 400 clamp(1.3rem, 1.8vw, 1.65rem)/1.25 var(--display);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-ink); }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--blue);
  transition: transform .35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { margin: -.4rem 0 1.7rem; max-width: 620px; }
.faq details a { color: var(--blue-ink); font-weight: 600; }

/* Reviews */

.testimonial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 9vw, 120px) 0;
  background: var(--navy-deep);
  color: #fff;
}
.testimonial-bg { position: absolute; inset: 0; z-index: -2; background: url("../img/reviews-bg.jpg") center 60% / cover no-repeat; }
.testimonial::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(15, 26, 54, .96) 0%, rgba(15, 26, 54, .86) 45%, rgba(27, 44, 88, .55) 100%);
}
.testimonial-title {
  color: #fff;
  font-size: clamp(1.4rem, 1.9vw, 1.75rem);
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.testimonial-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; }
.slides { display: grid; max-width: 820px; }
.slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slides { align-content: start; min-height: 15.5rem; }
.slide blockquote {
  margin: 0 0 1.5rem;
  font: 400 clamp(1.8rem, 2.6vw, 2.5rem)/1.2 var(--display);
  letter-spacing: -.015em;
  text-indent: -.4em;
}
/* Longer reviews: smaller type, cut to a few lines until "Read full review" is pressed */
.slide-medium blockquote { font-size: clamp(1.4rem, 1.85vw, 1.8rem); line-height: 1.3; }
.slide-long blockquote { font-size: clamp(1.2rem, 1.45vw, 1.42rem); line-height: 1.45; letter-spacing: 0; }
.slide-medium blockquote,
.slide-long blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.slide-long blockquote { -webkit-line-clamp: 6; }
.slide.is-expanded blockquote { display: block; -webkit-line-clamp: none; overflow: visible; }
.slide-more {
  display: block;
  margin: -.75rem 0 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .8);
  font: 600 .8rem var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.slide-more:hover { color: var(--blue); }
.slide-more[hidden] { display: none; }
.slide figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.slide figcaption::before { content: ""; width: 40px; height: 1px; background: var(--blue); }
.slider-side { display: flex; flex-direction: column; align-items: flex-end; gap: 1.1rem; flex-shrink: 0; }
.rating { margin: 0; color: rgba(255, 255, 255, .78); font-size: .88rem; }
.rating strong { font: 400 1.6rem var(--display); color: #fff; margin-right: .35rem; }
.slider-controls { display: flex; align-items: center; gap: .7rem; }
.slider-btn {
  width: 50px; height: 50px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.slider-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--navy-deep); }
.slider-count { margin-left: .9rem; font-size: .8rem; letter-spacing: .14em; color: rgba(255, 255, 255, .75); }

/* Locations */

.locations { background: var(--offwhite); padding: clamp(80px, 8vw, 124px) 0; }
.locations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.locations-intro { padding-right: 2rem; }
.locations-intro h2 { font-size: clamp(2.2rem, 3.3vw, 3.4rem); }
.locations-intro p { max-width: 340px; margin-bottom: 1.6rem; }
.location-card { background: #fff; box-shadow: 0 20px 40px -30px rgba(15, 26, 54, .35); }
.location-img { overflow: hidden; }
.location-img img { width: 100%; aspect-ratio: 1.5; object-fit: cover; transition: transform 1s var(--ease); }
.location-img-tall img { object-position: center 12%; }
.location-card:hover .location-img img { transform: scale(1.04); }
.location-body { padding: 1.5rem 1.6rem 1.7rem; }
.location-card h3 {
  font: 700 .78rem var(--body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .7rem;
}
.location-card address { font-style: normal; font-size: .9rem; color: var(--muted); }
.location-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; margin-top: .45rem; }
.location-phone { font-weight: 600; font-size: .92rem; color: var(--navy); }
.location-phone:hover { color: var(--blue-ink); }

/* Closing CTA */

.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 10vw, 140px) 0;
  text-align: center;
  background: var(--navy-deep);
  color: #fff;
}
.closing-bg { position: absolute; inset: 0; z-index: -2; background: url("../img/cta-bg.jpg") center 65% / cover no-repeat; }
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(15, 26, 54, .78), rgba(15, 26, 54, .92));
}
.closing h2 { color: #fff; }
.closing p { max-width: 560px; margin: 0 auto 2.2rem; color: rgba(255, 255, 255, .85); }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Footer and consultation form */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .66); font-size: .9rem; }

.consult { padding: clamp(80px, 8vw, 120px) 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.consult h2 { color: #fff; font-size: clamp(2.2rem, 3.4vw, 3.4rem); }
.consult-intro > p { color: rgba(255, 255, 255, .72); max-width: 420px; }
.consult-phones { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin: 2rem 0; }
.consult-phones a { font: 400 1.55rem var(--display); color: #fff; transition: color .25s; }
.consult-phones a:hover { color: var(--blue); }
.consult-phones span {
  display: block;
  font: 700 .66rem var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .3rem;
}
.consult-intro .consult-note { font-size: .78rem; color: rgba(255, 255, 255, .45); max-width: 380px; }

.consult-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 1.75rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.field label i { font-style: normal; color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .7rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: 400 1rem var(--body);
  transition: border-color .25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2329abe2' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right center / 12px no-repeat;
  cursor: pointer;
}
.field select option { color: var(--ink); }
.field select:invalid { color: rgba(255, 255, 255, .45); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--blue); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #ff8a80; }

.consent { display: flex; gap: .85rem; font-size: .74rem; line-height: 1.6; color: rgba(255, 255, 255, .55); cursor: pointer; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--blue); }
.consent a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error span { color: #ffb3ab; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .8); }
.form-status.is-error { color: #ffb3ab; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 2.5rem;
  padding: 4rem 0 3.5rem;
}
.footer-brand img { width: 230px; }
.footer-brand p { margin-top: 1.25rem; max-width: 300px; font-size: .86rem; line-height: 1.65; }
.site-footer h4 { margin: 0 0 1rem; font-size: .9rem; font-weight: 600; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-grid p { margin: 0; color: inherit; }
.site-footer a { transition: color .25s; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.75rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom a + a { margin-left: 1.25rem; }

/* Mobile action bar (phones only) */

.action-bar { display: none; }


/* ---------- Practice pages ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 1.4rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .7);
  animation: rise 1.1s var(--ease) both;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span[aria-hidden] { color: var(--blue); }
.main-nav a[aria-current="page"] { background-size: 100% 1.5px; }
.hero-page .hero-image { background-position: var(--hero-pos, center 30%); }
.hero-page .hero-shade {
  background:
    linear-gradient(to bottom,
      rgba(15, 26, 54, .65) 0%,
      rgba(15, 26, 54, .35) 25%,
      rgba(15, 26, 54, .45) 50%,
      rgba(15, 26, 54, .8) 75%,
      rgba(15, 26, 54, .96) 100%),
    rgba(15, 26, 54, .2);
}

.split { padding: clamp(84px, 9vw, 136px) 0; }
.split + .split { padding-top: 0; }
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.split-reverse .split-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split-copy h2 { max-width: 16ch; }
.split-copy p { max-width: 540px; }
.split-copy .button, .split-copy .text-link { margin-top: 1rem; }
.split-media { position: relative; padding: 0 0 28px 28px; }
.split-media::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 62%; height: 78%;
  background: var(--navy);
}
.split-media img { position: relative; width: 100%; aspect-ratio: 1.5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(15, 26, 54, .5); }
.split-media-portrait { max-width: 480px; justify-self: end; }
.split-media-portrait img { aspect-ratio: 4 / 5; object-position: center 20%; }
.split-long .split-grid { align-items: start; }
.split-long .split-media { position: sticky; top: 120px; margin-top: .5rem; }
.split-long .split-media img { aspect-ratio: 4 / 5; }
.split-media figcaption { position: relative; margin-top: .9rem; padding-left: 1.25rem; font-size: .8rem; color: rgba(255, 255, 255, .72); }

.check-list { list-style: none; margin: 1.5rem 0 1rem; padding: 0; border-top: 1px solid var(--border); }
.check-list li {
  position: relative;
  padding: .85rem 0 .85rem 2rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.15rem;
  width: 12px; height: 7px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.charges, .results {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 9vw, 128px) 0;
  background: var(--navy-deep);
  color: #fff;
}
.charges-bg, .results-bg { position: absolute; inset: 0; z-index: -2; background: url("../img/reviews-bg.jpg") center / cover no-repeat; opacity: .35; }
.results-bg { background-image: url("../img/cta-bg.jpg"); }
.charges::before, .results::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 26, 54, .9), rgba(15, 26, 54, .97));
}
.charges h2, .results h2 { color: #fff; margin: 0; }
.charges-head, .results-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.charges-head p, .results-head p { margin: 0; color: rgba(255, 255, 255, .72); max-width: 520px; }

.charges-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
.charges-grid a, .charges-item {
  position: relative;
  display: block;
  height: 100%;
  padding: 1.6rem 3.5rem 1.6rem 1.6rem;
  background: var(--navy-deep);
  transition: background .3s var(--ease);
}
.charges-grid a::after {
  content: "\2192";
  position: absolute;
  right: 1.5rem; top: 1.55rem;
  color: var(--blue);
  transition: transform .3s var(--ease);
}
.charges-grid a:hover { background: var(--navy); }
.charges-grid a:hover::after { transform: translateX(4px); }
.charges-grid strong { display: block; font: 400 1.4rem/1.2 var(--display); color: #fff; margin-bottom: .45rem; }
.charges-grid span { display: block; font-size: .88rem; line-height: 1.55; color: rgba(255, 255, 255, .68); }

.results-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.results-grid li {
  padding: 1.75rem 1.6rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .03);
  transition: border-color .3s, transform .4s var(--ease);
}
.results-grid li:hover { border-color: var(--blue); transform: translateY(-3px); }
.results-grid strong { display: block; font: 400 2.1rem/1 var(--display); color: var(--blue); margin-bottom: 1rem; }
.results-grid span { display: block; font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: .35rem; }
.results-grid small { display: block; font-size: .86rem; line-height: 1.55; color: rgba(255, 255, 255, .65); }
.results-cta { margin-top: 2.5rem; text-align: center; }


/* ---------- Interior heroes ---------- */

.hero-short { min-height: clamp(680px, 92vh, 1040px); }
.hero-short .hero-content { padding-bottom: clamp(72px, 8vw, 110px); }
.hero-short.hero-has-stats .hero-content { padding-bottom: clamp(140px, 13vw, 180px); }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .8); animation: rise 1.1s var(--ease) .3s both; }
.hero-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 1.25rem .2rem 0; border-radius: 50%; background: var(--blue); }

/* Attorney profile hero: copy left, portrait right */
.hero-profile {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 0 170px;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}
.hero-profile-photo { position: absolute; inset: 0 0 0 auto; width: 52%; z-index: -2; }
.hero-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; animation: heroSettle 2.4s var(--ease) forwards; transform: scale(1.05); }
.hero-profile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--navy-deep) 0%, var(--navy-deep) 46%, rgba(15, 26, 54, .55) 60%, rgba(15, 26, 54, .05) 80%),
    linear-gradient(to bottom, rgba(15, 26, 54, .55) 0%, rgba(15, 26, 54, 0) 25%, rgba(15, 26, 54, 0) 70%, rgba(15, 26, 54, .9) 100%);
}
.hero-profile-content { max-width: var(--max); }
.hero-profile-content > * { max-width: 600px; }
.hero-profile .breadcrumb { justify-content: flex-start; }
.hero-profile h1 { color: #fff; font-size: clamp(3.2rem, 6.5vw, 6.4rem); margin-bottom: .6rem; animation: rise 1.1s var(--ease) .15s both; }
.hero-role { margin: 0 0 1.6rem; font-size: .9rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); animation: rise 1.1s var(--ease) .25s both; }
.hero-profile .hero-lede { margin: 0 0 2.1rem; text-align: left; }
.hero-profile .hero-actions { justify-content: flex-start; }

/* ---------- Attorney profile ---------- */

.credentials { padding: clamp(84px, 9vw, 128px) 0; background: var(--offwhite); }
.credentials-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; border-top: 1px solid var(--navy); padding-top: 2.25rem; }
.credentials h2 { margin-bottom: 2.5rem; }
.credentials h3 { font-size: 1.45rem; margin-bottom: 1rem; }
.credentials ul { list-style: none; margin: 0; padding: 0; }
.credentials li { padding: .7rem 0; border-bottom: 1px solid var(--border); font-size: .92rem; color: var(--ink); }
.credentials li small { display: block; color: var(--muted); font-size: .82rem; }

.chips { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a, .chips button {
  display: inline-block;
  padding: .55rem 1rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font: 500 .85rem var(--body);
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.chips a:hover, .chips button:hover { border-color: var(--navy); }
.chips .is-active, .chips a.chip-primary { background: var(--navy); border-color: var(--navy); color: #fff; }

.results-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results-grid-wide small { font-size: .9rem; line-height: 1.65; }

/* ---------- Team ---------- */

.people { padding: clamp(84px, 9vw, 128px) 0; }
.people + .people { padding-top: 0; }
.people-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: end; padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--navy); }
.people-head h2 { margin: 0; }
.people-head p { margin: 0; max-width: 520px; }
.people-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.person-photo { position: relative; overflow: hidden; background: var(--offwhite); margin-bottom: 1.25rem; }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; transition: transform 1.1s var(--ease); }
.person:hover .person-photo img { transform: scale(1.04); }
.person-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.person:hover .person-photo::after { transform: scaleX(1); }
.person h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.person h3 a:hover { color: var(--blue-ink); }
.person-role { margin: 0 0 .75rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); }
.person-meta { margin: 0 0 1rem; font-size: .88rem; line-height: 1.6; }
.people-grid-staff { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
.people-grid-staff .person h3 { font-size: 1.3rem; }
.people-grid-staff .person-role { margin-bottom: 0; }

/* ---------- Contact ---------- */

.contact { padding: clamp(84px, 9vw, 128px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-form-panel { padding: clamp(1.75rem, 3.5vw, 3rem); background: var(--navy-deep); color: #fff; box-shadow: 0 40px 80px -40px rgba(15, 26, 54, .6); }
.contact-form-panel h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.8rem); }
.contact-form-panel > p { color: rgba(255, 255, 255, .72); margin-bottom: 2rem; }
.contact-form-panel .consult-form { padding: 0; background: none; border: 0; }
.office-cards { display: grid; gap: 24px; }
.office-card { background: #fff; border: 1px solid var(--border); }
.office-card iframe { display: block; width: 100%; height: 220px; border: 0; filter: grayscale(.35) contrast(1.05); }
.office-card-body { padding: 1.5rem 1.6rem 1.7rem; }
.office-card h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.office-card address { font-style: normal; color: var(--muted); }
.office-card .location-phone { display: inline-block; margin: .6rem 0 1rem; font-size: 1.05rem; }
.office-card .text-link { display: flex; }

/* ---------- Blog ---------- */

.blog { padding: clamp(84px, 9vw, 128px) 0; }
.blog-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--navy); }
.blog-toolbar h2 { margin: 0; }
.blog-toolbar .chips { margin: 0; }
.post-featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 4vw, 64px); align-items: center; margin-bottom: 4rem; }
.post-featured .post-img img { aspect-ratio: 16 / 10; }
.post-featured h3 { font-size: clamp(2rem, 3.2vw, 3rem); }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.post-card[hidden] { display: none; }
.post-img { display: block; overflow: hidden; margin-bottom: 1.25rem; background: var(--navy); }
.post-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-img-text {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 2;
  padding: 1.5rem;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(41, 171, 226, .25), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 80%);
  color: #fff;
  font: 400 1.5rem/1.15 var(--display);
}
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0 0 .6rem; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-meta a, .post-meta .post-cat { color: var(--blue-ink); }
.post-card h3 { font-size: 1.5rem; line-height: 1.15; margin-bottom: .7rem; }
.post-card h3 a { transition: color .25s; }
.post-card h3 a:hover { color: var(--blue-ink); }
.post-card p { font-size: .92rem; }
.blog-more { margin-top: 3.5rem; text-align: center; }
.blog-more .button { background: var(--navy); color: #fff; }
.blog-more .button:hover { background: var(--blue); color: var(--navy-deep); }

/* ---------- Article ---------- */

.article { padding: clamp(72px, 8vw, 112px) 0; }
.article-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 110px; max-height: calc(100vh - 140px); overflow: auto; padding-right: .5rem; }
.toc h2 { font-size: 1.25rem; margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--navy); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: .5rem 0 .5rem .9rem; border-left: 2px solid var(--border); font-size: .84rem; line-height: 1.45; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--navy); }
.toc a.is-active { color: var(--navy); border-left-color: var(--blue); font-weight: 600; }
.toc-cta { margin-top: 1.75rem; padding: 1.4rem; background: var(--navy-deep); color: #fff; }
.toc-cta p { color: rgba(255, 255, 255, .78); font-size: .85rem; margin-bottom: 1rem; }
.toc-cta strong { display: block; font: 400 1.25rem/1.2 var(--display); color: #fff; margin-bottom: .5rem; }
.toc-cta .button { width: 100%; min-height: 46px; padding: 10px 14px; font-size: .66rem; }

.prose { max-width: 740px; font-size: 1.04rem; line-height: 1.8; color: var(--ink); }
.prose > p:first-child { font: 400 clamp(1.35rem, 2vw, 1.6rem)/1.45 var(--display); color: var(--navy); margin-bottom: 2.5rem; }
.prose p { color: #3a4358; margin: 0 0 1.3rem; }
.prose h2 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); margin: 3.5rem 0 1.25rem; padding-top: 2.25rem; border-top: 1px solid var(--border); scroll-margin-top: 110px; }
.prose h3 { font-size: 1.5rem; margin: 2.25rem 0 .9rem; scroll-margin-top: 110px; }
.prose ul { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.prose li { position: relative; padding: .35rem 0 .35rem 1.6rem; color: #3a4358; }
.prose li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 8px; height: 8px; border: 2px solid var(--blue); border-radius: 50%; }
.prose a { color: var(--blue-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--navy); }
.callout { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 3px solid var(--blue); background: var(--offwhite); }
.callout p { margin: 0; }
.callout strong { display: block; margin-bottom: .35rem; font: 400 1.2rem var(--display); color: var(--navy); }
.prose-cta { margin: 3rem 0; padding: 2.25rem; background: var(--navy-deep); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
.prose-cta strong { display: block; font: 400 1.6rem/1.2 var(--display); color: #fff; margin-bottom: .35rem; }
.prose-cta p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.prose .faq { padding: 0; border-top: 1px solid var(--navy); margin-top: 1rem; }
.prose .faq summary { padding-top: 1.3rem; padding-bottom: 1.3rem; }
.prose details p { margin: -.4rem 0 1.5rem; }
.disclaimer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .84rem; color: var(--muted); }

.related { padding: clamp(72px, 8vw, 112px) 0; background: var(--offwhite); }

/* Reveal on scroll */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-image { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .stats-panel::before { transform: none; }
}

/* ---------- Laptop ---------- */

@media (max-width: 1200px) {
  .container { width: min(calc(100% - 60px), var(--max)); }
  .logo img { width: 210px; }
  .header-nav { gap: 1.25rem; }
  .main-nav a { font-size: .74rem; }
  .awards-list li { padding: 0 1.25rem; }
  .awards-list img { width: 80px; height: 80px; }
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .header-right { display: none; }
  .header-inner, .is-scrolled .header-inner { min-height: 80px; }

  .stats-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-badges { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.5rem; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }

  .team-grid { grid-template-columns: 1fr; }
  .team-copy { max-width: 620px; }
  .practice { grid-template-columns: 1fr; }
  .practice-panel { min-height: 560px; }
  .practice-panel + .practice-panel { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .why-grid, .faq-grid { grid-template-columns: 1fr; }
  .why-intro { position: static; }
  .awards-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .awards-list li:nth-child(4) { border-left: 0; }


  .testimonial-inner { flex-direction: column; align-items: flex-start; }
  .slider-side { align-items: flex-start; }

  .locations-grid { grid-template-columns: 1fr 1fr; }
  .locations-intro { grid-column: 1 / -1; padding-right: 0; }

  .split-grid, .split-reverse .split-grid { grid-template-columns: 1fr; }
  .split-media-portrait { justify-self: start; }
  .split-long .split-media { position: relative; top: auto; margin-top: 0; }
  .split-long .split-media img { aspect-ratio: 1.5; }
  .split-reverse .split-media { order: 2; }
  .charges-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-profile-photo { width: 60%; }
  .credentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-grid-wide { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-grid-staff { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .office-cards { grid-template-columns: 1fr 1fr; }
  .post-featured { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; padding: 1.5rem; background: var(--offwhite); }
  .toc-cta { display: none; }
  .consult-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Phone: its own layout, not a squeezed desktop ---------- */

@media (max-width: 720px) {
  body { font-size: 15.5px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 76px; }
  .container { width: calc(100% - 40px); }
  h2 { font-size: 2.35rem; }
  h2 br { display: none; }

  .header-inner, .is-scrolled .header-inner { min-height: 68px; }
  .logo img, .is-scrolled .logo img { width: 180px; }

  /* Hero: the full team photo runs edge to edge at the top, copy follows on navy */
  .hero { display: block; min-height: 0; padding-top: calc(var(--hero-ratio, 66.7vw) - 24px); }
  .hero-image { background-size: 100% auto; background-position: 50% 0; background-color: var(--navy-deep); }
  .hero-shade {
    background: linear-gradient(to bottom,
      rgba(15, 26, 54, .65) 0,
      rgba(15, 26, 54, .1) 90px,
      rgba(15, 26, 54, 0) calc(var(--hero-ratio, 66.7vw) * .6),
      rgba(15, 26, 54, .8) calc(var(--hero-ratio, 66.7vw) * .87),
      rgba(15, 26, 54, 1) var(--hero-ratio, 66.7vw));
  }
  .hero-content { text-align: left; padding-bottom: 112px; }
  .hero h1 { font-size: 2.55rem; line-height: 1.04; margin: 0 0 1rem; text-wrap: pretty; }
  .hero-lede { margin: 0 0 1.5rem; font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-rating { margin-top: 1.1rem; font-size: .82rem; }

  /* Stats: compact 2 x 2 card */
  .stats { margin-top: -84px; }
  .stats-panel { box-shadow: 0 24px 50px -24px rgba(15, 26, 54, .7); }
  .stat { padding: 1.4rem 1.1rem 1.3rem; }
  .stat-num { font-size: 2.6rem; margin-bottom: .6rem; }
  .stat-num-long { font-size: min(2.6rem, 8.6vw); }
  .stat-label { font-size: .6rem; letter-spacing: .1em; padding-top: .6rem; }
  .stat-badges img { width: 76px; }

  /* Practice: intro, then swipeable cards that peek */
  .practice-head { grid-template-columns: 1fr; gap: 1rem; padding: 64px 0 28px; }
  .practice {
    display: flex;
    gap: 12px;
    padding: 0 20px 64px;
    background: var(--offwhite);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    scrollbar-width: none;
  }
  .practice::-webkit-scrollbar { display: none; }
  .practice-panel { flex: 0 0 86%; min-height: 600px; scroll-snap-align: start; }
  .practice-panel + .practice-panel { border: 0; }
  .practice-panel h3 { font-size: 2.1rem; }
  .practice-body { padding: 1.5rem 1.35rem 1.6rem; }
  .practice-panel p { font-size: .9rem; }
  .practice-links { font-size: .74rem; gap: .35rem; }
  .practice-links li { padding: .25rem .55rem; }

  /* Why choose: image first, commitments stacked */
  .why { padding: 64px 0; }
  .why-intro img { aspect-ratio: 16 / 10; }
  .why-intro-tall img { aspect-ratio: 4 / 4.2; }
  .why-intro .button { width: 100%; }
  .why-list li { grid-template-columns: 1fr; gap: .5rem; padding: 1.4rem 0; }

  /* Team: video goes edge to edge */
  .team { padding: 64px 0; }
  .team-grid { gap: 32px; width: 100%; }
  .team-media { padding: 0; }
  .team-media::before { display: none; }
  .video { box-shadow: none; }
  .team-media figcaption { color: var(--muted); padding: 0 20px; }
  .video-play-icon { width: 72px; height: 72px; }
  .video-play-icon::after { border-width: 10px 0 10px 16px; }
  .team-copy { padding: 0 20px; }
  .team-copy h2 { font-size: 2.2rem; }
  .team-copy .button { width: 100%; }

  /* Awards: swipeable badge row */
  .awards { padding: 64px 0; }
  .awards-head { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
  .awards-list {
    display: flex;
    gap: 12px;
    width: calc(100% + 40px);
    margin: 0 -20px;
    padding: 0 20px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .awards-list::-webkit-scrollbar { display: none; }
  .awards-list li { flex: 0 0 44%; scroll-snap-align: start; padding: 1.25rem .75rem; border: 1px solid var(--border); }
  .awards-list li + li { border-left: 1px solid var(--border); }
  .awards-list img { width: 92px; height: 92px; }

  /* FAQ */
  .faq { padding: 64px 0; }
  .faq summary { font-size: 1.25rem; padding: 1.25rem 2.5rem 1.25rem 0; }

  /* Reviews */
  .testimonial { padding: 72px 0; }
  .testimonial-title { font-size: 1.3rem; margin-bottom: 1.75rem; }
  .slide blockquote { font-size: 1.6rem; }
  .slide-medium blockquote { font-size: 1.3rem; }
  .slide-long blockquote { font-size: 1.1rem; -webkit-line-clamp: 7; }
  .slides { min-height: 14rem; }
  .slider-side { width: 100%; align-items: flex-start; }
  .slider-btn { width: 46px; height: 46px; }
  .slider-count { display: none; }

  /* Locations: stacked cards with big tap targets */
  .locations { padding: 64px 0; }
  .locations-grid { grid-template-columns: 1fr; gap: 20px; }
  .locations-intro { margin-bottom: .5rem; }
  .location-img img { aspect-ratio: 16 / 9; }
  .location-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 1.1rem; }
  .location-actions a {
    flex: 1;
    justify-content: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    font-size: .72rem;
  }
  .location-phone { background: var(--navy); color: #fff; border-color: var(--navy) !important; }

  .closing { padding: 80px 0; text-align: left; }
  .closing p { margin-left: 0; }
  .closing-actions { flex-direction: column; }
  .closing .button { width: 100%; }

  /* Form: single column, comfortable inputs */
  .consult { padding: 64px 0; }
  .consult-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.5rem 0; }
  .consult-phones a { padding: .85rem 1rem; border: 1px solid rgba(255, 255, 255, .22); font-size: 1.1rem; }
  .consult-form { grid-template-columns: 1fr; gap: 1.35rem; padding: 1.5rem 1.25rem; margin: 0 -4px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .form-actions .button { width: 100%; }

  /* Footer: just the essentials */
  .footer-links { display: none; }
  .footer-brand p { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; padding: 3rem 0 2rem; }
  .footer-brand img { width: 190px; }
  .footer-bottom { flex-direction: column; gap: .5rem; }

  /* Practice pages */
  .hero-page { padding-top: calc(var(--hero-ratio, 66.7vw) - 20px); }
  .hero-page .hero-image { background-position: 50% 0; }
  .hero-page .hero-shade {
    background: linear-gradient(to bottom,
      rgba(15, 26, 54, .65) 0,
      rgba(15, 26, 54, .1) 90px,
      rgba(15, 26, 54, .1) calc(var(--hero-ratio, 66.7vw) * .55),
      rgba(15, 26, 54, .85) calc(var(--hero-ratio, 66.7vw) * .85),
      rgba(15, 26, 54, 1) var(--hero-ratio, 66.7vw));
  }
  .breadcrumb { justify-content: flex-start; font-size: .7rem; margin-bottom: 1rem; }
  .split { padding: 64px 0; }
  .split + .split { padding-top: 0; }
  .split-grid { gap: 36px; }
  .split-media { padding: 0; }
  .split-media::before { display: none; }
  .split-media figcaption { color: var(--muted); padding-left: 0; }
  .split-media-portrait { max-width: none; }
  .split-media-portrait img { aspect-ratio: 4 / 4.4; }
  .split-copy .button { width: 100%; }
  .charges, .results { padding: 64px 0; }
  .charges-head, .results-head { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
  .charges-grid, .results-grid { grid-template-columns: 1fr; }
  .charges-grid a, .charges-item { padding: 1.25rem 3rem 1.25rem 1.25rem; }
  .charges-grid strong { font-size: 1.25rem; }
  .results-grid { gap: 12px; }
  .results-grid li { padding: 1.35rem 1.25rem; }
  .results-grid strong { font-size: 1.7rem; margin-bottom: .7rem; }
  .results-cta .button { width: 100%; }

  /* Interior pages */
  .hero-short { min-height: 0; }
  .hero-short .hero-content { padding-bottom: 56px; }
  .hero-short.hero-has-stats .hero-content { padding-bottom: 112px; }
  .hero-meta { justify-content: flex-start; font-size: .78rem; }
  .hero-meta span + span::before { margin-right: .7rem; }
  .hero-meta { gap: .35rem .7rem; }

  .hero-profile { display: block; min-height: 0; padding: 0 0 112px; }
  .hero-profile-photo { position: relative; inset: auto; width: 100%; height: auto; }
  .hero-profile-photo img { aspect-ratio: 4 / 4.6; height: auto; }
  .hero-profile::before { background: linear-gradient(to bottom, rgba(15, 26, 54, .6) 0, rgba(15, 26, 54, 0) 90px, rgba(15, 26, 54, 0) 70vw, rgba(15, 26, 54, 1) 115vw); }
  .hero-profile-content { margin-top: -80px; position: relative; }
  .hero-profile h1 { font-size: 3rem; }
  .hero-role { font-size: .74rem; margin-bottom: 1rem; }

  .credentials { padding: 64px 0; }
  .credentials-grid { grid-template-columns: 1fr; gap: 2rem; }
  .chips { gap: .4rem; }
  .chips a, .chips button { font-size: .8rem; padding: .5rem .8rem; }

  .people { padding: 64px 0; }
  .people-head { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 1.75rem; }
  .people-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .person h3 { font-size: 1.2rem; }
  .person-role { font-size: .62rem; letter-spacing: .06em; }
  .person-meta { display: none; }
  .person .text-link { font-size: .64rem; }
  .people-grid-staff { grid-template-columns: 1fr 1fr; }
  .people-grid-staff .person h3 { font-size: 1.1rem; }

  .contact { padding: 40px 0 64px; }
  .contact-grid { width: 100%; gap: 32px; }
  .contact-form-panel { padding: 2rem 20px; box-shadow: none; }
  .office-cards { grid-template-columns: 1fr; padding: 0 20px; }
  .office-card iframe { height: 180px; }

  .blog { padding: 56px 0 64px; }
  .blog-toolbar { padding-bottom: 1.25rem; margin-bottom: 1.75rem; }
  .blog-toolbar .chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 40px); margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .blog-toolbar .chips::-webkit-scrollbar { display: none; }
  .blog-toolbar .chips li { flex-shrink: 0; }
  .post-featured { margin-bottom: 2.75rem; gap: 1.25rem; }
  .post-featured h3 { font-size: 1.85rem; }
  .post-grid { grid-template-columns: 1fr; gap: 36px; }

  .article { padding: 40px 0 64px; }
  .article-grid { gap: 28px; }
  .toc { padding: 1.25rem; }
  .toc ol { max-height: 260px; overflow: auto; }
  .prose { font-size: 1rem; }
  .prose h2 { font-size: 1.75rem; margin-top: 2.5rem; padding-top: 1.75rem; }
  .prose h3 { font-size: 1.3rem; }
  .prose-cta { grid-template-columns: 1fr; padding: 1.75rem 1.4rem; }
  .prose-cta .button { width: 100%; }
  .related { padding: 64px 0; }

  /* Sticky call / consult bar */
  .action-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy-deep);
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .35);
    transform: translateY(110%);
    transition: transform .4s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 62px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
  }
  .action-bar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
  .action-bar svg { width: 16px; height: 16px; fill: var(--blue); }
  .action-bar .action-primary { background: var(--blue); color: var(--navy-deep); border-left: 0; }
  .nav-open .action-bar { transform: translateY(110%); }
}
@media (max-width: 340px) {
  .stat-num { font-size: 2.1rem; }
  .stat-num-long { font-size: min(2.1rem, 8.6vw); }
}
