:root {
  --ink: #171b20;
  --night: #111820;
  --night-raised: #1b252f;
  --paper: #f8f7f4;
  --muted: #525a61;
  --gold: #e6c98f;
  --bronze: #76572d;
  --line: #e1dcd3;
  --heading: 'Playfair Display', Georgia, serif;
}

body { background: var(--paper); color: var(--ink); line-height: 1.6; }
h1, h2 { font-family: var(--heading); }
:is(.home-section, .home-contact, .ref-section, .ref-who, .ref-title, .faq, .enquiry) h2 {
  font-family: var(--heading);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 500;
  line-height: 1.17;
  text-transform: none;
}
main label { color: var(--bronze); margin-bottom: .9rem; font-size: .75rem; }
.faq em { color: var(--bronze); }
a:focus-visible, button:focus-visible, summary:focus-visible, :is(input, textarea, select):focus-visible {
  outline: 2px solid #9c743d;
  outline-offset: 4px;
}

.site-header {
  min-height: 84px;
  height: auto;
  background: var(--night);
  border-bottom: 1px solid #ffffff25;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.5rem;
  padding: .8rem max(5%, calc((100% - 1280px) / 2));
}
.site-brand { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; }
.site-brand img { display: block; width: clamp(9rem, 17vw, 13rem); height: auto; }
.site-header nav { display: flex; align-items: center; gap: 1.7rem; font-size: .9rem; letter-spacing: .015em; }
.site-header nav a { padding: .55rem 0; }
.site-header nav a[aria-current="page"], .site-header nav a:hover, .site-footer a:hover { color: var(--gold); }
.header-tools { display: flex; justify-self: end; gap: .6rem; align-items: center; }
.site-header .agent, .button, .home-hero .button, .enq button, .site-footer .foot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 5px;
  background: var(--gold);
  color: #1b1b19;
  padding: .7rem 1rem;
  font: 700 .875rem/1.4 'DM Sans', sans-serif;
  letter-spacing: normal;
  text-align: center;
}
:is(.site-header .agent, .button, .home-hero .button, .enq button, .site-footer .foot-button):hover {
  background: #f3dcae;
  color: #15191d;
}
.site-header .agent { white-space: nowrap; }
.language-picker { display: inline-flex; position: relative; align-items: center; color: #f8f5ef; }
.language-picker svg { width: 16px; height: 16px; position: absolute; inset-inline-start: .65rem; pointer-events: none; }
.language-picker::after {
  content: '';
  position: absolute;
  inset-inline-end: .8rem;
  width: 6px;
  height: 6px;
  border-style: solid;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}
.language-picker select {
  appearance: none;
  min-height: 44px;
  width: 8.2rem;
  padding-block: .5rem;
  padding-inline: 2rem 1.7rem;
  color: inherit;
  background: var(--night-raised);
  border: 1px solid #ffffff42;
  border-radius: 5px;
  font: 600 .875rem/1.25 'DM Sans', sans-serif;
  cursor: pointer;
}
.translate-provider, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.translate-feedback:not(:empty) {
  position: absolute;
  z-index: 2;
  inset-inline-end: 5%;
  max-width: min(20rem, 90vw);
  margin: 3rem 0 0;
  padding: .6rem .8rem;
  background: var(--night-raised);
  color: #fff;
  border-radius: 5px;
  font-size: .875rem;
}

.home-hero, .ref-hero {
  min-height: 0;
  padding: clamp(5.25rem, 10vw, 9rem) 0;
  background-position: center;
  background-size: cover;
  background-color: var(--night);
}
.home-hero {
  background-image: linear-gradient(90deg, #111820f7 0%, #111820c4 39%, #11182022 88%), url('/images/dubai-home-hero.webp');
}
.ref-hero {
  background-image: linear-gradient(90deg, #111820f7 0%, #111820ce 40%, #11182024 92%), url('/images/dubai-about-hero.webp');
}
.home-hero .home-hero-panel, .ref-hero .wrap > div { max-width: 39rem; }
.home-hero-panel { padding: 0; background: none; border-radius: 0; }
.home-hero h1, .ref-hero h1 {
  font: 500 clamp(2.45rem, 6.5vw, 5rem)/1.04 var(--heading);
  text-transform: none;
  color: #fff;
  letter-spacing: -.032em;
  margin-bottom: 1.3rem;
}
.ref-hero h1 { font-size: clamp(2.35rem, 5.1vw, 4.5rem); }
.home-hero p, .ref-hero p { text-align: start; color: #f4efe6; max-width: 33rem; font-size: 1rem; line-height: 1.65; }
.home-hero p { font-size: clamp(1rem, 2vw, 1.2rem); }
.ref-hero h3 { font-size: .86rem; color: var(--gold); letter-spacing: .08em; }
:is(.home-hero, .ref-hero, .enquiry) label { color: var(--gold); }
.hero-features {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.35rem;
  row-gap: .75rem;
  margin: 1.75rem 0 2rem;
  text-align: start;
}
.hero-features span { display: inline-flex; gap: .5rem; align-items: center; font-size: .875rem; color: #fff; }
.hero-features svg, .home-icon svg { inline-size: 21px; block-size: 21px; flex-shrink: 0; color: var(--gold); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.hero-actions .secondary-button { background: #111820b8; color: #fff; border: 1px solid #ffffff8c; }

.home-strip { background: var(--night); border-top: 1px solid #ffffff28; }
.home-strip b { font-size: .95rem; color: var(--gold); }
.home-strip span { font-size: .8rem; color: #eae4da; }
.home-section, .home-contact, .enquiry { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.home-section > .wrap > p, .partner > p { max-width: 70ch; margin-bottom: 2rem; }
.home-process > .wrap > p { margin-inline: auto; }
.home-benefits, .home-perspectives, .shade { background: #efede8; }
.home-opps { background: var(--night); }
.home-opps h2, .home-contact h2 { color: #f9f6ef; }
.home-opps .wrap > p, .partner > p { color: #e1e0dc; }
.home-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 1.15rem;
  text-align: start;
  background: #fffdfa;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}
.home-card h3 { margin: .65rem 0 .5rem; font-size: 1rem; line-height: 1.35; text-transform: none; }
.home-card p { font-size: 1rem; line-height: 1.55; color: var(--muted); }
.home-icon { width: 38px; height: 38px; margin: 0; background: #efe6d7; color: var(--bronze); }
.home-icon svg { color: var(--bronze); }
.photo-card { padding: 0 0 1.1rem; }
.photo-card img { height: auto; aspect-ratio: 4 / 3; }
.photo-card h3, .photo-card p { padding: 0; margin-inline: 1rem; }
.photo-card h3 { margin-top: 1rem; }
.photo-card a { margin: auto 1rem 0; padding-top: .75rem; color: var(--bronze); font-weight: 700; font-size: .875rem; text-decoration: underline; text-underline-offset: .22em; }
.partner { margin-top: clamp(3rem, 7vw, 5.5rem); }
.partner .home-card { background: var(--night-raised); border-color: #ffffff27; color: #fff; }
.partner .home-card p { color: #dadde0; }
.partner .textlink { color: var(--gold); border-color: var(--gold); font-size: .875rem; letter-spacing: 0; }
.home-process .home-card, .home-perspectives .home-card { padding: 1.15rem; }
.home-note { background: #efe6d7; }
.home-contact { background: var(--night-raised); }
.home-contact p { color: #eee6d8; }

.ref-who { align-items: center; }
.ref-who img { aspect-ratio: 4 / 3; object-fit: cover; }
.ref-heading:not(.center) { margin-inline: 0; }
.ref-heading label { color: var(--bronze); }
.ref-cards article div { min-height: 3.75rem; display: flex; align-items: center; }
.ref-pillars, .ref-title { background: var(--night); }

.enquiry {
  background: linear-gradient(90deg, #111820f2, #111820bd), url('/images/dubai-enquiry.webp') center / cover;
}
.enq > *, .fields > * { min-width: 0; }
.enq form { padding: clamp(1rem, 3vw, 1.8rem); background: #fffdfa; border-radius: 8px; }
.enq :is(input, textarea, button) { font-family: inherit; font-size: 1rem; }
.enq :is(input, textarea) { background: #fff; border: 1px solid #c9c4bb; border-radius: 5px; }
.enq input { min-height: 46px; }
.enq .notice { font-size: .875rem; }
.enq button { width: auto; min-width: 7rem; }
.faq { padding-block: clamp(3.3rem, 8vw, 6.5rem); }
.faq > * { min-width: 0; }
.faq summary, .ref-who p { overflow-wrap: anywhere; }
.faq summary { align-items: baseline; gap: 1rem; }

.site-footer { border-top: 2px solid var(--gold); background: var(--night); padding: clamp(2.25rem, 6vw, 4.5rem) 6% 1.5rem; }
.site-footer .foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
}
.foot-column { display: grid; grid-template-rows: subgrid; grid-row: span 5; gap: 1rem; align-items: start; }
.foot-logo { height: 58px; display: flex; align-items: center; }
.foot-column:not(:first-child) .foot-logo { justify-content: center; }
.foot-column:not(:first-child) .foot-heading { text-align: center; }
.foot-logo img { display: block; max-width: 100%; max-height: 52px; object-fit: contain; }
.foot-logo .development-mark { width: 180px; }
.foot-logo .zenith-mark { width: 104px; }
.foot-description { margin: 0; }
.foot-heading { border-bottom: 1px solid #ffffff32; padding: 0 0 .65rem; margin: .25rem 0 0; }
.site-footer :is(p, a, h4) { font-size: .875rem; overflow-wrap: anywhere; }
.site-footer :is(h4, .foot-heading) { color: var(--gold); }
.site-footer .foot-links, .foot-meta, .foot-socials { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; }
.foot-meta { justify-content: space-between; }
.foot-socials { gap: .35rem; }
.foot-socials a { display: inline-grid; place-items: center; border: 1px solid #ffffff40; border-radius: 50%; width: 32px; height: 32px; }
.foot-socials svg { width: 15px; height: 15px; }
.site-footer aside { min-height: 0; padding: 1rem; margin: 0; background: var(--night-raised); border: 1px solid #ffffff2e; color: #fff; border-radius: 8px; }
.site-footer aside h4 { border: 0; padding: 0; margin: 0 0 .6rem; }
.site-footer p, .site-footer aside p { color: #dfded9; }
.site-footer .foot-button { min-height: 40px; }
.foot-services { list-style: none; display: grid; gap: .55rem; margin: 0; padding: 0; }
.foot-services li { display: flex; flex-wrap: wrap; gap: .2rem .6rem; justify-content: space-between; font-size: .875rem; }
.foot-services a { text-decoration: underline; text-underline-offset: .2em; }
.foot-subsidiaries { display: block; background: #fff; border-radius: 4px; overflow: hidden; }
.foot-subsidiaries img { display: block; width: 100%; height: auto; }
.site-footer .copy { color: #c2c2bf; font-size: .8125rem; margin-top: 2rem; }

@media (max-width: 1100px) {
  .home-grid.five, .home-grid.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .8rem; padding: .7rem 5%; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; gap: 1.25rem; padding: 0; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .site-footer .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .foot-column { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }
  .home-grid.five, .home-grid.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero, .ref-hero { background-position: 63% center; }
  .home-hero { background-image: linear-gradient(90deg, #111820ef, #11182090), url('/images/dubai-home-hero.webp'); }
  .ref-hero { background-image: linear-gradient(90deg, #111820f2, #1118209c), url('/images/dubai-about-hero.webp'); }
}
@media (max-width: 520px) {
  .site-footer .foot, .home-grid.five, .home-grid.six, .home-grid.three { grid-template-columns: minmax(0, 1fr); }
  .site-header .site-brand img { width: min(100%, 9.1rem); }
  .site-header .agent { padding-inline: .56rem; font-size: .8125rem; }
  .header-tools { gap: .35rem; }
  .language-picker select { width: 6.3rem; padding-inline: .55rem 1.2rem; font-size: .8125rem; }
  .language-picker svg { display: none; }
  .language-picker::after { inset-inline-end: .55rem; }
  .enq .fields { grid-template-columns: 1fr; }
  .enq .wide { grid-column: auto; }
  .ref-hero h1 br, .ref-who h2 br { display: none; }
}

[dir="rtl"] .home-hero {
  background-image: linear-gradient(270deg, #111820f7, #111820bf 53%, #11182022), url('/images/dubai-home-hero.webp');
}
[dir="rtl"] .ref-hero {
  background-image: linear-gradient(270deg, #111820f7, #111820ce 53%, #11182024), url('/images/dubai-about-hero.webp');
}
[dir="rtl"] .home-note { text-align: start; }
@media (max-width: 800px) {
  [dir="rtl"] .home-hero {
    background-image: linear-gradient(270deg, #111820ef, #11182090), url('/images/dubai-home-hero.webp');
  }
  [dir="rtl"] .ref-hero {
    background-image: linear-gradient(270deg, #111820f2, #1118209c), url('/images/dubai-about-hero.webp');
  }
}
