/*
 * styles styles.
 * Keep rule order intact: later rules refine earlier layouts and responsive states.
 */

:root {
  --purple: #450099;
  --muted-purple: #9b7ac9;
  --ink: #080808;
  --body: #383838;
  --line: #999;
  --paper: #fff;
  --tint: #f4f0f8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 5px;
}
.container {
  width: calc(100% - 64px);
  max-width: 1128px;
  margin-inline: auto;
}
.top-bar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: block;
  width: 58px;
  height: 45px;
}
.brand-image {
  display: block;
  width: 58px;
  height: 45px;
  background: url("../assets/images/reference.png") 30.37% 1.3% / 2560px auto no-repeat;
}
.top-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.outline-button,
.solid-button {
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  min-height: 42px;
}
.solid-button {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.primary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.primary-nav,
.utility-nav {
  display: flex;
  align-items: center;
  gap: 44px;
}
.primary-nav {
  font-weight: 600;
}
.primary-nav .active {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.utility-nav {
  gap: 23px;
  font-size: 13px;
}
.utility-nav button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.access-icon {
  font-size: 19px;
}
.icon-button {
  font-size: 24px !important;
}
.search-icon {
  display: block;
  width: 17px;
  height: 17px;
  border: 1px solid #47665a;
  border-radius: 50%;
  position: relative;
}
.search-icon:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1px;
  background: #47665a;
  right: -5px;
  bottom: -2px;
  transform: rotate(48deg);
}
.secondary-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 39px;
  border-bottom: 1px solid var(--line);
  padding: 0 15px;
  background: var(--tint);
  color: var(--muted-purple);
  font-weight: 600;
  font-size: 13px;
}
.secondary-nav .active {
  color: var(--purple);
}
.dropdown {
  position: relative;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
}
summary::-webkit-details-marker {
  display: none;
}
.chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}
.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 210px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px #0001;
  padding: 10px;
  z-index: 5;
  color: var(--body);
}
.dropdown-panel a {
  display: block;
  padding: 10px;
}
.dropdown-panel a:hover {
  background: var(--tint);
  color: var(--purple);
}
.hero {
  padding-top: 55px;
}
.hero-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 0;
  font-weight: 700;
}
h1 > span {
  display: block;
  color: var(--purple);
  margin-bottom: 3px;
}
.section-index {
  display: flex;
  gap: 20px;
  padding-top: 44px;
  font-size: 13px;
  line-height: 1.65;
  flex-shrink: 0;
}
.section-index strong {
  font-size: 12px;
  font-weight: 600;
}
.section-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.section-index a:hover,
.text-link:hover {
  color: var(--purple);
  text-decoration: underline;
}
.hero-description {
  color: var(--body);
  font-size: 14px;
  line-height: 1.6;
  margin: 34px 0 74px;
}
.hero-image {
  margin: 0;
  aspect-ratio: 902/376;
  overflow: hidden;
  position: relative;
}
.reference-photo {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/reference.png");
  background-size: 227.051% auto;
  background-position: 53.054% 76.744%;
  background-repeat: no-repeat;
}
.content-section {
  padding: 115px 0 60px;
  scroll-margin-top: 20px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #ccc;
}
.section-label h2,
.section-label > span {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.section-copy {
  max-width: 760px;
  margin: 60px 0 0;
}
.eyebrow {
  color: var(--purple);
  font-weight: 600;
}
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.15;
  margin: 15px 0 25px;
  letter-spacing: -1px;
}
.section-copy > p {
  max-width: 580px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
}
.education-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
h4 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 18px;
}
.education-paths p {
  color: var(--body);
}
.education-paths a,
.text-link {
  color: var(--purple);
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
}
.education-paths article {
  border-top: 2px solid var(--purple);
  padding-top: 22px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-block: 30px;
  margin-top: 70px !important;
  font-size: 12px;
  color: var(--body);
}
.search-panel {
  padding: 25px;
  background: var(--tint);
}
.search-panel label {
  display: block;
  margin-bottom: 10px;
}
.search-panel > div {
  display: flex;
  gap: 10px;
}
.search-panel input {
  flex: 1;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
}
.search-panel p:empty {
  display: none;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -100px;
  background: var(--paper);
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 15px;
}
body.dark {
  --paper: #171719;
  --ink: #f6f4f8;
  --body: #d3cfd7;
  --line: #68626d;
  --purple: #c49aef;
  --muted-purple: #b6a0ce;
  --tint: #292330;
}
body.readable {
  font-size: 17px;
}
body.readable p,
body.readable nav,
body.readable button {
  font-size: 17px;
  line-height: 1.8;
}
@media (min-width: 1700px) {
  .container {
    max-width: 44.05vw;
    transform: translateX(1.73vw);
  }
  .top-bar {
    height: 2.89vw;
  }
  .primary-bar {
    min-height: 1.56vw;
  }
  .secondary-nav {
    min-height: 1.52vw;
    font-size: 0.55vw;
    gap: 12px;
  }
  .hero {
    padding-top: 2.15vw;
  }
  h1 {
    font-size: 1.875vw;
  }
  .hero-description {
    font-size: 0.55vw;
    margin: 1.33vw 0 2.89vw;
  }
  .section-index {
    padding-top: 1.72vw;
    font-size: 0.55vw;
  }
  .content-section {
    padding-top: 4.5vw;
  }
  .primary-nav,
  .utility-nav {
    font-size: 0.55vw;
    gap: 1.7vw;
  }
  .outline-button,
  .solid-button {
    min-height: 1.65vw;
    padding: 0.39vw 0.47vw;
    font-size: 0.51vw;
  }
  .brand {
    transform: scale(0.8);
    transform-origin: left center;
  }
  .section-label h2,
  .section-label > span {
    font-size: 0.8vw;
  }
}
@media (max-width: 1000px) {
  .primary-nav {
    gap: 25px;
  }
  .utility-nav {
    gap: 14px;
  }
  .secondary-nav {
    gap: 15px;
    font-size: 12px;
  }
  .section-index {
    gap: 12px;
  }
  h1 {
    font-size: 44px;
  }
  .hero-description .desktop-break {
    display: none;
  }
  .hero-description {
    max-width: 670px;
  }
  .hero {
    padding-top: 45px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .top-bar {
    height: 77px;
  }
  .top-actions {
    gap: 6px;
  }
  .outline-button,
  .solid-button {
    font-size: 10px;
    padding: 8px;
    min-height: 35px;
  }
  .primary-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding: 13px 0;
  }
  .primary-nav {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }
  .utility-nav {
    width: 100%;
    justify-content: flex-end;
    font-size: 12px;
    gap: 18px;
  }
  .secondary-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px 22px;
    padding: 12px;
  }
  .hero {
    padding-top: 36px;
  }
  .hero-heading {
    display: block;
  }
  h1 {
    font-size: 39px;
    letter-spacing: -1px;
  }
  .section-index {
    padding-top: 24px;
    gap: 18px;
  }
  .section-index ol {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
  }
  .hero-description {
    margin: 28px 0 35px;
    font-size: 14px;
  }
  .hero-image {
    aspect-ratio: 902/490;
  }
  .reference-photo {
    background-size: 227.051% auto;
    background-position: 53.054% 76.744%;
  }
  .content-section {
    padding-top: 65px;
  }
  .section-copy {
    margin-top: 35px;
  }
  h3 {
    font-size: 34px;
  }
  .education-paths {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-label h2,
  .section-label > span {
    font-size: 18px;
  }
  footer {
    gap: 20px;
    align-items: center;
  }
  .desktop-break {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Centered desktop width matching the supplied reference's 8% side margins. */
.container {
  width: 84%;
  max-width: none;
  transform: none;
}
@media (min-width: 1700px) {
  .top-bar {
    height: 74px;
  }
  .primary-bar {
    min-height: 40px;
  }
  .secondary-nav {
    min-height: 39px;
    font-size: 13px;
    gap: 20px;
  }
  .hero {
    padding-top: 55px;
  }
  h1 {
    font-size: 48px;
  }
  .hero-description {
    font-size: 14px;
    margin: 34px 0 74px;
  }
  .section-index {
    padding-top: 44px;
    font-size: 13px;
  }
  .content-section {
    padding-top: 115px;
  }
  .primary-nav,
  .utility-nav {
    font-size: 14px;
    gap: 44px;
  }
  .outline-button,
  .solid-button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .brand {
    transform: none;
  }
  .section-label h2,
  .section-label > span {
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
}

/* Reference-inspired full-bleed footer with centered content. */
.site-footer {
  display: block;
  background: #f2f2f2;
  border: 0;
  padding: 0;
  margin-top: 110px !important;
  color: #606060;
  font-size: 14px;
  line-height: 1.6;
}
.footer-inner {
  padding-top: 28px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e2e2e2;
}
.footer-search {
  display: flex;
  width: 39%;
  min-width: 270px;
  background: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  align-items: center;
  height: 46px;
  overflow: hidden;
}
.footer-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 18px;
  color: #444;
  outline-offset: -3px;
}
.footer-search button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  border: 0;
  border-left: 1px solid #e5e5e5;
  background: none;
  color: #888;
}
.footer-search .search-icon {
  border-color: #aaa;
}
.footer-search .search-icon:after {
  background: #aaa;
}
#footer-search-status {
  margin: 12px 0 0;
}
#footer-search-status:empty {
  display: none;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 36px;
  padding: 48px 0 52px;
}
.footer-columns h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 20px;
  color: #3c3c3c;
}
.footer-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-columns li {
  margin-bottom: 16px;
}
.footer-columns a {
  display: inline-block;
}
.footer-columns button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  line-height: inherit;
}
.site-footer a:hover,
.footer-columns button:hover {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e2e2e2;
  padding: 32px 0;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.social-links a {
  display: flex;
  width: 26px;
  height: 26px;
  color: #6b6b6b;
}
.social-links svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.footer-bottom {
  background: #e7e7e7;
  padding: 15px 0;
  font-size: 12px;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom-divider {
  height: 14px;
  width: 1px;
  background: #ccc;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.dark .site-footer {
  background: #242426;
  color: #ccc;
}
body.dark .footer-columns h2 {
  color: #eee;
}
body.dark .footer-bottom {
  background: #1d1d1f;
}
body.dark .footer-top,
body.dark .footer-social-row {
  border-color: #444;
}
body.dark .social-links a {
  color: #bbb;
}
@media (max-width: 1000px) {
  .footer-columns {
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-search {
    width: 48%;
  }
}
@media (max-width: 760px) {
  .site-footer {
    margin-top: 65px !important;
  }
  .footer-top {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  .footer-search {
    width: 100%;
    min-width: 0;
  }
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding: 32px 0;
  }
  .footer-columns h2 {
    font-size: 15px;
  }
  .footer-columns li {
    margin-bottom: 12px;
  }
  .footer-social-row {
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    padding: 25px 0;
  }
  .footer-bottom .container {
    justify-content: flex-start;
    gap: 12px 20px;
  }
  .footer-bottom-divider {
    display: none;
  }
  .footer-bottom .container > span:first-child {
    width: 100%;
  }
}

/* Typography inspired by alfaisalfirm.com/en; font served locally. */
@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --font-sans: "Geist", Arial, Helvetica, sans-serif;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
.footer-columns h2 {
  font-family: var(--font-sans);
  font-optical-sizing: auto;
}
h1 {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 > span {
  margin-bottom: 12px;
}
h3 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h4 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}
.hero-description,
.section-copy > p,
.education-paths p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.primary-nav {
  font-size: 15px;
  font-weight: 500;
}
.utility-nav,
.secondary-nav {
  font-size: 14px;
  font-weight: 500;
}
.outline-button,
.solid-button {
  font-size: 14px;
  font-weight: 500;
}
.section-label h2,
.section-label > span {
  font-weight: 500;
}
.footer-columns h2 {
  font-weight: 600;
}
@media (max-width: 1000px) {
  .primary-nav {
    gap: 20px;
  }
  .secondary-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-block: 12px;
  }
  .utility-nav {
    gap: 12px;
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  h1 {
    font-size: 38px;
  }
  h3 {
    font-size: 30px;
  }
  h4 {
    font-size: 20px;
  }
  .primary-nav {
    font-size: 14px;
    gap: 12px;
  }
  .secondary-nav {
    font-size: 12px;
  }
  .outline-button,
  .solid-button {
    font-size: 11px;
  }
}

/* Strong, traditional editorial headings for a law-firm presentation. */
:root {
  --font-heading: Georgia, "Times New Roman", serif;
}
h1,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(40px, 3.6vw, 64px);
  line-height: 1.1;
}
h3 {
  font-size: clamp(32px, 2.7vw, 46px);
  line-height: 1.16;
}
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.section-label h2 {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 700;
}
@media (max-width: 760px) {
  h1 {
    font-size: 38px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 22px;
  }
  .section-label h2 {
    font-size: 21px;
  }
}

/* Primary typeface: locally bundled Playfair Display. */
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --font-sans: "Playfair Display", Georgia, serif;
  --font-heading: "Playfair Display", Georgia, serif;
}
body,
h1,
h2,
h3,
h4,
.footer-columns h2 {
  font-family: "Playfair Display", Georgia, serif;
}

/* Helvetica body text paired with Playfair Display headings. */
:root {
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
  font-family: var(--font-sans);
}
h1,
h2,
h3,
h4,
.footer-columns h2 {
  font-family: var(--font-heading);
}

/* Asma Law Firm home-page content. */
.site-header .brand {
  width: 200px;
  height: 62px;
  display: flex;
  align-items: center;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}
.top-bar {
  height: 100px;
}
.hero-heading h1 {
  max-width: 900px;
}
.hero-heading h1 > span {
  font-size: 0.58em;
  margin-bottom: 18px;
}
.hero-description {
  margin-bottom: 25px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.firm-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wide-copy {
  max-width: none;
}
.founder-layout {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 70px;
  margin-top: 55px;
  align-items: center;
}
.founder-layout > img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: #f5f3f1;
}
.founder-layout .section-copy {
  margin: 0;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  font-size: 20px;
}
.contact-links a {
  color: var(--purple);
}
address {
  font-style: normal;
  color: var(--body);
  line-height: 1.8;
}
.footer-columns a {
  overflow-wrap: anywhere;
}
.footer-social-row small {
  font-size: 12px;
}
@media (max-width: 1000px) {
  .primary-bar {
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .founder-layout {
    gap: 30px;
  }
  .hero-heading h1 {
    font-size: 44px;
  }
}
@media (max-width: 760px) {
  .site-header .brand {
    width: 150px;
    height: 55px;
  }
  .top-bar {
    height: 90px;
  }
  .top-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .primary-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }
  .hero-heading h1 {
    font-size: 38px;
  }
  .founder-layout {
    grid-template-columns: 1fr;
  }
  .founder-layout > img {
    max-width: 350px;
  }
  .hero-image {
    aspect-ratio: 16/9;
  }
  .hero-actions {
    margin-bottom: 30px;
  }
}

/* Spacious introduction matching the supplied visual reference. */
#about.introduction-section {
  padding-top: 100px;
  padding-bottom: 90px;
}
#about .section-label {
  border: 0;
  padding-bottom: 0;
}
#about .section-label h2,
#about .section-label > span {
  font-family: var(--font-sans);
  font-size: clamp(20px, 1.7vw, 32px);
  font-weight: 600;
  line-height: 1.3;
}
#about .introduction-statement {
  max-width: none;
  margin: clamp(70px, 9vw, 170px) 0 0;
  font-family: var(--font-sans);
  font-size: clamp(27px, 2.25vw, 46px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
}
@media (max-width: 760px) {
  #about.introduction-section {
    padding-top: 60px;
    padding-bottom: 45px;
  }
  #about .introduction-statement {
    margin-top: 55px;
    font-size: 26px;
    line-height: 1.5;
  }
}

/* Dark, full-width film feature inspired by the supplied reference. */
.film-section {
  background: #1d1d1b;
  color: #fff;
  width: calc(100vw - 17px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 110px max(8vw, 24px);
  margin: 45px 0 20px;
}
.film-layout {
  max-width: 1500px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}
.film-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0 0 42px;
}
.film-copy h2 span {
  display: block;
}
.film-copy h2 span:first-child {
  color: #858580;
}
.film-copy h2 span:nth-child(2) {
  color: #bbbcb7;
}
.film-contact {
  display: inline-flex;
  background: #fff;
  color: #202020;
  border-radius: 30px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 500;
}
.film-contact:hover {
  background: #e4e4df;
}
.film-card {
  position: relative;
  min-width: 0;
  background: #292927;
  aspect-ratio: 16/9;
}
.film-play {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  padding: 0;
  border: 0;
  background: #353531;
  color: white;
  text-align: left;
  overflow: hidden;
}
.film-play:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, #000b);
}
.film-play > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 25%;
  transition: transform 0.3s;
}
.film-play:hover > img {
  transform: scale(1.025);
}
.film-play-icon {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffffe6;
  color: #222;
}
.film-play-icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}
.film-caption {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 24px;
  right: 20px;
  font-size: 15px;
  line-height: 1.35;
}
.film-caption strong,
.film-caption > span {
  display: block;
}
.film-caption strong {
  font-weight: 500;
}
.film-caption > span {
  color: #ccc;
}
.film-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.film-card [hidden] {
  display: none;
}
.film-status {
  font-size: 14px;
  padding: 15px;
  background: #292927;
  margin: 0;
}
.film-status a {
  text-decoration: underline;
}
@media (max-width: 760px) {
  .film-section {
    width: calc(100vw - 17px);
    padding: 60px 24px;
    margin-top: 20px;
  }
  .film-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .film-copy h2 {
    font-size: 32px;
    margin-bottom: 28px;
  }
  .film-caption {
    font-size: 12px;
    bottom: 14px;
    left: 16px;
  }
  .film-play-icon {
    width: 48px;
    height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .film-play > img {
    transition: none;
  }
}

/* Video lightbox: centered player over a dark, blurred page. */
.film-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 55px 24px;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: auto;
}
.film-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.film-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: film-backdrop-in 0.25s ease-out;
}
.film-player-frame {
  width: min(100%, 1100px, calc((100dvh - 130px) * 16 / 9));
  background: #000;
  border: 4px solid #393939;
  box-shadow: 0 20px 90px #0009;
  animation: film-player-in 0.28s ease-out;
}
.film-player-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #000;
  max-height: calc(100dvh - 140px);
}
.film-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff50;
  border-radius: 50%;
  background: #202020;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.film-close:hover {
  background: #444;
}
.film-close:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}
.film-dialog .film-status {
  color: #fff;
}
.film-dialog .film-status[hidden] {
  display: none;
}
@keyframes film-player-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes film-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 760px) {
  .film-dialog {
    padding-inline: 12px;
  }
  .film-close {
    right: 14px;
    top: 14px;
  }
  .film-player-frame {
    border-width: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .film-player-frame,
  .film-dialog::backdrop {
    animation: none;
  }
}

/* Minimal dark header and full-screen navigation. */
.minimal-header {
  background: radial-gradient(ellipse at 50% 120%, #100b38 0, #030305 60%, #000 100%);
  color: #fff;
}
.minimal-header-inner {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-brand {
  display: flex;
  width: 215px;
  height: 85px;
  align-items: center;
}
.menu-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
}
.minimal-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.phone-circle {
  width: 46px;
  height: 46px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.phone-circle svg {
  width: 23px;
  height: 23px;
}
.menu-toggle {
  border: 0;
  background: none;
  width: 44px;
  height: 44px;
  padding: 9px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: white;
}
.menu-toggle span {
  height: 2px;
  width: 28px;
  background: currentColor;
  display: block;
}
.menu-toggle span:nth-child(2) {
  width: 20px;
}
.phone-circle:hover,
.menu-toggle:hover {
  color: #c8b6e1;
}
.site-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 110px 14%;
  background: #020303;
  color: #fff;
  overflow: auto;
}
.site-menu[open] {
  display: flex;
  align-items: center;
  animation: menu-enter 0.3s ease-out;
}
.site-menu::backdrop {
  background: #000;
}
.menu-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12%;
  width: 100%;
  align-items: center;
}
.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.overlay-nav a {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  padding: 3px 0;
  width: fit-content;
  transition:
    color 0.2s,
    transform 0.2s;
}
.overlay-nav a:hover {
  color: #c4abd9;
  transform: translateX(10px);
}
.menu-contact {
  font-size: 16px;
  line-height: 1.5;
}
.menu-contact h2 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px;
}
.menu-contact address {
  color: #ddd;
  font-size: 16px;
  line-height: 1.5;
}
.menu-contact > a {
  display: block;
  color: #ddd;
  overflow-wrap: anywhere;
}
.menu-contact > a:hover {
  text-decoration: underline;
}
.menu-preferences {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.menu-preferences button {
  background: none;
  border: 1px solid #777;
  border-radius: 24px;
  color: #ccc;
  padding: 9px 14px;
  font-size: 12px;
}
.menu-close {
  position: absolute;
  z-index: 2;
  right: 14%;
  top: 38px;
  width: 46px;
  height: 46px;
  border: 1px solid #bbb;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
}
.menu-close span {
  position: absolute;
  width: 22px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.menu-close span + span {
  transform: rotate(-45deg);
}
.menu-contours {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.menu-contours:before,
.menu-contours:after {
  content: "";
  position: absolute;
  width: 93%;
  height: 190%;
  left: 3%;
  top: -65%;
  border: 1px solid #602764;
  border-radius: 44%;
  transform: rotate(19deg);
}
.menu-contours:after {
  width: 74%;
  left: 14%;
  top: -55%;
  border-color: #00584d;
  transform: rotate(-17deg);
}
.site-menu :focus-visible {
  outline: 2px solid #d4b4ee;
  outline-offset: 6px;
}
@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  .minimal-header-inner {
    height: 95px;
  }
  .menu-brand {
    width: 170px;
    height: 65px;
  }
  .minimal-header-actions {
    gap: 12px;
  }
  .phone-circle {
    width: 40px;
    height: 40px;
  }
  .site-menu {
    padding: 100px 8% 45px;
  }
  .site-menu[open] {
    align-items: flex-start;
  }
  .menu-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .overlay-nav {
    gap: 9px;
  }
  .overlay-nav a {
    font-size: 36px;
  }
  .menu-close {
    right: 8%;
    top: 25px;
  }
  .menu-contact {
    padding-top: 22px;
    border-top: 1px solid #333;
  }
  .menu-preferences {
    margin-top: 22px;
  }
}
@media (max-height: 650px) and (min-width: 761px) {
  .site-menu {
    padding-top: 90px;
    padding-bottom: 35px;
  }
  .overlay-nav a {
    font-size: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu[open] {
    animation: none;
  }
  .overlay-nav a {
    transition: none;
  }
}

/* White navigation with clean horizontal rules. */
.minimal-header {
  background: #fff;
  color: #171717;
  border-bottom: 1px solid #dedede;
}
.menu-brand img {
  filter: none;
  object-position: left center;
}
.header-theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.header-theme-toggle:hover {
  background: var(--tint);
}
.header-theme-toggle svg {
  width: 24px;
  height: 24px;
}
.header-theme-toggle .theme-sun {
  display: none;
}
body.dark .header-theme-toggle .theme-moon {
  display: none;
}
body.dark .header-theme-toggle .theme-sun {
  display: block;
}
body.dark .minimal-header {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
body.dark .minimal-header .menu-toggle {
  color: var(--ink);
}
body.dark .minimal-header .menu-brand img {
  filter: grayscale(1) brightness(0) invert(1);
}
.phone-circle {
  border-color: #777;
}
.menu-toggle {
  color: #171717;
}
.phone-circle:hover,
.menu-toggle:hover {
  color: #624477;
}
.site-menu {
  background: #fff;
  color: #171717;
}
.site-menu::backdrop {
  background: #fff;
}
.menu-contours {
  display: none;
}
.overlay-nav {
  gap: 0;
  border-top: 1px solid #d6d6d6;
}
.overlay-nav a {
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid #d6d6d6;
}
.overlay-nav a:hover {
  color: #624477;
  transform: none;
}
.menu-contact address,
.menu-contact > a {
  color: #454545;
}
.menu-preferences button {
  color: #454545;
  border-color: #bbb;
}
.menu-close {
  color: #171717;
  border-color: #777;
}
.site-menu :focus-visible {
  outline-color: #624477;
}
@media (max-width: 760px) {
  .overlay-nav a {
    padding: 12px 0;
  }
  .menu-contact {
    border-top-color: #d6d6d6;
  }
}
@media (max-height: 650px) and (min-width: 761px) {
  .overlay-nav a {
    padding: 7px 0;
  }
}

/* Four-column statistics inspired by the supplied In Numbers reference. */
.numbers-section {
  padding: 65px 0 110px;
}
.numbers-section > h2 {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 22px;
}
.numbers-intro {
  font-size: 18px;
  line-height: 1.6;
  max-width: 1150px;
  margin: 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 6%;
  margin: 58px 0 0;
}
.number-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.number-item dt {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin: 22px 0 12px;
}
.number-value {
  order: -1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(66px, 7vw, 130px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0;
  font-variant-numeric: lining-nums;
}
.number-description {
  color: var(--body);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 320px;
}
@media (max-width: 1000px) {
  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 8%;
  }
}
@media (max-width: 760px) {
  .numbers-section {
    padding: 35px 0 65px;
  }
  .numbers-section > h2 {
    font-size: 21px;
  }
  .numbers-intro {
    font-size: 16px;
  }
  .numbers-grid {
    margin-top: 35px;
  }
  .number-value {
    font-size: clamp(48px, 10vw, 72px);
  }
  .number-item dt {
    font-size: 17px;
    margin-top: 16px;
  }
  .number-description {
    font-size: 15px;
  }
}

/* Matching legal-service line icons, rendered as crisp inline SVGs. */
.service-icon {
  display: block;
  width: 52px;
  height: 52px;
  margin: 3px 0 24px;
  color: var(--purple);
}
@media (max-width: 760px) {
  .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
  }
}

/* Logo-inspired silver and charcoal palette throughout the site. */
:root {
  --brand-silver: #aaa9a7;
  --brand-charcoal: #30302f;
  --purple: #555452;
  --muted-purple: #747370;
  --ink: #252524;
  --body: #555452;
  --line: #aaa9a7;
  --tint: #f3f3f2;
}
body.dark {
  --purple: #d0cfcc;
  --muted-purple: #b7b6b3;
  --ink: #f2f2f0;
  --body: #cccac7;
  --line: #757470;
  --tint: #30302e;
}
.service-icon {
  color: var(--purple);
}
h1 > span,
.eyebrow,
.text-link,
.education-paths a,
.contact-links a {
  color: var(--purple);
}
.education-paths article {
  border-top-color: var(--brand-silver);
}
.search-icon {
  border-color: var(--purple);
}
.search-icon:after {
  background: var(--purple);
}
.minimal-header,
.site-menu {
  color: var(--brand-charcoal);
}
.menu-toggle,
.menu-close {
  color: var(--brand-charcoal);
}
.phone-circle:hover,
.menu-toggle:hover,
.overlay-nav a:hover {
  color: #747370;
}
.site-menu :focus-visible {
  outline-color: #747370;
}
.film-copy h2 span:first-child {
  color: #aaa9a7;
}
.film-copy h2 span:nth-child(2) {
  color: #cfcecb;
}
.film-copy h2 span:last-child {
  color: #f5f5f3;
}
.film-contact {
  background: #f5f5f3;
  color: var(--brand-charcoal);
}
.film-contact:hover {
  background: #d0cfcc;
}

/* Prominent consultation link in the main header. */
.header-consultation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  min-height: 54px;
  border: 1px solid var(--brand-silver);
  color: var(--brand-charcoal);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.header-consultation span {
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
}
.header-consultation:hover {
  border-color: var(--brand-charcoal);
  background: #f3f3f2;
}
@media (max-width: 760px) {
  .header-consultation {
    font-size: 13px;
    padding: 10px 12px;
    min-height: 44px;
    gap: 6px;
  }
  .header-consultation span {
    font-size: 20px;
  }
  .minimal-header .menu-brand {
    width: 120px;
  }
  .minimal-header-actions {
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .minimal-header-inner {
    height: auto;
    min-height: 110px;
    padding-block: 15px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .minimal-header .menu-brand {
    width: 100px;
    height: 48px;
  }
  .minimal-header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1;
  }
  .minimal-header-actions .header-consultation {
    order: 3;
    flex-basis: 100%;
  }
}

/* Brand typography and smoked-glass fullscreen menu. */
.site-menu {
  background: rgba(8, 8, 9, 0.76);
  color: #f3f3f1;
  backdrop-filter: blur(22px) saturate(75%);
  -webkit-backdrop-filter: blur(22px) saturate(75%);
}
.site-menu::backdrop {
  background: rgba(0, 0, 0, 0.3);
}
.site-menu .overlay-nav {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.site-menu .overlay-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #f3f3f1;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.site-menu .overlay-nav a:hover {
  color: #bcbcb9;
}
.site-menu .menu-contact h2 {
  color: #f3f3f1;
}
.site-menu .menu-contact address,
.site-menu .menu-contact > a {
  color: #d0d0cd;
}
.site-menu .menu-close {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}
.site-menu .menu-close:hover {
  background: rgba(255, 255, 255, 0.14);
}
.site-menu .menu-preferences button {
  color: #e0e0dd;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.site-menu :focus-visible {
  outline-color: #ddd;
}
@media (max-width: 760px) {
  .site-menu .menu-contact {
    border-top-color: rgba(255, 255, 255, 0.2);
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-menu {
    background: rgba(8, 8, 9, 0.96);
  }
}

/* More restrained menu typography and spacing. */
.site-menu .overlay-nav a {
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.25;
  padding: 12px 0;
}
@media (max-width: 760px) {
  .site-menu .overlay-nav a {
    font-size: 28px;
    padding: 10px 0;
  }
}
@media (max-height: 650px) and (min-width: 761px) {
  .site-menu .overlay-nav a {
    font-size: 28px;
    padding: 7px 0;
  }
}

/* Keep the fullscreen menu free of divider lines. */
.site-menu .overlay-nav,
.site-menu .overlay-nav a,
.site-menu .menu-contact {
  border: 0;
}

/* Thin directional arrows and restrained Bird & Bird-inspired hover motion. */
.animated-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.link-arrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 22px;
  line-height: 1;
  vertical-align: middle;
}
.link-arrow svg {
  display: block;
  width: 30px;
  height: 20px;
}
.header-consultation .link-label {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.text-link.animated-link {
  text-decoration: none;
}
.text-link .link-label {
  background: linear-gradient(currentColor, currentColor) left bottom/0 1px no-repeat;
  transition: background-size 0.3s;
  padding-bottom: 3px;
}
.text-link:focus-visible .link-label {
  background-size: 100% 1px;
}
.header-consultation:focus-visible,
.outline-button:focus-visible {
  background: #30302f;
  color: #fff;
  border-color: #30302f;
}
.site-menu .overlay-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.site-menu .overlay-nav .link-arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.site-menu .overlay-nav a:focus-visible .link-arrow {
  opacity: 1;
  transform: none;
}
@keyframes brand-arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(7px);
  }
}
@media (hover: hover) and (pointer: fine) {
  .animated-link:hover .link-arrow,
  .site-menu .overlay-nav a:hover .link-arrow {
    animation: brand-arrow-nudge 0.5s ease-in-out;
  }
  .site-menu .overlay-nav a:hover .link-arrow {
    opacity: 1;
    transform: none;
  }
  .text-link:hover .link-label {
    background-size: 100% 1px;
  }
  .header-consultation:hover,
  .outline-button:hover {
    background: #30302f;
    color: #fff;
    border-color: #30302f;
  }
  .solid-button:hover {
    background: #62615e;
    color: #fff;
    border-color: #62615e;
  }
  .film-contact:hover {
    background: #d0cfcc;
    color: #252524;
  }
}
@media (hover: none) {
  .site-menu .overlay-nav .link-arrow {
    opacity: 0.7;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .animated-link,
  .text-link .link-label,
  .site-menu .overlay-nav .link-arrow {
    transition: none;
  }
  .animated-link:hover .link-arrow,
  .site-menu .overlay-nav a:hover .link-arrow {
    animation: none;
  }
}

/* Image-led news carousel with publication-date badges. */
.news-section .section-label {
  border-top: 1px solid var(--ink);
  border-bottom: 0;
  padding: 36px 0 0;
}
.news-section .section-label h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 28px;
}
.news-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 60px 0 32px;
}
.news-toolbar button {
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #777671;
  color: white;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.news-toolbar button:hover {
  background: #30302f;
}
.news-toolbar button:disabled {
  opacity: 0.35;
  cursor: default;
}
.news-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 24px;
}
.news-card {
  flex: 0 0 calc((100% - 80px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
.news-card-link {
  display: block;
  height: 100%;
}
.news-image {
  position: relative;
  aspect-ratio: 1.6;
  overflow: hidden;
  background: var(--tint);
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-date {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #d0cfcc;
  color: #252524;
  min-width: 76px;
  padding: 12px;
  line-height: 1.15;
  font-size: 15px;
}
.news-date strong {
  font-size: 28px;
  font-weight: 700;
  margin: 2px 0;
}
.news-card h3 {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 24px 0;
}
.news-category {
  font-size: 15px;
  color: var(--body);
  margin: 0 0 26px;
}
.news-excerpt {
  font-size: 17px;
  color: var(--body);
  line-height: 1.6;
  margin: 0 0 22px;
}
.news-read {
  display: inline-flex;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.news-read span {
  transition: transform 0.25s;
}
.news-card-link:hover .news-read span {
  transform: translateX(6px);
}
.news-card-link:hover h3 {
  color: var(--purple);
}
@media (hover: hover) {
  .news-card-link:hover img {
    transform: scale(1.04);
  }
}
@media (max-width: 1000px) {
  .news-card {
    flex-basis: calc((100% - 26px) / 2);
  }
  .news-track {
    gap: 26px;
  }
}
@media (max-width: 650px) {
  .news-card {
    flex-basis: 100%;
  }
  .news-toolbar {
    padding-top: 32px;
  }
  .news-section .section-label h2 {
    font-size: 23px;
  }
  .news-card h3 {
    font-size: 25px;
  }
  .news-image {
    aspect-ratio: 1.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-image img,
  .news-read span {
    transition: none;
  }
}

/* Photographs reveal their original colors on hover or keyboard focus. */
.firm-hero,
.founder-layout > img,
.film-play > img,
.news-image img {
  filter: grayscale(100%);
  transition:
    filter 0.45s ease,
    transform 0.4s ease;
}
@media (hover: hover) {
  .hero-image:hover .firm-hero,
  .founder-layout > img:hover,
  .film-play:hover > img,
  .news-card-link:hover .news-image img {
    filter: grayscale(0%);
  }
}
.hero-image:focus-within .firm-hero,
.founder-layout:focus-within > img,
.film-play:focus-visible > img,
.news-card-link:focus-visible .news-image img {
  filter: grayscale(0%);
}
@media (prefers-reduced-motion: reduce) {
  .firm-hero,
  .founder-layout > img,
  .film-play > img,
  .news-image img {
    transition: none;
  }
}

/* Shared centered content width across home and article pages. */
.container {
  max-width: 1200px;
}

/* Updated shared content width. */
.container {
  max-width: 1400px;
}

/* Unframed header phone and consultation links. */
.minimal-header .phone-circle,
.minimal-header .header-consultation {
  border: 0;
}

/* Soft, staggered statistics reveal with stable number widths. */
.numbers-pending .number-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.numbers-pending .number-item.number-revealed {
  opacity: 1;
  transform: none;
}
.number-value {
  font-variant-numeric: lining-nums tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .numbers-pending .number-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media print {
  .numbers-pending .number-item {
    opacity: 1;
    transform: none;
  }
}

/* Service cards without horizontal dividers. */
#services .education-paths > article {
  border-top: 0;
}

/* Three static news cards; stack naturally on smaller screens. */
.news-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  overflow: visible;
  scroll-snap-type: none;
  margin-top: 65px;
  padding-bottom: 24px;
}
.news-card {
  min-width: 0;
}
@media (max-width: 1000px) {
  .news-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}
@media (max-width: 650px) {
  .news-track {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 35px;
  }
}

/* Latest news: editorial introduction beside two browsable stories. */
.news-section {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 6%;
  padding-block: 115px 70px;
}
.news-intro {
  display: flex;
  flex-direction: column;
  padding-top: 100px;
}
.news-intro h2 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 55px;
}
.news-intro-statement {
  font-family: var(--font-heading);
  font-size: clamp(27px, 2.5vw, 38px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin: 0 0 65px;
}
.news-browse {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-bottom: 8px;
  font-size: 17px;
}
.news-browse > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 25px;
  transition: transform 0.2s;
}
.news-browse:hover > span {
  transform: translateX(4px);
}
.news-carousel {
  min-width: 0;
}
.news-section .news-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0;
  padding-bottom: 12px;
}
.news-track::-webkit-scrollbar {
  display: none;
}
.news-section .news-card {
  flex: 0 0 calc((100% - 40px) / 2);
  scroll-snap-align: start;
}
.news-section .news-image {
  aspect-ratio: 16/9;
}
.news-type {
  position: absolute;
  top: 0;
  left: 0;
  background: #cfcecb;
  color: #252524;
  padding: 6px 15px;
  font-family: var(--font-heading);
  font-size: 20px;
}
.news-section .news-card h3 {
  font-family: var(--font-sans);
  font-size: clamp(20px, 1.65vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 22px 0 28px;
}
.news-section .news-category {
  font-size: 16px;
  color: var(--ink);
  margin: 0 0 22px;
}
.news-section .news-excerpt {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 0;
}
.news-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 65px;
}
.news-controls button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  background: var(--tint);
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}
.news-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
.news-controls button:not(:disabled):hover {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 1000px) {
  .news-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .news-intro {
    padding-top: 0;
  }
  .news-intro h2 {
    margin-bottom: 25px;
  }
  .news-intro-statement {
    max-width: 620px;
    margin-bottom: 28px;
  }
  .news-browse {
    margin-top: 0;
  }
}
@media (max-width: 650px) {
  .news-section {
    padding-block: 65px 35px;
  }
  .news-section .news-track {
    gap: 24px;
  }
  .news-section .news-card {
    flex-basis: 100%;
  }
  .news-controls {
    margin-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-browse > span {
    transition: none;
  }
}

/* Full-width contact invitation. */
.contact-banner {
  background: #000;
  color: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 60px;
  padding: 110px 0;
  min-height: 440px;
  display: flex;
  align-items: center;
  scroll-margin-top: 24px;
}
.contact-banner-inner {
  width: 84%;
  max-width: 1400px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 70px;
}
.contact-banner-copy h2 {
  font-family: var(--font-sans);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0 0 20px;
}
.contact-banner-copy p {
  color: #b7b7b7;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.contact-banner-actions {
  flex-shrink: 0;
}
.contact-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 15px 23px;
  min-height: 52px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 500;
}
.contact-banner-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.contact-banner-button:hover {
  background: #e3e3e1;
}
.contact-banner-actions p {
  color: #b7b7b7;
  font-size: 14px;
  text-align: right;
  margin: 20px 0 0;
}
.contact-banner-actions p a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #666;
  text-underline-offset: 5px;
}
.contact-banner a:focus-visible {
  outline-color: #fff;
}
body:has(.contact-banner) .site-footer {
  margin-top: 0 !important;
}
@media (max-width: 760px) {
  .contact-banner {
    padding: 70px 0;
    min-height: 420px;
    margin-top: 35px;
  }
  .contact-banner-inner {
    width: calc(100% - 36px);
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .contact-banner-actions {
    padding-top: 0;
    max-width: 100%;
  }
  .contact-banner-actions p {
    text-align: left;
  }
  .contact-banner-button {
    padding-inline: 19px;
  }
}

/* Inset editorial contact panel matching the page's content margins. */
.contact-banner {
  width: 100%;
  margin: 80px 0;
  padding: 95px clamp(28px, 7vw, 140px);
  min-height: 420px;
}
.contact-banner-inner {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 45px;
}
.contact-banner-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.contact-banner-copy p {
  max-width: 900px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
  color: #e0e0de;
}
.contact-banner-actions {
  flex-shrink: 1;
}
.contact-banner-button {
  padding: 0;
  min-height: 36px;
  border-radius: 0;
  background: transparent;
  color: #fff;
  gap: 14px;
  font-size: 14px;
  font-weight: 400;
}
.contact-banner-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid #b7b7b7;
  border-radius: 50%;
  font-size: 20px;
}
.contact-banner-button:hover {
  background: transparent;
  color: #d0cfcc;
}
.contact-banner-button:hover .contact-banner-arrow {
  background: #fff;
  color: #000;
}
.contact-banner-actions p {
  text-align: left;
  margin-top: 18px;
}
@media (max-width: 760px) {
  .contact-banner {
    margin-block: 45px;
    padding: 55px 28px;
    min-height: 380px;
  }
  .contact-banner-inner {
    width: 100%;
    gap: 32px;
  }
}

/* Center arrow geometry independently of text font metrics. */
.contact-banner-arrow,
.news-browse > span {
  line-height: 1;
}
.contact-banner-arrow svg,
.news-browse > span svg {
  display: block;
  width: 20px;
  height: 20px;
}
.contact-banner-button .contact-banner-arrow svg {
  width: 20px;
  height: 20px;
}
.contact-banner-button,
.news-browse {
  align-items: center;
}

/* Header language control and Arabic reading direction. */
.language-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 9px 4px;
  min-height: 44px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.language-toggle:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
html[lang="ar"] body {
  font-family: Tahoma, Arial, sans-serif;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .introduction-statement,
html[lang="ar"] .news-intro-statement {
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}
html[dir="rtl"] .menu-brand img {
  object-position: right center;
}
html[dir="rtl"] .link-arrow svg,
html[dir="rtl"] .news-browse svg,
html[dir="rtl"] .contact-banner-arrow svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .news-track {
  direction: ltr;
}
html[dir="rtl"] .news-card {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .news-type {
  left: auto;
  right: 0;
}
html[dir="rtl"] .section-index {
  text-align: right;
}
html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .contact-banner-button[href^="mailto:"] {
  direction: rtl;
}
@media (max-width: 760px) {
  .minimal-header-actions {
    gap: 8px;
  }
  .language-toggle {
    font-size: 13px;
  }
}

/* Clean, regular Arabic lettering for the header language switch. */
.language-toggle[lang="ar"] {
  font-family: Arial, Tahoma, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}
@media (max-width: 760px) {
  .language-toggle[lang="ar"] {
    font-size: 18px;
  }
}

@font-face {
  font-family: "Alexandria";
  src: url("../assets/fonts/alexandria-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
html[lang="ar"] body {
  --font-sans: "Alexandria", Tahoma, Arial, sans-serif;
  --font-heading: "Alexandria", Tahoma, Arial, sans-serif;
  font-family: var(--font-sans);
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .introduction-statement,
html[lang="ar"] .news-intro-statement,
.language-toggle[lang="ar"] {
  font-family: "Alexandria", Tahoma, Arial, sans-serif;
}

/* Divider after the legal services section. */
#services {
  border-bottom: 1px solid var(--line);
}

/* Menu branding above the address and a minimal close control. */
.site-menu .menu-contact-logo {
  display: block;
  width: 145px;
  margin-bottom: 28px;
}
.menu-contact-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) brightness(0) invert(1);
}
.site-menu .menu-close {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.site-menu .menu-close:hover {
  background: transparent;
  opacity: 0.65;
}
.site-menu .menu-close span {
  width: 24px;
  height: 1px;
}
@media (max-width: 760px) {
  .site-menu .menu-contact-logo {
    width: 115px;
    margin-bottom: 22px;
  }
}

/* Footer brand aligned with the shared page margin. */
.footer-brand {
  display: block;
  width: 140px;
  flex-shrink: 0;
}
.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
body.dark .footer-brand img {
  filter: grayscale(1) brightness(0) invert(1);
}
.booking-footer {
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .footer-brand {
    width: 115px;
  }
}

/* Compact news link in article footers. */
.footer-news-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: inherit;
}
.footer-news-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
.footer-news-icon:hover {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 760px) {
  .footer-news-icon {
    align-self: flex-end;
  }
}

/* Website design and development credit. */
.footer-credit {
  font-size: 12px;
  line-height: 1.6;
}
.footer-credit a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom .footer-credit {
  margin-inline-start: auto;
}
@media (max-width: 760px) {
  .footer-bottom .footer-credit {
    margin-inline-start: 0;
    width: 100%;
  }
}

/* News footer link with arrow and label. */
.footer-news-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  height: auto;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  font-size: 14px;
}
.footer-news-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.footer-news-icon:hover {
  background: transparent;
  color: inherit;
}
.footer-news-icon:hover .footer-news-arrow {
  background: var(--ink);
  color: var(--paper);
}

/* Smaller footer logo. */
.footer-brand {
  width: 100px;
}
@media (max-width: 760px) {
  .footer-brand {
    width: 85px;
  }
}

/* Keep consultation contrast consistent as the header theme changes. */
body .minimal-header .header-consultation {
  background: var(--paper);
  color: var(--ink);
}
body .minimal-header .header-consultation:focus-visible {
  background: var(--ink);
  color: var(--paper);
}
@media (hover: hover) {
  body .minimal-header .header-consultation:hover {
    background: var(--ink);
    color: var(--paper);
  }
}
@media (prefers-reduced-motion: reduce) {
  .minimal-header .header-consultation {
    transition: none;
  }
  .minimal-header .header-consultation .link-arrow {
    animation: none;
  }
}

/* Clear hero hierarchy with an aligned section index. */
.hero {
  padding-top: 65px;
}
.hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: start;
  gap: 70px;
}
.hero-heading h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(44px, 4.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hero-heading h1 > span {
  display: block;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  color: var(--body);
}
.hero .section-index {
  display: block;
  width: 100%;
  padding-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.hero .section-index strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero .section-index ol {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero .section-index a {
  display: block;
  padding: 10px 0;
}
.hero-description {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.7;
  margin: 28px 0 24px;
}
.hero-actions {
  margin-bottom: 48px;
}
.hero-actions .solid-button {
  padding: 14px 20px;
  min-height: 50px;
  font-size: 14px;
}
@media (max-width: 1000px) {
  .hero-heading {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 40px;
  }
  .hero-heading h1 {
    font-size: clamp(40px, 5.5vw, 58px);
  }
}
@media (max-width: 760px) {
  .hero {
    padding-top: 38px;
  }
  .hero-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-heading h1 {
    font-size: clamp(34px, 7vw, 48px);
  }
  .hero-heading h1 > span {
    font-size: 21px;
    margin-bottom: 18px;
  }
  .hero .section-index {
    padding-top: 0;
  }
  .hero .section-index strong {
    margin-bottom: 5px;
    padding-bottom: 10px;
  }
  .hero .section-index ol {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 20px;
  }
  .hero .section-index a {
    padding: 8px 0;
    font-size: 12px;
  }
  .hero-description {
    font-size: 15px;
    margin-top: 22px;
  }
  .hero-actions {
    margin-bottom: 32px;
  }
}

/* Shared pre-footer contact section on every page. */
.shared-contact-banner {
  width: calc(100% - 32px);
  max-width: none;
  margin: 70px auto 0;
  padding: 95px clamp(28px, 10vw, 180px);
  background: #000;
  color: #fff;
  min-height: 420px;
}
.shared-contact-banner .contact-banner-inner {
  max-width: 1200px;
  margin-inline: auto;
}
.shared-contact-banner .contact-banner-copy h2 {
  font-weight: 400;
  color: #fff;
  margin-top: 0;
}
.shared-contact-banner .contact-banner-copy p {
  max-width: none;
}
.shared-contact-banner .contact-banner-actions p {
  color: #b7b7b7;
}
.shared-contact-banner + .site-footer {
  margin-top: 0 !important;
}
@media (max-width: 760px) {
  .shared-contact-banner {
    padding: 55px 28px;
    min-height: 380px;
    margin-top: 45px;
  }
}

/* Home banner follows the full-width About Us banner layout. */
.hero .hero-heading {
  display: block;
  width: 100%;
}
.hero .hero-heading h1 {
  max-width: none;
  width: 100%;
}
.hero .hero-image {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}
.hero .hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Place the home banner immediately below the header. */
#main > .hero-image {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  aspect-ratio: 2.5;
}
#main > .hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  #main > .hero-image {
    aspect-ratio: 1.6;
  }
}

/* Full-image home banner with text layered over the photograph. */
#main > .hero {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: clamp(620px, 80vh, 950px);
  padding: clamp(70px, 9vw, 140px) max(8vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
#main > .hero .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  z-index: -2;
}
#main > .hero .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#main > .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.38) 65%,
    rgba(0, 0, 0, 0.18)
  );
}
#main > .hero .hero-heading {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
#main > .hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 90px);
  line-height: 1.12;
}
#main > .hero h1 > span {
  color: #fff;
}
#main > .hero .hero-description {
  color: #f0f0ef;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  font-size: clamp(16px, 1.6vw, 22px);
}
#main > .hero .hero-actions {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
#main > .hero .solid-button {
  background: #fff;
  border-color: #fff;
  color: #161616;
}
@media (max-width: 760px) {
  #main > .hero {
    min-height: 620px;
    padding: 65px 28px;
  }
  #main > .hero h1 {
    font-size: clamp(36px, 7.5vw, 56px);
  }
  #main > .hero .hero-description br {
    display: none;
  }
}

/* Compact home banner, approximately 180px tall. */
#main > .hero {
  min-height: 180px;
  height: 180px;
  padding: 16px max(8vw, 28px);
  gap: 8px;
}
#main > .hero h1 {
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.05;
}
#main > .hero h1 > span {
  font-size: 14px;
  margin-bottom: 5px;
}
#main > .hero h1 br {
  display: none;
}
#main > .hero .hero-description {
  font-size: 13px;
  line-height: 1.4;
  margin: 0 auto;
}
#main > .hero .hero-description br {
  display: none;
}
#main > .hero .solid-button {
  min-height: 30px;
  padding: 5px 12px;
  font-size: 12px;
}
@media (max-width: 760px) {
  #main > .hero {
    min-height: 180px;
    height: 180px;
    padding: 14px 24px;
    gap: 7px;
  }
  #main > .hero h1 {
    font-size: clamp(22px, 4.8vw, 32px);
  }
  #main > .hero .hero-description {
    font-size: 12px;
  }
  #main > .hero .solid-button {
    min-height: 28px;
  }
}

/* Home banner height adjustment. */
#main > .hero {
  height: 400px;
  min-height: 400px;
  padding: 40px max(8vw, 28px);
  gap: 18px;
}
#main > .hero h1 {
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.1;
}
#main > .hero h1 > span {
  font-size: clamp(16px, 2vw, 25px);
  margin-bottom: 12px;
}
#main > .hero .hero-description {
  font-size: clamp(14px, 1.5vw, 19px);
  line-height: 1.5;
}
#main > .hero .solid-button {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}
@media (max-width: 760px) {
  #main > .hero {
    height: 400px;
    min-height: 400px;
    padding: 30px 24px;
    gap: 16px;
  }
  #main > .hero h1 {
    font-size: clamp(30px, 6vw, 44px);
  }
}

/* Home banner height. */
#main > .hero {
  height: 600px;
  min-height: 600px;
}

/* Align all banner copy with the shared page content margin. */
#main > .hero {
  padding-inline: 0;
  align-items: stretch;
}
#main > .hero .hero-heading,
#main > .hero .hero-description,
#main > .hero .hero-actions {
  width: 84%;
  max-width: 1400px;
  margin-inline: auto;
  text-align: left;
  min-width: 0;
}
#main > .hero .hero-heading h1 {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
}
#main > .hero .hero-actions {
  justify-content: flex-start;
}
@media (max-width: 760px) {
  #main > .hero {
    padding-inline: 0;
  }
  #main > .hero .hero-heading,
  #main > .hero .hero-description,
  #main > .hero .hero-actions {
    width: calc(100% - 36px);
  }
}

/* Align shared contact content with the header and footer margins. */
.shared-contact-banner {
  padding-inline: 0;
}
.shared-contact-banner .contact-banner-inner {
  width: 84%;
  max-width: 1400px;
  margin-inline: auto;
  align-items: flex-start;
  text-align: left;
}
.shared-contact-banner .contact-banner-copy,
.shared-contact-banner .contact-banner-actions {
  min-width: 0;
  max-width: 100%;
}
.shared-contact-banner .contact-banner-copy h2,
.shared-contact-banner .contact-banner-copy p {
  overflow-wrap: break-word;
}
@media (max-width: 760px) {
  .shared-contact-banner {
    padding-inline: 0;
  }
  .shared-contact-banner .contact-banner-inner {
    width: calc(100% - 36px);
  }
}

/* Regular-weight statistics. */
.numbers-section .number-value {
  font-weight: 400;
}

/* Regular weight for the news introduction statement. */
.news-intro .news-intro-statement {
  font-weight: 400;
}

/* Prominent phone number and WhatsApp shortcut in the shared contact section. */
.shared-contact-banner .contact-direct {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.contact-phone {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-phone > span {
  font-size: 13px;
  color: #b7b7b7;
}
.shared-contact-banner .contact-phone > a {
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.3;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.shared-contact-banner .contact-phone > a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.contact-whatsapp {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  font-size: 15px;
  min-height: 48px;
}
.contact-whatsapp svg {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: #25d366;
}
.contact-whatsapp:hover span {
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 760px) {
  .shared-contact-banner .contact-direct {
    gap: 22px;
    margin-top: 22px;
  }
  .shared-contact-banner .contact-phone > a {
    font-size: 28px;
  }
}

/* Pill-shaped WhatsApp call to action matching the supplied reference. */
.shared-contact-banner .contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 30px;
  background: #000;
  color: #fff;
  border: 1px solid #444;
  border-radius: 999px;
  min-height: 74px;
  font-size: clamp(16px, 1.5vw, 23px);
  line-height: 1.35;
  max-width: 100%;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.shared-contact-banner .contact-whatsapp svg {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  color: #25d366;
}
.shared-contact-banner .contact-whatsapp:hover {
  background: #151515;
  border-color: #25d366;
}
.shared-contact-banner .contact-whatsapp:hover span {
  text-decoration: none;
}
@media (max-width: 760px) {
  .shared-contact-banner .contact-whatsapp {
    padding: 15px 20px;
    gap: 12px;
    font-size: 16px;
    min-height: 66px;
    text-align: left;
  }
  .shared-contact-banner .contact-whatsapp svg {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

/* Compact WhatsApp button across all pages. */
.shared-contact-banner .contact-whatsapp {
  min-height: 52px;
  padding: 11px 20px;
  gap: 11px;
  font-size: 16px;
}
.shared-contact-banner .contact-whatsapp svg {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}
@media (max-width: 760px) {
  .shared-contact-banner .contact-whatsapp {
    min-height: 48px;
    padding: 10px 16px;
    font-size: 14px;
    gap: 9px;
  }
  .shared-contact-banner .contact-whatsapp svg {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

/* Fit the complete seven-item navigation comfortably within the menu. */
.overlay-nav {
  gap: clamp(8px, 1.5vh, 18px);
}
.overlay-nav a {
  font-size: clamp(28px, 3.4vw, 56px);
  font-weight: 400;
}
.overlay-nav a[aria-current="page"] {
  color: #c4abd9;
}
@media (max-height: 700px) {
  .overlay-nav {
    gap: 6px;
  }
  .overlay-nav a {
    font-size: clamp(25px, 4vh, 38px);
  }
}

/* Consistent understated text tabs throughout the website. */
body .purpose-tablist,
body .team-category-tabs {
  display: flex;
  gap: 32px;
  border: 0;
  align-items: flex-start;
}
body .purpose-tablist [role="tab"],
body .team-category-tabs [role="tab"] {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  color: #737373;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  padding: 0 0 8px;
  white-space: nowrap;
}
body .purpose-tablist [role="tab"][aria-selected="true"],
body .team-category-tabs [role="tab"][aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
body .team-category-tabs [role="tab"] > span {
  display: none;
}
body .purpose-tablist [role="tab"]:hover,
body .team-category-tabs [role="tab"]:hover {
  color: var(--ink);
}
@media (max-width: 760px) {
  body .purpose-tablist,
  body .team-category-tabs {
    gap: 24px;
  }
  body .purpose-tablist [role="tab"],
  body .team-category-tabs [role="tab"] {
    font-size: 16px;
  }
}

/* Shared social icons: monochrome, fine borders, and restrained motion. */
.footer-social-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid #bbb;
  border-radius: 50%;
  color: var(--body);
  background: transparent;
  transition:
    color 0.35s,
    border-color 0.35s,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-social-icons svg {
  display: block;
  width: 21px;
  height: 21px;
}
@media (hover: hover) {
  .footer-social-icons a:hover {
    color: var(--ink);
    border-color: var(--ink);
    transform: translateY(-2px);
  }
}
@media (max-width: 650px) {
  .footer-social-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-social-icons a {
    transition: none;
  }
  .footer-social-icons a:hover {
    transform: none;
  }
}
.footer-social-icons {
  flex-wrap: wrap;
}

/* Site-wide restrained scrolling and shadow-free surfaces. */
html {
  scroll-behavior: smooth;
}
body *,
body *::before,
body *::after {
  box-shadow: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

/* Blog photography reveals its original colour on hover or keyboard focus. */
body .blog-image img,
body .blog-single-hero > img,
body .blog-related-grid img,
body .news-image img,
body .article-figure img,
body .related-stories img {
  filter: grayscale(1);
  transition:
    filter 0.7s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  body .blog-card:hover .blog-image img,
  .blog-single-hero:hover > img,
  .blog-related-grid > a:hover img,
  body .news-card:hover .news-image img,
  .article-figure:hover img,
  .related-stories a:hover img {
    filter: grayscale(0);
  }
}
body .blog-card:focus-within .blog-image img,
.blog-related-grid > a:focus-visible img,
body .news-card:focus-within .news-image img,
.related-stories a:focus-visible img {
  filter: grayscale(0);
}
@media (prefers-reduced-motion: reduce) {
  body .blog-image img,
  body .blog-single-hero > img,
  body .blog-related-grid img,
  body .news-image img,
  body .article-figure img,
  body .related-stories img {
    transition: none;
  }
}

/* Mirror the full-width video section's positioning in Arabic. */
html[dir="rtl"] .film-section {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
html[dir="rtl"] .film-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
html[dir="rtl"] .film-copy {
  min-width: 0;
  text-align: right;
}
html[dir="rtl"] .film-copy h2 {
  letter-spacing: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
}
html[dir="rtl"] .film-play,
html[dir="rtl"] .film-caption {
  text-align: right;
}
@media (max-width: 760px) {
  html[dir="rtl"] .film-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  html[dir="rtl"] .film-copy h2 {
    font-size: clamp(25px, 6vw, 32px);
  }
}

/* Consistent language controls and right-to-left alignment on inner pages. */
html[dir="rtl"] .profile-summary,
html[dir="rtl"] .profile-content,
html[dir="rtl"] .profile-sidebar,
html[dir="rtl"] .blog-single-body,
html[dir="rtl"] .contact-information,
html[dir="rtl"] .inquiry-panel {
  text-align: right;
}
html[dir="rtl"] .blog-date-badge {
  left: auto;
  right: 0;
}
html[dir="rtl"] .profile-pagination > a:last-child {
  text-align: left;
}
html[dir="rtl"] .profile-tags {
  direction: rtl;
}
html[dir="rtl"] .inquiry-field input[type="email"],
html[dir="rtl"] .inquiry-field input[type="tel"] {
  direction: ltr;
  text-align: right;
}
@media (max-width: 650px) {
  .minimal-header-actions {
    gap: 10px;
  }
  .minimal-header-actions .language-toggle {
    font-size: 12px;
    padding-inline: 4px;
  }
}

/* Rounded banner actions with consistent theme colors and spacing. */
:is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu) .banner-cta {
  --cta-surface: #f5f3ee;
  --cta-ink: #292826;
  --cta-edge: #d4d0c8;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  max-width: 100%;
  margin-top: 0;
  padding: 14px 24px;
  border: 1px solid var(--cta-edge);
  border-radius: 999px;
  background: var(--cta-surface);
  color: var(--cta-ink);
  font-family: var(--font-sans, Arial, sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.015em;
  text-decoration: none;
  text-align: start;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

:is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu) .banner-cta:hover {
  --cta-surface: #e8e4db;
  --cta-edge: #b7b0a3;
  color: var(--cta-ink);
}
:is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu)
  .banner-cta:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -5px;
}
:is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu) .banner-cta svg {
  display: block;
  width: 22px;
  height: 20px;
  flex: 0 0 22px;
  color: currentColor;
}
:is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu)
  .banner-cta
  .link-arrow,
:is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu)
  .banner-cta
  .contact-banner-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 24px;
  padding-inline-start: 18px;
  border-inline-start: 1px solid var(--cta-edge);
  border-radius: 0;
  background: transparent;
  color: inherit;
  transition: transform 220ms ease;
}
:is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu)
  .banner-cta:hover
  .link-arrow {
  animation: none;
  transform: translateX(3px);
}
html[dir="rtl"]
  :is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu)
  .banner-cta:hover
  .link-arrow {
  transform: translateX(-3px);
}
:is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu) .banner-cta span {
  text-decoration: none;
}
.shared-contact-banner .banner-cta.contact-whatsapp {
  gap: 16px;
}
.shared-contact-banner .banner-cta.contact-whatsapp > svg {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}
@media (max-width: 760px) {
  :is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu) .banner-cta {
    min-height: 48px;
    padding: 12px 20px;
    gap: 18px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu) .banner-cta,
  :is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu)
    .banner-cta
    .link-arrow {
    transition: none;
  }
  :is(#main, .shared-contact-banner, .contact-banner, .film-section, .site-menu)
    .banner-cta:hover
    .link-arrow {
    transform: none;
  }
}

/* Consistent CTA height; the sticky consultation tab is intentionally separate. */
:root {
  --cta-height: 52px;
}
:is(body, #main)
  :is(
    .banner-cta,
    .solid-button,
    .outline-button,
    .header-consultation,
    .inquiry-send,
    .booking-primary,
    .booking-back
  ) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--cta-height);
  min-height: var(--cta-height);
  padding-block: 8px;
}

/* Opaque black menu with grey resting text and white interactive states. */
body .site-menu {
  background: #000;
  color: #bdbdbd;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body .site-menu::backdrop {
  background: #000;
}
body .site-menu .menu-contours {
  display: none;
}
body .site-menu .overlay-nav a,
body .site-menu .overlay-nav a[aria-current="page"],
body .site-menu .menu-contact h2,
body .site-menu .menu-contact address,
body .site-menu .menu-contact > a,
body .site-menu .menu-preferences button,
body .site-menu .menu-close {
  color: #bdbdbd;
}
body .site-menu .overlay-nav a,
body .site-menu .menu-contact > a,
body .site-menu .menu-preferences button,
body .site-menu .menu-close {
  transition:
    color 200ms ease,
    border-color 200ms ease;
}
body .site-menu .overlay-nav a:hover,
body .site-menu .overlay-nav a:focus-visible,
body .site-menu .menu-contact > a:hover,
body .site-menu .menu-contact > a:focus-visible,
body .site-menu .menu-preferences button:hover,
body .site-menu .menu-preferences button:focus-visible,
body .site-menu .menu-close:hover,
body .site-menu .menu-close:focus-visible {
  color: #fff;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  body .site-menu .overlay-nav a,
  body .site-menu .menu-contact > a,
  body .site-menu .menu-preferences button,
  body .site-menu .menu-close {
    transition: none;
  }
}

/* A centered, proportionate menu composition. */
body .site-menu {
  padding: 100px 8% 70px;
}
body .site-menu .menu-layout {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
}
body .site-menu .overlay-nav {
  gap: 10px;
}
body .site-menu .overlay-nav a {
  font-size: clamp(32px, 2.8vw, 44px);
  line-height: 1.25;
  padding-block: 8px;
  font-weight: 400;
}
body .site-menu .menu-contact {
  font-size: 17px;
  line-height: 1.6;
  min-width: 0;
  padding-top: 0;
}
body .site-menu .menu-contact-logo {
  width: 150px;
  max-width: 100%;
  margin-bottom: 28px;
}
body .site-menu .menu-contact h2 {
  font-size: 12px;
  letter-spacing: 0.14em;
  margin: 0 0 20px;
}
body .site-menu .menu-contact address {
  font-size: inherit;
  line-height: 1.65;
  margin: 0 0 24px;
}
body .site-menu .menu-contact > a:not(.menu-contact-logo) {
  font-size: inherit;
  line-height: 1.6;
}
body .site-menu .menu-contact > a[href^="tel:"] {
  margin-top: 20px;
}
body .site-menu .menu-contact > a[href^="mailto:"] {
  margin-top: 3px;
}
body .site-menu .menu-close {
  right: 8%;
  top: 30px;
}
@media (max-width: 1000px) and (min-width: 761px) {
  body .site-menu .menu-layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  body .site-menu .menu-contact {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  body .site-menu {
    padding: 95px 8% 45px;
  }
  body .site-menu .menu-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }
  body .site-menu .overlay-nav {
    gap: 5px;
  }
  body .site-menu .overlay-nav a {
    font-size: 30px;
    padding-block: 6px;
  }
  body .site-menu .menu-contact {
    font-size: 15px;
  }
  body .site-menu .menu-contact-logo {
    width: 130px;
    margin-bottom: 22px;
  }
}
@media (max-height: 700px) and (min-width: 761px) {
  body .site-menu {
    padding-block: 85px 35px;
  }
  body .site-menu .overlay-nav {
    gap: 4px;
  }
  body .site-menu .overlay-nav a {
    font-size: 30px;
    padding-block: 5px;
  }
  body .site-menu .menu-contact-logo {
    width: 125px;
    margin-bottom: 18px;
  }
  body .site-menu .menu-contact {
    font-size: 15px;
  }
  body .site-menu .menu-contact address {
    margin-bottom: 16px;
  }
}

/* Retain preference hooks for the header switch without menu controls. */
body .site-menu .menu-preferences[hidden] {
  display: none;
}

/* Reference menu: logo above a separate, lower contact group. */
body .site-menu .menu-layout {
  max-width: 1200px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: clamp(80px, 12vw, 220px);
  align-items: stretch;
}
body .site-menu .overlay-nav {
  gap: 14px;
}
body .site-menu .overlay-nav a {
  font-size: clamp(32px, 2.8vw, 44px);
  padding-block: 8px;
}
body .site-menu .menu-contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding-block: 0;
}
body .site-menu .menu-contact-logo {
  align-self: flex-end;
  width: 150px;
  margin: 0;
}
body .site-menu .menu-contact-details {
  margin-top: 80px;
  font-size: 16px;
  line-height: 1.6;
}
body .site-menu .menu-contact-details > a {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: #bdbdbd;
  overflow-wrap: anywhere;
  transition: color 200ms ease;
}
body .site-menu .menu-contact-details > a:hover,
body .site-menu .menu-contact-details > a:focus-visible {
  color: #fff;
}
body .site-menu .menu-contact-details .menu-book-consultation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #777;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.4;
}
body .site-menu .menu-contact-details .menu-book-consultation:hover {
  border-color: #fff;
}
body .site-menu .menu-contact-details > a[href^="mailto:"] {
  margin-top: 4px;
}
body .site-menu .menu-close {
  border: 0;
  background: transparent;
}
@media (max-width: 1000px) and (min-width: 761px) {
  body .site-menu .menu-layout {
    gap: 70px;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  body .site-menu .menu-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  body .site-menu .overlay-nav {
    gap: 5px;
  }
  body .site-menu .overlay-nav a {
    font-size: 30px;
    padding-block: 6px;
  }
  body .site-menu .menu-contact {
    gap: 26px;
  }
  body .site-menu .menu-contact-logo {
    align-self: flex-start;
    width: 130px;
  }
  body .site-menu .menu-contact-details {
    margin-top: 0;
    font-size: 15px;
  }
}
@media (max-height: 700px) and (min-width: 761px) {
  body .site-menu .overlay-nav {
    gap: 4px;
  }
  body .site-menu .overlay-nav a {
    font-size: 30px;
    padding-block: 5px;
  }
  body .site-menu .menu-contact-logo {
    width: 125px;
  }
  body .site-menu .menu-contact-details {
    margin-top: 35px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .site-menu .menu-contact-details > a {
    transition: none;
  }
}

/* Align the lower contact group to the logo's right edge. */
body .site-menu .menu-contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
@media (max-width: 760px) {
  body .site-menu .menu-contact-logo {
    align-self: flex-end;
  }
}

/* Clearer menu contact details and an unboxed consultation action. */
body .site-menu .menu-contact-details > a[href^="tel:"],
body .site-menu .menu-contact-details > a[href^="mailto:"] {
  font-size: clamp(20px, 1.5vw, 25px);
  line-height: 1.5;
}
body .site-menu .menu-contact-details .menu-book-consultation {
  border: 0;
  padding: 8px 0;
  min-height: 44px;
  gap: 22px;
  font-size: 17px;
  margin-bottom: 18px;
}
body .site-menu .menu-book-consultation > .link-arrow {
  display: inline-block;
  font-size: 23px;
  line-height: 1;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
body .site-menu .menu-book-consultation:hover > .link-arrow,
body .site-menu .menu-book-consultation:focus-visible > .link-arrow {
  transform: translate(4px, -4px);
}
@media (max-width: 760px) {
  body .site-menu .menu-contact-details > a[href^="tel:"],
  body .site-menu .menu-contact-details > a[href^="mailto:"] {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .site-menu .menu-book-consultation > .link-arrow {
    transition: none;
  }
  body .site-menu .menu-book-consultation:hover > .link-arrow,
  body .site-menu .menu-book-consultation:focus-visible > .link-arrow {
    transform: none;
  }
}

/* Larger footer section headings. */
.site-footer .footer-columns h2 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 22px;
}
@media (max-width: 760px) {
  .site-footer .footer-columns h2 {
    font-size: 20px;
    margin-bottom: 18px;
  }
}
