:root {
  --ink: #08131f;
  --ink-2: #0c1d2d;
  --navy: #15354f;
  --blue: #1f587f;
  --gold: #b99a5a;
  --gold-soft: #d8c28f;
  --paper: #f8f7f2;
  --warm: #efede6;
  --white: #ffffff;
  --line: #d8d8d2;
  --muted: #5d6870;
  --heading: "Newsreader", Georgia, serif;
  --body: "DM Sans", "Segoe UI", Arial, sans-serif;
  --shell: min(1240px, calc(100vw - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

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

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  padding: 11px 16px;
  font-weight: 700;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 16, 25, 0.72);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  will-change: transform;
}

.site-header.scrolled {
  background: rgba(7, 16, 25, 0.96);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(185, 154, 90, 0.55);
  background: #020304;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.08;
  text-transform: uppercase;
}

.brand-copy strong {
  font-family: var(--heading);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: translateY(-1px);
  border-color: var(--gold-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.primary-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.active {
  color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.active::after {
  transform: scaleX(1);
}

.primary-nav .nav-contact {
  border: 1px solid rgba(216, 194, 143, 0.55);
  color: var(--white);
  padding: 10px 17px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

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

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

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 162px 0 30px;
  background:
    radial-gradient(circle at 82% 18%, rgba(43, 105, 145, 0.2), transparent 31%),
    linear-gradient(112deg, #06101a 0%, #091725 54%, #10283b 100%);
  color: var(--white);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.38) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to right, transparent, black 45%, black 84%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  top: 80px;
  right: -260px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(216, 194, 143, 0.13);
  border-radius: 50%;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(350px, 0.72fr);
  gap: clamp(60px, 9vw, 124px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 38px;
  height: 1px;
  background: currentColor;
}

.eyebrow.ink {
  color: var(--blue);
}

.eyebrow.light {
  color: var(--gold-soft);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(3.5rem, 6.7vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.92;
}

.hero-intro {
  max-width: 690px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ccb273;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
}

.hero-ledger {
  border-top: 1px solid rgba(216, 194, 143, 0.62);
  background: rgba(2, 8, 13, 0.38);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.hero-ledger > p {
  margin: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 1px solid rgba(255, 255, 255, 0.11);
  padding: 17px 20px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-ledger ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-ledger li {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  border-left: 1px solid rgba(255, 255, 255, 0.11);
  padding: 20px;
}

.hero-ledger li > span {
  grid-row: 1 / 3;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-ledger strong {
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.15;
}

.hero-ledger small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.72rem;
}

.hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 78px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-foot p,
.hero-foot a {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.hero-foot a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.services {
  padding: clamp(100px, 11vw, 158px) 0;
  background: var(--paper);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1fr);
  gap: clamp(52px, 10vw, 142px);
  align-items: start;
  margin-bottom: clamp(80px, 10vw, 126px);
}

.section-intro .eyebrow {
  margin-top: 14px;
}

.section-intro h2,
.profile-heading h2,
.approach-heading h2,
.office-heading h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.75rem, 5.3vw, 5.45rem);
  font-weight: 400;
  letter-spacing: -0.047em;
  line-height: 0.98;
}

.section-intro > div > p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.practice-list {
  display: grid;
  gap: clamp(90px, 12vw, 160px);
}

.practice-row {
  display: grid;
  grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.practice-row-reverse .practice-image {
  grid-column: 2;
}

.practice-row-reverse .practice-content {
  grid-row: 1;
  grid-column: 1;
}

.practice-image {
  position: sticky;
  top: 108px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.practice-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 9, 15, 0.82), transparent 48%);
  pointer-events: none;
}

.practice-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.03);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 300ms ease;
}

.practice-image:hover img {
  transform: scale(1.025);
  filter: saturate(0.95) contrast(1.03);
}

.practice-image figcaption {
  position: absolute;
  right: 24px;
  bottom: 19px;
  left: 24px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--heading);
  font-size: 1.25rem;
}

.practice-title {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 44px;
}

.practice-title > span {
  padding-top: 9px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.practice-title h3 {
  max-width: 720px;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.043em;
  line-height: 0.98;
}

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

.specialism-grid article {
  border-top: 2px solid var(--ink);
  padding-top: 19px;
}

.specialism-grid h4 {
  min-height: 62px;
  margin: 0 0 20px;
  font-family: var(--heading);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.17;
}

.specialism-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.specialism-grid li {
  position: relative;
  padding: 0 0 8px 16px;
  border-bottom: 1px solid var(--line);
  color: #46535c;
  font-size: 0.82rem;
  line-height: 1.55;
}

.specialism-grid li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--gold);
}

.firm-profile {
  position: relative;
  overflow: hidden;
  padding: clamp(105px, 12vw, 170px) 0;
  background: var(--ink);
  color: var(--white);
}

.firm-profile::after {
  content: "";
  position: absolute;
  right: -230px;
  bottom: -420px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(216, 194, 143, 0.12);
  border-radius: 50%;
}

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

.profile-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.58fr);
  gap: clamp(60px, 10vw, 140px);
  align-items: end;
}

.profile-heading h2 {
  max-width: 820px;
}

.profile-heading > p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--heading);
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.45;
}

.profile-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 7vw, 84px);
  max-width: 860px;
  margin: 68px 0 0 auto;
}

.profile-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.94rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.principles article {
  min-height: 260px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 27px;
}

.principles span {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.principles h3 {
  margin: 68px 0 13px;
  font-family: var(--heading);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.12;
}

.principles p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.8rem;
}

.approach {
  padding: clamp(100px, 11vw, 152px) 0;
  background: var(--white);
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 10vw, 140px);
  align-items: start;
}

.approach-heading {
  position: sticky;
  top: 112px;
}

.approach-heading h2 {
  font-size: clamp(2.65rem, 4.8vw, 4.75rem);
}

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

.approach-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}

.approach-list li > span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.approach-list h3 {
  margin: 0 0 8px;
  font-family: var(--heading);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.12;
}

.approach-list p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.office {
  padding: clamp(100px, 11vw, 152px) 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--ink-2);
  background-size: 84px 84px;
  color: var(--white);
}

.office-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.5fr);
  gap: clamp(60px, 10vw, 138px);
  align-items: end;
  margin-bottom: 62px;
}

.office-heading h2 {
  max-width: 780px;
}

.office-heading > p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.92rem;
}

.office-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(350px, 0.78fr);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.map-card {
  min-width: 0;
  background: #d9dcde;
}

.map-card iframe {
  width: 100%;
  height: 520px;
  display: block;
  border: 0;
}

.map-card > a {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  color: var(--ink);
  padding: 14px 21px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.map-card > a:hover,
.map-card > a:focus-visible {
  color: var(--blue);
}

.office-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: rgba(4, 11, 18, 0.76);
  padding: clamp(32px, 4vw, 52px);
  font-style: normal;
}

.office-block {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.office-block.hours {
  padding-top: 26px;
}

.office-block > span,
.office-contact span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.office-block > strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 500;
}

.office-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.87rem;
}

.office-block p strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.office-contact {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 30px;
}

.office-contact a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.office-contact a:hover,
.office-contact a:focus-visible {
  color: var(--gold-soft);
}

.office-contact span {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
}

.office-contact strong {
  font-size: 0.82rem;
  font-weight: 600;
}

.site-footer {
  background: #04090e;
  color: var(--white);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-top: 55px;
  padding-bottom: 47px;
}

.footer-main > div > p {
  max-width: 600px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.39);
  font-size: 0.76rem;
}

.footer-wordmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--white);
  font-family: var(--heading);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-decoration: none;
}

.footer-wordmark span {
  margin-top: 7px;
  color: var(--gold-soft);
  font-family: var(--body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 36px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 44px;
  padding-top: 22px;
  padding-bottom: 31px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.69rem;
}

.footer-bottom p:last-child {
  max-width: 700px;
  text-align: right;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: #153d2d;
  color: var(--white);
  padding: 7px 18px 7px 7px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.27);
  font-size: 0.8rem;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
  background: #1b4d38;
}

.whatsapp-float > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #082416;
  font-size: 0.86rem;
  font-weight: 800;
}

.whatsapp-float strong {
  font-weight: 700;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 720ms ease, transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js .reveal[data-reveal="left"] {
  transform: translate3d(-30px, 0, 0);
}

.js .reveal[data-reveal="right"] {
  transform: translate3d(30px, 0, 0);
}

.js .reveal[data-reveal="scale"] {
  transform: scale(0.975);
}

.js .reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
}

@media (max-width: 1060px) {
  :root {
    --shell: min(100% - 42px, 960px);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.65fr);
    gap: 48px;
  }

  .practice-row {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: 45px;
  }

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

  .specialism-grid h4 {
    min-height: 0;
  }

  .profile-heading {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
    gap: 60px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .header-inner {
    min-height: 70px;
  }

  .js .menu-toggle {
    display: flex;
  }

  .js .primary-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    min-height: calc(100dvh - 70px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    background: rgba(5, 12, 19, 0.99);
    padding: 30px 24px 100px;
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .js .primary-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .js .primary-nav a,
  .js .primary-nav .nav-contact {
    min-height: 58px;
    display: flex;
    align-items: center;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    padding: 0;
    font-family: var(--heading);
    font-size: 1.3rem;
  }

  .js .primary-nav a.active {
    color: var(--gold-soft);
  }

  .js .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-layout,
  .section-intro,
  .profile-heading,
  .approach-layout,
  .office-heading,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 60px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-ledger {
    width: min(100%, 520px);
  }

  .section-intro {
    gap: 22px;
  }

  .section-intro .eyebrow {
    margin-top: 0;
  }

  .practice-row,
  .practice-row-reverse {
    grid-template-columns: 1fr;
  }

  .practice-row .practice-image,
  .practice-row-reverse .practice-image,
  .practice-row .practice-content,
  .practice-row-reverse .practice-content {
    grid-row: auto;
    grid-column: auto;
  }

  .practice-image {
    position: relative;
    top: auto;
    width: min(100%, 660px);
  }

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

  .profile-heading,
  .office-heading {
    gap: 32px;
  }

  .profile-body {
    margin-left: 0;
  }

  .approach-layout {
    gap: 52px;
  }

  .approach-heading {
    position: relative;
    top: auto;
  }

  .map-card iframe {
    height: 430px;
  }

  .office-card {
    min-height: 500px;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom p:last-child {
    text-align: left;
  }
}

@media (max-width: 580px) {
  :root {
    --shell: calc(100% - 28px);
  }

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

  body {
    padding-bottom: 72px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 1.02rem;
  }

  .brand-copy small {
    font-size: 0.59rem;
    letter-spacing: 0.14em;
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero-intro {
    margin-top: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-foot {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 52px;
  }

  .practice-list {
    gap: 90px;
  }

  .practice-row {
    gap: 34px;
  }

  .practice-title {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    margin-bottom: 36px;
  }

  .practice-title h3 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .specialism-grid,
  .profile-body,
  .principles {
    grid-template-columns: 1fr;
  }

  .specialism-grid {
    gap: 40px;
  }

  .principles article {
    min-height: 230px;
  }

  .approach-list li {
    grid-template-columns: 48px 1fr;
    gap: 13px;
  }

  .map-card iframe {
    height: 360px;
  }

  .office-card {
    min-height: 0;
  }

  .office-contact a {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: center;
    border-radius: 0;
    padding-right: 12px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
