:root {
  --bronze: #9a6d4d;
  --bronze-light: #c39470;
  --ink: #151514;
  --paper: #f4f1eb;
  --line: #d9d4ca;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", "Cairo", sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-shell { overflow: hidden; }

.header {
  height: 88px;
  padding: 0 5vw;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
  background: rgba(247, 245, 240, .97);
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.brand { margin-inline-end: auto; flex-shrink: 0; }
.logo-crop { display: block; position: relative; width: 278px; height: 54px; overflow: hidden; }
.logo-crop img { position: absolute; width: 345px; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); mix-blend-mode: multiply; }
.nav { align-items: center; }
.nav .navbar-nav { display: flex; align-items: center; flex-wrap: nowrap; gap: 31px; }
.nav a { color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .05em; position: relative; padding: 0 !important; white-space: nowrap; flex-shrink: 0; }
.nav a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -8px; width: 0; height: 2px; background: var(--bronze); transition: .25s; }
.nav a:hover::after { width: 100%; }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; transition: .25s; }
.header-cta { background: var(--ink); color: white; padding: 15px 20px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.lang-switch { display: inline-flex; flex-shrink: 0; border: 1px solid rgba(21, 21, 20, .18); }
.lang-switch button, .lang-switch a { border: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 8px 11px; cursor: pointer; line-height: 1; }
.lang-switch button.active, .lang-switch a.active { background: var(--ink); color: white; }
.header-cta:hover, .button:hover { background: var(--bronze); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }

.hero { height: calc(100vh - 88px); min-height: 640px; position: relative; color: white; isolation: isolate; }
.hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity 1s, transform 6.5s; z-index: -3; }
.hero-image.active { opacity: 1; transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(12,12,11,.86) 0%, rgba(12,12,11,.63) 43%, rgba(12,12,11,.15) 78%), linear-gradient(0deg, rgba(0,0,0,.28), transparent 45%); }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,.09) 25%, rgba(255,255,255,.09) calc(25% + 1px), transparent calc(25% + 1px), transparent 50%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.09) calc(50% + 1px), transparent calc(50% + 1px), transparent 75%, rgba(255,255,255,.09) 75%, rgba(255,255,255,.09) calc(75% + 1px), transparent calc(75% + 1px)); }
.hero-content { position: absolute; inset-inline-start: 9vw; top: 50%; transform: translateY(-53%); width: min(750px, 77vw); }
.hero-eyebrow, .eyebrow { text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: 11px; }
.hero-eyebrow { color: #dfc0a8; display: block; margin-bottom: 23px; }
.hero h1 { font-size: clamp(52px, 6.1vw, 92px); line-height: .96; letter-spacing: -.055em; margin: 0; font-weight: 700; }
.hero h1 span { display: block; }
.hero-content > p { color: rgba(255,255,255,.76); max-width: 610px; font-size: 16px; line-height: 1.75; margin: 27px 0 34px; }
.button { padding: 17px 22px; border: 0; font-size: 12px; font-weight: 700; cursor: pointer; }
.button.primary { background: var(--bronze); color: white; }
.button.primary:hover { background: #ad7a56; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.text-link, .dark-link { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 700; }
.text-link { color: white; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 6px; }
.hero-controls { position: absolute; bottom: 31px; inset-inline-end: 5vw; display: flex; align-items: center; gap: 16px; font-size: 10px; letter-spacing: .12em; direction: ltr; }
.hero-controls button { border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.1); color: white; width: 38px; height: 38px; cursor: pointer; }
.hero-controls strong { color: var(--bronze-light); }
.slide-track { width: 90px; height: 1px; background: rgba(255,255,255,.3); }
.slide-track i { display: block; height: 1px; background: var(--bronze-light); transition: .4s; }

.section { padding: 110px 8vw; }
.intro { display: grid; grid-template-columns: 1fr 3fr; gap: 5vw; background: #ece7df; }
.intro-label { text-transform: uppercase; font-size: 10px; letter-spacing: .18em; font-weight: 800; padding-top: 11px; }
.intro-copy .lead { font-size: clamp(29px, 3.3vw, 51px); letter-spacing: -.045em; line-height: 1.22; max-width: 970px; margin: 0; font-weight: 500; }
.intro-copy .lead em { color: var(--bronze); font-style: normal; }
.intro-details { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px; margin-top: 46px; margin-inline-start: 33%; }
.intro-details p, .section-row > p { color: #67635c; font-size: 13px; line-height: 1.8; margin: 0; }
.dark-link { border-bottom: 1px solid #aaa49b; padding-bottom: 7px; white-space: nowrap; }

.services { background: var(--paper); }
.section-heading .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--bronze); }
.eyebrow i { width: 27px; height: 1px; background: currentColor; }
.section-heading h2 { white-space: pre-line; font-size: clamp(38px, 4.3vw, 66px); letter-spacing: -.05em; line-height: 1.05; margin: 20px 0 52px; font-weight: 600; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.service-card { border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px; min-height: 330px; position: relative; transition: .3s; }
.service-card:hover { background: var(--ink); color: white; transform: translateY(-5px); }
.service-card:hover p { color: #bbb8b2; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; color: var(--bronze); font-size: 10px; }
.service-top > i { font-size: 34px; line-height: 1; }
.service-card h3 { font-size: 20px; margin: 67px 0 18px; }
.service-card p { color: #77736c; font-size: 12px; line-height: 1.75; transition: .3s; }
.service-card > a { position: absolute; bottom: 28px; inset-inline-end: 28px; color: var(--bronze); }

.numbers { background: var(--bronze); color: white; padding: 51px 8vw; display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers div { border-inline-end: 1px solid rgba(255,255,255,.25); padding: 0 35px; display: flex; flex-direction: column; }
.numbers div:first-child { padding-inline-start: 0; }
.numbers div:last-child { border: 0; }
.numbers strong { font-size: 38px; letter-spacing: -.04em; }
.numbers span { font-size: 10px; opacity: .75; margin-top: 7px; }

.projects { background: #191918; color: white; }
.section-row { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-row > p { max-width: 360px; margin-bottom: 56px; }
.section-heading.light h2 { color: white; }
.project-list { display: grid; grid-template-columns: repeat(3, 1fr); height: auto; }
.project-card { position: relative; overflow: hidden; min-height: 460px; border-inline-end: 1px solid rgba(255,255,255,.22); }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .7s; filter: saturate(.7); }
.project-card:hover img { transform: scale(1.05); filter: saturate(1); }
.project-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.83), transparent 65%); }
.project-number { position: absolute; top: 24px; inset-inline-start: 24px; font-size: 10px; }
.project-info { position: absolute; inset-inline-start: 28px; bottom: 33px; }
.project-info > span { color: #d5a983; font-size: 9px; text-transform: uppercase; letter-spacing: .18em; }
.project-info h3 { font-size: 24px; margin: 11px 0; }
.project-info p { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #bbb; margin: 0; }
.project-card > a { position: absolute; inset-inline-end: 25px; bottom: 31px; width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); }

.team { background: #ece7df; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.person-image { height: 420px; position: relative; overflow: hidden; background: #d8d2c8; }
.person-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); transition: .5s; }
.person-card:hover img { transform: scale(1.03); filter: saturate(1); }
.person-image a { position: absolute; inset-inline-end: 17px; bottom: 17px; width: 35px; height: 35px; background: var(--bronze); color: white; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.person-card h3 { font-size: 17px; margin: 19px 0 6px; }
.person-card > p { color: var(--bronze); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

.insights { background: var(--paper); }
.insights .section-row { align-items: center; }
.insights .section-row .dark-link { margin-bottom: 50px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.article-card { position: relative; min-width: 0; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
a.article-media { position: relative; display: block; color: inherit; }
.article-image { width: 100%; height: 245px; position: relative; overflow: hidden; background: #191918; }
.article-image img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; transition: .5s; filter: saturate(.75); }
.article-card:hover img { transform: scale(1.04); filter: saturate(1); }
.article-image span { position: absolute; inset-inline-start: 0; bottom: 0; max-width: 100%; background: var(--bronze); color: white; padding: 8px 13px; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.article-meta { color: #8d8982; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; margin-top: 20px; }
.article-meta a { color: var(--bronze); margin-inline-end: 10px; }
.article-card h2, .article-card h3 { font-size: 20px; line-height: 1.45; margin-block: 12px; margin-inline: 0 36px; overflow-wrap: anywhere; }
.article-card p { font-size: 11px; line-height: 1.7; color: #76716a; margin-inline: 0 30px; overflow-wrap: anywhere; }
a.card-more { position: absolute; inset-inline-end: 0; bottom: 33px; color: var(--bronze); }
.listing-intro { max-width: 42rem; color: #67635c; margin: -10px 0 28px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; background: #1b1b1a; color: white; }
.contact-copy > p { max-width: 480px; color: #a9a59e; font-size: 13px; line-height: 1.8; margin-top: -24px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.contact-details a, .contact-details span { display: flex; align-items: center; gap: 13px; font-size: 11px; color: #dad6d0; }
.contact-details i { color: var(--bronze-light); font-size: 20px; }
.contact-form { background: #252523; padding: 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.contact-form label { text-transform: uppercase; font-size: 9px; letter-spacing: .1em; color: #b8b3ac; }
.contact-form label:nth-child(3), .contact-form label:nth-child(4), .contact-form button { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; border: 0; border-radius: 0; border-bottom: 1px solid #4f4e4a; background-color: transparent; color: white; padding: 11px 0; outline: none; font-size: 12px; text-transform: none; letter-spacing: 0; resize: vertical; box-shadow: none !important; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--bronze-light); }
.contact-form option { color: var(--ink); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.contact-form button { margin-top: 4px; }

.footer { background: #10100f; color: #8c8983; padding: 65px 8vw 25px; }
.footer-main { display: grid; grid-template-columns: 2.3fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 55px; }
.footer-logo { width: 250px; filter: invert(1) grayscale(1); opacity: .9; }
.footer-logo img { width: 320px; mix-blend-mode: screen; }
.footer-brand p { color: #c7c3bc; font-size: 12px; line-height: 1.8; margin-top: 22px; }
.footer h4 { color: white; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 22px; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-main a { font-size: 11px; transition: .2s; }
.footer-main a:hover { color: var(--bronze-light); }
.footer-bottom { border-top: 1px solid #2a2a28; padding-top: 24px; display: flex; justify-content: space-between; font-size: 9px; }

@media (max-width: 991.98px) {
  .header { padding: 0 4vw; }
  .nav { position: absolute; left: 0; right: 0; top: 88px; background: #f5f2ed; padding: 0 30px 30px; z-index: 3; }
  .nav .navbar-nav { align-items: flex-start; gap: 25px; padding-top: 28px; }
  .menu-button { display: block; }
  .header-cta { display: none; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .contact { gap: 5vw; }
  .person-image { height: 330px; }
}

@media (max-width: 720px) {
  .header { height: 76px; gap: 8px; padding: 0 12px; }
  .lang-switch button, .lang-switch a { padding: 7px 8px; }
  .logo-crop { width: 214px; }
  .logo-crop img { width: 285px; }
  .nav { top: 76px; }
  .hero { min-height: 650px; height: calc(100svh - 76px); }
  .hero-content { inset-inline-start: 7vw; width: 86vw; }
  .hero h1 { font-size: clamp(43px, 13vw, 64px); }
  .hero-content > p { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-controls { inset-inline-start: 7vw; inset-inline-end: auto; }
  .section { padding: 80px 7vw; }
  .intro { grid-template-columns: 1fr; gap: 28px; }
  .intro-details { margin: 34px 0 0; grid-template-columns: 1fr; gap: 25px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 34px 0; padding: 45px 7vw; }
  .numbers div:nth-child(2) { border: 0; }
  .numbers div:nth-child(3) { padding-inline-start: 0; }
  .section-row { display: block; }
  .section-row > p { margin: -26px 0 42px; }
  .project-list { grid-template-columns: 1fr; height: auto; }
  .project-card { height: 480px; border-inline-end: 0; border-bottom: 1px solid #555; }
  .team-grid, .article-grid { grid-template-columns: 1fr; gap: 42px; }
  .person-image { height: 440px; }
  .insights .section-row .dark-link { display: none; }
  .contact { grid-template-columns: 1fr; gap: 45px; }
  .contact-form { grid-template-columns: 1fr; padding: 28px 22px; }
  .contact-form label { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { gap: 15px; flex-direction: column; }
}

html[dir="rtl"] body { font-family: "Cairo", "Manrope", sans-serif; }
html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(12,12,11,.86) 0%, rgba(12,12,11,.63) 43%, rgba(12,12,11,.15) 78%),
    linear-gradient(0deg, rgba(0,0,0,.28), transparent 45%);
}
html[dir="rtl"] :is(
  .nav a, .hero-eyebrow, .eyebrow, .hero-controls, .intro-label,
  .project-info > span, .person-card > p, .article-image span,
  .article-meta, .contact-form label, .footer h4, .footer-bottom, .lang-switch button, .lang-switch a
) { letter-spacing: 0; }
html[dir="rtl"] .hero h1 { font-size: clamp(40px, 5vw, 76px); letter-spacing: 0; line-height: 1.28; }
html[dir="rtl"] .section-heading h2,
html[dir="rtl"] .intro-copy .lead,
html[dir="rtl"] .numbers strong { letter-spacing: 0; }
html[dir="rtl"] .section-heading h2 { line-height: 1.28; }
html[dir="rtl"] .intro-copy .lead { line-height: 1.45; }
html[dir="rtl"] .nav a,
html[dir="rtl"] .contact-form label,
html[dir="rtl"] .numbers span,
html[dir="rtl"] .article-card h2,
html[dir="rtl"] .article-card h3 { line-height: 1.65; }
html[dir="rtl"] .article-card p { font-size: 13px; line-height: 1.85; }
html[dir="rtl"] :is(.header-cta, .button, .text-link, .dark-link, .service-card > a, .project-card > a, .article-card > a) .bi-arrow-right {
  display: inline-block;
  transform: scaleX(-1);
}
@media (max-width: 720px) {
  html[dir="rtl"] .hero h1 { font-size: clamp(36px, 10vw, 52px); }
}

.page-hero { background: #191918; color: white; padding: 72px 8vw 56px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 68px); letter-spacing: -.05em; line-height: 1.05; margin: 14px 0 0; font-weight: 600; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #c7c3bc; }
.breadcrumb a { border-bottom: 1px solid rgba(255,255,255,.3); }
.listing { background: var(--paper); }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.article-page { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; background: var(--paper); }
.article-cover { width: 100%; height: min(520px, 62vw); object-fit: cover; display: block; }
.prose { font-size: 16px; line-height: 1.85; color: #2c2b28; }
.prose h2, .prose h3 { letter-spacing: -.03em; line-height: 1.25; margin: 1.4em 0 .5em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-inline-start: 1.2em; }
.prose a { color: var(--bronze); border-bottom: 1px solid var(--bronze); }
.prose img { max-width: 100%; height: auto; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { color: #67635c; font-size: 13px; margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.prose th { background: #ece7df; }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.category-pills a { border: 1px solid var(--line); padding: 8px 12px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.category-pills a.active { background: var(--ink); color: white; border-color: var(--ink); }
.form-alert { background: #e7f0e4; color: #1d3b18; padding: 14px 16px; margin-bottom: 18px; font-size: 13px; }
.field-error { color: #9b3b2a; font-size: 11px; display: block; margin-top: 6px; text-transform: none; letter-spacing: 0; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 42px; }
.pager a, .pager span { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 12px; font-weight: 700; padding: 0 10px; }
.pager .active { background: var(--ink); color: white; border-color: var(--ink); }
.empty-note { color: #67635c; font-size: 14px; }
html[dir="rtl"] .page-hero h1,
html[dir="rtl"] .prose h2,
html[dir="rtl"] .prose h3,
html[dir="rtl"] .breadcrumb,
html[dir="rtl"] .category-pills a { letter-spacing: 0; }
html[dir="rtl"] .page-hero h1 { line-height: 1.3; }
@media (max-width: 720px) {
  .listing-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 7vw 40px; }
}
