/* ==========================================================================
   AWC — site styles, copied unchanged from the Next.js site (src/styles/site.css).
   WordPress-specific adjustments live in awc.css. Logical properties throughout so /ar mirrors cleanly.
   ========================================================================== */

:root {
  --ink: #1d1c1a;
  --ink-2: #2a2926;
  --ink-soft: #4a4845;
  --muted: #5f5c57;
  --paper: #fbfaf7;
  --white: #ffffff;
  --stone: #f2efe8;
  --stone-2: #e8e3d8;
  --line: rgba(29, 28, 26, 0.14);
  --line-strong: rgba(29, 28, 26, 0.28);
  --line-light: rgba(255, 255, 255, 0.2);
  --brass: #b08d57;
  --brass-ink: #6f5530;
  --danger: #a03224;
  --ok: #2f6b4f;

  --serif: var(--font-serif), 'Iowan Old Style', Georgia, serif;
  --sans: var(--font-sans), system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 144px);
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 2px;
}

html[lang='ar'] {
  --serif: var(--font-ar-serif), 'Geeza Pro', 'Times New Roman', serif;
  --sans: var(--font-ar-sans), 'Geeza Pro', Tahoma, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang='ar'] body {
  font-size: 18px;
  line-height: 1.85;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
main:focus {
  outline: none;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.pre {
  white-space: pre-line;
}
.flip-rtl {
  transition: transform 0.35s var(--ease);
}
[dir='rtl'] .flip-rtl {
  transform: scaleX(-1);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display--page {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.05;
}
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 0.5em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}
.h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 1.8vw, 24px);
  line-height: 1.3;
  margin-bottom: 0.5em;
}
html[lang='ar'] :is(.display, .h2, .h3, .h4) {
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.4;
}
html[lang='ar'] .display {
  line-height: 1.3;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  inline-size: 28px;
  block-size: 1px;
  background: currentColor;
  opacity: 0.7;
}
html[lang='ar'] .eyebrow {
  letter-spacing: 0;
  font-size: 15px;
}
.eyebrow--light,
.section--ink .eyebrow {
  color: #d5b987;
}
.lead {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 44em;
  font-weight: 300;
}
html[lang='ar'] .lead {
  font-weight: 400;
}
.lead--sm {
  font-size: 19px;
}
.body-lg {
  font-size: 18px;
  color: var(--ink-soft);
}
.note {
  font-size: 15px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 48px;
  max-width: 60em;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}
.btn--dark {
  background: var(--ink);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--ink-2);
}
.btn--dark:disabled {
  opacity: 0.6;
  cursor: progress;
}
.btn--outline {
  border-color: var(--line-strong);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--ink);
}
.btn--light {
  background: var(--paper);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--white);
}
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease);
}
.link-arrow:hover {
  border-color: var(--ink);
}
.link-arrow:hover .flip-rtl {
  transform: translateX(4px);
}
[dir='rtl'] .link-arrow:hover .flip-rtl {
  transform: scaleX(-1) translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flow-root;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--line);
}
/* Language switch: a quiet nav-style link just before Login (mirrors in RTL via flex order). */
.lang-switch {
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s;
}
.lang-switch:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lang-switch:lang(ar) {
  font-family: var(--font-ar-sans), sans-serif;
}
.lang-switch:lang(en) {
  font-family: var(--font-sans), sans-serif;
}
.site-header__actions .lang-switch {
  padding-block: 8px;
}
.site-header__divider {
  inline-size: 1px;
  block-size: 18px;
  margin-inline: 8px 6px;
  background: var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo__mark {
  inline-size: 40px;
  block-size: 40px;
}
.logo__name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.logo--light {
  color: var(--paper);
}
.main-nav {
  margin-inline-start: auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
}
.main-nav a {
  position: relative;
  display: block;
  padding-block: 8px;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: var(--origin, left);
  transition: transform 0.35s var(--ease);
}
[dir='rtl'] .main-nav a::after {
  --origin: right;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--ink);
}
.main-nav a:hover::after,
.main-nav a[aria-current='page']::after {
  transform: scaleX(1);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: none;
  inline-size: 44px;
  block-size: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  position: absolute;
  inset-inline-start: 11px;
  inline-size: 22px;
  block-size: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle__lines {
  top: 21px;
}
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  content: '';
  inset-inline-start: 0;
}
.menu-toggle__lines::before {
  top: -7px;
}
.menu-toggle__lines::after {
  top: 7px;
}
.is-open .menu-toggle__lines {
  background: transparent;
}
.is-open .menu-toggle__lines::before {
  transform: translateY(7px) rotate(45deg);
}
.is-open .menu-toggle__lines::after {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  inset: calc(var(--header-h) + 1px + var(--awc-bar, 0px)) 0 0 0;
  background: var(--paper);
  overflow-y: auto;
  padding-block: 12px 40px;
  border-top: 1px solid var(--line);
  animation: menu-in 0.35s var(--ease);
}
.mobile-menu ul {
  list-style: none;
}
.mobile-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 26px;
  text-decoration: none;
}
.mobile-menu li a[aria-current='page'] {
  color: var(--brass-ink);
}
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.mobile-menu__actions .lang-switch {
  align-self: center;
  margin-top: 12px;
  font-size: 16px;
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (max-width: 1080px) {
  .main-nav,
  .site-header__actions .btn,
  .site-header__actions .lang-switch,
  .site-header__divider {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .site-header__actions {
    margin-inline-start: auto;
  }
  :root {
    --header-h: 68px;
  }
  .logo__mark {
    inline-size: 34px;
    block-size: 34px;
  }
  .logo__name {
    font-size: 18px;
  }
}

.preview-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 8px 16px;
  background: var(--brass);
  color: var(--ink);
  font-size: 14px;
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 80px) var(--section);
}
.section--stone {
  background: var(--stone);
}
.section--ink {
  background: var(--ink);
  color: var(--paper);
}
.section--ink .lead {
  color: rgba(251, 250, 247, 0.75);
}
.section + .section:not(.section--stone, .section--ink) {
  border-top: 1px solid var(--line);
}
.section--stone + .section--stone {
  padding-top: 0;
}
.section-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head--center {
  text-align: center;
  margin-inline: auto;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.split .section-head {
  margin-bottom: 0;
}
.split__aside {
  align-self: start;
}
.split--faq .split__aside,
.split--message .split__aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--faq .split__aside,
  .split--message .split__aside {
    position: static;
  }
}
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--stone-2);
}
.img-frame img {
  transition: transform 1.2s var(--ease);
}

/* ---------- Home hero ---------- */
.hero-home {
  position: relative;
  min-height: min(calc(100svh - var(--header-h) - 39px), 860px);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}
.hero-home__media {
  position: absolute;
  inset: 0;
  animation: hero-zoom 14s var(--ease) both;
}
.hero-home__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 19, 18, 0.88) 0%, rgba(20, 19, 18, 0.35) 55%, rgba(20, 19, 18, 0.25) 100%),
    linear-gradient(to var(--shade-dir, right), rgba(20, 19, 18, 0.55), transparent 70%);
}
[dir='rtl'] .hero-home__shade {
  --shade-dir: left;
}
.hero-home__content {
  position: relative;
  padding-block: clamp(120px, 16vw, 200px) clamp(64px, 9vw, 120px);
}
.hero-home .display {
  max-width: 13em;
}
.hero-home__intro {
  max-width: 34em;
  margin-top: 28px;
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 300;
  color: rgba(251, 250, 247, 0.85);
}
.hero-home__cue {
  position: absolute;
  inset-inline-end: var(--gutter);
  bottom: 40px;
  inline-size: 1px;
  block-size: 64px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.hero-home__cue span {
  position: absolute;
  inset: 0;
  background: var(--paper);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}
@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
}
.hero-anim {
  animation: rise 1s var(--ease) both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Anchored sections clear the sticky header. The skip links' target (#main) too: it starts right under the header, so
   without this a skip link scrolled the page top under it. */
main [id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
#main {
  scroll-margin-top: var(--header-h);
}

/* ---------- Page hero ---------- */
.hero-page {
  padding-block: clamp(64px, 9vw, 128px) 0;
}
.hero-page__text {
  max-width: 900px;
  padding-bottom: clamp(48px, 6vw, 88px);
}
.hero-page__text .lead {
  margin-top: 28px;
}
.hero-page__media {
  aspect-ratio: 21 / 9;
}
.hero-reveal {
  animation: unveil 1.4s var(--ease) 0.2s both;
}
@keyframes unveil {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@media (max-width: 700px) {
  .hero-page__media {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Anniversary ---------- */
.anniversary__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.anniversary__num span {
  display: block;
  font-family: var(--font-serif), Georgia, serif;
  font-weight: 300;
  font-size: clamp(140px, 18vw, 260px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--brass);
  letter-spacing: -0.04em;
}
.anniversary__media {
  aspect-ratio: 4 / 5;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.mini-stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}
.mini-stats dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
}
.mini-stats dt {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 960px) {
  .anniversary__grid {
    grid-template-columns: 1fr;
  }
  .anniversary__media {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Services grid ---------- */
.service-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.service-card {
  padding: 36px 28px 40px 0;
  border-inline-end: 1px solid var(--line);
  padding-inline: 0 28px;
  display: flex;
  flex-direction: column;
}
.service-card + .service-card {
  padding-inline-start: 28px;
}
.service-card:last-child {
  border-inline-end: 0;
}
.service-card__icon {
  color: var(--brass);
  margin-bottom: 28px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 16px;
  flex: 1;
}
.service-card .link-arrow {
  align-self: flex-start;
}
@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card,
  .service-card + .service-card {
    padding-inline: 0 28px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .service-card:nth-child(even) {
    padding-inline: 28px 0;
    border-inline-start: 1px solid var(--line);
  }
}
@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card:nth-child(n) {
    padding-inline: 0;
    border-inline-start: 0;
  }
}

/* ---------- Details (services / audiences long form) ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.chips a {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.chips a:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.detail-list {
  display: grid;
  gap: clamp(72px, 9vw, 128px);
}
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.detail--flip .detail__media {
  order: -1;
}
.detail__media {
  aspect-ratio: 5 / 4;
}
.detail__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--brass);
}
.detail__text p {
  color: var(--ink-soft);
}
.ticks {
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.ticks li {
  position: relative;
  padding-block: 12px;
  padding-inline-start: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 2px;
  top: 22px;
  inline-size: 12px;
  block-size: 1px;
  background: var(--brass);
}
.detail__text .link-arrow {
  margin-top: 28px;
}
@media (max-width: 900px) {
  .detail {
    grid-template-columns: 1fr;
  }
  .detail--flip .detail__media,
  .detail__media {
    order: -1;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Audience cards ---------- */
.audience-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.audience-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.audience-card__media {
  aspect-ratio: 4 / 3;
  margin-bottom: 28px;
}
.audience-card:hover img {
  transform: scale(var(--zoom-scale));
}
.audience-card p {
  color: var(--ink-soft);
  font-size: 16px;
  flex: 1;
}
.audience-card .link-arrow {
  align-self: flex-start;
}
@media (max-width: 900px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Quote ---------- */
.quote {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.quote .eyebrow {
  justify-content: center;
}
.quote .eyebrow::before {
  display: none;
}
.quote__mark {
  inline-size: 44px;
  margin: 0 auto 32px;
  color: var(--brass);
}
[dir='rtl'] .quote__mark {
  transform: scaleX(-1);
}
.quote blockquote {
  margin: 0;
}
.quote blockquote p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.32;
  letter-spacing: -0.01em;
}
html[lang='ar'] .quote blockquote p {
  line-height: 1.7;
  letter-spacing: 0;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 36px;
}
.quote__name {
  font-weight: 500;
}
.quote__role {
  color: var(--muted);
  font-size: 15px;
}
.quote .link-arrow {
  margin-top: 32px;
}

/* ---------- Chairman message ---------- */
.portrait {
  aspect-ratio: 4 / 5;
  margin-top: 40px;
  max-width: 420px;
}
.prose {
  color: var(--ink-soft);
}
.prose--lg {
  font-size: 19px;
  line-height: 1.75;
}
.prose p:first-child::first-letter {
  font-family: var(--serif);
}
.prose--lg > p:first-child {
  font-family: var(--serif);
  font-size: clamp(23px, 2.2vw, 28px);
  line-height: 1.45;
  color: var(--ink);
}
.prose h3,
.prose h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 22px;
  margin: 1.6em 0 0.5em;
}
.prose ul,
.prose ol {
  padding-inline-start: 1.3em;
  margin-bottom: 1em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose a {
  color: var(--ink);
}
.signature {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.signature__name {
  font-family: var(--serif);
  font-size: 22px;
}
.signature__role {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line-light);
}
.stats div {
  padding: 36px 24px 8px 0;
  padding-inline: 0 24px;
  display: flex;
  flex-direction: column;
}
.stats div + div {
  border-inline-start: 1px solid var(--line-light);
  padding-inline-start: 24px;
}
.stats dd {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
}
.stats dt {
  color: rgba(251, 250, 247, 0.72);
  font-size: 15px;
}
@media (max-width: 800px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats div:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.timeline li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
.timeline__year {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 36px;
  line-height: 1;
  color: var(--brass-ink);
  margin: 0;
}
.timeline li p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 46em;
}
@media (max-width: 700px) {
  .timeline li {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------- People ---------- */
.people {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px clamp(24px, 3vw, 48px);
}
.person__photo {
  position: relative;
  aspect-ratio: 1;
  max-width: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--stone);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.person__photo span {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 34px;
  color: var(--brass-ink);
}
html[lang='ar'] .person__photo span {
  font-family: var(--serif);
}
.person__role {
  font-size: 14px;
  color: var(--brass-ink);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.person__bio {
  color: var(--ink-soft);
  font-size: 16px;
}
@media (max-width: 900px) {
  .people {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .people {
    grid-template-columns: 1fr;
  }
}

/* Two people: a centred pair, not a three-column row with an empty third column. Phones keep their own list. */
@media (min-width: 701px) {
  .people:has(> .person:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
    column-gap: clamp(48px, 8vw, 128px);
    text-align: center;
  }
  .people:has(> .person:nth-child(2):last-child) .person__photo {
    margin-inline: auto;
  }
}

/* ---------- Values ---------- */
.values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.values li {
  padding: 32px 28px 8px 0;
  padding-inline: 0 28px;
}
.values li + li {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 28px;
}
.values p {
  color: var(--ink-soft);
  font-size: 16px;
}
@media (max-width: 900px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
  .values li:nth-child(3) {
    border-inline-start: 0;
    padding-inline-start: 0;
  }
  .values li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .values {
    grid-template-columns: 1fr;
  }
  .values li:nth-child(n) {
    border-inline-start: 0;
    padding-inline: 0;
  }
  .values li + li {
    border-top: 1px solid var(--line);
  }
}

/* ---------- Media split ---------- */
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.media-split--start .media-split__media {
  order: -1;
}
.media-split__media {
  aspect-ratio: 6 / 5;
}
.media-split__text .link-arrow {
  margin-top: 16px;
}
@media (max-width: 900px) {
  .media-split {
    grid-template-columns: 1fr;
  }
  .media-split__media {
    order: -1;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(88px, 11vw, 160px);
  overflow: hidden;
}
.cta__media {
  position: absolute;
  inset: 0;
  opacity: 0.38;
}
.cta--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 28, 26, 0.7), rgba(29, 28, 26, 0.2));
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  text-align: center;
}
.cta .lead {
  color: rgba(251, 250, 247, 0.8);
  margin-inline: auto;
}
.cta .btn-row {
  justify-content: center;
}

/* ---------- Documents ---------- */
.doc-groups {
  display: grid;
  gap: 56px;
}
.doc-group__title {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 0;
}
.doc-list {
  list-style: none;
}
.doc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.25s;
}
.doc:hover {
  background: rgba(176, 141, 87, 0.06);
}
.doc__icon {
  color: var(--brass);
}
.doc__text {
  display: flex;
  flex-direction: column;
}
.doc__title {
  font-weight: 500;
}
.doc__desc {
  font-size: 15px;
  color: var(--muted);
}
.doc__meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.doc__dl {
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.25s, color 0.25s;
}
.doc:hover .doc__dl {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
@media (max-width: 640px) {
  .doc {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .doc__meta {
    grid-column: 2;
    grid-row: 2;
  }
  .doc__dl {
    grid-row: 1 / span 2;
    grid-column: 3;
  }
}

/* ---------- FAQs ---------- */
.faq-group + .faq-group {
  margin-top: 48px;
}
.faq-group__title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}
html[lang='ar'] .faq-group__title {
  letter-spacing: 0;
  font-size: 15px;
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq__icon {
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
  color: var(--brass-ink);
}
.faq[open] .faq__icon {
  transform: rotate(45deg);
}
.faq__a {
  padding-bottom: 24px;
  color: var(--ink-soft);
  max-width: 48em;
  animation: rise 0.4s var(--ease);
}

/* ---------- News ---------- */
.news {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.news__item {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
}
.news__item time {
  font-size: 13px;
  color: var(--brass-ink);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.news__item p {
  color: var(--ink-soft);
  font-size: 16px;
  flex: 1;
}
.news__item .link-arrow {
  align-self: flex-start;
}
@media (max-width: 900px) {
  .news {
    grid-template-columns: 1fr;
  }
}

/* ---------- Markets ---------- */
.markets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.market {
  padding: 36px 32px 40px 0;
  padding-inline: 0 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.market:not(:nth-child(3n + 1)) {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 32px;
}
.market__short {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--brass-ink);
  margin-bottom: 20px;
  text-align: start;
}
.market__loc {
  font-size: 14px;
  color: var(--muted);
  margin-top: -6px;
}
.market p:not(.market__short, .market__loc) {
  color: var(--ink-soft);
  font-size: 16px;
  flex: 1;
}
.market .link-arrow {
  align-self: flex-start;
}
@media (max-width: 960px) {
  .markets {
    grid-template-columns: 1fr 1fr;
  }
  .market:nth-child(n) {
    border-inline-start: 0;
    padding-inline: 0 32px;
  }
  .market:nth-child(even) {
    border-inline-start: 1px solid var(--line);
    padding-inline: 32px 0;
  }
}
@media (max-width: 600px) {
  .markets {
    grid-template-columns: 1fr;
  }
  .market:nth-child(n) {
    border-inline-start: 0;
    padding-inline: 0;
  }
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact .section-head {
  margin-bottom: 40px;
}
.contact-list {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}
.contact-list div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.contact-list dt {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 3px;
}
.contact-list dd {
  margin: 0;
}
.contact-list a {
  text-decoration: none;
}
.contact-list a:hover {
  text-decoration: underline;
}
[dir='rtl'] .contact-list a[dir='ltr'] {
  display: inline-block;
}
.map {
  margin-top: 40px;
  aspect-ratio: 4 / 3;
}
.contact__aside .map {
  margin-top: 0;
  aspect-ratio: auto;
  min-block-size: 100%;
  block-size: clamp(320px, 40vw, 560px);
}
.map iframe {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}
.contact__form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 56px);
}
@media (max-width: 960px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- Form ---------- */
/* minmax(0, …): a select's one-line value must not widen the column past the form (390 px phones). */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--wide {
  grid-column: 1 / -1;
}
.field label {
  font-size: 14px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  inline-size: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.2s, background 0.2s;
}
/* Without JS the native select keeps the field look, with a drawn arrow. */
.field select {
  appearance: none;
  color-scheme: light;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-inline-end: 40px;
}
[dir='rtl'] .field select {
  background-position:
    15px 50%,
    20px 50%;
}

/* Custom dropdown (site.js): the real select stays underneath for the form, hidden. */
.awc-select {
  position: relative;
}
.field .awc-select__native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.awc-select__combo {
  position: relative;
  display: flex;
  align-items: center;
  inline-size: 100%;
  min-height: 52px;
  padding-block: 12px;
  padding-inline: 14px 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, background 0.2s;
}
.awc-select__combo::after {
  content: '';
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  inline-size: 7px;
  block-size: 7px;
  margin-top: -6px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s, margin-top 0.2s;
}
.awc-select.is-open .awc-select__combo::after {
  margin-top: -1px;
  transform: rotate(225deg);
}
.awc-select__combo:hover {
  border-color: var(--brass);
}
.awc-select__combo:focus,
.awc-select.is-open .awc-select__combo {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.25);
}
.awc-select__value {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.awc-select.is-invalid .awc-select__combo {
  border-color: var(--danger);
}
.awc-select__list {
  position: absolute;
  z-index: 30;
  inset-inline: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px 0;
  list-style: none;
  max-block-size: min(400px, 60vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(42, 29, 19, 0.12);
}
.awc-select__list[hidden] {
  display: none;
}
.awc-select.is-up .awc-select__list {
  top: auto;
  bottom: calc(100% + 6px);
}
.awc-select__option {
  position: relative;
  margin: 0;
  padding-block: 11px;
  padding-inline: 14px 44px;
  border-inline-start: 2px solid transparent;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}
.awc-select__option.is-active {
  background: var(--stone);
  border-inline-start-color: var(--brass);
  color: var(--brass-ink);
}
.awc-select__option[aria-selected='true'] {
  color: var(--brass-ink);
  font-weight: 500;
}
.awc-select__option[aria-selected='true']::after {
  content: '';
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  inline-size: 5px;
  block-size: 10px;
  margin-top: -7px;
  border-right: 1.5px solid var(--brass);
  border-bottom: 1.5px solid var(--brass);
  transform: rotate(45deg);
}
.field textarea {
  min-height: 160px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.25);
}
.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--danger);
}
.field__error {
  color: var(--danger);
  font-size: 14px;
  margin: 0;
}
.consent {
  margin-top: 24px;
}
.consent label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input {
  inline-size: 20px;
  block-size: 20px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.cf-turnstile {
  margin-top: 20px;
}
.form-status {
  margin-block: 16px;
}
.form-status:empty {
  margin-block: 8px;
}
.enquiry-form .btn {
  margin-top: 8px;
  min-inline-size: 220px;
}
.hp {
  position: absolute;
  inset-inline-start: -10000px;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
}
.form-success {
  padding: 32px;
  border-inline-start: 2px solid var(--ok);
  background: rgba(47, 107, 79, 0.06);
}
.form-success:focus {
  outline: none;
}
@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .enquiry-form .btn {
    inline-size: 100%;
  }
}

/* ---------- Legal ---------- */
.legal {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.legal__toc ol {
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.legal__toc li {
  border-bottom: 1px solid var(--line);
}
.legal__toc a {
  display: flex;
  gap: 14px;
  padding-block: 12px;
  text-decoration: none;
  font-size: 15px;
  color: var(--ink-soft);
}
.legal__toc a:hover {
  color: var(--ink);
}
.legal__updated {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.legal__section {
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  max-width: 50em;
}
.legal__section:last-child {
  border-bottom: 0;
}
@media (max-width: 900px) {
  .legal {
    grid-template-columns: 1fr;
  }
  .legal__toc {
    position: static;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 250, 247, 0.78);
  font-size: 15px;
  padding-block: clamp(64px, 8vw, 104px) 40px;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--paper);
  text-decoration: underline;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.site-footer__tagline {
  margin-top: 24px;
  max-width: 22em;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: rgba(251, 250, 247, 0.85);
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.site-footer__title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d5b987;
  margin-bottom: 20px;
}
html[lang='ar'] .site-footer__title {
  letter-spacing: 0;
  font-size: 14px;
}
.site-footer__col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.site-footer address {
  font-style: normal;
}
.site-footer address p {
  margin-bottom: 10px;
}
.site-footer__bottom {
  padding-top: 32px;
  font-size: 13px;
  color: rgba(251, 250, 247, 0.6);
}
.site-footer__reg {
  max-width: 70em;
  margin-bottom: 24px;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer__legal ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer__legal p {
  margin: 0;
}
@media (max-width: 1100px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .site-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Holding & 404 ---------- */
.holding {
  background: var(--ink);
  color: var(--paper);
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.holding__inner {
  padding-block: 120px;
}
.holding .lead {
  color: rgba(251, 250, 247, 0.8);
  margin-top: 24px;
}
.holding__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}
.holding__contact dt {
  font-size: 12px;
  color: #d5b987;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.holding__contact dd {
  margin: 6px 0 0;
}
.not-found {
  min-height: 60vh;
}
.not-found .lead {
  margin-block: 24px 40px;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .preview-banner {
    display: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
