/* ==========================================================================
   Hird, Chu, Lawji & Manji — main stylesheet (BEM)

   Sizing: the design is 1920px wide. `--u` is one design pixel: 1px at
   1920, scaling proportionally down to 1200px (so the layout matches the
   design at 1920/1440/1280). Below 1200px the layout switches to the
   tablet/mobile rules at the end of the file and --u becomes a constant.
   Text sizes have minimums so they never get too small.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Hedvig Letters Serif";
  src: url("../fonts/hedvig-letters-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --u: calc(min(100vw, 1920px) / 1920);

  /* Colors */
  --c-dark: #0F0E0E;
  --c-black: #000000;
  --c-white: #FFFFFF;
  --c-page: #FFFFFF;
  --c-muted-1: #C0BABA;
  --c-muted-2: #878787;
  --c-text: #0F0E0E;
  --c-text-soft: #3A3838;
  --c-btn: #D9D9D9;
  --c-line-dark: rgba(255, 255, 255, .28);
  --c-line-light: #D9D9D9;
  --c-card-border: rgba(110, 190, 165, .55);
  --c-error: #B3261E;
  --c-success: #2E7D5B;

  /* Fonts */
  --f-serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale (design px → fluid, with minimums) */
  --fs-h1: max(40px, calc(64 * var(--u)));
  --fs-h2: max(36px, calc(64 * var(--u)));
  --fs-stat: max(40px, calc(64 * var(--u)));
  --fs-nav: max(14px, calc(22 * var(--u)));
  --fs-body: max(16px, calc(18 * var(--u)));
  --fs-lead: max(17px, calc(24 * var(--u)));
  --fs-card-text: max(16px, calc(20 * var(--u)));
  --fs-card-title: max(24px, calc(32 * var(--u)));
  --fs-item: max(21px, calc(30 * var(--u)));
  --fs-btn: max(15px, calc(20 * var(--u)));
  --fs-link: max(16px, calc(22 * var(--u)));
  --fs-topbar: max(13px, calc(15 * var(--u)));

  /* Spacing */
  --gutter: calc(80 * var(--u));
  --gutter-wide: calc(100 * var(--u));

  /* Motion */
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 350ms;

  /* Effects */
  --shadow-card: 2px 3px 6px rgba(70, 160, 130, .22);
  --shadow-card-hover: 0 24px 50px rgba(15, 14, 14, .14);
  --shadow-btn: 0 14px 30px rgba(15, 14, 14, .25);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3, p, dl, dd { margin: 0; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--c-white);
  color: var(--c-black);
  font: 600 15px var(--f-ui);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* Spam honeypot: hidden from people and assistive tech, visible to bots */
.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Shared: section title ---------- */
.section-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.3;
  letter-spacing: calc(-0.64 * var(--u));
  color: var(--c-text);
}
.section-title--light { color: var(--c-white); }

/* ==========================================================================
   Buttons — fill sweep (left → right), lift + shadow
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max(220px, calc(339 * var(--u)));
  min-height: max(50px, calc(59 * var(--u)));
  padding: 0 24px;
  border: 1px solid var(--c-btn);
  border-radius: 0;
  background: var(--c-btn);
  color: var(--c-black);
  font-family: var(--f-ui);
  font-size: var(--fs-btn);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-black);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.btn:hover,
.btn:focus-visible {
  color: var(--c-white);
  border-color: var(--c-black);
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); }
.btn:active { transform: translateY(-1px); }

/* Dark variant: inverse sweep */
.btn--dark {
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
}
.btn--dark::before { background: var(--c-white); }
.btn--dark:hover,
.btn--dark:focus-visible { color: var(--c-black); border-color: var(--c-black); }

/* White variant (CTA banner) */
.btn--light {
  background: var(--c-white);
  border-color: var(--c-white);
}
.btn--light:hover,
.btn--light:focus-visible { border-color: var(--c-black); }

/* Nav "Contact Us" */
.btn--nav {
  width: max(170px, calc(256 * var(--u)));
  min-height: max(42px, calc(51 * var(--u)));
  text-transform: uppercase;
}

/* Loading state (forms) */
.btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn[disabled] { opacity: .7; cursor: progress; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   "Learn More →" link — arrow slides 6px, underline grows from the left
   ========================================================================== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: calc(16 * var(--u));
  color: inherit;
  font-family: var(--f-ui);
  font-size: var(--fs-link);
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}
.link-arrow__label { position: relative; }
.link-arrow__label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.link-arrow__icon {
  flex: none;
  width: max(18px, calc(24 * var(--u)));
  height: max(18px, calc(24 * var(--u)));
  transition: transform var(--dur) var(--ease);
}
.link-arrow__icon--long {
  width: max(36px, calc(50 * var(--u)));
  height: auto;
}
.link-arrow:hover .link-arrow__label::after,
.link-arrow:focus-visible .link-arrow__label::after { transform: scaleX(1); }
.link-arrow:hover .link-arrow__icon,
.link-arrow:focus-visible .link-arrow__icon { transform: translateX(6px); }

/* ==========================================================================
   Header: top bar + navbar. Fixed; gains a dark background once scrolled.
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--c-white);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
  background-color: rgba(15, 14, 14, .97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

/* Top bar collapses smoothly when the header becomes sticky */
.site-header__topbar {
  max-height: 120px;
  overflow: hidden;
  transition: max-height .4s var(--ease), opacity .3s var(--ease);
}
.site-header.is-scrolled .site-header__topbar { max-height: 0; opacity: 0; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  height: calc(70 * var(--u));
  padding: 0 calc(142 * var(--u)) 0 calc(43 * var(--u));
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  background: rgba(15, 14, 14, .35);
  font-family: var(--f-ui);
  font-size: var(--fs-topbar);
}
.site-header.is-scrolled .topbar { border-bottom-color: transparent; }

.topbar__phone {
  text-decoration: none;
  transition: opacity .25s var(--ease);
}
.topbar__phone:hover { opacity: .75; }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: calc(30 * var(--u));
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: calc(12 * var(--u));
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .25s var(--ease);
}
.topbar__link:hover { opacity: .75; }
.topbar__icon {
  width: max(18px, calc(26 * var(--u)));
  height: max(18px, calc(26 * var(--u)));
}
.topbar__divider {
  width: 1px;
  height: calc(34 * var(--u));
  background: rgba(255, 255, 255, .7);
}

.navbar {
  display: flex;
  align-items: flex-start;
  padding: calc(27 * var(--u)) calc(75 * var(--u)) calc(20 * var(--u)) calc(74 * var(--u));
  transition: padding .4s var(--ease);
}
.site-header.is-scrolled .navbar {
  align-items: center;
  padding-top: calc(12 * var(--u));
  padding-bottom: calc(12 * var(--u));
}

.navbar__logo {
  flex: none;
  display: block;
  width: calc(141 * var(--u));
  transition: width .4s var(--ease);
}
.navbar__logo img { width: 100%; height: auto; aspect-ratio: 1; }
.site-header.is-scrolled .navbar__logo { width: max(64px, calc(84 * var(--u))); }

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: max(42px, calc(51 * var(--u)));
  margin-top: calc(32 * var(--u));
  margin-left: calc(40 * var(--u));
  margin-right: calc(24 * var(--u));
  transition: margin .4s var(--ease);
}
.site-header.is-scrolled .nav { margin-top: 0; }

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: calc(30 * var(--u));
}
.nav__item { position: relative; }
.nav__item--mobile { display: none; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  color: var(--c-white);
  font-family: var(--f-serif);
  font-size: max(13px, calc(19 * var(--u)));
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

/* ---- Dropdown menus ---- */
.nav__row { display: flex; align-items: center; gap: 2px; }
.nav__toggle {
  display: grid;
  place-items: center;
  width: 20px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
}
.nav__chevron { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.nav__item.is-open .nav__chevron { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -24px;
  z-index: 10;
  width: max-content;
  min-width: 260px;
  max-width: 360px;
  padding: 12px 0;
  border-top: 2px solid var(--c-white);
  background: rgba(15, 14, 14, .98);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  translate: 0 10px;
  transition: opacity .3s var(--ease), translate .3s var(--ease), visibility 0s linear .3s;
}
/* Invisible bridge so the menu stays open while the pointer crosses the gap */
.nav__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 20px;
}
.nav__item.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity .3s var(--ease), translate .3s var(--ease), visibility 0s;
}
.nav__sublink {
  position: relative;
  display: block;
  padding: 10px 24px;
  color: var(--c-muted-1);
  font-family: var(--f-ui);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__sublink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--c-white);
  transform: scaleY(0);
  transition: transform var(--dur) var(--ease);
}
.nav__sublink:hover,
.nav__sublink:focus-visible { color: var(--c-white); padding-left: 30px; background: rgba(255, 255, 255, .04); }
.nav__sublink:hover::before,
.nav__sublink:focus-visible::before,
.nav__sublink[aria-current="page"]::before { transform: scaleY(1); }
.nav__sublink[aria-current="page"] { color: var(--c-white); }
.nav__sublink:focus-visible { outline-offset: -2px; }
.nav__group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--c-line-dark); }
.nav__group-label {
  padding: 8px 24px 2px;
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav__sublink--nested { padding-left: 38px; }

/* Smaller laptops: tighten the bar so all items keep clear of the Contact button */
@media (min-width: 1200px) and (max-width: 1439px) {
  .nav { margin-left: 20px; margin-right: 16px; }
  .nav__list { gap: 16px; }
  .btn--nav { width: 150px; padding: 0 16px; }
}
.nav__sublink--nested:hover,
.nav__sublink--nested:focus-visible { padding-left: 44px; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover,
.nav__link:focus-visible { color: var(--c-btn); }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="page"]::after,
.nav__item.is-active > .nav__link::after,
.nav__item.is-active > .nav__row > .nav__link::after { transform: scaleX(1); }

.nav__mobile-extra { display: none; }

/* Same top offset and height as .nav, so the button centres on the menu text */
.navbar__cta {
  flex: none;
  margin-left: auto;
  margin-top: calc(32 * var(--u));
  transition: margin .4s var(--ease);
}
.site-header.is-scrolled .navbar__cta { margin-top: 0; }

.navbar__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-left: 16px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
}
.navbar__toggle-bar {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.navbar__toggle-bar:nth-of-type(2) { top: 16px; }
.navbar__toggle-bar:nth-of-type(3) { top: 23px; }
.navbar__toggle-bar:nth-of-type(4) { top: 30px; }
.nav-open .navbar__toggle-bar:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.nav-open .navbar__toggle-bar:nth-of-type(3) { opacity: 0; }
.nav-open .navbar__toggle-bar:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: calc(867 * var(--u)) minmax(0, 1fr);
  min-height: calc(1160 * var(--u));
  background: var(--c-dark);
  color: var(--c-white);
}

.hero__panel {
  position: relative;
  z-index: 1;
  padding: calc(414 * var(--u)) calc(60 * var(--u)) calc(100 * var(--u)) calc(70 * var(--u));
  overflow: hidden;
  background: var(--c-dark);
}

.hero__pattern {
  position: absolute;
  top: calc(260 * var(--u));
  left: 0;
  width: calc(961 * var(--u));
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero__content { position: relative; }

.hero__title {
  max-width: calc(700 * var(--u));
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.3;
  letter-spacing: calc(-0.64 * var(--u));
}

.hero__text {
  max-width: max(320px, calc(570 * var(--u)));
  margin-top: calc(40 * var(--u));
  color: rgba(255, 255, 255, .9);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: calc(-0.18 * var(--u));
}

.hero__btn { margin-top: calc(60 * var(--u)); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px calc(70 * var(--u));
  margin-top: calc(39 * var(--u));
}
.hero__stat {
  display: flex;
  flex-direction: column-reverse; /* value above label, dt stays first in the DOM */
  gap: calc(16 * var(--u));
}
.hero__stat-value {
  font-family: var(--f-serif);
  font-size: var(--fs-stat);
  line-height: 1.1;
  letter-spacing: calc(-1.92 * var(--u));
  font-variant-numeric: tabular-nums;
}
.hero__stat-label {
  color: var(--c-muted-2);
  font-size: max(14px, calc(18 * var(--u)));
  line-height: 1.3;
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: #1c1b1b;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  animation: hero-zoom 1.8s var(--ease-out) both;
}

/* Hero entrance */
[data-hero-item] { animation: rise-in 1s var(--ease-out) both; }
[data-hero-item]:nth-child(1) { animation-delay: .1s; }
[data-hero-item]:nth-child(2) { animation-delay: .25s; }
[data-hero-item]:nth-child(3) { animation-delay: .4s; }
[data-hero-item]:nth-child(4) { animation-delay: .55s; }

@keyframes rise-in {
  from { opacity: 0; translate: 0 32px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes hero-zoom {
  from { opacity: 0; scale: 1.08; }
  to { opacity: 1; scale: 1; }
}

/* ==========================================================================
   2. Our Firm
   ========================================================================== */
.firm {
  background: var(--c-white);
  padding: calc(97 * var(--u)) calc(65 * var(--u)) calc(110 * var(--u)) var(--gutter-wide);
}
.firm__inner {
  display: grid;
  grid-template-columns: minmax(0, 842fr) minmax(0, 820fr);
  column-gap: calc(93 * var(--u));
  align-items: start;
  max-width: 1920px;
  margin: 0 auto;
}
.firm__text {
  margin-top: calc(60 * var(--u));
  color: var(--c-text);
  font-size: var(--fs-lead);
  line-height: 1.667;
  letter-spacing: calc(-0.24 * var(--u));
}
.firm__link { margin-top: calc(48 * var(--u)); }
.firm__media {
  overflow: hidden;
  aspect-ratio: 820 / 616;
  background: #e9e9e9;
}
.firm__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.firm__media:hover img { transform: scale(1.04); }

/* ==========================================================================
   3. Areas We Practice (accordion)
   ========================================================================== */
.practice {
  background: var(--c-dark);
  color: var(--c-white);
  padding: calc(97 * var(--u)) var(--gutter) calc(100 * var(--u));
}
.practice__inner { max-width: 1920px; margin: 0 auto; }

.practice__intro {
  max-width: calc(1080 * var(--u));
  margin-top: calc(10 * var(--u));
  color: var(--c-muted-2);
  font-size: var(--fs-lead);
  line-height: 1.667;
}

.practice__list {
  margin-top: calc(50 * var(--u));
  border-top: 1px solid var(--c-line-dark);
}

.practice__item {
  position: relative;
  border-bottom: 1px solid var(--c-line-dark);
}

.practice__heading { font-weight: 400; }

.practice__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: max(76px, calc(117 * var(--u)));
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--c-white);
  text-align: left;
  cursor: pointer;
}
.practice__trigger:focus-visible { outline-offset: -2px; }

.practice__num {
  flex: none;
  width: calc(77 * var(--u));
  min-width: 48px;
  font-family: var(--f-serif);
  font-size: var(--fs-item);
  line-height: 1.2;
}
.practice__title {
  flex: 1;
  font-family: var(--f-serif);
  font-size: var(--fs-item);
  line-height: 1.2;
  transition: color var(--dur) var(--ease), translate var(--dur) var(--ease);
}
.practice__trigger:hover .practice__title { color: var(--c-btn); translate: 6px 0; }

/* Arrow inside a circle that fills on hover and rotates 90° when open */
.practice__icon {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: max(44px, calc(60 * var(--u)));
  height: max(44px, calc(60 * var(--u)));
  margin-right: calc(54 * var(--u));
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--c-white);
  isolation: isolate;
  transition:
    transform .45s var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}
.practice__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--c-white);
  transform: scale(0);
  transition: transform var(--dur) var(--ease);
}
.practice__icon svg { width: 55%; height: 55%; }
.practice__trigger:hover .practice__icon,
.practice__trigger:focus-visible .practice__icon {
  color: var(--c-dark);
  border-color: var(--c-white);
}
.practice__trigger:hover .practice__icon::before,
.practice__trigger:focus-visible .practice__icon::before { transform: scale(1); }

.practice__item.is-open .practice__icon { transform: rotate(90deg); }

/* Smooth height animation without measuring: grid rows 0fr → 1fr */
.practice__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.practice__item.is-open .practice__panel { grid-template-rows: 1fr; }
.practice__panel-inner {
  min-height: 0;
  overflow: hidden;
}

.practice__body {
  max-width: calc((77 + 440) * var(--u));
  min-height: calc(261 * var(--u));
  padding: 0 0 calc(40 * var(--u)) calc(77 * var(--u));
  opacity: 0;
  translate: 0 -10px;
  transition: opacity .4s var(--ease), translate .4s var(--ease);
}
.practice__item.is-open .practice__body {
  opacity: 1;
  translate: 0 0;
  transition-delay: .12s;
}

.practice__text {
  max-width: calc(440 * var(--u));
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.6;
}
.practice__points { margin-top: calc(14 * var(--u)); }
.practice__points li {
  position: relative;
  padding-left: calc(24 * var(--u));
  font-size: max(14px, calc(17 * var(--u)));
  line-height: 2.35;
}
.practice__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: var(--c-white);
}

/* Image sits beside the title row on desktop (absolute to the item, so the
   panel's overflow clip does not cut it), fading in when the item opens */
.practice__media {
  position: absolute;
  top: calc(60 * var(--u));
  right: calc(74 * var(--u));
  z-index: 1;
  display: block;
  width: calc(586 * var(--u));
  aspect-ratio: 586 / 301;
  overflow: hidden;
  background: #1c1b1b;
  opacity: 0;
  visibility: hidden;
  translate: 0 24px;
  transition: opacity .45s var(--ease), translate .45s var(--ease), visibility 0s linear .45s;
}
.practice__item.is-open .practice__media {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity .5s var(--ease) .15s, translate .5s var(--ease) .15s, visibility 0s;
}
.practice__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.practice__media:hover img { transform: scale(1.05); }

/* Hide the row arrow under the image while open (desktop only) */
.practice__item.is-open .practice__icon { opacity: 0; }

.practice__media-icon {
  position: absolute;
  right: calc(14 * var(--u));
  bottom: calc(14 * var(--u));
  display: grid;
  place-items: center;
  width: max(36px, calc(50 * var(--u)));
  height: max(36px, calc(50 * var(--u)));
  background: rgba(90, 70, 60, .72);
  color: var(--c-white);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.practice__media-icon svg {
  width: 62%;
  height: 62%;
  transition: transform var(--dur) var(--ease);
}
.practice__media:hover .practice__media-icon { background: var(--c-white); color: var(--c-dark); }
.practice__media:hover .practice__media-icon svg { transform: translate(2px, -2px); }

/* ==========================================================================
   4. Our Attorneys
   ========================================================================== */
.attorneys {
  background: var(--c-white);
  padding: calc(85 * var(--u)) calc(77 * var(--u)) calc(110 * var(--u));
}
.attorneys__inner { max-width: 1920px; margin: 0 auto; }

.attorneys__title {
  padding-bottom: calc(14 * var(--u));
  border-bottom: 1px solid var(--c-line-light);
}

.attorneys__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: calc(153 * var(--u));
  row-gap: 56px;
  margin-top: calc(56 * var(--u));
}

.attorney {
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.attorney:hover {
  transform: translateY(-8px);
}

.attorney__photo {
  overflow: hidden;
  aspect-ratio: 486 / 577;
  background: #2b2b2b;
  transition: box-shadow .45s var(--ease);
}
.attorney:hover .attorney__photo { box-shadow: var(--shadow-card-hover); }
.attorney__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform .7s var(--ease-out), filter .7s var(--ease);
}
.attorney:hover .attorney__photo img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.attorney__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: calc(20 * var(--u));
}
.attorney__name {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(22px, calc(32 * var(--u)));
  line-height: 1.2;
  letter-spacing: calc(-0.32 * var(--u));
}
.attorney__role {
  color: var(--c-text-soft);
  font-size: max(15px, calc(20 * var(--u)));
  line-height: 1.3;
}
.attorney__link {
  flex: none;
  gap: calc(14 * var(--u));
  font-size: max(15px, calc(20 * var(--u)));
  padding-bottom: 2px;
}

.attorneys__cta {
  display: flex;
  justify-content: center;
  margin-top: calc(87 * var(--u));
}

/* ==========================================================================
   5. Services We Offer
   ========================================================================== */
.services {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
  padding: calc(42 * var(--u)) calc(69 * var(--u)) calc(120 * var(--u));
}
.services__pattern {
  position: absolute;
  z-index: 0;
  width: calc(620 * var(--u));
  height: auto;
  /* Same white line art as the hero, inverted to dark lines on white */
  filter: invert(1);
  opacity: .45;
  pointer-events: none;
  user-select: none;
}
.services__pattern--left { left: 0; bottom: 0; }
.services__pattern--right { right: 0; top: 0; transform: scaleX(-1); }

.services__inner {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
}

.services__intro {
  margin-top: calc(30 * var(--u));
  padding-bottom: calc(45 * var(--u));
  border-bottom: 1px solid var(--c-line-light);
  font-size: var(--fs-lead);
  line-height: 1.667;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(46 * var(--u)) calc(44 * var(--u));
  max-width: calc(1528 * var(--u));
  margin: calc(46 * var(--u)) auto 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: calc(554 * var(--u));
  padding: calc(64 * var(--u)) calc(44 * var(--u)) calc(56 * var(--u));
  border: 1px solid var(--c-card-border);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(70, 160, 130, .8);
  box-shadow: var(--shadow-card-hover);
}
.service-card__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: var(--fs-card-title);
  line-height: 1.25;
  letter-spacing: calc(-0.32 * var(--u));
}
.service-card__text {
  flex: 1;
  margin-top: calc(50 * var(--u));
  color: var(--c-text-soft);
  font-size: var(--fs-card-text);
  line-height: 1.6;
}
.service-card__link {
  align-self: flex-start;
  margin-top: 32px;
  font-size: max(15px, calc(20 * var(--u)));
}

.services__cta {
  display: flex;
  justify-content: center;
  margin-top: calc(71 * var(--u));
}

/* ==========================================================================
   6. CTA banner
   ========================================================================== */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(573 * var(--u));
  overflow: hidden;
  background: #06291f;
  color: var(--c-white);
}
.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cta__content {
  position: relative;
  max-width: calc(820 * var(--u));
  padding: calc(60 * var(--u)) 0 calc(60 * var(--u)) var(--gutter-wide);
}
.cta__title {
  max-width: calc(720 * var(--u));
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(30px, calc(48 * var(--u)));
  line-height: 1.3;
  letter-spacing: calc(-0.48 * var(--u));
}
.cta__text {
  max-width: calc(680 * var(--u));
  margin-top: calc(24 * var(--u));
  font-size: var(--fs-body);
  line-height: 1.6;
}
.cta__btn { margin-top: calc(52 * var(--u)); }

/* ==========================================================================
   7. Footer
   ========================================================================== */
.footer {
  background: var(--c-dark);
  color: var(--c-white);
  padding: calc(89 * var(--u)) calc(77 * var(--u)) 0;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(588 * var(--u));
  gap: 48px calc(80 * var(--u));
  max-width: 1920px;
  margin: 0 auto;
  padding-right: calc(55 * var(--u));
}

.footer__eyebrow {
  color: var(--c-muted-2);
  font-size: max(13px, calc(17 * var(--u)));
}
.footer__title {
  max-width: calc(480 * var(--u));
  margin-top: calc(10 * var(--u));
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(28px, calc(40 * var(--u)));
  line-height: 1.25;
  letter-spacing: calc(-0.4 * var(--u));
}

.footer__columns {
  display: grid;
  grid-template-columns: calc(234 * var(--u)) calc(176 * var(--u)) calc(200 * var(--u));
  gap: 32px 0;
  margin-top: calc(70 * var(--u));
}
.footer__col-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(15px, calc(18 * var(--u)));
  line-height: 1.3;
}
.footer__links { margin-top: calc(18 * var(--u)); }
.footer__links li + li { margin-top: calc(14 * var(--u)); }
.footer__link {
  position: relative;
  color: var(--c-muted-1);
  font-size: max(13px, calc(15 * var(--u)));
  text-decoration: none;
  transition: color .25s var(--ease);
}
.footer__link:hover { color: var(--c-white); }
.footer__address {
  margin-top: calc(18 * var(--u));
  color: var(--c-muted-1);
  font-size: max(13px, calc(15 * var(--u)));
  line-height: 1.85;
}

/* Same logo as the header */
.footer__brand {
  display: inline-block;
  width: max(96px, calc(130 * var(--u)));
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer__brand:hover { opacity: .85; transform: scale(1.03); }
.footer__logo { width: 100%; height: auto; aspect-ratio: 1; }
.footer__text {
  margin-top: calc(22 * var(--u));
  color: var(--c-muted-1);
  font-size: max(13px, calc(15.5 * var(--u)));
  line-height: 1.8;
}

/* Newsletter: underline input + arrow submit */
.newsletter { position: relative; margin-top: calc(62 * var(--u)); }
.newsletter__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: calc(14 * var(--u));
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  transition: border-color var(--dur) var(--ease);
}
.newsletter__row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--c-white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.newsletter__row:focus-within::after { transform: scaleX(1); }
.newsletter__row.is-invalid { border-bottom-color: #F2A7A7; }
.newsletter__input {
  flex: 1;
  min-width: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: max(20px, calc(30 * var(--u)));
  line-height: 1.3;
}
.newsletter__input::placeholder { color: var(--c-white); opacity: 1; }
.newsletter__input:focus { outline: none; }
.newsletter__input:focus::placeholder { opacity: .4; }
.newsletter__submit {
  flex: none;
  display: grid;
  place-items: center;
  width: max(40px, calc(49 * var(--u)));
  height: max(40px, calc(49 * var(--u)));
  padding: 0;
  border: 1px solid var(--c-white);
  background: var(--c-white);
  color: var(--c-dark);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.newsletter__submit svg {
  width: 70%;
  height: 70%;
  transition: transform var(--dur) var(--ease);
}
.newsletter__submit:hover,
.newsletter__submit:focus-visible { background: transparent; color: var(--c-white); }
.newsletter__submit:hover svg,
.newsletter__submit:focus-visible svg { transform: translate(3px, -3px); }
.newsletter .cf-turnstile { margin-top: 16px; }

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: calc(1290 * var(--u));
  margin: calc(90 * var(--u)) auto 0;
  padding: calc(40 * var(--u)) 0 calc(60 * var(--u));
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px calc(24 * var(--u));
}
.footer__legal-link {
  color: var(--c-muted-1);
  font-size: max(12px, calc(15 * var(--u)));
  text-decoration: none;
  transition: color .25s var(--ease);
}
.footer__legal-link:hover { color: var(--c-white); }
.footer__credits { display: grid; gap: 6px; justify-items: center; text-align: center; }
.footer__copyright {
  color: var(--c-muted-1);
  font-size: max(12px, calc(15 * var(--u)));
  text-align: center;
}
/* Agency credit */
.footer__dev {
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer__dev-link {
  color: var(--c-muted-1);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__dev-link:hover,
.footer__dev-link:focus-visible { color: var(--c-white); border-bottom-color: currentColor; }
.footer__socials {
  display: flex;
  justify-content: flex-end;
  gap: calc(15 * var(--u));
}

/* Social icons: scale up + background fill */
.social {
  position: relative;
  display: grid;
  place-items: center;
  width: max(38px, calc(49 * var(--u)));
  height: max(38px, calc(49 * var(--u)));
  border: 1px solid var(--c-white);
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-dark);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.social::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--c-dark);
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease);
}
.social svg { width: 46%; height: 46%; }
.social:hover,
.social:focus-visible { transform: scale(1.12); color: var(--c-white); }
.social:hover::before,
.social:focus-visible::before { transform: translateY(0); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
  color: var(--c-white);
  padding: max(170px, calc(310 * var(--u))) calc(70 * var(--u)) calc(120 * var(--u));
}
.page-hero__pattern {
  position: absolute;
  top: calc(120 * var(--u));
  right: -5%;
  width: calc(900 * var(--u));
  opacity: .8;
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 1920px; margin: 0 auto; }
.page-hero__eyebrow {
  color: var(--c-muted-1);
  font-family: var(--f-ui);
  font-size: max(13px, calc(16 * var(--u)));
  letter-spacing: .14em;
  text-transform: uppercase;
}
.page-hero__title {
  margin-top: calc(16 * var(--u));
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.3;
  letter-spacing: calc(-0.64 * var(--u));
}
.page-hero__text {
  max-width: max(320px, calc(640 * var(--u)));
  margin-top: calc(24 * var(--u));
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
}

.contact {
  background: var(--c-white);
  padding: calc(120 * var(--u)) var(--gutter-wide) calc(140 * var(--u));
}
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px calc(120 * var(--u));
  max-width: 1720px;
  margin: 0 auto;
}
.contact__title { font-size: max(32px, calc(48 * var(--u))); }
.contact__lead {
  margin-top: calc(20 * var(--u));
  color: var(--c-text-soft);
  line-height: 1.6;
}
.contact__details {
  display: grid;
  gap: calc(36 * var(--u));
  margin-top: calc(56 * var(--u));
  padding-top: calc(48 * var(--u));
  border-top: 1px solid var(--c-line-light);
}
.contact__detail { display: flex; gap: 20px; align-items: flex-start; }
.contact__detail-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--c-dark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.contact__detail:hover .contact__detail-icon { background: var(--c-dark); color: var(--c-white); }
.contact__detail-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(20px, calc(24 * var(--u)));
  line-height: 1.3;
}
.contact__detail-link,
.contact__detail-text {
  display: inline-block;
  margin-top: 4px;
  color: var(--c-text-soft);
  line-height: 1.6;
  text-decoration: none;
}
.contact__detail-link:hover { color: var(--c-dark); text-decoration: underline; }

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: calc(48 * var(--u));
}

/* Square inputs with an underline (same language as the footer email field);
   the darker underline grows from the left on focus */
.form-field {
  position: relative;
  margin: 0 0 calc(40 * var(--u));
  padding: 0;
  border: 0;
  min-width: 0;
}
.form-field__label {
  display: block;
  padding: 0;
  color: #555151;
  font-family: var(--f-ui);
  font-size: max(12px, calc(14 * var(--u)));
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.form-field__req { color: var(--c-dark); }
.form-field__input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(15, 14, 14, .3);
  border-radius: 0;
  background-color: transparent;
  background-image: linear-gradient(var(--c-dark), var(--c-dark));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  color: var(--c-dark);
  font-family: var(--f-body);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: background-size .45s var(--ease), border-color var(--dur) var(--ease);
}
.form-field__input:focus {
  outline: none;
  background-size: 100% 2px;
}
.form-field__select {
  padding-right: 32px;
  cursor: pointer;
  background-image:
    linear-gradient(var(--c-dark), var(--c-dark)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F0E0E' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: left bottom, right 2px center;
  background-size: 0% 2px, 20px 20px;
}
.form-field__select:focus { background-size: 100% 2px, 20px 20px; }
.form-field__textarea { min-height: 160px; resize: vertical; }

.form-field__error {
  min-height: 0;
  margin-top: 6px;
  color: var(--c-error);
  font-size: 14px;
  line-height: 1.4;
}
.form-field__error:empty { display: none; }
.form-field.is-invalid .form-field__input {
  border-bottom-color: var(--c-error);
  background-image: linear-gradient(var(--c-error), var(--c-error));
  background-size: 100% 2px;
}
.form-field.is-invalid .form-field__select {
  background-image:
    linear-gradient(var(--c-error), var(--c-error)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F0E0E' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-size: 100% 2px, 20px 20px;
}
.form-field.is-invalid .form-field__error { animation: rise-in .35s var(--ease-out) both; }

/* Radio choices: square boxes */
.choices { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 16px; }
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: max(16px, calc(18 * var(--u)));
}
.choice__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice__box {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid var(--c-dark);
  transition: border-color var(--dur) var(--ease);
}
.choice__box::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--c-dark);
  transform: scale(0);
  transition: transform .25s var(--ease);
}
.choice__input:checked + .choice__box::after { transform: scale(1); }
.choice__input:focus-visible + .choice__box { outline: 2px solid var(--c-dark); outline-offset: 3px; }

.contact-form .cf-turnstile { margin-bottom: 24px; }
.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 8px;
}
.contact-form__note { color: var(--c-muted-2); font-size: 14px; }

/* Inline form status (success / error) */
.form-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 20px;
  border-left: 3px solid;
  font-size: max(15px, calc(17 * var(--u)));
  line-height: 1.5;
  animation: status-in .45s var(--ease-out) both;
}
.form-status[hidden] { display: none; }
.form-status svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.form-status--success { border-color: var(--c-success); background: #EEF6F1; color: #1D4D38; }
.form-status--error { border-color: var(--c-error); background: #FBEDEC; color: #7A1A14; }

.newsletter .form-status {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
}
.newsletter .form-status--success { color: #9FD8BF; }
.newsletter .form-status--error { color: #F2A7A7; }

@keyframes status-in {
  from { opacity: 0; translate: 0 -8px; }
  to { opacity: 1; translate: 0 0; }
}

/* ==========================================================================
   About page
   ========================================================================== */

/* Small uppercase label above section titles, led by a short rule */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: calc(18 * var(--u));
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: max(12px, calc(15 * var(--u)));
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: max(24px, calc(40 * var(--u)));
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--c-muted-1); }

/* ---- Hero: same split as the home hero, shorter ---- */
.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: calc(1000 * var(--u)) minmax(0, 1fr);
  min-height: calc(1000 * var(--u));
  background: var(--c-dark);
  color: var(--c-white);
}
.about-hero__panel {
  position: relative;
  z-index: 1;
  padding: calc(330 * var(--u)) calc(80 * var(--u)) calc(110 * var(--u)) calc(70 * var(--u));
  overflow: hidden;
  background: var(--c-dark);
}
.about-hero__pattern {
  position: absolute;
  top: calc(220 * var(--u));
  left: 0;
  width: calc(1000 * var(--u));
  max-width: none;
  pointer-events: none;
  user-select: none;
}
.about-hero__content { position: relative; }
.about-hero__title {
  max-width: calc(820 * var(--u));
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.25;
  letter-spacing: calc(-0.64 * var(--u));
}
.about-hero__text {
  max-width: max(320px, calc(700 * var(--u)));
  margin-top: calc(36 * var(--u));
  color: rgba(255, 255, 255, .88);
  line-height: 1.7;
}
.about-hero__text p + p { margin-top: 1em; }
.about-hero__btn { margin-top: calc(52 * var(--u)); }
.about-hero__media {
  position: relative;
  overflow: hidden;
  background: #1c1b1b;
}
.about-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  filter: grayscale(1) contrast(1.05);
  animation: hero-zoom 1.8s var(--ease-out) both;
}
/* Scrim under the fixed header + soft blend into the dark panel */
.about-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 14, 14, .7) 0%, rgba(15, 14, 14, 0) 28%),
    linear-gradient(90deg, rgba(15, 14, 14, .45) 0%, rgba(15, 14, 14, 0) 22%);
  pointer-events: none;
}
.about-hero--bright .about-hero__image {
  object-position: 60% center;
  filter: grayscale(1) contrast(1.05) brightness(.62);
}
.about-hero__btn { width: auto; min-width: max(220px, calc(339 * var(--u))); padding: 0 32px; }

/* ---- Our Story (extends .firm) ---- */
.story__text p + p { margin-top: 1em; }
.story__aside { display: grid; gap: calc(40 * var(--u)); }
.story__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--c-line-light);
}
.story__fact {
  display: flex;
  flex-direction: column-reverse; /* value above label */
  gap: 8px;
  padding: calc(28 * var(--u)) calc(20 * var(--u)) 0 0;
}
.story__fact + .story__fact {
  padding-left: calc(28 * var(--u));
  border-left: 1px solid var(--c-line-light);
}
.story__fact-value {
  font-family: var(--f-serif);
  font-size: var(--fs-stat);
  line-height: 1.1;
  letter-spacing: calc(-1.92 * var(--u));
}
.story__fact-label {
  color: var(--c-text-soft);
  font-size: max(14px, calc(18 * var(--u)));
  line-height: 1.3;
}

/* ---- What We Do: dark numbered grid ---- */
.areas {
  background: var(--c-dark);
  color: var(--c-white);
  padding: calc(110 * var(--u)) var(--gutter) calc(120 * var(--u));
}
.areas__inner { max-width: 1920px; margin: 0 auto; }
.areas__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px calc(120 * var(--u));
  align-items: end;
}
.areas__header .section-title { max-width: calc(860 * var(--u)); }
.areas__intro {
  color: var(--c-muted-2);
  font-size: var(--fs-lead);
  line-height: 1.667;
}
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: calc(70 * var(--u)) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-line-dark);
}
.area {
  position: relative;
  padding: calc(50 * var(--u)) calc(48 * var(--u)) calc(60 * var(--u));
  border-bottom: 1px solid var(--c-line-dark);
}
.area:not(:nth-child(3n + 1)) { border-left: 1px solid var(--c-line-dark); }
/* White rule sweeps across the top edge on hover */
.area::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: var(--c-white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease);
}
.area:hover::before { transform: scaleX(1); }
.area__num {
  display: block;
  color: var(--c-muted-2);
  font-family: var(--f-serif);
  font-size: var(--fs-item);
  line-height: 1.2;
  transition: color var(--dur) var(--ease);
}
.area:hover .area__num { color: var(--c-white); }
.area__title {
  margin-top: calc(40 * var(--u));
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(22px, calc(32 * var(--u)));
  line-height: 1.25;
  letter-spacing: calc(-0.32 * var(--u));
  transition: translate var(--dur) var(--ease);
}
.area:hover .area__title { translate: 6px 0; }
.area__text {
  margin-top: calc(20 * var(--u));
  color: var(--c-muted-1);
  font-size: max(15px, calc(19 * var(--u)));
  line-height: 1.65;
}

/* ---- Our Approach (extends .services cards) ---- */
.approach { padding-top: calc(110 * var(--u)); }
.approach .services__pattern--right { top: auto; bottom: 0; }
.approach__grid { list-style: none; padding: 0; }
.step { min-height: 0; }
.step__num {
  display: block;
  margin-bottom: calc(36 * var(--u));
  color: transparent;
  font-family: var(--f-serif);
  font-size: max(52px, calc(96 * var(--u)));
  line-height: 1;
  -webkit-text-stroke: 1px rgba(15, 14, 14, .35);
  transition: color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease);
}
.step:hover .step__num { color: var(--c-dark); -webkit-text-stroke-color: var(--c-dark); }
.step__text { margin-top: calc(28 * var(--u)); }

/* ---- Attorneys intro (about page variant) ---- */
.attorneys__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px calc(120 * var(--u));
  align-items: end;
  padding-bottom: calc(40 * var(--u));
  border-bottom: 1px solid var(--c-line-light);
}
.attorneys__intro {
  color: var(--c-text-soft);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.65;
}
.attorneys__intro p + p { margin-top: 1em; }
.page-about .attorneys { padding-top: calc(110 * var(--u)); border-top: 1px solid var(--c-line-light); }

/* ---- Offices ---- */
.offices {
  background: var(--c-white);
  padding: calc(110 * var(--u)) var(--gutter-wide) calc(120 * var(--u));
}
.offices__inner { max-width: 1720px; margin: 0 auto; }
.offices__header { max-width: calc(1000 * var(--u)); }
.offices__intro {
  margin-top: calc(24 * var(--u));
  color: var(--c-text-soft);
  font-size: var(--fs-lead);
  line-height: 1.667;
}
.offices__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px calc(44 * var(--u));
  margin-top: calc(60 * var(--u));
}
/* A single office card spans the row instead of leaving an empty column */
.offices__grid > .office:only-child { grid-column: 1 / -1; max-width: 760px; }
.office {
  display: flex;
  gap: calc(32 * var(--u));
  padding: calc(48 * var(--u)) calc(48 * var(--u)) calc(52 * var(--u));
  border: 1px solid var(--c-card-border);
  box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.office:hover {
  transform: translateY(-8px);
  border-color: rgba(70, 160, 130, .8);
  box-shadow: var(--shadow-card-hover);
}
.office__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: max(48px, calc(64 * var(--u)));
  height: max(48px, calc(64 * var(--u)));
  border: 1px solid var(--c-dark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.office__icon svg { width: 46%; height: 46%; }
.office:hover .office__icon { background: var(--c-dark); color: var(--c-white); }
.office__county {
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: max(12px, calc(14 * var(--u)));
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.office__name {
  margin-top: 6px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: var(--fs-card-title);
  line-height: 1.25;
}
.office__address {
  margin-top: calc(16 * var(--u));
  color: var(--c-text-soft);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.6;
}
.office__link { margin-top: calc(28 * var(--u)); font-size: max(15px, calc(20 * var(--u))); }
.office__link:hover .link-arrow__icon,
.office__link:focus-visible .link-arrow__icon { transform: translate(3px, -3px); }
.offices__note {
  max-width: calc(1100 * var(--u));
  margin-top: calc(48 * var(--u));
  color: var(--c-text-soft);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.65;
}

/* ---- Contact CTA (extends .cta) ---- */
.about-cta { min-height: calc(640 * var(--u)); }
.about-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(560 * var(--u));
  gap: 40px calc(100 * var(--u));
  align-items: center;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: calc(90 * var(--u)) var(--gutter-wide);
}
.about-cta__content { max-width: calc(860 * var(--u)); padding: 0; }
.about-cta__content .cta__title { max-width: none; }
.about-cta__content .cta__text { max-width: calc(760 * var(--u)); }
.about-cta__content .cta__text + .cta__text { margin-top: 1em; }
.about-cta__card {
  display: grid;
  gap: calc(28 * var(--u));
  padding: calc(48 * var(--u));
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(6, 41, 31, .45);
  backdrop-filter: blur(6px);
}
.about-cta__detail {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--c-white);
  text-decoration: none;
}
.about-cta__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .7);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.about-cta__icon svg { width: 22px; height: 22px; }
.about-cta__detail:hover .about-cta__icon,
.about-cta__detail:focus-visible .about-cta__icon { background: var(--c-white); color: var(--c-dark); }
.about-cta__label {
  display: block;
  color: rgba(255, 255, 255, .7);
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-cta__value {
  display: block;
  font-family: var(--f-serif);
  font-size: max(19px, calc(26 * var(--u)));
  line-height: 1.3;
  word-break: break-word;
}
.about-cta__btn { width: 100%; margin-top: calc(12 * var(--u)); }

.disclaimer {
  background: var(--c-white);
  padding: 28px var(--gutter-wide);
  border-bottom: 1px solid var(--c-line-light);
}
.disclaimer__text {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--c-muted-2);
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}

/* ==========================================================================
   Business Formation page
   ========================================================================== */

/* ---- Overview (extends .firm) + checklist card ---- */
.overview__inner { grid-template-columns: minmax(0, 1fr) calc(640 * var(--u)); }
.checklist {
  padding: calc(52 * var(--u)) calc(48 * var(--u));
  border: 1px solid var(--c-card-border);
  box-shadow: var(--shadow-card);
}
.checklist__title {
  padding-bottom: calc(22 * var(--u));
  border-bottom: 1px solid var(--c-line-light);
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(22px, calc(30 * var(--u)));
  line-height: 1.25;
}
.checklist__list { margin-top: calc(10 * var(--u)); }
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: calc(16 * var(--u)) 0;
  border-bottom: 1px solid var(--c-line-light);
  font-size: max(16px, calc(19 * var(--u)));
  line-height: 1.45;
  transition: translate var(--dur) var(--ease);
}
.checklist__item:last-child { border-bottom: 0; padding-bottom: 0; }
.checklist__item:hover { translate: 6px 0; }
.checklist__icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--c-dark);
  color: var(--c-white);
}

/* "On this page" jump links */
.jump {
  max-width: 1920px;
  margin: calc(90 * var(--u)) auto 0;
  padding-top: calc(28 * var(--u));
  border-top: 1px solid var(--c-line-light);
}
.jump__label {
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: max(12px, calc(14 * var(--u)));
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.jump__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px calc(20 * var(--u));
  margin-top: calc(18 * var(--u));
}
.jump__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: max(56px, calc(72 * var(--u)));
  padding: 10px calc(20 * var(--u));
  border: 1px solid var(--c-line-light);
  color: var(--c-text);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.jump__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.jump__link:hover,
.jump__link:focus-visible { color: var(--c-white); border-color: var(--c-dark); }
.jump__link:hover::before,
.jump__link:focus-visible::before { transform: scaleX(1); }
.jump__num {
  flex: none;
  color: var(--c-muted-2);
  font-family: var(--f-serif);
  font-size: max(15px, calc(18 * var(--u)));
}
.jump__text {
  flex: 1;
  font-family: var(--f-ui);
  font-size: max(14px, calc(17 * var(--u)));
  font-weight: 500;
  line-height: 1.3;
}
.jump__icon {
  flex: none;
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  transition: translate var(--dur) var(--ease);
}
.jump__link:hover .jump__icon { translate: 0 3px; }

/* ---- Topic sections: sticky heading left, copy right ---- */
.topic {
  position: relative;
  overflow: hidden;
  overflow: clip; /* clips the pattern without breaking the sticky heading */
  background: var(--c-white);
  padding: calc(110 * var(--u)) var(--gutter-wide) calc(120 * var(--u));
}
.topic--dark { background: var(--c-dark); color: var(--c-white); }
.topic__pattern {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(700 * var(--u));
  opacity: .45;
  pointer-events: none;
  user-select: none;
}
.topic__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px calc(120 * var(--u));
  align-items: start;
  max-width: 1720px;
  margin: 0 auto;
}
.topic__header { position: sticky; top: 130px; }
.topic__num {
  display: block;
  margin-bottom: calc(28 * var(--u));
  color: transparent;
  font-family: var(--f-serif);
  font-size: max(56px, calc(120 * var(--u)));
  line-height: 1;
  -webkit-text-stroke: 1px rgba(15, 14, 14, .3);
}
.topic--dark .topic__num { -webkit-text-stroke-color: rgba(255, 255, 255, .35); }
.topic__title { font-size: max(32px, calc(52 * var(--u))); }
.topic__text {
  color: var(--c-text-soft);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.75;
}
.topic--dark .topic__text { color: var(--c-muted-1); }
.topic__text p + p { margin-top: 1.1em; }
.topic__note {
  display: flex;
  gap: 16px;
  margin-top: calc(44 * var(--u));
  padding: calc(28 * var(--u)) calc(32 * var(--u));
  border-left: 3px solid var(--c-dark);
  background: #F4F4F3;
  font-family: var(--f-serif);
  font-size: max(17px, calc(22 * var(--u)));
  line-height: 1.5;
}
.topic--dark .topic__note {
  border-left-color: var(--c-white);
  background: rgba(255, 255, 255, .06);
}
.topic__note-icon { flex: none; width: 24px; height: 24px; margin-top: 3px; }
.topic__note-icon svg { width: 100%; height: 100%; }

/* ---- FAQ: dark accordion, same motion as the homepage practice list ---- */
.faq {
  background: var(--c-dark);
  color: var(--c-white);
  padding: calc(110 * var(--u)) var(--gutter-wide) calc(120 * var(--u));
}
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px calc(120 * var(--u));
  align-items: start;
  max-width: 1720px;
  margin: 0 auto;
}
.faq__header { position: sticky; top: 130px; }
.faq .section-title { color: var(--c-white); }
.faq .eyebrow { color: var(--c-muted-1); }
.faq__intro {
  margin-top: calc(24 * var(--u));
  color: var(--c-muted-1);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.65;
}
.faq__link { margin-top: calc(32 * var(--u)); }
.faq__list { border-top: 1px solid var(--c-line-dark); }
.faq__item { border-bottom: 1px solid var(--c-line-dark); }
.faq__heading { font-weight: 400; }
.faq__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: max(76px, calc(110 * var(--u)));
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--c-white);
  text-align: left;
  cursor: pointer;
}
.faq__trigger:focus-visible { outline-offset: -2px; }
.faq__num {
  flex: none;
  width: calc(70 * var(--u));
  min-width: 40px;
  color: var(--c-muted-2);
  font-family: var(--f-serif);
  font-size: max(18px, calc(24 * var(--u)));
}
.faq__question {
  flex: 1;
  font-family: var(--f-serif);
  font-size: max(19px, calc(28 * var(--u)));
  line-height: 1.3;
  transition: color var(--dur) var(--ease), translate var(--dur) var(--ease);
}
.faq__trigger:hover .faq__question { color: var(--c-btn); translate: 6px 0; }

/* Plus that turns into a minus; circle fills on hover */
.faq__icon {
  position: relative;
  flex: none;
  width: max(44px, calc(56 * var(--u)));
  height: max(44px, calc(56 * var(--u)));
  border: 1px solid var(--c-line-dark);
  border-radius: 50%;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  margin: -0.75px 0 0 -7px;
  background: var(--c-white);
  transition: transform .4s var(--ease), background var(--dur) var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__trigger:hover .faq__icon,
.faq__trigger:focus-visible .faq__icon { background: var(--c-white); border-color: var(--c-white); }
.faq__trigger:hover .faq__icon::before,
.faq__trigger:hover .faq__icon::after,
.faq__trigger:focus-visible .faq__icon::before,
.faq__trigger:focus-visible .faq__icon::after { background: var(--c-dark); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel-inner { min-height: 0; overflow: hidden; }
.faq__answer {
  max-width: calc(860 * var(--u));
  padding: 0 calc(72 * var(--u)) calc(36 * var(--u)) max(56px, calc(86 * var(--u)));
  color: var(--c-muted-1);
  font-size: max(16px, calc(19 * var(--u)));
  line-height: 1.7;
  opacity: 0;
  translate: 0 -10px;
  transition: opacity .4s var(--ease), translate .4s var(--ease);
}
.faq__item.is-open .faq__answer { opacity: 1; translate: 0 0; transition-delay: .12s; }

/* ==========================================================================
   Business Law page
   ========================================================================== */

.about-cta__address {
  display: block;
  max-width: 34ch;
  font-size: max(15px, calc(17 * var(--u)));
  line-height: 1.5;
}

/* ---- Intro + photo tiles ---- */
.biz-intro {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
  padding: calc(110 * var(--u)) var(--gutter) calc(120 * var(--u));
}
.biz-intro .services__pattern--right { top: auto; bottom: 0; }
.biz-intro__inner { position: relative; z-index: 1; max-width: 1920px; margin: 0 auto; }
.biz-intro__header {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px calc(120 * var(--u));
  align-items: start;
}
.biz-intro__text {
  color: var(--c-text-soft);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.7;
}
.biz-intro__text p + p { margin-top: 1em; }

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(24 * var(--u));
  margin-top: calc(80 * var(--u));
}
.tile__link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-dark);
  color: var(--c-white);
  text-decoration: none;
}
.tile__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform .9s var(--ease-out), filter .7s var(--ease);
}
.tile__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 14, 14, .05) 30%, rgba(15, 14, 14, .88) 100%);
  transition: background .5s var(--ease);
}
.tile__link:hover .tile__image,
.tile__link:focus-visible .tile__image { transform: scale(1.06); filter: grayscale(0); }
.tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 6px 16px;
  padding: calc(32 * var(--u)) calc(28 * var(--u));
}
.tile__num {
  grid-column: 1 / -1;
  color: var(--c-muted-1);
  font-family: var(--f-serif);
  font-size: max(15px, calc(20 * var(--u)));
}
.tile__title {
  font-family: var(--f-serif);
  font-size: max(20px, calc(28 * var(--u)));
  line-height: 1.2;
}
.tile__icon {
  display: grid;
  place-items: center;
  width: max(38px, calc(48 * var(--u)));
  height: max(38px, calc(48 * var(--u)));
  border: 1px solid rgba(255, 255, 255, .7);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tile__icon svg { width: 55%; height: 55%; transition: transform var(--dur) var(--ease); }
.tile__link:hover .tile__icon,
.tile__link:focus-visible .tile__icon { background: var(--c-white); color: var(--c-dark); }
.tile__link:hover .tile__icon svg,
.tile__link:focus-visible .tile__icon svg { transform: translate(2px, -2px); }
.tile__link:focus-visible { outline-offset: 4px; outline-color: var(--c-dark); }

/* ---- Split image/text sections ---- */
.split {
  background: var(--c-white);
  padding: calc(120 * var(--u)) var(--gutter-wide);
  border-top: 1px solid var(--c-line-light);
}
.split--dark { background: var(--c-dark); color: var(--c-white); border-top: 0; }
.split__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px calc(120 * var(--u));
  align-items: start;
  max-width: 1720px;
  margin: 0 auto;
}
.split--reverse .split__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--reverse .split__media { order: 2; }

/* Image stays in view while the longer copy scrolls past */
.split__media { position: sticky; top: 130px; }
.split__frame {
  position: relative;
  aspect-ratio: 8 / 9;
  overflow: hidden;
  background: #1c1b1b;
}
.split__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 1.2s var(--ease-out), filter .8s var(--ease);
}
.split__media:hover .split__frame img { transform: scale(1.04); filter: grayscale(0); }
/* Offset outline behind the photo */
.split__media::before {
  content: "";
  position: absolute;
  inset: calc(28 * var(--u)) calc(-28 * var(--u)) calc(-28 * var(--u)) calc(28 * var(--u));
  border: 1px solid var(--c-line-light);
  pointer-events: none;
}
.split--reverse .split__media::before { inset: calc(28 * var(--u)) calc(28 * var(--u)) calc(-28 * var(--u)) calc(-28 * var(--u)); }
.split--dark .split__media::before { border-color: var(--c-line-dark); }
.split__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: max(72px, calc(110 * var(--u)));
  height: max(72px, calc(110 * var(--u)));
  background: var(--c-dark);
  color: var(--c-white);
  font-family: var(--f-serif);
  font-size: max(26px, calc(40 * var(--u)));
}
.split--dark .split__badge { left: auto; right: 0; background: var(--c-white); color: var(--c-dark); }

.split__title { font-size: max(32px, calc(52 * var(--u))); }
.split__text {
  margin-top: calc(36 * var(--u));
  color: var(--c-text-soft);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.75;
}
.split--dark .split__text { color: var(--c-muted-1); }
.split__text p + p { margin-top: 1.1em; }
/* First paragraph reads as a lead-in */
.split__text p:first-child {
  color: var(--c-text);
  font-size: max(18px, calc(24 * var(--u)));
  line-height: 1.6;
}
.split--dark .split__text p:first-child { color: var(--c-white); }
.split__btn { width: auto; min-width: max(220px, calc(339 * var(--u))); margin-top: calc(48 * var(--u)); padding: 0 32px; }

/* ---- Why work with us ---- */
.biz-why {
  background: var(--c-white);
  padding: calc(120 * var(--u)) var(--gutter-wide);
}
.biz-why__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px calc(120 * var(--u));
  align-items: center;
  max-width: 1720px;
  margin: 0 auto;
}
.biz-why__frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9e9e9;
}
.biz-why__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 1.2s var(--ease-out), filter .8s var(--ease);
}
.biz-why__media:hover .biz-why__frame img { transform: scale(1.04); filter: grayscale(0); }
.biz-why__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--c-text-soft);
  font-family: var(--f-ui);
  font-size: max(13px, calc(15 * var(--u)));
  letter-spacing: .08em;
  text-transform: uppercase;
}
.biz-why__caption-icon { width: 18px; height: 18px; }
.biz-why__lead {
  margin-top: calc(32 * var(--u));
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.biz-why__points {
  margin-top: calc(36 * var(--u));
  border-top: 1px solid var(--c-line-light);
}
.biz-why__point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: calc(22 * var(--u)) 0;
  border-bottom: 1px solid var(--c-line-light);
  color: var(--c-text-soft);
  font-size: max(16px, calc(19 * var(--u)));
  line-height: 1.6;
  transition: translate var(--dur) var(--ease), color var(--dur) var(--ease);
}
.biz-why__point:hover { translate: 6px 0; color: var(--c-text); }
.biz-why__point .checklist__icon { margin-top: 3px; }
.biz-why__closing {
  margin-top: calc(32 * var(--u));
  font-family: var(--f-serif);
  font-size: max(18px, calc(24 * var(--u)));
  line-height: 1.5;
}

/* ==========================================================================
   Commercial Lease page (+ shared split extras, light FAQ)
   ========================================================================== */

/* ---- Intro groups: "Who we assist" / "Property types" ---- */
.groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: calc(80 * var(--u));
  border: 1px solid var(--c-line-light);
  background: var(--c-white);
}
.group { padding: calc(44 * var(--u)) calc(48 * var(--u)) calc(36 * var(--u)); }
.group + .group { border-left: 1px solid var(--c-line-light); }
.group__label {
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: max(12px, calc(14 * var(--u)));
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.group__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 calc(32 * var(--u));
  margin-top: calc(14 * var(--u));
}
.group__item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: calc(18 * var(--u)) 0;
  border-bottom: 1px solid var(--c-line-light);
  transition: translate var(--dur) var(--ease);
}
.group__item:hover { translate: 6px 0; }
.group__num {
  color: var(--c-muted-2);
  font-family: var(--f-serif);
  font-size: max(14px, calc(17 * var(--u)));
}
.group__text {
  font-family: var(--f-serif);
  font-size: max(19px, calc(26 * var(--u)));
  line-height: 1.3;
}

/* ---- Split extras: checklist + comparison cards ---- */
.split__points {
  margin-top: calc(44 * var(--u));
  padding: calc(32 * var(--u)) calc(36 * var(--u));
  border: 1px solid var(--c-line-light);
}
.split--dark .split__points { border-color: var(--c-line-dark); background: rgba(255, 255, 255, .03); }
.split__points-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(20px, calc(26 * var(--u)));
  line-height: 1.3;
}
.split__points-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(14 * var(--u)) calc(28 * var(--u));
  margin-top: calc(20 * var(--u));
}
.split__points-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: max(15px, calc(18 * var(--u)));
  line-height: 1.45;
}
.split--dark .split__points-list .checklist__icon { background: var(--c-white); color: var(--c-dark); }

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px calc(44 * var(--u));
  max-width: 1720px;
  margin: calc(100 * var(--u)) auto 0;
}
.compare__card {
  position: relative;
  padding: calc(52 * var(--u)) calc(48 * var(--u)) calc(56 * var(--u));
  border: 1px solid var(--c-card-border);
  background: var(--c-white);
  color: var(--c-text); /* cards stay dark-on-white inside dark sections too */
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
/* Dark bar sweeps across the top edge on hover */
.compare__card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--c-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease);
}
.compare__card:hover {
  transform: translateY(-8px);
  border-color: rgba(70, 160, 130, .8);
  box-shadow: var(--shadow-card-hover);
}
.compare__card:hover::before { transform: scaleX(1); }
.compare__label {
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: max(12px, calc(14 * var(--u)));
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.compare__title {
  margin-top: calc(14 * var(--u));
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(26px, calc(40 * var(--u)));
  line-height: 1.2;
}
.compare__text {
  margin-top: calc(20 * var(--u));
  color: var(--c-text-soft);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.65;
}

/* ---- How it works: dark, sticky aside + vertical timeline ---- */
.process {
  position: relative;
  overflow: hidden;
  overflow: clip; /* keeps the sticky aside working */
  background: var(--c-dark);
  color: var(--c-white);
  padding: calc(120 * var(--u)) var(--gutter-wide);
}
.process__pattern {
  position: absolute;
  right: 0;
  top: 0;
  width: calc(700 * var(--u));
  opacity: .4;
  transform: scaleX(-1);
  pointer-events: none;
  user-select: none;
}
.process__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px calc(120 * var(--u));
  align-items: start;
  max-width: 1720px;
  margin: 0 auto;
}
.process__aside { position: sticky; top: 130px; }
.process__intro {
  margin-top: calc(24 * var(--u));
  color: var(--c-muted-1);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.65;
}
.process__media {
  margin-top: calc(44 * var(--u));
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1c1b1b;
}
.process__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 1.2s var(--ease-out), filter .8s var(--ease);
}
.process__media:hover img { transform: scale(1.04); filter: grayscale(0); }

.timeline { position: relative; }
/* Vertical rule connecting the markers */
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: calc(max(52px, 64 * var(--u)) / 2);
  width: 1px;
  background: var(--c-line-dark);
}
.timeline__step {
  position: relative;
  display: flex;
  gap: calc(36 * var(--u));
  padding-bottom: calc(52 * var(--u));
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__marker {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: max(52px, calc(64 * var(--u)));
  height: max(52px, calc(64 * var(--u)));
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: var(--c-dark);
  font-family: var(--f-serif);
  font-size: max(17px, calc(22 * var(--u)));
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.timeline__step:hover .timeline__marker { background: var(--c-white); color: var(--c-dark); }
.timeline__body { padding-top: calc(10 * var(--u)); }
.timeline__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(22px, calc(30 * var(--u)));
  line-height: 1.25;
  transition: translate var(--dur) var(--ease);
}
.timeline__step:hover .timeline__title { translate: 6px 0; }
.timeline__text {
  margin-top: calc(12 * var(--u));
  color: var(--c-muted-1);
  font-size: max(16px, calc(19 * var(--u)));
  line-height: 1.7;
}
.process__closing {
  margin-top: calc(56 * var(--u));
  padding: calc(28 * var(--u)) calc(32 * var(--u));
  border-left: 3px solid var(--c-white);
  background: rgba(255, 255, 255, .06);
  font-family: var(--f-serif);
  font-size: max(17px, calc(22 * var(--u)));
  line-height: 1.5;
}

/* ==========================================================================
   Commercial Real Estate page
   ========================================================================== */

/* ---- Matters we handle (extends .process) ---- */
.matters__lead {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(20px, calc(28 * var(--u)));
  line-height: 1.35;
}
.matters__list {
  margin-top: calc(28 * var(--u));
  border-top: 1px solid var(--c-line-dark);
}
.matter {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(28 * var(--u));
  min-height: max(60px, calc(78 * var(--u)));
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line-dark);
}
/* White rule grows along the bottom edge on hover */
.matter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--c-white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--ease);
}
.matter:hover::after { transform: scaleX(1); }
.matter__num {
  flex: none;
  min-width: 34px;
  color: var(--c-muted-2);
  font-family: var(--f-serif);
  font-size: max(15px, calc(18 * var(--u)));
  transition: color var(--dur) var(--ease);
}
.matter__text {
  flex: 1;
  font-family: var(--f-serif);
  font-size: max(18px, calc(25 * var(--u)));
  line-height: 1.3;
  transition: translate var(--dur) var(--ease);
}
.matter__icon {
  flex: none;
  width: 20px;
  height: 20px;
  opacity: 0;
  translate: -8px 0;
  transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease);
}
.matter:hover .matter__num { color: var(--c-white); }
.matter:hover .matter__text { translate: 6px 0; }
.matter:hover .matter__icon { opacity: 1; translate: 0 0; }
.matters__closing {
  margin-top: calc(40 * var(--u));
  color: var(--c-muted-1);
  font-size: max(16px, calc(19 * var(--u)));
  line-height: 1.7;
}
.matters__closing p + p { margin-top: 1em; }

/* ---- Why: attorney portrait + stat card ---- */
.cre-why .biz-why__inner { align-items: start; }
.cre-why__media {
  position: sticky;
  top: 130px;
  max-width: calc(600 * var(--u));
  min-width: 0;
  padding: 0 calc(60 * var(--u)) calc(60 * var(--u)) 0;
}
/* Offset outline behind the portrait */
.cre-why__media::before {
  content: "";
  position: absolute;
  inset: calc(32 * var(--u)) calc(28 * var(--u)) calc(28 * var(--u)) calc(-28 * var(--u));
  border: 1px solid var(--c-line-light);
  pointer-events: none;
}
.cre-why__frame {
  position: relative;
  aspect-ratio: 485 / 577;
  overflow: hidden;
  background: #2b2b2b;
}
.cre-why__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 1.2s var(--ease-out), filter .8s var(--ease);
}
.cre-why__media:hover .cre-why__frame img { transform: scale(1.04); filter: grayscale(0); }
.cre-why__stat {
  position: absolute;
  right: 0;
  bottom: 0;
  width: max(220px, calc(300 * var(--u)));
  padding: calc(32 * var(--u)) calc(30 * var(--u));
  background: var(--c-dark);
  color: var(--c-white);
  box-shadow: var(--shadow-card-hover);
}
.cre-why__stat-value {
  font-family: var(--f-serif);
  font-size: max(40px, calc(64 * var(--u)));
  line-height: 1;
  letter-spacing: calc(-1.92 * var(--u));
}
.cre-why__stat-label {
  margin-top: 12px;
  color: var(--c-muted-1);
  font-size: max(14px, calc(17 * var(--u)));
  line-height: 1.45;
}
.cre-why__stat-by {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line-dark);
  font-family: var(--f-ui);
  font-size: max(12px, calc(13 * var(--u)));
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cre-why__link { margin-top: calc(36 * var(--u)); }

/* Dark variant: stat card flips to white so it still stands out */
.cre-why--dark { background: var(--c-dark); color: var(--c-white); }
.cre-why--dark .cre-why__media::before { border-color: var(--c-line-dark); }
.cre-why--dark .cre-why__stat { background: var(--c-white); color: var(--c-dark); }
.cre-why--dark .cre-why__stat-label { color: var(--c-text-soft); }
.cre-why--dark .cre-why__stat-by { border-top-color: var(--c-line-light); }
.cre-why--dark .biz-why__points,
.cre-why--dark .biz-why__point { border-color: var(--c-line-dark); }
.cre-why--dark .biz-why__point { color: var(--c-muted-1); }
.cre-why--dark .biz-why__point:hover { color: var(--c-white); }
.cre-why--dark .checklist__icon { background: var(--c-white); color: var(--c-dark); }

/* ==========================================================================
   FAQs page
   ========================================================================== */

/* ---- Search ---- */
.kb-search { margin-top: calc(70 * var(--u)); }
.kb-search[hidden] { display: none; }
.kb-search__label {
  display: block;
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: max(12px, calc(14 * var(--u)));
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kb-search__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 0 calc(24 * var(--u));
  border: 1px solid var(--c-dark);
  background: var(--c-white);
  transition: box-shadow var(--dur) var(--ease);
}
.kb-search__row:focus-within { box-shadow: 0 0 0 1px var(--c-dark), var(--shadow-card-hover); }
.kb-search__icon { flex: none; width: 24px; height: 24px; color: var(--c-text-soft); }
.kb-search__input {
  flex: 1;
  min-width: 0;
  height: max(60px, calc(80 * var(--u)));
  border: 0;
  background: transparent;
  color: var(--c-text);
  font-family: var(--f-serif);
  font-size: max(18px, calc(26 * var(--u)));
  -webkit-appearance: none;
  appearance: none;
}
.kb-search__input::placeholder { color: var(--c-muted-2); }
.kb-search__input:focus { outline: none; }
.kb-search__input::-webkit-search-cancel-button { display: none; }
.kb-search__clear {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--c-line-light);
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.kb-search__clear[hidden] { display: none; }
.kb-search__clear svg { width: 18px; height: 18px; }
.kb-search__clear:hover { background: var(--c-dark); color: var(--c-white); }
.kb-search__status {
  min-height: 1.5em;
  margin-top: 10px;
  color: var(--c-text-soft);
  font-size: max(14px, calc(16 * var(--u)));
}

/* ---- Category cards ---- */
.kb-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(20 * var(--u));
  margin-top: calc(36 * var(--u));
}
.kb-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: max(130px, calc(170 * var(--u)));
  padding: calc(28 * var(--u)) calc(30 * var(--u));
  border: 1px solid var(--c-line-light);
  background: var(--c-white);
  color: var(--c-text);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .45s var(--ease);
}
/* Dark fill sweeps up on hover */
.kb-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-dark);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform .45s var(--ease);
}
.kb-cat:hover,
.kb-cat:focus-visible { color: var(--c-white); border-color: var(--c-dark); transform: translateY(-4px); }
.kb-cat:hover::before,
.kb-cat:focus-visible::before { transform: scaleY(1); }
.kb-cat__num {
  color: var(--c-muted-2);
  font-family: var(--f-serif);
  font-size: max(15px, calc(18 * var(--u)));
}
.kb-cat__title {
  margin-top: 8px;
  font-family: var(--f-serif);
  font-size: max(20px, calc(28 * var(--u)));
  line-height: 1.25;
}
.kb-cat__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: max(13px, calc(15 * var(--u)));
  transition: color var(--dur) var(--ease);
}
.kb-cat:hover .kb-cat__meta,
.kb-cat:focus-visible .kb-cat__meta { color: var(--c-muted-1); }
.kb-cat__icon {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
  transition: translate var(--dur) var(--ease);
}
.kb-cat:hover .kb-cat__icon { translate: 0 3px; }

/* ---- Questions: sticky category nav + grouped accordions ---- */
.kb {
  padding: calc(110 * var(--u)) var(--gutter-wide) calc(120 * var(--u));
  border-top: 1px solid var(--c-line-light);
}
.kb__inner {
  display: grid;
  grid-template-columns: calc(380 * var(--u)) minmax(0, 1fr);
  gap: 48px calc(100 * var(--u));
  align-items: start;
  max-width: 1720px;
  margin: 0 auto;
}
.kb__aside { position: sticky; top: 130px; min-width: 240px; }
.kb-nav__label {
  color: var(--c-muted-2);
  font-family: var(--f-ui);
  font-size: max(12px, calc(14 * var(--u)));
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kb-nav__list { margin-top: 14px; border-left: 1px solid var(--c-line-light); }
.kb-nav__list li[hidden] { display: none; }
.kb-nav__link {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 9px 0 9px 20px;
  color: var(--c-text-soft);
  font-size: max(15px, calc(17 * var(--u)));
  line-height: 1.35;
  text-decoration: none;
  transition: color var(--dur) var(--ease), translate var(--dur) var(--ease);
}
.kb-nav__link::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-dark);
  transform: scaleY(0);
  transition: transform var(--dur) var(--ease);
}
.kb-nav__num { flex: none; color: var(--c-muted-2); font-family: var(--f-serif); }
.kb-nav__link:hover { color: var(--c-text); translate: 4px 0; }
.kb-nav__link.is-active { color: var(--c-text); font-weight: 600; }
.kb-nav__link.is-active::before { transform: scaleY(1); }

.kb-help {
  margin-top: calc(40 * var(--u));
  padding: 24px;
  background: var(--c-dark);
  color: var(--c-white);
}
.kb-help__title { font-family: var(--f-serif); font-size: max(19px, calc(24 * var(--u))); line-height: 1.3; }
.kb-help__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--c-white);
  font-family: var(--f-ui);
  font-weight: 600;
  text-decoration: none;
}
.kb-help__phone svg { width: 18px; height: 18px; }
.kb-help__phone:hover { text-decoration: underline; }
.kb-help__link { display: flex; margin-top: 14px; color: var(--c-muted-1); font-size: max(14px, calc(16 * var(--u))); }

.kb-group { scroll-margin-top: 130px; }
.kb-group + .kb-group { margin-top: calc(90 * var(--u)); }
.kb-group__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px calc(20 * var(--u));
  padding-bottom: calc(22 * var(--u));
}
.kb-group__num {
  color: transparent;
  font-family: var(--f-serif);
  font-size: max(40px, calc(64 * var(--u)));
  line-height: 1;
  -webkit-text-stroke: 1px rgba(15, 14, 14, .35);
}
.kb-group__title {
  flex: 1;
  min-width: 260px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(26px, calc(40 * var(--u)));
  line-height: 1.2;
}
.kb-group__link { flex-basis: 100%; font-size: max(14px, calc(17 * var(--u))); color: var(--c-text-soft); }

.kb .faq__trigger { min-height: max(68px, calc(92 * var(--u))); }
.kb .faq__question { font-size: max(18px, calc(24 * var(--u))); }
.kb-answer { padding-left: 0; padding-right: calc(80 * var(--u)); }
.kb-answer p + p { margin-top: .9em; }

.kb-empty {
  padding: 40px;
  border: 1px dashed var(--c-line-light);
  text-align: center;
}
.kb-empty[hidden] { display: none; }
.kb-empty__title { font-family: var(--f-serif); font-size: max(22px, calc(28 * var(--u))); }
.kb-empty__text { margin-top: 8px; color: var(--c-text-soft); }
.kb-empty__text a { color: var(--c-text); }

/* ==========================================================================
   Legal Consultations page (+ shared split/process options)
   ========================================================================== */
.split__frame--wide { aspect-ratio: 4 / 3; }
.split__note { margin-top: calc(40 * var(--u)); }
.split--dark .topic__note { border-left-color: var(--c-white); background: rgba(255, 255, 255, .06); }

/* Timeline section, white variant */
.process--light { background: var(--c-white); color: var(--c-text); border-top: 1px solid var(--c-line-light); }
.process--light .process__pattern { filter: invert(1); opacity: .35; }
.process--light .process__intro,
.process--light .timeline__text { color: var(--c-text-soft); }
.process--light .process__media { background: #e9e9e9; }
.process--light .timeline::before { background: var(--c-line-light); }
.process--light .timeline__marker { border-color: var(--c-dark); background: var(--c-white); }
.process--light .timeline__step:hover .timeline__marker { background: var(--c-dark); color: var(--c-white); }
.process--light .process__closing { border-left-color: var(--c-dark); background: #F4F4F3; }

/* ==========================================================================
   Contract Review page: "When should you review" section
   ========================================================================== */
.when__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px calc(100 * var(--u));
  align-items: start;
  margin-top: calc(80 * var(--u));
}
.when__subtitle {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(22px, calc(30 * var(--u)));
  line-height: 1.3;
}
.clauses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(16 * var(--u));
  margin-top: calc(28 * var(--u));
}
.clause {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(140px, calc(190 * var(--u)));
  padding: calc(26 * var(--u)) calc(28 * var(--u));
  background: var(--c-dark);
  color: var(--c-white);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.clause:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.clause__num { color: var(--c-muted-2); font-family: var(--f-serif); font-size: max(15px, calc(18 * var(--u))); }
.clause__title {
  margin-top: auto;
  padding-top: 16px; /* icon sits in the top corner, clear of the title */
  font-family: var(--f-serif);
  font-size: max(19px, calc(26 * var(--u)));
  line-height: 1.25;
}
.clause__icon {
  position: absolute;
  top: calc(24 * var(--u));
  right: calc(24 * var(--u));
  width: 26px;
  height: 26px;
  color: var(--c-muted-1);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.clause__icon svg { width: 100%; height: 100%; }
.clause:hover .clause__icon { color: var(--c-white); transform: scale(1.12); }
.when__text,
.when__closing {
  margin-top: calc(28 * var(--u));
  color: var(--c-text-soft);
  font-size: max(16px, calc(19 * var(--u)));
  line-height: 1.7;
}
.when__closing p + p { margin-top: 1em; }
.when__situations .biz-why__points { margin-top: calc(28 * var(--u)); }

/* ==========================================================================
   Practice Areas hub (+ shared tile/FAQ/office options)
   ========================================================================== */
.tiles--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--three .tile__link { aspect-ratio: 4 / 3; }
.faq__link--secondary { display: flex; width: max-content; margin-top: 16px; font-size: max(15px, calc(18 * var(--u))); }
.office__text {
  margin-top: calc(14 * var(--u));
  color: var(--c-text-soft);
  font-size: max(15px, calc(17 * var(--u)));
  line-height: 1.6;
}
.page-practice .offices,
.page-about .offices { border-top: 1px solid var(--c-line-light); }

/* ==========================================================================
   Closing & Financing page: financing structures section
   ========================================================================== */
.structures .topic__num { margin-bottom: calc(20 * var(--u)); }
.structures .biz-intro__header { align-items: end; }
.compare--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: calc(70 * var(--u)); }
.structures .when__grid { margin-top: calc(90 * var(--u)); }
.clauses--compact .clause { min-height: max(110px, calc(150 * var(--u))); }
.clauses--compact .clause:last-child { grid-column: 1 / -1; }
.structures__text { margin-top: calc(56 * var(--u)); }

/* ==========================================================================
   Services hub: fees section (+ process button)
   ========================================================================== */
.process__btn { width: auto; min-width: max(220px, calc(339 * var(--u))); margin-top: calc(48 * var(--u)); padding: 0 32px; }

.fees {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
  color: var(--c-white);
  padding: calc(120 * var(--u)) var(--gutter-wide);
}
.fees__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px calc(120 * var(--u));
  align-items: start;
  max-width: 1720px;
  margin: 0 auto;
}
.fees__text {
  margin-top: calc(32 * var(--u));
  color: var(--c-muted-1);
  font-size: max(16px, calc(20 * var(--u)));
  line-height: 1.7;
}
.fees__text p + p { margin-top: 1em; }
.fees__aside .matters__list { margin-top: calc(24 * var(--u)); }
.fees__note { margin-top: calc(36 * var(--u)); border-left-color: var(--c-white); background: rgba(255, 255, 255, .06); }
.fees__closing {
  margin-top: calc(28 * var(--u));
  color: var(--c-muted-1);
  font-size: max(16px, calc(19 * var(--u)));
  line-height: 1.7;
}
.fees__btn { width: auto; min-width: max(220px, calc(339 * var(--u))); margin-top: calc(36 * var(--u)); padding: 0 32px; }

/* ==========================================================================
   Title Insurance page: commitment schedules (extends .fees)
   ========================================================================== */
.schedules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(16 * var(--u));
  margin-top: calc(28 * var(--u));
}
.schedule {
  position: relative;
  padding: calc(32 * var(--u)) calc(30 * var(--u)) calc(34 * var(--u));
  border: 1px solid var(--c-line-dark);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.schedule:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }
/* Oversized outlined letter in the corner */
.schedule__letter {
  position: absolute;
  top: calc(-10 * var(--u));
  right: calc(16 * var(--u));
  color: transparent;
  font-family: var(--f-serif);
  font-size: max(72px, calc(120 * var(--u)));
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  transition: -webkit-text-stroke-color var(--dur) var(--ease);
  pointer-events: none;
}
.schedule:hover .schedule__letter { -webkit-text-stroke-color: rgba(255, 255, 255, .6); }
.schedule__label {
  color: var(--c-muted-1);
  font-family: var(--f-ui);
  font-size: max(12px, calc(13 * var(--u)));
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.schedule__title {
  margin: 10px 0 0;
  padding-right: 48px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(20px, calc(26 * var(--u)));
  line-height: 1.25;
}
.schedule__text {
  margin-top: calc(14 * var(--u));
  color: var(--c-muted-1);
  font-size: max(15px, calc(17 * var(--u)));
  line-height: 1.6;
}

/* ==========================================================================
   Breadcrumbs, attorney profiles, office pages, 404
   ========================================================================== */
.crumbs { margin-bottom: calc(28 * var(--u)); }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--c-muted-1);
  font-family: var(--f-ui);
  font-size: max(13px, calc(15 * var(--u)));
}
.crumbs__item { display: inline-flex; align-items: center; gap: 10px; }
.crumbs__item + .crumbs__item::before { content: "/"; color: var(--c-muted-2); }
.crumbs__item[aria-current="page"] { color: var(--c-white); }
.crumbs__link { color: var(--c-muted-1); text-decoration: none; transition: color var(--dur) var(--ease); }
.crumbs__link:hover { color: var(--c-white); text-decoration: underline; }

.profile__name {
  font-family: var(--f-serif);
  font-size: max(24px, calc(34 * var(--u)));
  line-height: 1.15;
}
.profile .biz-why__points { margin-top: calc(32 * var(--u)); }
.profile__subtitle {
  margin-top: calc(40 * var(--u));
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: max(20px, calc(26 * var(--u)));
}
.profile__links { display: grid; gap: 12px; margin-top: 16px; }
.profile__links .link-arrow { font-size: max(16px, calc(20 * var(--u))); }
.profile__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
  margin-top: calc(48 * var(--u));
}
.profile__actions .btn { width: auto; padding: 0 32px; }
.profile__others { margin-top: calc(36 * var(--u)); color: var(--c-text-soft); }
.profile__others a { color: var(--c-text); }

.office__link--page { display: flex; width: max-content; margin-top: 12px; }
.office--detail { box-shadow: var(--shadow-card); background: var(--c-white); }
.office__contact { display: grid; gap: 10px; margin-top: 18px; }
.office__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  font-family: var(--f-ui);
  font-weight: 500;
  text-decoration: none;
}
.office__contact a:hover { text-decoration: underline; }
.office__contact svg { width: 18px; height: 18px; }
.office__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}
.office__actions .btn { width: auto; padding: 0 28px; }
.office__other { margin-top: 24px; color: var(--c-text-soft); }
.office__other a { color: var(--c-text); }
/* Service list as links on a light background */
.office__services a.matter { color: var(--c-text); text-decoration: none; }
.process--light .matters__list,
.process--light .matter { border-color: var(--c-line-light); }
.process--light .matter::after { background: var(--c-dark); }
.process--light .matter:hover .matter__num { color: var(--c-dark); }

.kb-cat__icon--right { transform: none; }

/* ---- FAQ, light variant ---- */
.faq--light { background: var(--c-white); color: var(--c-text); }
.faq--light .section-title { color: var(--c-text); }
.faq--light .eyebrow { color: var(--c-muted-2); }
.faq--light .faq__intro,
.faq--light .faq__answer { color: var(--c-text-soft); }
.faq--light .faq__list,
.faq--light .faq__item { border-color: var(--c-line-light); }
.faq--light .faq__trigger { color: var(--c-text); }
.faq--light .faq__trigger:hover .faq__question { color: var(--c-text-soft); }
.faq--light .faq__icon { border-color: var(--c-line-light); }
.faq--light .faq__icon::before,
.faq--light .faq__icon::after { background: var(--c-dark); }
.faq--light .faq__trigger:hover .faq__icon,
.faq--light .faq__trigger:focus-visible .faq__icon { background: var(--c-dark); border-color: var(--c-dark); }
.faq--light .faq__trigger:hover .faq__icon::before,
.faq--light .faq__trigger:hover .faq__icon::after,
.faq--light .faq__trigger:focus-visible .faq__icon::before,
.faq--light .faq__trigger:focus-visible .faq__icon::after { background: var(--c-white); }

/* ==========================================================================
   Scroll reveal (only when JS is running; see main.js)
   ========================================================================== */
.js [data-reveal]:not(.is-visible) { opacity: 0; }
.js [data-reveal].is-visible {
  animation: rise-in .9s var(--ease-out) both;
  animation-delay: var(--reveal-delay, 0ms);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ---- ≤1199px: tablet. Hamburger navigation, --u frozen. ---- */
@media (max-width: 1199px) {
  :root {
    --u: 0.625px;
    --gutter: 40px;
    --gutter-wide: 40px;
  }

  html { scroll-padding-top: 96px; }

  .topbar { height: 44px; padding: 0 var(--gutter); }

  .navbar,
  .site-header.is-scrolled .navbar {
    align-items: center;
    padding: 12px var(--gutter);
  }
  .navbar__logo,
  .site-header.is-scrolled .navbar__logo { width: 72px; }
  .site-header.is-scrolled .navbar__logo { width: 60px; }

  .navbar__toggle { display: block; }
  .navbar__cta { margin-left: auto; margin-top: 0; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    height: auto;
    margin: 0;
    padding: 110px var(--gutter) 48px;
    overflow-y: auto;
    background: var(--c-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s;
  }
  .site-header.is-scrolled .nav { padding-top: 110px; }
  .nav { justify-content: flex-start; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--c-line-dark); }
  .nav__item--mobile { display: block; }
  .nav__link { font-size: clamp(22px, 4.4vw, 32px); padding: 12px 0; }
  .nav__link::after { display: none; }
  .nav__item.is-active > .nav__link,
  .nav__item.is-active > .nav__row > .nav__link { color: var(--c-btn); }

  /* Dropdowns become in-place expandable lists */
  .nav__row { justify-content: space-between; gap: 16px; }
  .nav__toggle { width: 44px; height: 44px; border: 1px solid var(--c-line-dark); }
  .nav__chevron { width: 18px; height: 18px; }
  .nav__menu,
  .nav__item.is-open .nav__menu {
    position: static;
    display: grid;
    grid-template-rows: 0fr;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: none;
    transition: grid-template-rows .4s var(--ease);
  }
  .nav__item.is-open .nav__menu { grid-template-rows: 1fr; }
  .nav__menu::before { display: none; }
  .nav__sub { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear .4s; }
  .nav__item.is-open .nav__sub { visibility: visible; padding-bottom: 14px; transition: visibility 0s; }
  .nav__sublink { padding: 9px 0 9px 16px; font-size: 16px; }
  .nav__sublink:hover,
  .nav__sublink:focus-visible { padding-left: 22px; background: none; }
  .nav__group-label { padding: 8px 0 2px 16px; }
  .nav__sublink--nested { padding-left: 30px; }
  .nav__sublink--nested:hover,
  .nav__sublink--nested:focus-visible { padding-left: 36px; }
  .nav__mobile-extra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
    margin-top: 40px;
  }
  .nav__mobile-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--c-muted-1);
    font-family: var(--f-ui);
    text-decoration: none;
  }
  .nav__mobile-phone svg { width: 20px; height: 20px; }
  .navbar__logo,
  .navbar__cta { position: relative; z-index: 2; }

  .hero { min-height: 0; }
  .hero__panel { padding-top: 220px; }

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

  .practice__media { right: 0; }

  .attorneys__grid { column-gap: 32px; }
  .attorney__meta { flex-wrap: wrap; }

  .services__grid { gap: 24px; max-width: none; }
  .service-card { min-height: 0; padding: 40px 28px; }

  .footer__top { grid-template-columns: 1fr 1fr; padding-right: 0; }
  .footer__columns { grid-template-columns: repeat(3, auto); gap: 32px 40px; }

  .about-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 0; }
  .about-hero__panel { padding-top: 220px; }
  .area { padding: 36px 28px 44px; }
  .office { padding: 36px 32px 40px; }
  .about-cta__inner { grid-template-columns: minmax(0, 1fr) 420px; }
  .about-cta__card { padding: 32px; }

  .overview__inner { grid-template-columns: minmax(0, 1fr) 380px; }
  .checklist { padding: 32px 28px; }
  .jump__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topic__header, .faq__header { top: 100px; }

  .tiles { gap: 16px; }
  .split__media { top: 100px; }

  .process__aside { top: 100px; }
  .group { padding: 32px 28px 24px; }
  .group__list { grid-template-columns: 1fr; }
  .split__points-list { grid-template-columns: 1fr; }
}

/* ---- ≤1023px: stacked layouts ---- */
@media (max-width: 1023px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero__panel {
    min-height: 100svh;
    padding: 190px var(--gutter) 64px;
    background: linear-gradient(180deg, rgba(15, 14, 14, .92) 0%, rgba(15, 14, 14, .82) 60%, rgba(15, 14, 14, .95) 100%);
  }
  .hero__pattern { top: 120px; width: 120%; max-width: none; }
  .hero__title { max-width: 640px; }

  .firm__inner { grid-template-columns: 1fr; row-gap: 40px; }

  /* Accordion image flows inside the panel on smaller screens */
  .practice__item.is-open .practice__icon { opacity: 1; }
  .practice__panel-inner { display: block; }
  .practice__body { min-height: 0; max-width: none; padding-bottom: 24px; }
  .practice__media,
  .practice__item.is-open .practice__media {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    max-width: 586px;
    margin: 0 0 32px calc(max(48px, 77 * var(--u)));
    opacity: 1;
    visibility: visible;
    translate: none;
    transition: none;
  }
  .practice__icon { margin-right: 0; }

  .attorneys__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services__pattern { width: 360px; opacity: .6; }

  .cta { min-height: 420px; align-items: center; }
  .cta__content { max-width: 640px; padding: 64px var(--gutter); }
  .cta__title, .cta__text { max-width: none; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__title { max-width: 520px; }
  .footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    max-width: none;
  }
  .footer__legal { justify-content: center; }
  .footer__socials { justify-content: center; }

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

  /* About */
  .about-hero { grid-template-columns: minmax(0, 1fr); }
  .about-hero__media { position: absolute; inset: 0; z-index: 0; }
  .about-hero__panel {
    padding: 190px var(--gutter) 72px;
    background: linear-gradient(180deg, rgba(15, 14, 14, .93) 0%, rgba(15, 14, 14, .84) 60%, rgba(15, 14, 14, .96) 100%);
  }
  .about-hero__pattern { top: 120px; width: 120%; }
  .about-hero__title { max-width: 680px; }

  .areas__header,
  .attorneys__header { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area:not(:nth-child(3n + 1)) { border-left: 0; }
  .area:nth-child(2n) { border-left: 1px solid var(--c-line-dark); }

  .offices__header { max-width: none; }
  .offices__grid { grid-template-columns: 1fr; max-width: 760px; }

  .about-cta__inner { grid-template-columns: 1fr; padding: 72px var(--gutter); }
  .about-cta__content { max-width: 680px; }
  .about-cta__content .cta__text { max-width: none; }
  .about-cta__card { max-width: 520px; }

  /* Business Formation */
  .overview__inner { grid-template-columns: 1fr; }
  .checklist { max-width: 640px; }
  .jump__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic__inner, .faq__inner { grid-template-columns: 1fr; }
  .topic__header, .faq__header { position: static; }
  .topic__pattern { width: 420px; }

  /* Business Law */
  .biz-intro__header { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__inner,
  .split--reverse .split__inner,
  .biz-why__inner { grid-template-columns: 1fr; }
  .split__media { position: relative; top: auto; max-width: 640px; }
  .split--reverse .split__media { order: 0; }
  .split__frame { aspect-ratio: 4 / 3; }
  .biz-why__media { max-width: 640px; }
  .biz-why__frame { aspect-ratio: 4 / 3; }

  /* Commercial Lease */
  .groups { grid-template-columns: 1fr; }
  .group + .group { border-left: 0; border-top: 1px solid var(--c-line-light); }
  .group__list { grid-template-columns: 1fr 1fr; }
  .compare { padding: 0; }
  .process__inner { grid-template-columns: 1fr; }
  .process__aside { position: static; }
  .process__media { max-width: 640px; }

  /* Commercial Real Estate */
  .cre-why__media { position: relative; top: auto; max-width: 480px; }

  /* FAQs: category nav becomes a horizontal scroller above the questions */
  .kb-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb__inner { grid-template-columns: 1fr; }
  .kb__aside { position: static; min-width: 0; }
  .kb-nav__list { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .kb-nav__link { padding: 8px 14px; border: 1px solid var(--c-line-light); }
  .kb-nav__link::before { display: none; }
  .kb-nav__link:hover { translate: none; border-color: var(--c-dark); }
  .kb-help { display: none; }

  /* Contract Review */
  .when__grid { grid-template-columns: 1fr; }

  /* Practice Areas hub */
  .tiles--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Services hub */
  .fees__inner { grid-template-columns: 1fr; }

  /* Closing & Financing */
  .compare--three { grid-template-columns: 1fr; max-width: 760px; }
  .structures__text { margin-top: 0; }
}

/* ---- ≤767px: phones ---- */
@media (max-width: 767px) {
  :root {
    --u: 0.5px;
    --gutter: 16px;
    --gutter-wide: 16px;
    --fs-h1: 36px;
    --fs-h2: 32px;
    --fs-stat: 38px;
    --fs-lead: 17px;
  }

  .site-header__topbar { display: none; }
  .navbar__cta { display: none; }
  .navbar__toggle { margin-left: auto; }

  .hero__panel { padding-top: 130px; padding-bottom: 48px; }
  .hero__text { margin-top: 20px; }
  .hero__btn { width: 100%; margin-top: 32px; }
  .hero__stats { justify-content: space-between; gap: 20px 12px; margin-top: 36px; }
  .hero__stat { gap: 6px; }
  .hero__stat-label { font-size: 13px; }

  .firm, .practice, .attorneys, .services, .contact { padding-left: 16px; padding-right: 16px; }
  .firm { padding-top: 64px; padding-bottom: 64px; }
  .firm__text { margin-top: 24px; }
  .firm__link { margin-top: 28px; }

  .practice { padding-top: 64px; padding-bottom: 56px; }
  .practice__list { margin-top: 32px; }
  .practice__num { min-width: 40px; }
  .practice__body { padding-left: 40px; }
  .practice__media,
  .practice__item.is-open .practice__media { margin-left: 0; }

  .attorneys { padding-top: 64px; padding-bottom: 64px; }
  .attorneys__grid { grid-template-columns: 1fr; margin-top: 32px; }
  .attorneys__cta { margin-top: 48px; }

  .services { padding-top: 64px; padding-bottom: 72px; }
  .services__grid { grid-template-columns: 1fr; margin-top: 32px; }
  .service-card__text { margin-top: 20px; }
  .services__cta { margin-top: 48px; }

  .btn { width: 100%; max-width: 360px; }

  .cta__content { padding: 56px 16px; }
  .cta__btn { margin-top: 32px; }

  .footer { padding: 56px 16px 0; }
  .footer__columns { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .footer__bottom { margin-top: 48px; padding: 28px 0 36px; }

  .page-hero { padding: 130px 16px 64px; }
  .contact { padding-top: 56px; padding-bottom: 72px; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .form-field { margin-bottom: 28px; }
  .contact-form__submit { max-width: none; }

  /* About */
  .eyebrow { margin-bottom: 12px; }
  .about-hero__panel { padding: 130px 16px 56px; }
  .about-hero__text { margin-top: 20px; }
  .about-hero__btn { margin-top: 32px; }

  .story__aside { gap: 28px; }
  .story__fact { padding: 20px 8px 0 0; }
  .story__fact + .story__fact { padding-left: 12px; }
  .story__fact-label { font-size: 13px; }

  .areas, .offices { padding: 64px 16px 72px; }
  .areas__grid { grid-template-columns: 1fr; margin-top: 36px; }
  .area:nth-child(2n) { border-left: 0; }
  .area { padding: 28px 0 32px; }
  .area__title { margin-top: 16px; }

  .approach { padding-top: 64px; }
  .step__num { margin-bottom: 20px; }

  .page-about .attorneys { padding-top: 64px; }
  .attorneys__header { padding-bottom: 28px; }

  .offices__grid { margin-top: 32px; }
  .office { flex-direction: column; gap: 20px; padding: 28px 22px 32px; }
  .offices__note { margin-top: 32px; }

  .about-cta__inner { padding: 56px 16px; }
  .about-cta__card { padding: 24px 20px; }
  .about-cta__btn { max-width: none; }
  .disclaimer { padding: 24px 16px; }

  /* Business Formation */
  .checklist { padding: 24px 20px; }
  .jump { margin-top: 48px; }
  .jump__list { grid-template-columns: 1fr; }
  .topic, .faq { padding: 64px 16px 72px; }
  .topic__num { margin-bottom: 12px; }
  .topic__note { padding: 20px 18px; }
  .faq__num { display: none; }
  .faq__answer { padding: 0 0 28px; }

  /* Business Law */
  .biz-intro, .split, .biz-why { padding: 64px 16px 72px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
  .tile__link { aspect-ratio: 3 / 4; }
  .tile__body { padding: 14px; }
  .tile__icon { display: none; }
  .split__media::before { display: none; }
  .split__badge { width: 56px; height: 56px; font-size: 22px; }
  .split__text { margin-top: 20px; }
  .split__btn { width: 100%; min-width: 0; }

  /* Commercial Lease */
  .groups { margin-top: 40px; }
  .group { padding: 24px 20px 16px; }
  .group__list { grid-template-columns: 1fr; }
  .split__points { padding: 22px 18px; }
  .compare { grid-template-columns: 1fr; margin-top: 48px; }
  .compare__card { padding: 28px 22px 32px; }
  .process { padding: 64px 16px 72px; }
  .timeline__step { gap: 18px; padding-bottom: 32px; }
  .process__closing { padding: 20px 18px; }

  /* Commercial Real Estate */
  .matter { gap: 14px; }
  .matter__icon { display: none; }
  .cre-why__media { padding: 0 24px 48px 0; }
  .cre-why__media::before { display: none; }
  .cre-why__stat { width: 220px; padding: 20px; }

  /* FAQs */
  .kb-search { margin-top: 40px; }
  .kb-search__row { padding: 0 14px; gap: 10px; }
  .kb-cats { display: none; } /* the category chips beside the questions take over */
  .kb-cats--visible { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .kb-cats--visible .kb-cat { min-height: 0; padding: 18px; }
  .kb { padding: 56px 16px 72px; }
  .kb-nav__num { display: none; }
  .kb-group__title { min-width: 0; }
  .kb-answer { padding-right: 0; }

  /* Contract Review */
  .when__grid { margin-top: 40px; }
  .clauses { gap: 10px; }
  .clause { min-height: 120px; padding: 16px; }
  .clause__icon { top: 14px; right: 14px; width: 22px; height: 22px; }

  /* Title Insurance */
  .schedules { grid-template-columns: 1fr; gap: 10px; }
  .schedule { padding: 22px 18px; }

  /* Services hub */
  .fees { padding: 64px 16px 72px; }
  .process__btn, .fees__btn { width: 100%; min-width: 0; }

  /* Practice Areas hub */
  .tiles--three .tile__link { aspect-ratio: 4 / 5; }
  .tile__title { font-size: 18px; }
}

/* ==========================================================================
   Reduced motion: no movement, content shown immediately
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal]:not(.is-visible) { opacity: 1; }
  .btn:hover, .btn:focus-visible,
  .service-card:hover, .attorney:hover,
  .office:hover,
  .tile__link:hover .tile__image, .split__media:hover .split__frame img,
  .compare__card:hover, .clause:hover,
  .social:hover, .social:focus-visible { transform: none; }
  .attorney:hover .attorney__photo img { transform: none; }
}
