@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/newsreader-latin.woff2") format("woff2");
}

:root {
  --ink: #111831;
  --ink-2: #1c2948;
  --ink-3: #2f4167;
  --alabaster: #f7f4ee;
  --paper: #fffdf9;
  --white: #ffffff;
  --mineral: #dfe8f1;
  --mineral-2: #8ca7ce;
  --coral: #d86251;
  --coral-dark: #af4436;
  --copper: #b97b5d;
  --gold: #cda355;
  --line: rgba(17, 24, 49, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --text: #26324b;
  --muted: #59657b;
  --font-body-min: max(14px, 0.875rem);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --shell: 1280px;
  --section: clamp(5.5rem, 8vw, 8.5rem);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 10px 30px rgba(23, 32, 60, 0.08);
  --shadow: 0 24px 70px rgba(23, 32, 60, 0.14);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

sup,
sub {
  font-size: max(14px, 0.8em);
  line-height: 0;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

::selection {
  background: rgba(216, 98, 81, 0.22);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(216, 98, 81, 0.64);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 12px 18px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--coral), #e8b187);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--coral-dark);
  font-size: var(--font-body-min);
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow--coral {
  color: #f19380;
}

.display-title {
  max-width: 900px;
  margin-bottom: 28px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.display-title em {
  color: var(--coral);
  font-weight: 400;
}

.section-lede {
  max-width: 680px;
  margin-bottom: 44px;
  color: #4f5970;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.85;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.58fr);
  align-items: end;
  gap: 80px;
}

.section-heading--split .display-title {
  margin-bottom: 0;
}

.section-heading__copy {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  text-align: center;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(3px);
}

.button--coral {
  background: var(--coral-dark);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(216, 98, 81, 0.22);
}

.button--coral:hover {
  background: #a84336;
  box-shadow: 0 16px 34px rgba(216, 98, 81, 0.3);
}

.button--light {
  background: var(--paper);
  color: var(--ink);
}

.button--light:hover {
  background: var(--white);
}

.button--small {
  min-height: 44px;
  padding: 12px 20px;
  font-size: calc(0.72rem + 2px);
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.44);
  color: var(--white);
}

.button--ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.1);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.button--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.button--outline-light svg {
  width: 16px;
}

.button--full {
  width: 100%;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.arrow-link svg {
  width: 17px;
  height: 17px;
  transition: transform 200ms ease;
}

.arrow-link:hover svg {
  transform: translateX(4px);
}

.utility-bar {
  position: relative;
  z-index: 32;
  height: 36px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.utility-bar__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.utility-bar p {
  margin: 0;
}

.utility-bar p span {
  padding-inline: 6px;
  color: var(--coral);
}

.utility-bar a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.utility-bar a svg {
  width: 14px;
  height: 14px;
}

.utility-bar strong {
  color: var(--white);
  font-weight: 700;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 84px;
  border-bottom: 1px solid rgba(17, 24, 49, 0.08);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(18px);
  transition: box-shadow 260ms ease, background 260ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 12px 34px rgba(17, 24, 49, 0.08);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(17px, 1.7vw, 28px);
  margin-left: auto;
}

.desktop-nav a,
.text-link {
  position: relative;
  padding-block: 12px;
  color: #4d566b;
  font-size: calc(0.7rem + 2px);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.desktop-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--coral);
  content: "";
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-actions .button svg {
  width: 14px;
  height: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--white);
  transition: transform 220ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 29;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(max-content, 1fr) auto;
  row-gap: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 150px 34px 34px;
  transform: translateY(-102%);
  visibility: hidden;
  background: var(--paper);
  transition: transform 420ms cubic-bezier(0.76, 0, 0.24, 1), visibility 420ms;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu__wash {
  position: absolute;
  right: -120px;
  bottom: 12%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 167, 206, 0.22), transparent 68%);
  pointer-events: none;
}

.mobile-menu nav {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: min-content;
}

.mobile-menu nav a {
  flex-shrink: 0;
  width: fit-content;
  padding-block: 3px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.15;
}

.mobile-menu__footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--ink);
  font-weight: 700;
}

.rail-controls button:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
  background: transparent;
}

.static-form-notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mineral);
  color: var(--ink-3);
  font-size: var(--font-body-min);
  line-height: 1.6;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 790px;
  padding: clamp(90px, 10vh, 130px) 0 170px;
  background: var(--ink);
  color: var(--white);
}

.hero__media,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media {
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 108%;
  transform: scale(1.035);
  object-fit: cover;
  object-position: center 56%;
  will-change: transform;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(10, 18, 42, 0.96) 0%, rgba(10, 18, 42, 0.8) 42%, rgba(10, 18, 42, 0.32) 73%, rgba(10, 18, 42, 0.3) 100%),
    linear-gradient(0deg, rgba(10, 18, 42, 0.62), transparent 50%);
}

.hero__linework {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 10vw 10vw;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 72%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end;
  gap: 60px;
}

.hero__content {
  max-width: 940px;
  padding-top: 60px;
}

.hero h1 {
  max-width: 940px;
  margin-bottom: 28px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(4.2rem, 7.2vw, 6.25rem);
  font-weight: 500;
  letter-spacing: normal;
  line-height: 0.84;
  text-wrap: balance;
}

.hero-title__primary,
.hero-title__secondary {
  display: block;
}

.hero-title__primary {
  white-space: nowrap;
}

.hero-title__secondary {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.7em;
  font-weight: 400;
}

.hero__lede {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  position: relative;
  align-self: center;
  padding: 30px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px rgba(4, 10, 25, 0.2);
  backdrop-filter: blur(14px);
}

.hero-proof__monogram {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.hero-proof__monogram img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.hero-proof p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-body-min);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-proof strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 3.75rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-proof > span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.55;
}

.hero-proof__rule {
  height: 1px;
  margin-block: 22px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-proof small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.service-bridge {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: -86px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(17, 24, 49, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 24px 70px rgba(14, 24, 51, 0.22);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.service-card {
  position: relative;
  display: grid;
  min-height: 172px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 36px 24px 28px;
  border-right: 1px solid var(--line);
  transition: background 280ms ease, color 280ms ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  background: var(--ink);
  color: var(--white);
}

.service-card__number {
  position: absolute;
  top: 15px;
  left: 22px;
  color: var(--coral-dark);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card__icon {
  display: flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  color: var(--coral);
}

.service-card__icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.25;
}

/* Font Awesome icons contain filled paths, rather than stroked line drawings. */
.service-card__icon svg.service-card__fa-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
  stroke: none;
}

.service-card__copy {
  display: block;
}

.service-card__copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  transition: color 280ms ease;
}

.service-card__copy small {
  display: block;
  color: var(--muted);
  font-size: calc(0.68rem + 2px);
  line-height: 1.6;
  transition: color 280ms ease;
}

.service-card:hover .service-card__copy strong {
  color: var(--white);
}

.service-card:hover .service-card__copy small {
  color: rgba(255, 255, 255, 0.68);
}

.service-card__arrow {
  width: 17px;
  height: 17px;
  color: var(--coral);
  transition: transform 220ms ease;
}

.service-card:hover .service-card__arrow {
  transform: translateX(3px);
}

.law-update {
  --bridge-overlap: 86px;
  position: relative;
  padding-top: var(--bridge-overlap);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.law-update::after {
  position: absolute;
  top: -50%;
  right: 8%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.law-update__accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--coral);
}

.law-update__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 260px;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding-block: 52px;
}

.law-update__date {
  padding-right: 32px;
  border-right: 1px solid var(--line-light);
}

.law-update__date span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.law-update__date strong {
  font-family: var(--serif);
  font-size: 3.7rem;
  font-weight: 400;
  line-height: 1;
}

.law-update__copy {
  max-width: 740px;
}

.law-update__copy .eyebrow {
  margin-bottom: 10px;
}

.law-update__copy h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.law-update__copy > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.75;
}

.help {
  overflow: hidden;
  background:
    radial-gradient(circle at 3% 20%, rgba(140, 167, 206, 0.13), transparent 22%),
    var(--paper);
}

.help::after {
  position: absolute;
  right: -9vw;
  bottom: -15vw;
  width: 34vw;
  height: 34vw;
  border: 1px solid rgba(17, 24, 49, 0.08);
  border-radius: 50%;
  content: "";
}

.help__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: clamp(70px, 9vw, 140px);
}

.help__intro {
  padding-block: 30px;
}

.principles {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.principle > span {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.principle h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.principle p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--font-body-min);
  line-height: 1.75;
}

.matter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.matter-card {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.matter-card--offset {
  transform: translateY(36px);
}

.matter-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.matter-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 15, 35, 0.94) 0%, rgba(8, 15, 35, 0.44) 58%, rgba(8, 15, 35, 0.04) 100%);
}

.matter-card__content {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  color: var(--white);
}

.matter-card__content small {
  margin-bottom: 8px;
  color: #f0a393;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.matter-card__content strong {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 1.68rem;
  font-weight: 500;
  line-height: 1.08;
}

.matter-card__content > span {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.65;
  transition: opacity 320ms ease;
}

.matter-card__content em {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.matter-card__content em svg {
  width: 15px;
  height: 15px;
}

.matter-card:hover img {
  transform: scale(1.055);
}

.matter-card:hover .matter-card__content > span {
  max-height: 90px;
  margin-bottom: 2px;
  opacity: 1;
}

.matter-card--featured::after {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(12, 19, 41, 0.4);
  color: var(--white);
  content: "Complex assets";
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.results {
  overflow: hidden;
  background: var(--mineral);
}

.results__glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), transparent 66%);
}

.results__heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.46fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: end;
  margin-bottom: 82px;
}

.results__heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -34px;
}

.results__heading .display-title {
  margin-bottom: 0;
  font-size: clamp(3.3rem, 5.8vw, 4.9rem);
}

.results__action {
  padding-bottom: 6px;
}

.results__action p {
  margin-bottom: 24px;
  color: #4c5971;
  font-size: 0.9rem;
  line-height: 1.8;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(17, 24, 49, 0.2);
}

.stat {
  min-height: 170px;
  padding: 34px 28px 12px;
  border-right: 1px solid rgba(17, 24, 49, 0.16);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: flex;
  align-items: flex-start;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.stat strong em {
  margin: 2px 0 0 5px;
  color: var(--coral);
  font-size: 0.44em;
  font-style: normal;
}

.stat p {
  margin: 14px 0 0;
  color: #56627a;
  font-size: var(--font-body-min);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* WordPress also uses team on the directory body; clip only the homepage section. */
section.team {
  overflow: hidden;
  background: var(--paper);
}

.team .section-heading {
  margin-bottom: 48px;
}

.team .section-heading--split {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
}

.team .display-title {
  max-width: 1080px;
  font-size: clamp(3rem, 5.3vw, 5.75rem);
}

.team .display-title span {
  display: block;
}

.rail-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.rail-controls button {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 200ms ease, border 200ms ease, color 200ms ease;
}

.rail-controls button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.rail-controls button svg {
  width: 17px;
  height: 17px;
}

.rail-controls > span {
  min-width: 52px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

.rail-controls b {
  color: var(--ink);
}

.rail {
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.team-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2)) 20px;
  scroll-padding-left: max(24px, calc((100vw - var(--shell)) / 2));
  scroll-snap-type: x mandatory;
}

.team-card {
  position: relative;
  flex: 0 0 min(320px, 76vw);
  aspect-ratio: 0.735 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d4d8df;
  scroll-snap-align: start;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 15, 35, 0.94), rgba(8, 15, 35, 0.02) 62%);
}

.team-card__copy {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: var(--white);
}

.team-card__copy small {
  margin-bottom: 8px;
  color: #f2a08f;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card__copy strong {
  font-family: var(--serif);
  font-size: 1.72rem;
  font-weight: 500;
  line-height: 1.08;
}

.team-card__copy em {
  display: flex;
  max-height: 0;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  transition: opacity 300ms ease;
}

.team-card__copy em svg {
  width: 15px;
  height: 15px;
}

.team-card:hover img {
  transform: scale(1.045);
}

.team-card:hover .team-card__copy em {
  max-height: 30px;
  margin-top: 12px;
  opacity: 1;
}

.game-plan {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 10vw, 10rem);
  background:
    linear-gradient(110deg, #111831 0%, #172341 68%, #24375d 100%);
  color: var(--white);
}

.game-plan::before {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 120px 120px;
  content: "";
  mask-image: radial-gradient(circle at 70% 50%, #000, transparent 60%);
}

.game-plan__orb {
  position: absolute;
  top: -240px;
  right: -110px;
  width: 690px;
  height: 690px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.game-plan__orb::before,
.game-plan__orb::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  content: "";
}

.game-plan__orb::before {
  inset: 100px;
}

.game-plan__orb::after {
  inset: 210px;
}

.game-plan__monogram {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--serif);
  font-size: 35vw;
  line-height: 0.8;
}

.game-plan__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(70px, 12vw, 170px);
}

.game-plan__copy h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 5.1vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
  white-space: nowrap;
}

.game-plan__copy > p {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.game-plan__steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.game-plan__steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line-light);
}

.game-plan__steps li > span {
  color: #f2a08f;
  font-family: var(--serif);
  font-size: 1rem;
}

.game-plan__steps strong,
.game-plan__steps small {
  display: block;
}

.game-plan__steps strong {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
}

.game-plan__steps small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  line-height: 1.6;
}

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

.client-stories__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: 100px;
  margin-bottom: 58px;
}

.client-stories__intro .display-title {
  margin-bottom: 0;
}

.client-stories__intro > div:last-child > p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  cursor: pointer;
  color: var(--white);
  text-align: left;
}

.case-card--wide {
  grid-column: span 2;
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card--wide img {
  object-position: center 32%;
}

.case-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 14, 34, 0.92), rgba(7, 14, 34, 0.03) 70%);
  transition: background 320ms ease;
}

.case-card__number {
  position: absolute;
  top: 19px;
  right: 20px;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.case-card__copy {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.case-card__copy small {
  margin-bottom: 7px;
  color: #f1a08e;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-card__copy strong {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.08;
}

.case-card__copy em {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 700;
}

.case-card__copy em svg {
  width: 15px;
  height: 15px;
}

.case-card:hover img {
  transform: scale(1.055);
}

.case-card:hover .case-card__veil {
  background: linear-gradient(0deg, rgba(7, 14, 34, 0.96), rgba(7, 14, 34, 0.2) 80%);
}

.results-disclaimer {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: var(--font-body-min);
}

.resources {
  overflow: hidden;
  background: var(--alabaster);
}

.resources__wash {
  position: absolute;
  top: -240px;
  left: -260px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 167, 206, 0.22), transparent 68%);
}

.resource-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.resource-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.38);
  transition: background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.resource-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.resource-card__icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
  border: 1px solid rgba(216, 98, 81, 0.35);
  border-radius: 50%;
  color: var(--coral);
}

.resource-card__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.35;
}

.resource-card__number {
  position: absolute;
  top: 39px;
  right: 38px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.resource-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.resource-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: var(--font-body-min);
  line-height: 1.75;
}

.resource-card em {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--coral-dark);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
}

.resource-card em svg {
  width: 15px;
  height: 15px;
  transition: transform 220ms ease;
}

.resource-card:hover em svg {
  transform: translateX(3px);
}

.success {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.success__texture {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background:
    radial-gradient(circle at 12% 30%, rgba(140, 167, 206, 0.7), transparent 22%),
    radial-gradient(circle at 90% 70%, rgba(216, 98, 81, 0.55), transparent 18%);
}

.success::before {
  position: absolute;
  top: -22vw;
  right: -12vw;
  width: 50vw;
  height: 50vw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.success .shell {
  position: relative;
  z-index: 1;
}

.success__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.5fr);
  align-items: end;
  gap: 110px;
  margin-bottom: 68px;
}

.success__intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -38px;
}

.success__intro .display-title {
  margin-bottom: 0;
  color: var(--white);
}

.success__intro > p:last-child {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.8;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--line-light);
}

.success-card {
  position: relative;
  min-height: 250px;
  padding: 38px 36px;
  background: rgba(17, 24, 49, 0.92);
  transition: background 240ms ease;
}

.success-card:hover {
  background: rgba(35, 50, 87, 0.95);
}

.success-card span {
  display: block;
  margin-bottom: 46px;
  color: #f19b89;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.success-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.45;
}

.success-card p em {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86em;
}

.success-card--more {
  display: none;
}

.success-grid.is-open .success-card--more {
  display: block;
  animation: story-in 460ms both;
}

.success__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
}

.success__footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: var(--font-body-min);
}

.testimonials {
  overflow: hidden;
  background: var(--paper);
}

.testimonial-heading__right {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
}

.testimonial-heading__right > p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--font-body-min);
  line-height: 1.75;
}

.testimonial-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2)) 30px;
  scroll-padding-left: max(24px, calc((100vw - var(--shell)) / 2));
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex: 0 0 min(410px, 82vw);
  flex-direction: column;
  padding: 40px 38px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  scroll-snap-align: start;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 98, 81, 0.34);
  box-shadow: var(--shadow-sm);
}

.quote-mark {
  position: absolute;
  top: 22px;
  right: 28px;
  color: rgba(140, 167, 206, 0.24);
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
}

.stars {
  position: relative;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
}

.testimonial-card blockquote {
  position: relative;
  margin: 0 0 32px;
  color: #34405a;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.55vw, 1.42rem);
  line-height: 1.55;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.testimonial-card footer strong {
  color: var(--ink);
  font-size: 0.76rem;
}

.testimonial-card footer span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: right;
  text-transform: uppercase;
}

section.consultation {
  overflow: hidden;
  background: var(--mineral);
}

.consultation__wash {
  position: absolute;
  top: -260px;
  right: -210px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(17, 24, 49, 0.08);
  border-radius: 50%;
}

.consultation__wash::before,
.consultation__wash::after {
  position: absolute;
  border: 1px solid rgba(17, 24, 49, 0.06);
  border-radius: inherit;
  content: "";
}

.consultation__wash::before {
  inset: 100px;
}

.consultation__wash::after {
  inset: 210px;
}

.consultation-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 0.78fr);
  gap: clamp(50px, 8vw, 120px);
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px);
  border: 1px solid rgba(17, 24, 49, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.87);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.consultation-panel::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 1px;
  background: var(--line);
  content: "";
}

.consultation-panel__details .display-title {
  margin-bottom: 26px;
  font-size: clamp(3rem, 5.2vw, 5rem);
}

.consultation-panel__details .display-title span {
  display: block;
  white-space: nowrap;
}

.consultation-panel__details > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 38px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-methods {
  border-top: 1px solid var(--line);
}

.contact-methods > a,
.contact-methods > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 17px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-methods > a > span,
.contact-methods > div > span {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 98, 81, 0.36);
  border-radius: 50%;
  color: var(--coral);
}

.contact-methods svg {
  width: 18px;
  height: 18px;
}

.contact-methods small,
.contact-methods strong {
  display: block;
}

.contact-methods small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-methods strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.consultation-form {
  position: relative;
  padding: 4px 0 0 clamp(24px, 2.5vw, 42px);
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.form-heading span {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.form-heading small {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.consultation-form label {
  display: block;
  margin-bottom: 17px;
  color: #4e586d;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.consultation-form label span {
  margin-left: 3px;
  color: var(--coral-dark);
}

.consultation-form input,
.consultation-form select {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 7px;
  padding: 0 15px;
  border: 1px solid rgba(17, 24, 49, 0.18);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.consultation-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #687189 50%),
    linear-gradient(135deg, #687189 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 13px) 22px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
}

.consultation-form input:focus,
.consultation-form select:focus {
  border-color: var(--coral);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(216, 98, 81, 0.1);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.consultation-form .button {
  margin-top: 5px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: var(--font-body-min);
  line-height: 1.55;
  text-align: center;
}

.recognition {
  padding-block: 56px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.recognition__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

.recognition__copy .eyebrow {
  margin-bottom: 7px;
}

.recognition__copy h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.18;
}

.recognition__carousel { min-width: 0; }

.recognition__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
}

.recognition__carousel.is-ready .recognition__viewport {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.recognition__carousel.is-dragging .recognition__viewport { cursor: grabbing; }
.recognition__track { display: flex; width: max-content; }
.recognition__logos {
  --recognition-gap: 36px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--recognition-gap);
  padding: 12px var(--recognition-gap) 12px 0;
}

.recognition__logo {
  display: flex;
  flex: 0 0 130px;
  width: 130px;
  height: 100px;
  align-items: center;
  justify-content: center;
}

.recognition__logos img {
  width: 100%;
  max-width: 130px;
  max-height: 88px;
  margin-inline: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.58;
  mix-blend-mode: multiply;
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.recognition__logo:first-child img {
  width: 92px;
  height: 86px;
}

.recognition__logos img:hover {
  transform: translateY(-3px);
  filter: grayscale(0);
  opacity: 1;
}

.recognition__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.recognition__controls[hidden], .recognition__controls button[hidden] { display: none; }
.recognition__controls button {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}
.recognition__controls .recognition__toggle { min-width: 98px; border-radius: 24px; }
.recognition__controls button:hover { color: var(--coral-dark); border-color: currentColor; }
.recognition__controls svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.recognition__play-icon, .recognition__toggle.is-paused .recognition__pause-icon { display: none; }
.recognition__toggle.is-paused .recognition__play-icon { display: block; }
.recognition__viewport:focus-visible, .recognition__controls button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.location-map {
  position: relative;
  display: flex;
  min-height: 470px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 55%, rgba(116, 152, 186, 0.22), transparent 18%),
    linear-gradient(135deg, #e9e4d8, #d9e2df);
}

.map-art {
  position: absolute;
  inset: 0;
}

.map-art svg {
  width: 100%;
  height: 100%;
  stroke: rgba(47, 65, 103, 0.3);
}

.map-road {
  fill: none;
  stroke-width: 7;
}

.map-road--major {
  stroke: rgba(216, 98, 81, 0.44);
  stroke-width: 11;
}

.map-road--fine {
  stroke: rgba(47, 65, 103, 0.14);
  stroke-width: 2;
}

.map-pin-card {
  position: relative;
  z-index: 2;
  width: min(390px, calc(100% - 48px));
  padding: 38px;
  border: 1px solid rgba(17, 24, 49, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(12px);
}

.map-pin {
  position: relative;
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin: -65px auto 25px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--coral);
  box-shadow: 0 16px 30px rgba(216, 98, 81, 0.3);
}

.map-pin i {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  transform: rotate(45deg);
  background: var(--white);
}

.map-pin-card p {
  margin-bottom: 5px;
  color: var(--coral-dark);
  font-size: var(--font-body-min);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-pin-card strong,
.map-pin-card small {
  display: block;
}

.map-pin-card strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
}

.map-pin-card small {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.72rem;
}

.site-footer {
  padding: 78px 0 36px;
  background: #0d1328;
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand img {
  width: 230px;
  height: auto;
}

.footer-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding-block: 58px;
  border-bottom: 1px solid var(--line-light);
}

.office-grid article {
  min-height: 205px;
  padding-inline: 24px;
  border-right: 1px solid var(--line-light);
}

.office-grid article:first-child {
  padding-left: 0;
}

.office-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.office-grid h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.office-grid p {
  min-height: 70px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.67rem;
  line-height: 1.65;
}

.office-grid a {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 600;
}

.office-grid a:last-child {
  color: #f29b88;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line-light);
}

.footer-contact > a {
  font-family: var(--serif);
  font-size: 1.55rem;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.social-links a:hover {
  background: var(--white);
  color: var(--ink);
}

.footer-bottom {
  padding-top: 28px;
}

.footer-bottom > p:first-child {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
}

.footer-bottom > p:first-child span {
  padding-inline: 4px;
  color: var(--coral);
}

.footer-bottom .legal {
  max-width: 1040px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.56rem;
  line-height: 1.65;
}

.mobile-cta {
  display: none;
}

.case-dialog {
  width: min(680px, calc(100% - 36px));
  max-height: min(760px, calc(100vh - 42px));
  padding: clamp(36px, 6vw, 64px);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 30px 100px rgba(4, 10, 25, 0.36);
}

.case-dialog::backdrop {
  background: rgba(8, 14, 31, 0.72);
  backdrop-filter: blur(8px);
}

.case-dialog form {
  position: absolute;
  top: 18px;
  right: 18px;
}

.case-dialog form button {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.case-dialog form button span {
  position: absolute;
  top: 20px;
  left: 12px;
  width: 17px;
  height: 1px;
  background: var(--ink);
}

.case-dialog form button span:first-child {
  transform: rotate(45deg);
}

.case-dialog form button span:last-child {
  transform: rotate(-45deg);
}

.case-dialog h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.case-dialog > p:not(.eyebrow, .case-dialog__note) {
  margin-bottom: 26px;
  color: #4d5870;
  line-height: 1.85;
}

.case-dialog__note {
  margin-bottom: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
}

.demo-toast {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: min(360px, calc(100% - 48px));
  padding: 18px 20px;
  transform: translateY(150%);
  border-left: 4px solid var(--coral);
  border-radius: 10px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--white);
  opacity: 0;
  transition: transform 320ms ease, opacity 320ms ease;
}

.demo-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.demo-toast strong {
  margin-bottom: 2px;
  font-size: 0.74rem;
}

.demo-toast span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
}

.js .reveal {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1), opacity 720ms ease;
}

.js .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.js .service-card.reveal:nth-child(2),
.js .stat.reveal:nth-child(2),
.js .resource-card.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.js .service-card.reveal:nth-child(3),
.js .stat.reveal:nth-child(3),
.js .resource-card.reveal:nth-child(3) {
  transition-delay: 160ms;
}

.js .service-card.reveal:nth-child(4),
.js .stat.reveal:nth-child(4),
.js .resource-card.reveal:nth-child(4) {
  transition-delay: 240ms;
}

.js .resource-card.reveal:nth-child(5) {
  transition-delay: 80ms;
}

.js .resource-card.reveal:nth-child(6) {
  transition-delay: 160ms;
}

@keyframes story-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

  .header-actions .text-link {
    display: none;
  }

  .menu-toggle {
    position: relative;
    display: flex;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 8vw, 6.3rem);
  }

  .service-card {
    grid-template-columns: auto 1fr;
    padding-inline: 18px;
  }

  .service-card__arrow {
    display: none;
  }

  .help__grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(450px, 1fr);
    gap: 60px;
  }

  .matter-card {
    min-height: 330px;
  }

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

  .case-card--wide {
    grid-column: span 1;
  }

  .consultation-panel {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.8fr);
    gap: 60px;
  }

  .consultation-panel::before {
    left: 49%;
  }

  .office-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 42px;
  }

  .office-grid article:nth-child(3) {
    border-right: 0;
  }

  .office-grid article:nth-child(4) {
    padding-left: 0;
  }
}

@media (max-width: 960px) {
  :root {
    --section: 6.3rem;
  }

  .hero {
    min-height: 890px;
    padding-top: 110px;
    padding-bottom: 230px;
  }

  .hero__media img {
    object-position: 64% 54%;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(10, 18, 42, 0.94), rgba(10, 18, 42, 0.56)),
      linear-gradient(0deg, rgba(10, 18, 42, 0.8), transparent 58%);
  }

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

  .hero__content {
    max-width: 720px;
    padding-top: 0;
  }

  .hero-proof {
    display: none;
  }

  .service-bridge {
    bottom: -178px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 144px;
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    border-bottom: 0;
  }

  .law-update {
    --bridge-overlap: 178px;
  }

  .law-update__inner {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .law-update__inner > .button {
    grid-column: 2;
    justify-self: start;
  }

  .help__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .help__intro {
    max-width: 760px;
    padding-block: 0;
  }

  .matter-grid {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .results__heading,
  .success__intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .results__heading .eyebrow,
  .success__intro .eyebrow {
    margin-bottom: -12px;
  }

  .results__action {
    max-width: 600px;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(17, 24, 49, 0.16);
  }

  .section-heading--split,
  .client-stories__intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading--split > .rail-controls {
    justify-content: flex-start;
  }

  .team .section-heading--split {
    grid-template-columns: 1fr auto;
  }

  .team .section-heading--split > .rail-controls {
    justify-content: flex-end;
  }

  .game-plan__inner {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .game-plan__copy {
    max-width: 720px;
  }

  .game-plan__steps {
    max-width: 720px;
  }

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

  .case-card:nth-child(1),
  .case-card:nth-child(6) {
    grid-column: span 2;
  }

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

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

  .testimonial-heading__right {
    justify-content: flex-start;
  }

  .consultation-panel {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .consultation-panel::before {
    top: 49%;
    right: 8%;
    bottom: auto;
    left: 8%;
    width: auto;
    height: 1px;
  }

  .consultation-form {
    padding-left: 0;
  }

  .recognition__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .recognition__logos {
    --recognition-gap: 28px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .utility-bar {
    display: none;
  }

  .site-header {
    height: 70px;
  }

  .site-header.is-scrolled {
    height: 64px;
  }

  .brand img {
    width: 176px;
  }

  .header-actions > .button {
    display: none;
  }

  .mobile-menu {
    padding: 110px 24px 28px;
  }

  .mobile-menu__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-menu__footer .button {
    width: 100%;
  }

  .hero {
    min-height: 800px;
    padding-top: 88px;
    padding-bottom: 240px;
  }

  .hero__media img {
    height: 100%;
    object-position: 69% center;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(10, 18, 42, 0.94), rgba(10, 18, 42, 0.36)),
      linear-gradient(0deg, rgba(10, 18, 42, 0.88), rgba(10, 18, 42, 0.12) 72%);
  }

  .hero__linework {
    background-size: 25vw 25vw;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
    line-height: 0.89;
  }

  .hero-title__primary {
    white-space: normal;
  }

  .hero-title__secondary {
    margin-top: 8px;
    font-size: 0.68em;
  }

  .hero__lede {
    max-width: 520px;
    font-size: 0.93rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .service-bridge {
    bottom: -290px;
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 100px;
    padding: 22px 18px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .service-card__number {
    top: 9px;
  }

  .service-card__icon {
    width: 40px;
    height: 40px;
  }

  .service-card__copy strong {
    font-size: 1.2rem;
  }

  .service-card__copy small {
    font-size: calc(0.63rem + 2px);
  }

  .law-update {
    --bridge-overlap: 290px;
  }

  .law-update__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 48px;
  }

  .law-update__date {
    display: none;
  }

  .law-update__inner > .button {
    grid-column: 1;
    width: 100%;
  }

  .display-title {
    font-size: clamp(2.75rem, 13vw, 4.4rem);
    line-height: 0.98;
  }

  .section-heading {
    margin-bottom: 38px;
  }

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

  .matter-card {
    min-height: 335px;
  }

  .matter-card--offset {
    transform: none;
  }

  .matter-card__content > span {
    max-height: 90px;
    margin-bottom: 2px;
    opacity: 1;
  }

  .results__heading {
    margin-bottom: 50px;
  }

  .results__heading .display-title {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

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

  .stat,
  .stat:nth-child(2) {
    min-height: 130px;
    padding: 26px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 49, 0.16);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .stat strong {
    font-size: 4.2rem;
  }

  .team .section-heading--split {
    grid-template-columns: 1fr;
  }

  .team .section-heading--split > .rail-controls {
    justify-content: flex-start;
  }

  .team .display-title span {
    display: inline;
  }

  .team-card {
    flex-basis: min(300px, 82vw);
  }

  .game-plan__copy h2 {
    font-size: clamp(4rem, 18vw, 6rem);
    white-space: normal;
  }

  .game-plan__steps li {
    grid-template-columns: 36px 1fr;
  }

  .client-stories__intro {
    margin-bottom: 38px;
  }

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

  .case-card,
  .case-card:nth-child(1),
  .case-card:nth-child(6) {
    min-height: 360px;
    grid-column: auto;
  }

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

  .resource-card {
    min-height: 280px;
    padding: 30px;
  }

  .resource-card__icon {
    margin-bottom: 34px;
  }

  .resource-card__number {
    top: 32px;
    right: 30px;
  }

  .success__intro {
    margin-bottom: 44px;
  }

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

  .success-card {
    min-height: 215px;
    padding: 30px 28px;
  }

  .success-card span {
    margin-bottom: 34px;
  }

  .success__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .success__footer .button {
    width: 100%;
  }

  .testimonial-heading__right {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-card {
    min-height: 380px;
    padding: 34px 28px 28px;
  }

  .consultation-panel {
    padding: 34px 24px;
    border-radius: var(--radius);
  }

  .consultation-panel::before {
    top: 47%;
    right: 24px;
    left: 24px;
  }

  .contact-methods strong {
    font-size: 0.94rem;
  }

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

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .recognition__logos {
    --recognition-gap: 24px;
  }

  .recognition__logo { flex-basis: 112px; width: 112px; }

  .location-map {
    min-height: 420px;
  }

  .site-footer {
    padding-bottom: 98px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-top .button {
    width: 100%;
  }

  .office-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .office-grid article,
  .office-grid article:first-child,
  .office-grid article:nth-child(4) {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .office-grid article:last-child {
    border-bottom: 0;
  }

  .office-grid p {
    min-height: 0;
  }

  .footer-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    z-index: 28;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: var(--ink);
    box-shadow: 0 14px 38px rgba(7, 13, 30, 0.34);
  }

  .mobile-cta a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--white);
    font-size: 0.66rem;
    font-weight: 700;
  }

  .mobile-cta a:first-child {
    border-right: 1px solid var(--line-light);
  }

  .mobile-cta a:last-child {
    background: var(--coral-dark);
  }

  .mobile-cta svg {
    width: 16px;
    height: 16px;
  }

  .demo-toast {
    right: 14px;
    bottom: 74px;
    width: calc(100% - 28px);
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 3.35rem;
  }

  .hero__lede {
    font-size: var(--font-body-min);
  }

  .consultation-panel__details .display-title {
    font-size: clamp(2.55rem, 13vw, 3rem);
  }

  .consultation-panel::before {
    top: 46%;
  }

  .contact-methods > a,
  .contact-methods > div {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .contact-methods > a > span,
  .contact-methods > div > span {
    width: 34px;
    height: 34px;
  }

  .contact-methods strong {
    font-size: 0.84rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media img {
    transform: none !important;
  }
}

/* Site-wide readability floor for text styles that otherwise render below 14px. */
.button,
.button--small,
.arrow-link,
.utility-bar,
.desktop-nav a,
.text-link,
.hero-proof > span,
.hero-proof small,
.service-card__number,
.service-card__copy small,
.law-update__date span,
.matter-card__content small,
.matter-card__content > span,
.matter-card__content em,
.matter-card--featured::after,
.rail-controls > span,
.team-card__copy small,
.team-card__copy em,
.game-plan__steps small,
.case-card__number,
.case-card__copy small,
.case-card__copy em,
.resource-card em,
.stars,
.testimonial-card footer strong,
.testimonial-card footer span,
.contact-methods small,
.form-heading small,
.consultation-form label,
.consultation-form input,
.consultation-form select,
.map-pin-card small,
.office-grid p,
.office-grid a,
.social-links a,
.footer-bottom > p:first-child,
.footer-bottom .legal,
.case-dialog__note,
.demo-toast strong,
.demo-toast span,
.mobile-cta a,
.contact-methods strong {
  font-size: var(--font-body-min);
}

.consultation-form :is(input, select, textarea),
.inner-page main :is(input, select, textarea) {
  font-size: max(16px, 1rem);
}

/* Shared section navigation, matched to the established Best Law Firm palette. */
.desktop-nav {
  gap: clamp(12px, 1.25vw, 22px);
  align-self: stretch;
}

.nav-section {
  display: flex;
  align-items: center;
}

.desktop-nav .nav-section__trigger {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 7px;
  padding-block: 12px;
  color: #4d566b;
  font: 700 14px/1.4 var(--sans);
  letter-spacing: 0.01em;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
}

.nav-section__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 24px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4d566b;
  cursor: pointer;
}

.desktop-nav .nav-section__trigger::after { display: none; }

.mobile-nav-section > summary::-webkit-details-marker,
.no-script-nav summary::-webkit-details-marker {
  display: none;
}

.nav-section__toggle svg,
.mobile-nav-section > summary svg,
.no-script-nav summary svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.nav-section.is-open > .nav-section__trigger,
.nav-section.is-open > .nav-section__toggle,
.nav-section__trigger[aria-current="page"],
.nav-section__trigger:hover {
  color: var(--coral-dark);
}

.nav-section.is-open > .nav-section__toggle svg,
.mobile-nav-section[open] > summary svg {
  transform: rotate(180deg);
}

.nav-section__trigger:focus-visible,
.nav-section__toggle:focus-visible,
.mobile-nav-section > summary:focus-visible,
.no-script-nav summary:focus-visible,
.mega-menu a:focus-visible,
.mobile-submenu a:focus-visible {
  outline: 2px solid var(--coral-dark);
  outline-offset: 4px;
  border-radius: 3px;
}

.mega-menu {
  position: absolute;
  top: 100%;
  right: max(24px, calc((100vw - var(--shell)) / 2));
  left: max(24px, calc((100vw - var(--shell)) / 2));
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 3fr);
  gap: 36px;
  max-height: calc(100dvh - var(--mega-top, 125px) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 34px 38px 38px;
  border-radius: 0 0 16px 16px;
  background: var(--paper);
  box-shadow: 0 24px 38px rgba(17, 24, 49, 0.16);
  scrollbar-color: var(--mineral-2) var(--paper);
  scrollbar-width: thin;
}

.nav-section:not(.is-open) > .mega-menu {
  display: none;
}

.mega-menu__intro {
  padding-right: 30px;
  border-right: 1px solid var(--line);
}

.mega-menu__intro h2 {
  margin: 0 0 20px;
  font: 500 36px/1.08 var(--serif);
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.mega-menu__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.nav-section[data-mega-menu="team"] .mega-menu {
  left: auto;
  width: min(600px, calc(100vw - 48px));
  grid-template-columns: 1fr 1fr;
}

.nav-section[data-mega-menu="team"] .mega-menu__groups {
  grid-template-columns: minmax(0, 1fr);
}

.mega-menu__group h3,
.mobile-submenu h3 {
  margin: 0 0 10px;
  color: var(--ink-3);
  font: 800 14px/1.4 var(--sans);
}

.mega-menu ul,
.mobile-submenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .mega-menu a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 8px 0;
  color: var(--text);
  font: 500 14px/1.5 var(--sans);
  letter-spacing: 0;
  white-space: normal;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.desktop-nav .mega-menu a::after {
  content: none;
}

.desktop-nav .mega-menu a:hover,
.desktop-nav .mega-menu a[aria-current="page"] {
  color: var(--coral-dark);
  text-decoration: underline;
}

.desktop-nav .mega-menu .mega-menu__overview {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--coral-dark);
  font-weight: 700;
}

.mega-menu__overview svg,
.mobile-submenu__overview svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.mobile-menu nav {
  justify-content: flex-start;
  gap: 0;
}

.mobile-menu {
  overflow-x: hidden;
}

.mobile-menu nav > a,
.mobile-nav-section > summary,
.no-script-nav > a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 13px 0;
  color: var(--ink);
  font: 500 clamp(1.6rem, 4vw, 2.1rem)/1.2 var(--serif);
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

.mobile-nav-section {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-section > summary {
  gap: 20px;
}

.mobile-nav-section > summary svg {
  width: 16px;
  height: 16px;
}

.mobile-nav-section.is-current > summary,
.mobile-nav-section[open] > summary {
  color: var(--coral-dark);
}

.mobile-submenu {
  padding: 4px 0 24px;
}

.mobile-submenu section + section {
  margin-top: 20px;
}

.mobile-menu nav .mobile-submenu a,
.no-script-nav .mobile-submenu a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 11px 0;
  color: var(--text);
  font: 500 16px/1.45 var(--sans);
  letter-spacing: 0;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.mobile-menu nav .mobile-submenu a:hover,
.mobile-menu nav .mobile-submenu a[aria-current="page"] {
  color: var(--coral-dark);
  text-decoration: underline;
}

.mobile-menu nav .mobile-submenu a.mobile-submenu__overview,
.no-script-nav .mobile-submenu a.mobile-submenu__overview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--coral-dark);
  font-weight: 700;
}

.no-script-nav {
  display: none;
}

@media (max-width: 1260px) {
  .desktop-nav,
  .header-actions .text-link {
    display: none;
  }
  .menu-toggle {
    position: relative;
    display: flex;
  }
  .no-script-nav {
    display: block;
    padding: 24px;
    background: var(--paper);
  }
  html:not(.js) .menu-toggle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-section__toggle svg,
  .mobile-nav-section > summary svg {
    transition: none;
  }
}
