@font-face {
  font-family: Inter;
  src: url("type/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Tajawal;
  src: url("type/tajawal-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Tajawal;
  src: url("type/tajawal-medium.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: Tajawal;
  src: url("type/tajawal-bold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("type/InstrumentSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("type/InstrumentSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --ink: #22332b;
  --soft: #586158;
  --brass: #b8975a;
  --line: #c9c9bb;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --gutter: clamp(20px, 5.2vw, 90px);
  --ease: cubic-bezier(0.22, 0.72, 0.22, 1);
  scroll-behavior: smooth;
  scroll-padding-block-start: 92px;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure,
address {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
:is(h1, h2) em {
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent;
  padding: 0;
}
button,
summary {
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
}
[hidden],
html:not([lang="ar"]) .ar,
html[lang="ar"] .en {
  display: none !important;
}
:focus-visible {
  outline: 2px solid #9e6b26;
  outline-offset: 4px;
}
.office :focus-visible {
  outline-color: #eac482;
}
::selection {
  background: #d1bb8c;
  color: #101a16;
}

.shell {
  width: min(1550px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.anchor-alias {
  display: block;
  height: 0;
}
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 10;
  inset-block-start: 8px;
  inset-inline-start: 12px;
  padding: 12px 18px;
  background: white;
  color: #222;
}

.eyebrow,
.ordinal,
figcaption {
  font: 500 11px/1.45 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.105em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.arrow,
.back-arrow {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-weight: 400;
  transition: translate 0.24s var(--ease);
}
a:hover .arrow {
  translate: 2px -2px;
}
.underlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  line-height: 1.25;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--ink);
  color: #fffaf0;
  padding: 14px 20px;
  min-height: 50px;
  font-size: 14px;
}
.primary-link:hover {
  background: #30483a;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  width: fit-content;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #8a947e;
}
.inline-link:hover {
  text-decoration-color: currentColor;
}

.site-head {
  background: var(--paper);
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}
.mast {
  min-height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.wordmark {
  display: grid;
  gap: 4px;
}
.wordmark b {
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.155em;
  font-weight: 640;
}
.wordmark small {
  font: 500 8px/1.15 var(--sans);
  letter-spacing: 0.13em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 39px);
  font-size: 14px;
}
.site-nav a,
.language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}
.site-nav a:hover,
.language:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-divider {
  height: 19px;
  width: 1px;
  background: currentColor;
  opacity: 0.3;
}
.language {
  font:
    700 16px/1 Tajawal,
    Inter,
    sans-serif;
  min-width: 44px;
}

.court-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 5%;
  padding-block: clamp(22px, 2.7vw, 49px) clamp(40px, 4.1vw, 74px);
}
.court-copy {
  padding-block: 15px 30px;
}
.court-copy .eyebrow {
  color: #586457;
}
.court-title {
  font: 400 clamp(75px, 8.1vw, 137px) / 0.92 var(--serif);
  letter-spacing: -0.045em;
  margin-block: clamp(26px, 3.3vw, 49px) 22px;
}
.court-title em,
.court-services h2 em {
  color: #576b51;
}
.court-copy .lead {
  max-width: 35ch;
  font-size: clamp(15px, 1.2vw, 19px);
}
.court-actions {
  display: flex;
  gap: clamp(17px, 2.1vw, 35px);
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.court-figure {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.photo-trigger {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: zoom-in;
  background: #ded8c9;
  isolation: isolate;
}
.photo-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.75s var(--ease);
}
.photo-trigger:is(:hover, :focus-visible) img {
  scale: 1.025;
}
.court-window {
  height: clamp(440px, 39vw, 650px);
}
.court-image {
  object-position: 50% 62%;
}
.expand-icon {
  display: grid;
  place-items: center;
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(248, 246, 236, 0.94);
  font:
    21px/1 Arial,
    sans-serif;
  box-shadow: 0 0 0 1px #3333;
}
figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.075em;
}
.plate-caption {
  padding-top: 12px;
  align-items: baseline;
  color: #60675d;
  gap: 16px;
}
.plate-name {
  color: var(--ink);
  display: flex;
  gap: 11px;
  align-items: baseline;
}
.plate-number {
  color: #6e7466;
}

.court-services {
  padding-block: clamp(61px, 6.5vw, 108px);
  border-top: 1px solid var(--line);
  background: #eeebe1;
}
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 10%;
}
.court-services h2 {
  font: 400 clamp(64px, 6.1vw, 101px) / 0.93 var(--serif);
  letter-spacing: -0.035em;
  margin-block: 24px 20px;
}
.court-services .body-copy {
  max-width: 32ch;
}
.service-row {
  border-top: 1px solid #b7b9ab;
}
.service-row:last-child {
  border-bottom: 1px solid #b7b9ab;
}
.privacy summary::-webkit-details-marker,
.service-row summary::-webkit-details-marker {
  display: none;
}
.service-row summary {
  list-style: none;
  display: flex;
  gap: clamp(11px, 2.1vw, 34px);
  align-items: center;
  padding-block: 20px;
}
.service-row h3 {
  flex: 1;
  font: 400 clamp(25px, 2.8vw, 46px) / 1.07 var(--serif);
  letter-spacing: -0.025em;
}
.ordinal {
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}
.plus {
  position: relative;
  height: 16px;
  width: 16px;
  flex: none;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 1px;
  height: 1px;
  width: 14px;
  background: currentColor;
}
.plus::after {
  transform: rotate(90deg);
  transition: transform 0.28s var(--ease);
}
.service-row[open] .plus::after {
  transform: rotate(0);
}
.row-description {
  padding: 0 25px 16px clamp(34px, 3.6vw, 59px);
  color: var(--soft);
}
.row-description p {
  max-width: 49ch;
}
.brief-prompt {
  margin-top: 14px;
}
.brief-prompt b {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
}
.row-description .inline-link {
  margin-top: 4px;
  color: var(--ink);
}

.court-folio {
  padding-block: clamp(64px, 8vw, 130px);
}
.folio-heading {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 10%;
  align-items: end;
}
.folio-heading h2 {
  margin-top: 19px;
  font: 400 clamp(49px, 5.5vw, 90px) / 0.98 var(--serif);
  letter-spacing: -0.032em;
}
.folio-heading h2 em {
  color: #586a51;
}
.folio-heading .body-copy {
  max-width: 39ch;
}
.folio-spread {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 9%;
  margin-top: clamp(27px, 3.6vw, 60px);
}
.folio-1 .folio-image {
  aspect-ratio: 0.83;
}
.folio-2 {
  margin-top: clamp(40px, 7.7vw, 124px);
}
.folio-2 .folio-image {
  aspect-ratio: 1.38;
}
.folio-card figcaption {
  display: block;
}
.folio-card figcaption > span:last-child {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font: 400 14px/1.45 var(--sans);
  max-width: 49ch;
  margin-top: 5px;
}

.office {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(65px, 8vw, 135px);
}
.office-grid {
  display: grid;
  grid-template-columns: 1fr 0.83fr;
  gap: 8%;
  align-items: center;
}
.office h2 {
  font: 400 clamp(65px, 8vw, 130px) / 0.9 var(--serif);
  letter-spacing: -0.034em;
  margin-top: 22px;
}
.office h2 em {
  color: #e2d8c0;
}
.office-details {
  display: grid;
  align-content: start;
}
.office-subject {
  margin-bottom: 12px;
  font-size: 14px;
  color: #ede7d8;
}
.office-subject > span[aria-hidden] {
  padding-inline: 4px;
}
.phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: clamp(24px, 3vw, 47px);
  line-height: 1.3;
  letter-spacing: -0.045em;
  border-bottom: 1px solid #849085;
  padding-bottom: 14px;
}
.phone .arrow {
  font-size: 0.8em;
}
address {
  font-style: normal;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.8;
}

.site-foot {
  padding-block: 29px;
  font-size: 12px;
}
.footer-line,
.foot-legal {
  display: flex;
  align-items: center;
}
.footer-line {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-line > a,
.privacy summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-line > a {
  gap: 8px;
}
.foot-legal {
  gap: 10px;
}
.foot-legal .mark {
  width: 25px;
  height: 25px;
}
.registration {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--soft);
}
.privacy {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.privacy summary {
  gap: 8px;
  list-style: none;
}
.privacy summary::after {
  content: "+";
}
.privacy[open] summary::after {
  content: "−";
}
.privacy-body {
  max-width: 72ch;
  font-size: 14px;
}
.privacy-body p {
  margin-block: 0 13px;
}

.folio-viewer {
  color: #f5f0e5;
  background: #18221d;
  padding: 0;
  border: 1px solid #4d584c;
  width: min(1140px, 94vw);
  max-width: 96vw;
  max-height: 94dvh;
  margin: auto;
  overscroll-behavior: contain;
}
.folio-viewer::backdrop {
  background: rgba(12, 18, 14, 0.84);
}
html:has(.folio-viewer[open]) {
  overflow: hidden;
}
.viewer-bar,
.viewer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: clamp(14px, 2vw, 30px);
}
.viewer-bar {
  min-height: 48px;
  border-bottom: 1px solid #4d584c;
  font-size: 13px;
}
.viewer-close,
.viewer-controls button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}
.viewer-close > span:last-child {
  font:
    22px/1 Arial,
    sans-serif;
}
.viewer-image {
  height: min(60dvh, 640px);
  background: #101712;
}
.viewer-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.viewer-plates {
  touch-action: pan-y pinch-zoom;
}
.viewer-plates figcaption {
  padding: 12px clamp(14px, 2vw, 30px);
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.viewer-plates figcaption strong {
  font: 400 clamp(24px, 2.15vw, 37px) / 1.15 var(--serif);
  text-transform: none;
  letter-spacing: normal;
}
.viewer-plates figcaption > span {
  font: 400 14px/1.55 var(--sans);
  color: #d5d5c6;
  text-transform: none;
  letter-spacing: normal;
}
.viewer-controls {
  min-height: 44px;
  border-top: 1px solid #4d584c;
}
.viewer-controls button:hover,
.viewer-close:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.viewer-index {
  font: 500 12px/1.4 var(--mono);
}
.folio-viewer :focus-visible {
  outline-color: #e6c88d;
  outline-offset: 1px;
}

html[lang="ar"] {
  --sans: Tajawal, Arial, sans-serif;
  --serif: var(--sans);
}
html[lang="ar"] body {
  line-height: 1.7;
}
html[lang="ar"] :is(h1, h2, h3, p, small, b, em, button, a, figcaption, .eyebrow, .ordinal) {
  letter-spacing: normal;
}
html[lang="ar"] :is(h1, h2) em {
  font-style: normal;
}
html[lang="ar"] .ordinal {
  font-family: var(--sans);
}
html[lang="ar"] :is(.eyebrow, figcaption) {
  font: 500 12px/1.6 var(--sans);
  letter-spacing: 0;
}
html[lang="ar"] :is(.court-copy .lead, .body-copy, .row-description) {
  line-height: 1.7;
}
html[lang="ar"] .wordmark small {
  font-size: 10px;
  line-height: 1.2;
}
html[lang="ar"] .wordmark b {
  font-weight: 700;
}
html[lang="ar"] .language {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
}
html[lang="ar"] :is(.arrow, .back-arrow) {
  scale: -1 1;
}
html[lang="ar"] .phone bdi {
  font-family: Inter, Arial, sans-serif;
}
html[lang="ar"] .court-title {
  font: 700 clamp(43px, 5.05vw, 79px) / 1.3 var(--serif);
}
html[lang="ar"] :is(.court-services h2, .office h2, .folio-heading h2) {
  font: 400 clamp(36px, 4vw, 64px) / 1.27 var(--serif);
}
html[lang="ar"] .service-row h3 {
  font: 500 clamp(22px, 2.05vw, 32px) / 1.35 var(--sans);
}
html[lang="ar"] .viewer-index {
  font: 500 13px/1.4 var(--sans);
  letter-spacing: normal;
}
html[lang="ar"] .plate-caption > span:last-child,
html[lang="ar"] .viewer-plates figcaption > span {
  font: 400 14px/1.6 var(--sans);
}
html[lang="ar"] .court-figure .plate-caption > span:last-child {
  font: 500 12px/1.6 var(--sans);
}
html[lang="ar"] .viewer-plates figcaption strong {
  font: 400 clamp(22px, 1.9vw, 31px) / 1.3 var(--serif);
}

@media (min-width: 1750px) {
  .court-window {
    height: 690px;
  }
}

@media (max-width: 950px) {
  :root {
    --gutter: clamp(20px, 4.2vw, 45px);
  }
  .court-title {
    font-size: clamp(70px, 8.3vw, 90px);
  }
  .court-copy .eyebrow {
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  .site-nav .nav-extra {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 20px;
    scroll-padding-block-start: 76px;
  }
  .mast {
    min-height: 64px;
    gap: 7px;
  }
  .brand,
  .wordmark {
    gap: 3px;
  }
  .mark {
    width: 29px;
    height: 29px;
  }
  .wordmark b {
    font-size: 13px;
  }
  .wordmark small {
    font-size: 6.5px;
  }
  .site-nav {
    gap: 12px;
    font-size: 12px;
  }
  .site-nav a {
    gap: 3px;
  }
  .site-nav .arrow,
  .nav-divider {
    display: none;
  }
  .language {
    font-size: 15px;
  }
  .eyebrow {
    font-size: 10px;
    gap: 9px;
  }
  .eyebrow::before {
    width: 22px;
  }

  .court-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 24px 27px;
  }
  .court-copy {
    padding: 0;
  }
  .court-title {
    font-size: clamp(63px, 12vw, 86px);
    line-height: 0.93;
    margin-block: 16px 13px;
  }
  .court-copy .lead {
    max-width: 42ch;
    font-size: 15px;
    line-height: 1.48;
  }
  .court-actions {
    gap: 15px;
    margin-top: 14px;
  }
  .primary-link {
    min-height: 45px;
    padding: 11px 15px;
    gap: 15px;
  }
  .court-window {
    height: clamp(250px, 74vw, 430px);
  }
  .court-figure figcaption {
    font-size: 9px;
  }
  .plate-caption {
    padding-top: 8px;
    gap: 10px;
  }
  .expand-icon {
    width: 33px;
    height: 33px;
    inset-block-end: 9px;
    inset-inline-end: 9px;
  }

  .service-layout,
  .office-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .court-services {
    padding-block: 48px;
  }
  .court-services h2 {
    font-size: 60px;
    margin-block: 16px;
  }
  .service-row summary {
    padding-block: 17px;
  }
  .row-description {
    padding-inline-start: 26px;
    padding-inline-end: 12px;
  }

  .folio-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .folio-heading h2 {
    font-size: clamp(44px, 9.5vw, 65px);
    margin-top: 13px;
  }
  .folio-heading .body-copy {
    max-width: 44ch;
  }
  .folio-spread {
    gap: 28px;
    grid-template-columns: 1fr;
  }
  .folio-1 {
    width: 83%;
  }
  .folio-1 .folio-image {
    aspect-ratio: 0.98;
  }
  .folio-2 {
    margin-top: 0;
    width: 90%;
    justify-self: end;
  }
  .folio-card figcaption > span:last-child {
    font-size: 13px;
  }

  .office {
    padding-block: 54px;
  }
  .office h2 {
    font-size: 66px;
    margin-top: 15px;
  }
  .phone {
    font-size: 31px;
  }
  address {
    margin-top: 15px;
  }
  .site-foot {
    padding-block: 20px;
  }
  .footer-line {
    align-items: flex-start;
  }
  .foot-legal {
    align-items: flex-start;
    max-width: 70%;
  }

  .viewer-image {
    height: min(55dvh, 430px);
  }
  .viewer-plates [data-plate="2"] .viewer-image {
    height: auto;
    aspect-ratio: 4/3;
    max-height: 55dvh;
  }
  .viewer-plates figcaption {
    display: grid;
    gap: 5px;
    padding: 10px 14px;
  }
  .viewer-plates figcaption > span {
    font-size: 13px;
  }

  html[lang="ar"] .court-title {
    font-size: clamp(40px, 9.8vw, 54px);
    line-height: 1.27;
  }
  html[lang="ar"] :is(.court-services h2, .office h2, .folio-heading h2) {
    font-size: clamp(32px, 7.2vw, 43px);
  }
  html[lang="ar"] .court-copy .lead {
    font-size: 16px;
  }
  html[lang="ar"] .site-nav {
    font-size: 13px;
  }
}

@media (max-width: 370px) {
  :root {
    --gutter: 14px;
  }
  .site-nav {
    gap: 7px;
    font-size: 11px;
  }
  .wordmark small {
    font-size: 6px;
  }
  .court-actions {
    gap: 12px;
  }
  .court-actions a {
    font-size: 13px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .viewer-image {
    height: 48dvh;
  }
  .viewer-plates figcaption {
    padding-block: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  .photo-trigger:is(:hover, :focus-visible) img {
    scale: 1;
  }
}
