/* ==========================================================================
   Neeti Legal — Website stylesheet
   A responsive, accessible design system for a modern Indian law firm.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/playfair-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/playfair-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0a1128;
  --navy-900: #101a3b;
  --navy: #16214f;
  --navy-700: #223166;
  --navy-600: #2c3d76;
  --ink: #171f36;
  --muted: #5d6478;
  --muted-light: #8b91a3;
  --gold: #c98f45;
  --gold-bright: #d5984e;
  --gold-soft: #e8ca9d;
  --gold-pale: #f4e8d6;
  --cream: #faf7f1;
  --sand: #f2ece1;
  --white: #ffffff;
  --line: rgba(22, 33, 79, 0.12);
  --line-strong: rgba(22, 33, 79, 0.22);
  --line-light: rgba(255, 255, 255, 0.14);

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 10px rgba(10, 17, 40, 0.06);
  --shadow-md: 0 18px 45px -22px rgba(10, 17, 40, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(10, 17, 40, 0.5);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 82px;
  --topbar-h: 36px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked {
  overflow: hidden;
}
img,
svg,
video {
  max-width: 100%;
  display: block;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
p,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h1 {
  font-size: clamp(2.85rem, 6.3vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2.1rem, 4.3vw, 3.45rem);
}
h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.2;
}
h4 {
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
::selection {
  background: var(--gold-soft);
  color: var(--navy-950);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - (var(--gutter) * 2), 920px);
  margin-inline: auto;
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tight {
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
}
.section--cream {
  background: var(--cream);
}
.section--sand {
  background: var(--sand);
}
.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}
.section--navy .lead {
  color: rgba(255, 255, 255, 0.74);
}
.section--navy .eyebrow {
  color: var(--gold-soft);
}
.section--navy .eyebrow::before {
  background: var(--gold-soft);
}
.section--flush {
  padding-block: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.35rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--center {
  justify-content: center;
}
.eyebrow--center::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  flex: none;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  margin-top: 1.25rem;
}
.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}
.section-head--split > div {
  max-width: 730px;
}
.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.78;
  color: var(--muted);
}
.lead--large {
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
}
.text-gold {
  color: var(--gold);
}
.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.gold-rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
[id] {
  scroll-margin-top: 112px;
}
.reading-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.1s linear;
}
.sr-only {
  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: 1rem;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.2rem;
  background: var(--gold);
  color: var(--navy-950);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}
.rule-gold {
  width: 3.5rem;
  height: 2px;
  border: 0;
  background: var(--gold);
  margin: 1.75rem 0;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy-950);
  --btn-border: var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-xs);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn .btn__arrow {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.5);
}
.btn--outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.btn--navy {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-border: var(--navy);
}
.btn--navy:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-border: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn--sm {
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  font-size: 0.68rem;
}
.btn--lg {
  min-height: 3.6rem;
  padding: 1rem 2rem;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.link-arrow svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.link-arrow--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.link-arrow--light:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

/* ---------- Top bar / header ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.topbar__inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.topbar__place {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.topbar__place::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s var(--ease);
}
.topbar__links a:hover {
  color: var(--gold-soft);
}
.topbar__links svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--gold);
}
.topbar__social {
  display: flex;
  gap: 0.55rem;
  padding-left: 0.35rem;
  border-left: 1px solid var(--line-light);
}
.topbar__social a {
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.topbar__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}
.topbar__social svg {
  width: 0.78rem;
  height: 0.78rem;
  color: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -20px rgba(10, 17, 40, 0.35);
}
.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: min-height 0.3s var(--ease);
}
.site-header.is-scrolled .header__inner {
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: auto;
  height: 58px;
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .brand img {
  height: 48px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2.1rem);
}
.nav__list a {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--gold);
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: none;
}
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 1.15rem;
  height: 1.5px;
  background: var(--navy);
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) {
  top: calc(50% - 6px);
}
.nav-toggle span:nth-child(2) {
  top: 50%;
}
.nav-toggle span:nth-child(3) {
  top: calc(50% + 6px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

/* No-JS fallback: keep the primary navigation usable. */
html:not(.js) .nav {
  display: block;
}
html:not(.js) .nav__list {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1rem;
}
html:not(.js) .nav-toggle,
html:not(.js) .mobile-menu {
  display: none;
}
html:not(.js) .accordion__panel {
  height: auto;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  background: var(--navy-950);
  color: var(--white);
  padding: 1.25rem var(--gutter) 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease), transform 0.28s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu__top img {
  height: 48px;
  width: auto;
}
.mobile-menu__close {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 50%;
}
.mobile-menu__close svg {
  width: 1.1rem;
  height: 1.1rem;
}
.mobile-menu__nav {
  margin-top: 1.5rem;
}
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 6vw, 1.9rem);
  color: var(--white);
}
.mobile-menu__nav a span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.mobile-menu__nav a:hover {
  color: var(--gold-soft);
}
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 2rem;
  display: grid;
  gap: 1.25rem;
}
.mobile-menu__contact {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}
.mobile-menu__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.82);
}
.mobile-menu__contact svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
  flex: none;
}
.mobile-menu__socials {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.mobile-menu__socials a {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}
.mobile-menu__socials svg {
  width: 0.9rem;
  height: 0.9rem;
}
.mobile-menu__note {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted-light);
  letter-spacing: 0.04em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(600px, 86vh, 840px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--navy-950);
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s var(--ease), transform 7s var(--ease);
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 12, 30, 0.94) 0%, rgba(7, 12, 30, 0.76) 38%, rgba(7, 12, 30, 0.22) 78%, rgba(7, 12, 30, 0.38) 100%),
    linear-gradient(0deg, rgba(7, 12, 30, 0.85) 0%, rgba(7, 12, 30, 0.05) 45%, rgba(7, 12, 30, 0.35) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(6rem, 14vh, 10rem);
  padding-bottom: clamp(7.5rem, 15vh, 11rem);
}
.hero__content {
  max-width: 830px;
}
.hero .eyebrow {
  color: var(--gold-soft);
}
.hero .eyebrow::before {
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero h1 em {
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 400;
}
.hero__lead {
  max-width: 600px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.1rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.5rem;
  margin-top: 2.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.hero__controls {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__dot {
  width: 2.4rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.hero__dot.is-active {
  width: 3.4rem;
  background: var(--gold);
}
.hero__arrow {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.hero__arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}
.hero__arrow svg {
  width: 0.9rem;
  height: 0.9rem;
}
.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 2.4rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__scroll::before {
  content: "";
  width: 1px;
  height: 2.6rem;
  background: rgba(255, 255, 255, 0.28);
  position: relative;
  overflow: hidden;
}

/* ---------- Stats ---------- */
.stats-wrap {
  position: relative;
  z-index: 5;
  margin-top: -3.5rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.stat {
  padding: clamp(1.4rem, 2.7vw, 2.1rem) clamp(1.1rem, 2.4vw, 2rem);
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: 0;
}
.stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.stat__value sup {
  font-size: 0.45em;
  color: var(--gold);
  top: -0.7em;
  position: relative;
}
.stat__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Split blocks / media ---------- */
.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}
.split__content {
  max-width: 620px;
}
.split__content h2 {
  margin-bottom: 1.5rem;
}
.split__content p + p {
  margin-top: 1.1rem;
}
.split__content .btn-group,
.split__content .link-arrow {
  margin-top: 2.1rem;
}
.split__media {
  position: relative;
}
.media-frame {
  position: relative;
  z-index: 1;
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: -1.1rem -1.1rem 1.1rem 1.1rem;
  border: 1px solid var(--gold-soft);
  z-index: -1;
}
.media-frame img {
  width: 100%;
  height: clamp(340px, 44vw, 560px);
  object-fit: cover;
}
.media-frame--portrait img {
  height: clamp(400px, 48vw, 620px);
}
.media-frame__badge {
  position: absolute;
  z-index: 2;
  right: -1.4rem;
  bottom: -1.4rem;
  background: var(--navy);
  color: var(--white);
  padding: 1.35rem 1.5rem;
  min-width: 11rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}
.media-frame__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-soft);
}
.media-frame__badge span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.media-stack {
  position: relative;
  min-height: 460px;
}
.media-stack__main {
  width: 82%;
  margin-left: auto;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.media-stack__main img {
  width: 100%;
  height: clamp(360px, 40vw, 520px);
  object-fit: cover;
}
.media-stack__small {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 44%;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-md);
}
.media-stack__small img {
  width: 100%;
  height: clamp(150px, 17vw, 220px);
  object-fit: cover;
}
.media-stack__rule {
  position: absolute;
  left: 4%;
  top: 7%;
  width: 14%;
  height: 2px;
  background: var(--gold);
}
.pull-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}
.pull-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--muted);
}
.pull-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.62rem;
  height: 0.62rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.pull-list strong {
  color: var(--navy);
  font-weight: 600;
}
.mini-note {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mini-note::before {
  content: "";
  width: 1px;
  height: 1.8rem;
  background: var(--gold);
}

/* ---------- Expertise cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  position: relative;
  background: var(--white);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  min-height: 285px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.card:hover {
  background: var(--cream);
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.card:hover::before {
  width: 100%;
}
.card__num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.card__icon {
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--navy);
  margin-bottom: 1.25rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.card:hover .card__icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-soft);
}
.card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.7rem;
}
.card p {
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.card__link svg {
  width: 0.9rem;
  height: 0.9rem;
}
.card:hover .card__link {
  color: var(--gold);
  gap: 0.8rem;
}

/* ---------- Values ---------- */
.values-section {
  position: relative;
  overflow: hidden;
}
.values-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/footer-texture.webp") center / cover;
  opacity: 0.12;
  mix-blend-mode: screen;
  pointer-events: none;
}
.values-section > .container {
  position: relative;
  z-index: 1;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
}
.value {
  padding: 2.6rem 1.6rem 0.5rem 0;
  border-right: 1px solid var(--line-light);
}
.value:last-child {
  border-right: 0;
}
.value__letter {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6.2rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  letter-spacing: -0.04em;
  margin-bottom: 1.3rem;
}
.value h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}
.value p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  max-width: 240px;
}

/* ---------- Quote band ---------- */
.quote-band {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: linear-gradient(rgba(10, 17, 40, 0.82), rgba(10, 17, 40, 0.86)),
    url("../images/hero-courtroom.webp") center / cover fixed;
  color: var(--white);
  text-align: center;
}
.quote-band blockquote {
  max-width: 920px;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--white);
}
.quote-band blockquote em {
  color: var(--gold-soft);
  font-style: italic;
}
.quote-band__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.quote-band__caption {
  margin-top: 1.8rem;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Different / numbered rows ---------- */
.reason-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 3rem;
}
.reason {
  background: var(--white);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.reason__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gold);
  display: block;
  margin-bottom: 1.3rem;
}
.reason h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}
.reason p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Consultation steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.step {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-strong);
}
.step__num {
  position: absolute;
  top: -0.85rem;
  left: 0;
  background: var(--cream);
  padding-right: 0.9rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.step p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Insights cards ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.insight-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--sand);
}
.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.insight-card:hover .insight-card__media img {
  transform: scale(1.04);
}
.insight-card__body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.insight-card__meta span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}
.insight-card__meta time {
  color: var(--muted-light);
  font-weight: 500;
}
.insight-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.insight-card h3 a {
  transition: color 0.2s var(--ease);
}
.insight-card h3 a:hover {
  color: var(--gold);
}
.insight-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}
.insight-card__read {
  margin-top: 1.3rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.insight-card__read svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.2s var(--ease);
}
.insight-card:hover .insight-card__read svg {
  transform: translateX(4px);
}
.insight-card:hover .insight-card__read {
  color: var(--gold);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 46rem;
  height: 46rem;
  border: 1px solid rgba(213, 152, 78, 0.18);
  border-radius: 50%;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 4%;
  top: -12%;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(213, 152, 78, 0.12);
  border-radius: 50%;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.cta-band h2 {
  max-width: 700px;
  color: var(--white);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}
.cta-band p {
  margin-top: 0.9rem;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.cta-band__actions {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 230px;
}
.cta-band__phone {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}
.cta-band__phone svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/footer-texture.webp") center / cover;
  opacity: 0.08;
  pointer-events: none;
}
.footer__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.footer__brand img {
  height: 46px;
  width: auto;
  margin-bottom: 1.3rem;
}
.footer__brand p {
  font-size: 0.86rem;
  line-height: 1.75;
  max-width: 300px;
}
.footer__socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.footer__socials a {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer__socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-950);
}
.footer__socials svg {
  width: 0.85rem;
  height: 0.85rem;
}
.footer__col h3 {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.35rem;
}
.footer__links {
  display: grid;
  gap: 0.65rem;
}
.footer__links a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer__links a:hover {
  color: var(--gold-soft);
  padding-left: 0.25rem;
}
.footer__contact {
  display: grid;
  gap: 0.85rem;
  font-size: 0.86rem;
}
.footer__contact a,
.footer__contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s var(--ease);
}
.footer__contact a:hover {
  color: var(--gold-soft);
}
.footer__contact svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold);
  flex: none;
  margin-top: 0.28rem;
}
.footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-light);
  padding-block: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.4rem;
}
.footer__legal a,
.footer__legal button {
  color: rgba(255, 255, 255, 0.55);
  font-size: inherit;
  letter-spacing: 0.03em;
  transition: color 0.2s var(--ease);
}
.footer__legal a:hover,
.footer__legal button:hover {
  color: var(--gold-soft);
}

/* ---------- Floating actions ---------- */
.floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.float-btn {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 12px 28px -12px rgba(10, 17, 40, 0.5);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.float-btn:hover {
  transform: translateY(-3px);
}
.float-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}
.float-btn--whatsapp {
  background: #1f9d55;
  color: #fff;
}
.float-btn--whatsapp:hover {
  background: #188047;
}
.float-btn--top {
  background: var(--navy);
  color: var(--gold-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}
.float-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.float-btn--top:hover {
  background: var(--gold);
  color: var(--navy-950);
}

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(4.5rem, 10vw, 7.5rem) clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/hero-lawbooks.webp") center 35% / cover;
  opacity: 0.3;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 17, 40, 0.95) 0%, rgba(10, 17, 40, 0.78) 55%, rgba(10, 17, 40, 0.55) 100%);
}
.page-hero--plain::before {
  display: none;
}
.page-hero--plain::after {
  background:
    radial-gradient(circle at 85% 20%, rgba(213, 152, 78, 0.14), transparent 45%),
    linear-gradient(120deg, var(--navy-950), var(--navy));
}
.page-hero--practice::before {
  background-image: url("../images/practice-commercial.webp");
}
.page-hero--insights::before {
  background-image: url("../images/insights-hero.webp");
  opacity: 0.22;
}
.page-hero--contact::before {
  background-image: url("../images/contact-illustration.webp");
  opacity: 0.2;
}
.page-hero--about::before {
  background-image: url("../images/about-hero.webp");
  opacity: 0.25;
}
.page-hero h1 {
  color: var(--white);
  max-width: 900px;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  text-wrap: balance;
}
.page-hero__lead {
  max-width: 680px;
  margin-top: 1.3rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}
.page-hero .eyebrow {
  color: var(--gold-soft);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb a:hover {
  color: var(--gold-soft);
}
.breadcrumb svg {
  width: 0.7rem;
  height: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumb span[aria-current] {
  color: var(--gold-soft);
}

/* ---------- About page ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about-intro__media {
  position: relative;
}
.about-intro__media img {
  width: 100%;
  height: clamp(380px, 46vw, 580px);
  object-fit: cover;
}
.about-intro__frame {
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold-soft);
  z-index: -1;
}
.about-intro__tag {
  position: absolute;
  left: -1.1rem;
  bottom: 1.6rem;
  background: var(--white);
  border-left: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
  padding: 1.1rem 1.5rem;
  max-width: 230px;
}
.about-intro__tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--navy);
}
.about-intro__tag span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-intro__content h2 {
  margin-bottom: 1.4rem;
}
.about-intro__content p + p {
  margin-top: 1.1rem;
}
.differentiators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.differentiator {
  background: var(--white);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.differentiator__icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  margin-bottom: 1.2rem;
}
.differentiator__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.differentiator h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}
.differentiator p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Accordions */
.accordion {
  border-top: 1px solid var(--line-strong);
}
.accordion__item {
  border-bottom: 1px solid var(--line);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.45rem 0;
  text-align: left;
  transition: color 0.2s var(--ease);
}
.accordion__trigger:hover {
  color: var(--gold);
}
.accordion__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.3;
}
.accordion__icon {
  flex: none;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--navy);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.accordion__icon::before {
  content: "+";
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-soft);
  transform: rotate(45deg);
}
.accordion__panel {
  overflow: hidden;
  height: auto;
}
.js .accordion__panel {
  height: 0;
  transition: height 0.32s var(--ease);
}
.accordion__panel-inner {
  padding: 0 3rem 1.7rem 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}
.accordion__panel-inner p + p {
  margin-top: 0.9rem;
}

/* Founders */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.founder {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 320px;
}
.founder__photo {
  position: relative;
  background: var(--sand);
  overflow: hidden;
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}
.founder:hover .founder__photo img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.founder__body {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.founder__role {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.founder h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 0.8rem;
}
.founder p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}
.founder__line {
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
  margin: 1rem 0 0.9rem;
}
.founder__court {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Practice page ---------- */
.practice-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}
.practice-intro__quote {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: var(--navy);
}
.practice-intro__quote small {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.practice-cat {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.practice-cat__head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.practice-cat__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  white-space: nowrap;
}
.practice-cat__head .gold-rule {
  flex: 1;
}
.practice-cat__count {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.core-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.core-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-margin-top: 120px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.core-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.core-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sand);
}
.core-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.core-card:hover .core-card__media img {
  transform: scale(1.03);
}
.core-card__body {
  padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.core-card__num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 17, 40, 0.85);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-style: italic;
  padding: 0.35rem 0.6rem;
  letter-spacing: 0.08em;
}
.core-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  margin-bottom: 0.7rem;
}
.core-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}
.core-card p + p {
  margin-top: 0.8rem;
}
.core-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.3rem;
}
.tag {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.specialist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.specialist {
  background: var(--white);
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  scroll-margin-top: 120px;
  transition: background 0.3s var(--ease);
}
.specialist:hover {
  background: var(--cream);
}
.specialist__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.specialist__icon {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
}
.specialist__icon svg {
  width: 1rem;
  height: 1rem;
}
.specialist h3 {
  font-size: 1.18rem;
}
.specialist p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--muted);
}
.practice-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.practice-index a {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.practice-index a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-soft);
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 3.5vw, 3rem);
}
.contact-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.7rem;
}
.contact-card > p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
}
.field label .req {
  color: var(--gold);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--white);
  font-size: 0.92rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2316214f' stroke-width='1.5' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 143, 69, 0.14);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b23b3b;
}
.field__error {
  min-height: 1rem;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #b23b3b;
}
.field__hint {
  font-size: 0.7rem;
  color: var(--muted-light);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}
.field--checkbox {
  grid-column: 1 / -1;
}
.field--checkbox .field__error {
  padding-left: 1.7rem;
}
.checkbox input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  accent-color: var(--gold);
  flex: none;
}
.checkbox a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.4rem;
}
.form-note {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--muted-light);
  max-width: 300px;
}
.form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--navy);
}
.form-status.is-visible {
  display: block;
}
.form-status.is-error {
  border-color: #b23b3b;
}
.form-status a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.contact-aside h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.contact-aside > p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}
.contact-channels {
  display: grid;
  gap: 0.8rem;
  margin: 1.8rem 0 2rem;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-channel:hover {
  background: var(--white);
  border-color: var(--gold-soft);
}
.contact-channel__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-soft);
  border-radius: 50%;
}
.contact-channel__icon svg {
  width: 1rem;
  height: 1rem;
}
.contact-channel small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 0.15rem;
}
.contact-channel strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.contact-figure {
  margin-top: 2rem;
  border: 1px solid var(--line);
  overflow: hidden;
}
.contact-figure img {
  width: 100%;
  height: auto;
}
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.office-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.office-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.office-card__city {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.office-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}
.office-card address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}
.office-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.office-card__links a {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.office-card__links a:hover {
  color: var(--gold);
}
.office-card__links svg {
  width: 0.8rem;
  height: 0.8rem;
}
.map-wrap {
  margin-top: 3rem;
  border: 1px solid var(--line);
  background: var(--sand);
  overflow: hidden;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  filter: grayscale(0.2);
}
.map-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  color: var(--muted);
}
.map-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.office-maps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.office-maps .map-wrap {
  margin-top: 0;
  display: flex;
  flex-direction: column;
}
.office-maps .map-wrap iframe {
  height: 260px;
}
.office-maps .map-note {
  flex: 1;
  align-items: flex-end;
}
.career-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--cream);
  border: 1px solid var(--line);
}
.career-strip h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 0.7rem;
}
.career-strip p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}
.career-strip__action {
  justify-self: end;
}

/* ---------- Insights index ---------- */
.featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.featured__media {
  position: relative;
  min-height: 320px;
  background: var(--sand);
}
.featured__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured__body {
  padding: clamp(1.8rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.featured__label::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: currentColor;
}
.featured h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}
.featured h2 a:hover {
  color: var(--gold);
}
.featured p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.insights-grid--index {
  grid-template-columns: repeat(2, 1fr);
}
.insights-grid--index .insight-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.insights-grid--index .insight-card__media {
  aspect-ratio: auto;
  height: 100%;
}
.insights-grid--index .insight-card__body {
  padding: 1.5rem;
}
.insights-grid--index .insight-card h3 {
  font-size: 1.2rem;
}

/* ---------- Article ---------- */
.article-hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  padding-block: clamp(4rem, 9vw, 6.5rem) 0;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-lawbooks.webp") center / cover;
  opacity: 0.14;
}
.article-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}
.article-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  margin-top: 0.6rem;
  text-wrap: balance;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  margin-top: 1.6rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.article-meta span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.article-meta strong {
  color: var(--gold-soft);
  font-weight: 500;
}
.article-cover {
  position: relative;
  z-index: 2;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: -4.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.article-cover img {
  width: 100%;
  height: clamp(280px, 42vw, 500px);
  object-fit: cover;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.article-body {
  padding-top: clamp(6rem, 10vw, 8rem);
}
.prose {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #3c4358;
}
.prose > p {
  margin-bottom: 1.35rem;
}
.prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 4.1rem;
  line-height: 0.82;
  padding: 0.35rem 0.6rem 0 0;
  color: var(--navy);
}
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 2.6rem 0 1rem;
  color: var(--navy);
}
.prose h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin: 2rem 0 0.8rem;
  color: var(--navy);
}
.prose strong {
  color: var(--navy);
  font-weight: 600;
}
.prose a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.prose blockquote {
  margin: 2.2rem 0;
  padding: 1.6rem 1.8rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.55;
  color: var(--navy);
}
.prose ul {
  margin: 0 0 1.4rem 1.2rem;
  list-style: disc;
}
.prose ul li {
  margin-bottom: 0.55rem;
  padding-left: 0.2rem;
}
.prose ul li::marker {
  color: var(--gold);
}
.article-end {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.article-end__note {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}
.article-share span {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.3rem;
}
.article-share a,
.article-share button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.article-share a:hover,
.article-share button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.article-share svg {
  width: 0.9rem;
  height: 0.9rem;
}
.article-sidebar {
  padding-top: clamp(6rem, 10vw, 8rem);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.sidebar-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h3 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
}
.sidebar-card p {
  font-size: 0.84rem;
  line-height: 1.7;
  margin-bottom: 1.3rem;
}
.sidebar-card .btn {
  width: 100%;
}
.sidebar-list {
  border: 1px solid var(--line);
  background: var(--white);
}
.sidebar-list h3 {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.sidebar-list a {
  display: block;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}
.sidebar-list a:last-child {
  border-bottom: 0;
}
.sidebar-list a:hover {
  background: var(--cream);
}
.sidebar-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
}
.sidebar-list small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.article-pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-pager a {
  padding: 1.5rem;
  transition: background 0.2s var(--ease);
}
.article-pager a:hover {
  background: var(--cream);
}
.article-pager a + a {
  border-left: 1px solid var(--line);
  text-align: right;
}
.article-pager small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.article-pager strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
}

/* ---------- Legal pages ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 1.4rem;
}
.legal-toc h2 {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.legal-toc ol {
  counter-reset: toc;
  display: grid;
  gap: 0.5rem;
}
.legal-toc li {
  counter-increment: toc;
}
.legal-toc a {
  display: flex;
  gap: 0.6rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gold);
  padding-top: 0.15rem;
}
.legal-toc a:hover {
  color: var(--navy);
}
.legal-body {
  max-width: 820px;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.legal-body .prose h2 {
  scroll-margin-top: 120px;
}
.legal-note {
  margin-top: 2.5rem;
  padding: 1.3rem 1.5rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Careers ---------- */
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.career-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
}
.career-card__num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.3rem;
}
.career-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.65rem;
}
.career-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}
.career-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--navy);
  color: var(--white);
}
.career-cta h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}
.career-cta p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ---------- Modal ---------- */
.modal {
  width: min(92vw, 720px);
  max-height: 85vh;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop {
  background: rgba(10, 17, 40, 0.72);
  backdrop-filter: blur(4px);
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--navy);
  color: var(--white);
}
.modal__head h2 {
  font-size: 1.35rem;
  color: var(--white);
}
.modal__close {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
}
.modal__close svg {
  width: 0.95rem;
  height: 0.95rem;
}
.modal__body {
  padding: 1.5rem;
  max-height: 60vh;
  overflow-y: auto;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--muted);
}
.modal__body p + p {
  margin-top: 0.9rem;
}
.modal__body strong {
  color: var(--navy);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.error-page__inner {
  max-width: 640px;
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.9;
  color: var(--cream);
  -webkit-text-stroke: 1px var(--gold-soft);
  margin-bottom: 1rem;
}
.error-page h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}
.error-page p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ---------- Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.js .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.js .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__main {
    grid-template-columns: 1.4fr 0.8fr 1fr;
  }
  .footer__col--contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-light);
  }
  .footer__col--contact h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .founders {
    grid-template-columns: 1fr;
  }
  .founder {
    grid-template-columns: 260px 1fr;
  }
  .founder__photo {
    min-height: 280px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 72px;
  }
  .topbar {
    display: none;
  }
  .nav,
  .header__actions > .btn {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .brand img {
    height: 52px;
  }
  .split,
  .about-intro,
  .practice-intro,
  .contact-layout,
  .article-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .split__content {
    max-width: none;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value {
    border-bottom: 1px solid var(--line-light);
    padding: 2rem 1.5rem 2rem 0;
  }
  .value:nth-child(2n) {
    border-right: 0;
    padding-left: 1.5rem;
  }
  .value:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .reason-list,
  .steps,
  .specialist-grid,
  .office-grid,
  .office-maps,
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    gap: 2.5rem 1.5rem;
  }
  .core-grid {
    grid-template-columns: 1fr;
  }
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid--index {
    grid-template-columns: 1fr;
  }
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
  }
  .article-sidebar {
    position: static;
    padding-top: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .article-sidebar .sidebar-card,
  .article-sidebar .sidebar-list {
    margin-bottom: 0;
  }
  .article-body {
    padding-top: clamp(5rem, 9vw, 7rem);
  }
  .legal-toc {
    position: static;
    display: none;
  }
  .legal-layout {
    gap: 0;
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .featured__media {
    min-height: 260px;
  }
  .career-strip {
    grid-template-columns: 1fr;
  }
  .career-strip__action {
    justify-self: start;
  }
  .quote-band {
    background-attachment: scroll;
  }
  .footer__main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --section-y: clamp(3.5rem, 9vw, 5rem);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-bottom: 1px solid var(--line);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .stats-wrap {
    margin-top: -2.25rem;
  }
  .media-frame::before {
    inset: -0.7rem -0.7rem 0.7rem 0.7rem;
  }
  .media-frame__badge {
    right: 0;
    bottom: 0;
    padding: 1rem 1.1rem;
    min-width: 9.5rem;
  }
  .media-stack {
    min-height: 380px;
  }
  .media-stack__main {
    width: 88%;
  }
  .media-stack__small {
    width: 46%;
    border-width: 6px;
  }
  .differentiators,
  .practice-intro__quote {
    grid-template-columns: 1fr;
  }
  .differentiators {
    grid-template-columns: 1fr;
  }
  .specialist-grid,
  .office-grid,
  .office-maps,
  .career-grid,
  .reason-list,
  .insights-grid,
  .insights-grid--index,
  .founders {
    grid-template-columns: 1fr;
  }
  .insights-grid--index .insight-card {
    grid-template-columns: 1fr;
  }
  .insights-grid--index .insight-card__media {
    aspect-ratio: 16 / 10;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .founder {
    grid-template-columns: 1fr;
  }
  .founder__photo {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .founder__photo img {
    height: 100%;
  }
  .footer__main {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__col--contact {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-channel strong {
    word-break: break-word;
  }
  .article-pager {
    grid-template-columns: 1fr;
  }
  .article-pager a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
    text-align: left;
  }
  .article-sidebar {
    grid-template-columns: 1fr;
  }
  .article-body {
    padding-top: 4.5rem;
  }
  .article-cover {
    margin-bottom: -3.5rem;
  }
  .hero__controls {
    right: 50%;
    transform: translateX(50%);
    bottom: 1.5rem;
  }
  .hero__scroll {
    display: none;
  }
  .hero {
    min-height: 88svh;
  }
  .hero__inner {
    padding-bottom: 7.5rem;
  }
  .quote-band blockquote {
    font-size: clamp(1.55rem, 6vw, 2.3rem);
  }
  .map-wrap iframe {
    height: 340px;
  }
  .page-hero {
    padding-block: clamp(3.5rem, 12vw, 5rem) clamp(3rem, 9vw, 4rem);
  }
  .breadcrumb {
    margin-bottom: 1.1rem;
  }
  .cta-band__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .cta-band__actions .btn {
    width: 100%;
  }
  .cta-band__phone {
    justify-content: center;
  }
  .floating {
    right: 0.9rem;
    bottom: 0.9rem;
  }
  .float-btn {
    width: 2.85rem;
    height: 2.85rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }
  .hero__lead {
    font-size: 0.98rem;
  }
  .hero__meta {
    gap: 0.5rem 1rem;
    font-size: 0.62rem;
  }
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-group .btn {
    width: 100%;
  }
  .stat {
    padding: 1.15rem 1rem;
  }
  .stat__value {
    font-size: 2rem;
  }
  .stat__label {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .value {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-light) !important;
    padding: 1.8rem 0 !important;
  }
  .value:last-child {
    border-bottom: 0 !important;
  }
  .footer__main {
    grid-template-columns: 1fr;
  }
  .footer__legal {
    gap: 0.5rem 1rem;
  }
  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .about-intro__frame {
    inset: 1rem 0 -1rem 1rem;
  }
  .about-intro__tag {
    left: 0.8rem;
    bottom: 0.8rem;
  }
  .contact-card {
    padding: 1.4rem;
  }
  .article-hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
  .prose {
    font-size: 0.98rem;
  }
  .prose > p:first-of-type::first-letter {
    font-size: 3.4rem;
  }
  .article-share span {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Print ---------- */
@media print {
  .topbar,
  .site-header,
  .mobile-menu,
  .floating,
  .article-sidebar,
  .footer__main,
  .cta-band,
  .skip-link {
    display: none !important;
  }
  body {
    color: #000;
  }
  .article-hero {
    background: none;
    color: #000;
    padding: 0;
  }
  .article-hero h1 {
    color: #000;
  }
  .article-cover {
    display: none;
  }
  .article-body {
    padding-top: 1rem;
  }
  .article-layout {
    display: block;
  }
  a {
    text-decoration: underline;
  }
}
