:root {
    --ivory: #f4efe7;
    --paper: #fcfaf6;
    --sand: #ded0bd;
    --sand-light: #eae0d2;
    --ink: #242725;
    --olive: #66705a;
    --bronze: #a47d50;
    --brown: #382c25;
    --line: rgba(36, 39, 37, 0.18);
    --font-ar: "Noto Sans Arabic", sans-serif;
    --font-display-ar: "Alexandria", sans-serif;
    --font-en: "Manrope", sans-serif;
    --container: min(92vw, 1320px);
    --radius: 2px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--font-en);
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.is-arabic {
    font-family: var(--font-ar);
}

body.menu-open {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.section {
    padding: clamp(84px, 10vw, 160px) 0;
}

.section-sand {
    background: var(--sand-light);
}

.section-dark {
    background: var(--ink);
    color: var(--paper);
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    inset-inline-start: 12px;
    padding: 10px 14px;
    background: var(--paper);
    color: var(--ink);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--olive);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.is-arabic .eyebrow {
    font-family: var(--font-display-ar);
    letter-spacing: .04em;
}

.eyebrow.light {
    color: rgba(255, 255, 255, .76);
}

.display-heading {
    max-width: 900px;
    margin: 0;
    font-family: var(--font-en);
    font-size: clamp(38px, 5.7vw, 82px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.07;
}

.is-arabic .display-heading {
    font-family: var(--font-display-ar);
    font-size: clamp(36px, 5.2vw, 74px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.25;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .035em;
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.button:hover {
    transform: translateY(-2px);
}

.button-small {
    min-height: 43px;
    padding: 10px 18px;
    font-size: 12px;
}

.button-dark {
    background: var(--ink);
    color: var(--paper);
}

.button-dark:hover {
    background: var(--olive);
}

.button-light {
    background: var(--paper);
    color: var(--ink);
}

.button-light:hover {
    background: var(--sand);
}

.button-ghost {
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

.button-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.text-link span {
    transition: transform .3s var(--ease);
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

[dir="rtl"] .text-link:hover span {
    transform: translate(-3px, -3px);
}

.text-link.light {
    border-color: rgba(255, 255, 255, .55);
    color: var(--paper);
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header.is-scrolled,
body:not(.home) .site-header {
    background: rgba(244, 239, 231, .94);
    color: var(--ink);
    box-shadow: 0 6px 24px rgba(36, 39, 37, .08);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: grid;
    width: min(95vw, 1440px);
    min-height: 76px;
    align-items: center;
    margin-inline: auto;
    grid-template-columns: 240px 1fr 240px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    justify-self: start;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid currentColor;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.04em;
}

.brand-copy small {
    margin-top: 5px;
    font-size: 7px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.custom-logo {
    width: auto;
    max-width: 180px;
    height: 48px;
}

.primary-nav {
    justify-self: center;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-menu a {
    position: relative;
    display: block;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
}

.site-menu a::after {
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}

.site-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-self: end;
}

.language-switch {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    margin: 6px 0;
    background: currentColor;
    transition: transform .3s, opacity .3s;
}

.hero {
    position: relative;
    display: flex;
    min-height: max(760px, 100svh);
    align-items: flex-end;
    overflow: hidden;
    background: #30332d;
    color: #fff;
}

.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(13, 17, 14, .72) 0%, rgba(13, 17, 14, .34) 50%, rgba(13, 17, 14, .12) 100%),
        linear-gradient(0deg, rgba(13, 17, 14, .48) 0%, transparent 50%);
}

[dir="rtl"] .hero-overlay {
    background:
        linear-gradient(-90deg, rgba(13, 17, 14, .74) 0%, rgba(13, 17, 14, .34) 50%, rgba(13, 17, 14, .12) 100%),
        linear-gradient(0deg, rgba(13, 17, 14, .48) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(150px, 16vh, 190px);
}

.hero-content h1 {
    max-width: 930px;
    margin: 0;
    font-family: var(--font-en);
    font-size: clamp(54px, 7.4vw, 112px);
    font-weight: 500;
    letter-spacing: -.065em;
    line-height: .98;
    text-wrap: balance;
}

.is-arabic .hero-content h1 {
    max-width: 980px;
    font-family: var(--font-display-ar);
    font-size: clamp(52px, 7vw, 100px);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: 1.18;
}

.hero-content p {
    max-width: 640px;
    margin: 28px 0 34px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 50%;
    display: grid;
    width: min(92vw, 1320px);
    border-top: 1px solid rgba(255, 255, 255, .24);
    transform: translateX(-50%);
    grid-template-columns: repeat(4, 1fr);
}

.hero-trust span {
    padding: 24px 18px;
    border-inline-end: 1px solid rgba(255, 255, 255, .24);
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.hero-trust span:last-child {
    border-inline-end: 0;
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    right: 3vw;
    bottom: 112px;
    width: 28px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 18px;
}

[dir="rtl"] .hero-scroll {
    right: auto;
    left: 3vw;
}

.hero-scroll span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 3px;
    height: 8px;
    border-radius: 3px;
    background: #fff;
    transform: translateX(-50%);
    animation: scroll-dot 1.8s infinite;
}

@keyframes scroll-dot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 20px); }
}

.intro-grid {
    display: grid;
    align-items: end;
    gap: clamp(50px, 10vw, 160px);
    grid-template-columns: 1.45fr .55fr;
}

.intro-copy p {
    margin: 0 0 34px;
    color: rgba(36, 39, 37, .72);
    font-size: 17px;
}

.stats-grid {
    display: grid;
    margin-top: clamp(70px, 9vw, 130px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 36px 22px;
    border-inline-end: 1px solid var(--line);
}

.stat:last-child {
    border: 0;
}

.stat strong {
    font-size: clamp(36px, 4.5vw, 65px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1;
}

.stat > span {
    color: var(--bronze);
    font-size: 24px;
}

.stat small {
    display: block;
    margin-top: 10px;
    color: rgba(36, 39, 37, .62);
    font-size: 11px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: clamp(50px, 7vw, 100px);
}

.section-heading > p {
    max-width: 330px;
    margin: 0;
    color: rgba(36, 39, 37, .65);
}

.services-editorial {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    position: relative;
    display: grid;
    min-height: 520px;
    overflow: hidden;
    background: var(--paper);
    grid-template-columns: 1.25fr .75fr;
}

.service-featured {
    min-height: 660px;
    grid-column: 1 / -1;
    grid-template-columns: 1.65fr .65fr;
}

.service-wide {
    grid-column: 1 / -1;
}

.service-image {
    min-height: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.service-card:hover .service-image img {
    transform: scale(1.035);
}

.service-content {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 4.3vw, 64px);
}

.service-content > span {
    position: absolute;
    top: 28px;
    color: var(--bronze);
    font-size: 10px;
}

.service-content h3 {
    margin: 0 0 16px;
    font-family: var(--font-en);
    font-size: clamp(24px, 2.5vw, 40px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.15;
}

.is-arabic .service-content h3 {
    font-family: var(--font-display-ar);
    letter-spacing: -.025em;
    line-height: 1.35;
}

.service-content p {
    margin: 0;
    color: rgba(36, 39, 37, .66);
    font-size: 13px;
    line-height: 1.75;
}

.circle-link {
    position: absolute;
    right: 26px;
    bottom: 26px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    transition: background .3s, color .3s, transform .3s;
}

[dir="rtl"] .circle-link {
    right: auto;
    left: 26px;
}

.circle-link:hover {
    background: var(--ink);
    color: var(--paper);
    transform: rotate(45deg);
}

.technical-layout {
    display: grid;
    gap: clamp(50px, 9vw, 140px);
    grid-template-columns: .75fr 1.25fr;
}

.technical-title {
    position: sticky;
    top: 130px;
    align-self: start;
}

.technical-title .display-heading {
    font-size: clamp(36px, 4.4vw, 64px);
}

.technical-title p {
    max-width: 520px;
    margin-top: 30px;
    color: rgba(36, 39, 37, .66);
}

.technical-list {
    border-top: 1px solid var(--line);
}

.technical-item {
    display: grid;
    min-height: 88px;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 28px 36px 1fr 28px;
    transition: padding .3s var(--ease), color .3s;
}

.technical-item:hover {
    padding-inline: 12px;
    color: var(--olive);
}

.service-icon {
    color: var(--bronze);
    font-size: 20px;
    text-align: center;
}

.service-number {
    color: rgba(36, 39, 37, .4);
    font-size: 10px;
}

.technical-item h3 {
    margin: 0;
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 500;
}

.service-arrow {
    font-size: 16px;
}

.light-heading .display-heading {
    color: var(--paper);
}

.project-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: 1.2fr .8fr;
}

.project-card {
    position: relative;
    min-height: 480px;
    overflow: hidden;
}

.project-card:first-child {
    min-height: 720px;
    grid-row: span 2;
}

.project-card a,
.project-card img {
    width: 100%;
    height: 100%;
}

.project-card img {
    object-fit: cover;
    transition: transform 1.1s var(--ease), filter .5s;
}

.project-card:hover img {
    filter: brightness(.75);
    transform: scale(1.035);
}

.project-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 50px 38px 34px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .76));
    color: #fff;
}

.project-overlay span {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.project-overlay h3 {
    margin: 8px 0 0;
    font-family: var(--font-en);
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.is-arabic .project-overlay h3 {
    font-family: var(--font-display-ar);
}

.process-grid {
    display: grid;
    border-top: 1px solid var(--line);
    border-inline-start: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
}

.process-step {
    position: relative;
    display: flex;
    min-height: 220px;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
    transition: background .35s, color .35s;
}

[dir="rtl"] .process-step {
    border-right: 0;
    border-left: 1px solid var(--line);
}

.process-step:hover {
    background: var(--olive);
    color: #fff;
}

.process-step > span {
    color: var(--bronze);
    font-size: 11px;
}

.process-step:hover > span {
    color: rgba(255, 255, 255, .7);
}

.process-step h3 {
    max-width: 260px;
    margin: 0;
    font-size: clamp(17px, 1.6vw, 23px);
    font-weight: 500;
    line-height: 1.5;
}

.why {
    display: grid;
    padding: 0;
    background: var(--brown);
    color: var(--paper);
    grid-template-columns: 1fr 1fr;
}

.why-media {
    min-height: 820px;
}

.why-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(60px, 8vw, 130px);
}

.why-content .display-heading {
    margin-bottom: 55px;
    font-size: clamp(36px, 4.5vw, 64px);
}

.benefit {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 19px 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.benefit span {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    font-size: 11px;
}

.benefit p {
    margin: 0;
    font-size: 14px;
}

.testimonial {
    max-width: 1050px;
    margin: 60px auto 0;
    text-align: center;
}

.testimonial > p {
    margin: 0;
    font-family: var(--font-en);
    font-size: clamp(32px, 4.5vw, 62px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.3;
}

.is-arabic .testimonial > p {
    font-family: var(--font-display-ar);
    font-size: clamp(30px, 4.1vw, 56px);
    letter-spacing: -.025em;
    line-height: 1.55;
}

.testimonial footer {
    display: flex;
    flex-direction: column;
    margin-top: 36px;
    font-size: 12px;
}

.testimonial footer span {
    margin-top: 4px;
    color: rgba(36, 39, 37, .58);
}

.quote {
    background: var(--paper);
}

.quote-grid {
    display: grid;
    gap: clamp(60px, 10vw, 150px);
    grid-template-columns: .85fr 1.15fr;
}

.quote-copy .display-heading {
    font-size: clamp(40px, 5vw, 72px);
}

.quote-copy > p {
    max-width: 500px;
    margin: 28px 0 50px;
    color: rgba(36, 39, 37, .66);
}

.quote-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quote-contact span {
    color: rgba(36, 39, 37, .5);
    font-size: 11px;
}

.quote-contact a {
    font-size: 22px;
    font-weight: 600;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.field-row {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr 1fr;
}

.quote-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-form label > span {
    font-size: 11px;
    font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    min-height: 54px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    outline: none;
    background: transparent;
    transition: border-color .3s;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--olive);
}

.button-submit {
    align-self: start;
    margin-top: 14px;
}

.form-notice {
    padding: 14px 18px;
    border-inline-start: 3px solid var(--olive);
    background: rgba(102, 112, 90, .1);
    font-size: 13px;
}

.faq-grid {
    display: grid;
    gap: clamp(60px, 10vw, 160px);
    grid-template-columns: .65fr 1.35fr;
}

.faq-grid .display-heading {
    font-size: clamp(40px, 5vw, 68px);
}

.accordion {
    border-top: 1px solid var(--line);
}

.accordion-item {
    border-bottom: 1px solid var(--line);
}

.accordion-item button {
    display: flex;
    width: 100%;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: start;
}

.accordion-item button span {
    font-size: clamp(15px, 1.4vw, 19px);
    font-weight: 600;
}

.accordion-item button i {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-style: normal;
    transition: transform .3s, background .3s, color .3s;
}

.accordion-item button[aria-expanded="true"] i {
    background: var(--ink);
    color: var(--paper);
    transform: rotate(45deg);
}

.accordion-panel p {
    max-width: 650px;
    margin: 0;
    padding: 0 0 28px;
    color: rgba(36, 39, 37, .65);
}

.site-footer {
    padding: 90px 4vw 28px;
    background: var(--ink);
    color: var(--paper);
}

.footer-main {
    display: grid;
    width: min(92vw, 1320px);
    margin: 0 auto 80px;
    gap: 45px;
    grid-template-columns: 1.5fr .7fr .8fr 1fr;
}

.brand-footer {
    margin-bottom: 26px;
}

.footer-brand p {
    max-width: 330px;
    margin: 0;
    color: rgba(255, 255, 255, .56);
    font-size: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
}

.footer-column h3 {
    margin: 0 0 14px;
    color: var(--paper);
    font-size: 12px;
}

.footer-menu,
.footer-menu .site-menu,
.footer-column .site-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu a {
    padding: 0;
}

.footer-cta p {
    margin: 0 0 16px;
}

.footer-bottom {
    display: flex;
    width: min(92vw, 1320px);
    justify-content: space-between;
    gap: 20px;
    margin-inline: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .42);
    font-size: 10px;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-credit a {
    color: rgba(255, 255, 255, .72);
    font-weight: 700;
    transition: color .25s ease;
}

.footer-credit a:hover {
    color: var(--paper);
}

.whatsapp-float {
    position: fixed;
    z-index: 900;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 4px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: #1f9f61;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 24px;
}

.inner-main {
    min-height: 70vh;
    padding-top: 76px;
}

.inner-hero {
    padding: clamp(100px, 14vw, 190px) 0 clamp(70px, 9vw, 120px);
    background: var(--sand-light);
}

.inner-hero h1 {
    max-width: 1000px;
    margin: 0;
    font-family: var(--font-display-ar);
    font-size: clamp(48px, 7vw, 100px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.1;
}

.is-english .inner-hero h1 {
    font-family: var(--font-en);
}

.inner-hero p {
    max-width: 640px;
    margin: 26px 0 0;
    color: rgba(36, 39, 37, .65);
}

.prose {
    max-width: 900px;
    padding-top: 90px;
    padding-bottom: 120px;
    font-size: 18px;
}

.prose h2,
.prose h3 {
    margin-top: 2em;
    font-family: var(--font-display-ar);
    line-height: 1.35;
}

.prose img {
    width: 100%;
    height: auto;
}

.single-cover {
    margin-top: 70px;
}

.single-cover img {
    width: 100%;
    max-height: 800px;
    object-fit: cover;
}

.single-cta {
    padding: 80px 0;
    background: var(--olive);
    color: #fff;
}

.single-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.single-cta h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 500;
}

.content-grid {
    display: grid;
    gap: 32px;
    padding-top: 90px;
    padding-bottom: 120px;
    grid-template-columns: repeat(2, 1fr);
}

.content-card {
    background: var(--paper);
}

.content-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.content-card > div {
    padding: 30px;
}

.content-card h2 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 500;
}

.content-card p {
    color: rgba(36, 39, 37, .65);
}

.archive-grid {
    display: grid;
    gap: 10px;
    padding-top: 90px;
    padding-bottom: 130px;
    grid-template-columns: repeat(2, 1fr);
}

.archive-card {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.archive-card a,
.archive-card img {
    width: 100%;
    height: 100%;
}

.archive-card img {
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.archive-card:hover img {
    transform: scale(1.035);
}

.archive-card div {
    position: absolute;
    inset: auto 0 0;
    padding: 70px 35px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    color: #fff;
}

.archive-card h2 {
    margin: 6px 0 0;
    font-size: 34px;
    font-weight: 500;
}

.archive-card span {
    font-size: 11px;
}

.not-found {
    display: grid;
    min-height: 100svh;
    place-items: center;
    padding: 120px 0;
    text-align: center;
}

.not-found span {
    color: var(--bronze);
    font-size: 16px;
    letter-spacing: .2em;
}

.not-found h1 {
    margin: 20px 0 40px;
    font-size: clamp(42px, 7vw, 92px);
    font-weight: 500;
}

.error-page {
    overflow: hidden;
    padding-top: 76px;
    background: var(--ivory);
}

.error-hero {
    position: relative;
    min-height: calc(100svh - 76px);
    padding: clamp(70px, 8vw, 120px) 0;
}

.error-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, transparent calc(25% - 1px), rgba(36, 39, 37, .08) 25%, transparent calc(25% + 1px)),
        linear-gradient(to right, transparent calc(50% - 1px), rgba(36, 39, 37, .08) 50%, transparent calc(50% + 1px)),
        linear-gradient(to right, transparent calc(75% - 1px), rgba(36, 39, 37, .08) 75%, transparent calc(75% + 1px));
    pointer-events: none;
}

.error-layout {
    position: relative;
    display: grid;
    min-height: 670px;
    align-items: center;
    gap: clamp(55px, 9vw, 150px);
    grid-template-columns: .95fr 1.05fr;
}

.error-copy {
    position: relative;
    z-index: 2;
}

.error-kicker {
    margin: 0 0 18px;
    color: var(--bronze);
    font-size: 13px;
    font-weight: 700;
}

.error-copy h1 {
    max-width: 760px;
    margin: 0;
    font-family: var(--font-en);
    font-size: clamp(50px, 6vw, 92px);
    font-weight: 500;
    letter-spacing: -.065em;
    line-height: 1.02;
}

.is-arabic .error-copy h1 {
    font-family: var(--font-display-ar);
    font-size: clamp(46px, 5.5vw, 80px);
    letter-spacing: -.045em;
    line-height: 1.25;
}

.error-description {
    max-width: 610px;
    margin: 28px 0 36px;
    color: rgba(36, 39, 37, .66);
    font-size: 15px;
}

.error-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.error-visual {
    position: relative;
    min-height: 670px;
    overflow: hidden;
    background: var(--ink);
}

.error-visual::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(36, 39, 37, .08), rgba(36, 39, 37, .38)),
        linear-gradient(90deg, rgba(36, 39, 37, .34), transparent 60%);
    content: "";
}

.error-visual img {
    width: 100%;
    height: 100%;
    min-height: 670px;
    object-fit: cover;
    filter: saturate(.7);
}

.error-number {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    color: rgba(255, 255, 255, .9);
    font-family: var(--font-en);
    font-size: clamp(110px, 16vw, 260px);
    font-weight: 500;
    letter-spacing: -.1em;
    line-height: 1;
    transform: translate(-52%, -50%);
}

.error-visual-label {
    position: absolute;
    z-index: 2;
    right: 32px;
    bottom: 30px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: rgba(255, 255, 255, .75);
    font-size: 9px;
    font-style: normal;
    letter-spacing: .18em;
}

.error-visual-label i {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, .4);
}

.error-links {
    padding: clamp(70px, 8vw, 110px) 0;
    border-top: 1px solid var(--line);
    background: var(--sand-light);
}

.error-links-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 46px;
}

.error-links-heading .eyebrow {
    margin: 0;
}

.error-links-heading p {
    margin: 0;
    color: rgba(36, 39, 37, .58);
    font-size: 13px;
}

.error-link-grid {
    display: grid;
    border-top: 1px solid var(--line);
    border-inline-start: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
}

.error-link-card {
    position: relative;
    display: flex;
    min-height: 180px;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background .35s var(--ease), color .35s var(--ease);
}

[dir="rtl"] .error-link-card {
    border-right: 0;
    border-left: 1px solid var(--line);
}

.error-link-card:hover {
    background: var(--olive);
    color: #fff;
}

.error-link-card > span {
    color: var(--bronze);
    font-size: 10px;
}

.error-link-card strong {
    max-width: 80%;
    font-size: clamp(18px, 2vw, 27px);
    font-weight: 500;
}

.error-link-card i {
    position: absolute;
    right: 26px;
    bottom: 26px;
    font-style: normal;
}

[dir="rtl"] .error-link-card i {
    right: auto;
    left: 26px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

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

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }
    .primary-nav {
        position: fixed;
        z-index: 1;
        inset: 0;
        display: flex;
        width: 100%;
        height: 100svh;
        visibility: hidden;
        align-items: center;
        justify-content: center;
        justify-self: stretch;
        padding: 110px 8vw 60px;
        background: var(--ivory);
        color: var(--ink);
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity .35s var(--ease), visibility .35s, transform .35s var(--ease);
    }
    .primary-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
    }
    .header-inner > .brand,
    .header-actions {
        position: relative;
        z-index: 2;
    }
    .primary-nav .site-menu {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .primary-nav .site-menu a {
        font-size: clamp(25px, 4.2vw, 44px);
        font-weight: 500;
    }
    .menu-toggle {
        display: block;
    }
    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }
    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }
    .site-header:has(.primary-nav.is-open) {
        color: var(--ink);
    }
    .service-card {
        min-height: 480px;
        grid-template-columns: 1fr;
        grid-template-rows: 1.15fr .85fr;
    }
    .service-featured {
        grid-template-columns: 1.4fr .6fr;
        grid-template-rows: none;
    }
    .service-wide {
        grid-template-columns: 1.3fr .7fr;
        grid-template-rows: none;
    }
    .why-content {
        padding: 70px 7vw;
    }
    .footer-main {
        grid-template-columns: 1.2fr .8fr .8fr;
    }
    .footer-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 88px 0;
    }
    .header-quote {
        display: none;
    }
    .hero {
        min-height: 820px;
    }
    .hero-content {
        padding-bottom: 180px;
    }
    .hero-content h1,
    .is-arabic .hero-content h1 {
        max-width: 760px;
        font-size: clamp(48px, 10vw, 78px);
    }
    .hero-scroll {
        display: none;
    }
    .intro-grid,
    .technical-layout,
    .quote-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .intro-grid,
    .technical-layout,
    .quote-grid,
    .faq-grid {
        gap: 52px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat:nth-child(2) {
        border-inline-end: 0;
    }
    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }
    .technical-title {
        position: static;
    }
    .project-card,
    .project-card:first-child {
        min-height: 480px;
    }
    .why {
        grid-template-columns: 1fr;
    }
    .why-media {
        min-height: 600px;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-main {
        grid-template-columns: 1.2fr .8fr;
    }
    .footer-cta {
        grid-column: auto;
    }
    .error-layout {
        min-height: auto;
        gap: 60px;
        grid-template-columns: 1fr;
    }
    .error-copy {
        padding-top: 20px;
    }
    .error-visual,
    .error-visual img {
        min-height: 560px;
    }
}

@media (max-width: 680px) {
    :root {
        --container: min(89vw, 600px);
    }
    body {
        font-size: 15px;
    }
    .header-inner {
        width: 91vw;
        min-height: 68px;
    }
    .brand-mark {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .brand-copy strong {
        font-size: 18px;
    }
    .language-switch {
        width: 32px;
        height: 32px;
    }
    .hero {
        min-height: 760px;
    }
    .hero-content {
        padding-bottom: 200px;
    }
    .hero-content h1,
    .is-arabic .hero-content h1 {
        font-size: clamp(41px, 12vw, 62px);
        line-height: 1.17;
    }
    .is-english .hero-content h1 {
        line-height: 1.02;
    }
    .hero-content p {
        margin: 22px 0 26px;
        font-size: 14px;
    }
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .hero-actions .button {
        width: 100%;
    }
    .hero-trust {
        width: 89vw;
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-trust span {
        min-height: 58px;
        padding: 14px 8px;
        font-size: 9px;
    }
    .hero-trust span:nth-child(2) {
        border-inline-end: 0;
    }
    .hero-trust span:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .24);
    }
    .display-heading,
    .is-arabic .display-heading {
        font-size: clamp(34px, 10vw, 48px);
    }
    .stats-grid {
        margin-top: 60px;
    }
    .stat {
        padding: 28px 16px;
    }
    .stat strong {
        font-size: 40px;
    }
    .services-editorial {
        grid-template-columns: 1fr;
    }
    .service-card,
    .service-featured,
    .service-wide {
        min-height: auto;
        grid-column: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 320px minmax(250px, auto);
    }
    .service-content {
        padding: 34px 28px 72px;
    }
    .service-content > span {
        top: 18px;
    }
    .service-content h3 {
        margin-top: 12px;
        font-size: 28px;
    }
    .technical-item {
        min-height: 78px;
        gap: 10px;
        grid-template-columns: 24px 25px 1fr 20px;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .project-card,
    .project-card:first-child {
        min-height: 470px;
        grid-row: auto;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .process-step {
        min-height: 160px;
    }
    .why-media {
        min-height: 480px;
    }
    .why-content {
        padding: 70px 5.5vw;
    }
    .testimonial {
        text-align: start;
    }
    .testimonial > p,
    .is-arabic .testimonial > p {
        font-size: 28px;
    }
    .field-row {
        grid-template-columns: 1fr;
    }
    .quote-contact a {
        font-size: 19px;
    }
    .accordion-item button {
        min-height: 76px;
    }
    .footer-main {
        margin-bottom: 55px;
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .footer-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .whatsapp-float,
    [dir="rtl"] .whatsapp-float {
        right: auto;
        bottom: 16px;
        left: 50%;
        width: 50px;
        height: 50px;
        transform: translateX(-50%);
    }
    .inner-main {
        padding-top: 68px;
    }
    .inner-hero h1 {
        font-size: 48px;
    }
    .single-cta .container {
        align-items: flex-start;
        flex-direction: column;
    }
    .content-grid,
    .archive-grid {
        grid-template-columns: 1fr;
    }
    .archive-card {
        min-height: 460px;
    }
    .error-page {
        padding-top: 68px;
    }
    .error-hero {
        min-height: auto;
        padding: 70px 0;
    }
    .error-grid-lines {
        background-image:
            linear-gradient(to right, transparent calc(50% - 1px), rgba(36, 39, 37, .08) 50%, transparent calc(50% + 1px));
    }
    .error-layout {
        gap: 48px;
    }
    .error-copy h1,
    .is-arabic .error-copy h1 {
        font-size: clamp(40px, 11vw, 54px);
    }
    .error-description {
        margin: 22px 0 30px;
    }
    .error-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
    }
    .error-actions .button {
        width: 100%;
    }
    .error-actions .text-link {
        align-self: flex-start;
    }
    .error-visual,
    .error-visual img {
        min-height: 420px;
    }
    .error-number {
        font-size: 118px;
    }
    .error-visual-label {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }
    .error-links-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .error-link-grid {
        grid-template-columns: 1fr;
    }
    .error-link-card {
        min-height: 145px;
    }
}
