:root {
    --orange: #f27b21;
    --black: #0d0d0d;
    --grey: #575757;
    --line: #dedede;
    --ivory: #fafafa;
    --white: #fff;
    --shell: 1440px;
    --pad: 64px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #f9f9f9;
    color: var(--black);
    font-family: Inter, sans-serif;
    line-height: 1.75
}

html[dir=rtl] body {
    font-family: "Noto Kufi Arabic", Inter, sans-serif
}

h1,
h2,
h3,
.brand,
.footer-brand {
    font-family: "Libre Caslon Text", serif;
    font-weight: 400;
    line-height: 1.15;
    margin: 0
}

html[dir=rtl] h1,
html[dir=rtl] h2,
html[dir=rtl] h3,
html[dir=rtl] .brand {
    font-family: "Noto Kufi Arabic", sans-serif
}

h1 {
    font-size: clamp(46px, 6vw, 72px)
}

h2 {
    font-size: clamp(34px, 4vw, 48px)
}

h3 {
    font-size: 24px
}

p {
    color: var(--grey);
    margin: 0
}

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

img {
    display: block;
    width: 100%;
    object-fit: cover
}

.shell {
    width: min(100%, var(--shell));
    margin: auto;
    padding-inline: var(--pad)
}

.section {
    padding-block: 120px
}

.ivory {
    background: var(--ivory);
    border-block: 1px solid var(--line)
}

.label,
.eyebrow,
small,
legend,
.site-nav a,
.action,
.footer-grid h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase
}

.site-nav {
    height: 80px;
    position: fixed;
    z-index: 50;
    inset: 0 0 auto;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line)
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: none
}

.desktop-nav {
    display: flex;
    gap: 32px
}

.desktop-nav a {
    padding-block: 8px;
    border-bottom: 1px solid transparent
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--orange);
    border-color: var(--orange)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.consult-button,
.language-button {
    border: 1px solid var(--black);
    background: var(--black);
    color: #fff;
    padding: 11px 20px;
    font: 600 11px Inter;
    letter-spacing: .08em;
    text-transform: uppercase
}

.language-button {
    background: #fff;
    color: var(--black);
    cursor: pointer
}

.menu-button {
    display: none;
    border: 0;
    background: none
}

.mobile-nav {
    display: none
}

main {
    padding-top: 80px
}

.home-hero {
    min-height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    height: 100%
}

.hero-shade {
    background: rgba(209, 209, 209, 0.72)
}

.hero-copy {
    position: relative;
    color: #fff
}

.hero-copy>p {
    max-width: 620px;
    color: #c7c6c6;
    font-size: 18px
}

.hero-copy .eyebrow {
    color: var(--orange);
    margin-bottom: 10px
}

.hero-copy h1 {
    max-width: 850px;
    margin-bottom: 24px
}

.action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 28px;
    border: 1px solid var(--black);
    margin-top: 28px;
    transition: .2s
}

.action.orange {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff
}

.action.orange:hover {
    background: var(--black);
    border-color: var(--black)
}

.action.outline:hover {
    background: var(--black);
    color: #fff
}

.action.wide {
    width: 100%
}

.section-heading {
    margin-bottom: 60px
}

.section-heading p {
    font-size: 18px;
    max-width: 720px;
    margin-top: 14px
}

.section-heading.centered {
    text-align: center
}

.section-heading.centered p {
    margin-inline: auto
}

.phase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line)
}

.phase-card {
    padding: 32px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: 300px
}

.phase-card .material-symbols-outlined {
    color: var(--orange);
    font-size: 34px
}

.phase-card small {
    display: block;
    color: var(--grey);
    margin: 25px 0 4px
}

.phase-card p {
    margin-top: 15px
}

.dark-card {
    background: var(--black);
    color: #fff
}

.dark-card p {
    color: #c7c6c6
}

.page-intro {
    padding-block: 110px;
    border-bottom: 1px solid var(--line)
}

.page-intro p {
    font-size: 18px;
    max-width: 780px;
    margin-top: 18px
}

.services-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 70px;
    padding-block: 100px
}

.service-index {
    position: sticky;
    top: 120px;
    height: max-content;
    border-inline-start: 1px solid var(--line);
    display: flex;
    flex-direction: column
}

.service-index a {
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase
}

.service-index a:hover {
    color: var(--orange)
}

.service-list {
    display: grid;
    gap: 110px
}

.service-block {
    scroll-margin-top: 110px
}

.service-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px
}

.service-title span {
    font-size: 40px
}

.service-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

.service-columns+.service-columns {
    margin-top: 70px;
    padding-top: 70px;
    border-top: 1px solid var(--line)
}

.service-columns ul {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--line)
}

.service-columns li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.service-media {
    border: 1px solid var(--grey);
    padding: 28px;
    background: var(--ivory)
}

.service-media img {
    height: 200px;
    margin-bottom: 24px;
    filter: grayscale(1)
}

.service-media .action {
    width: 100%;
    margin-top: 0
}

.center-intro {
    text-align: center;
    padding-block: 115px
}

.center-intro p {
    max-width: 900px;
    margin: 28px auto 0;
    font-size: 18px
}

.approach-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px
}

.approach-card {
    border: 1px solid var(--line);
    background: #fff;
    padding: 32px
}

.approach-card p {
    margin-top: 12px
}

.approach-card img {
    height: 210px;
    margin-top: 25px;
    filter: grayscale(1)
}

.approach-main {
    grid-row: span 2
}

.legacy-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 8%;
    align-items: center
}

.legacy-grid>img {
    height: 600px;
    filter: grayscale(1);
    border: 1px solid var(--line);
    padding: 8px
}

.lead {
    font-size: 18px;
    margin: 20px 0 35px
}

.value-list article {
    border-top: 1px solid var(--line);
    padding: 18px 0
}

.value-list p {
    margin-top: 5px
}

.stats-band {
    background: var(--black);
    color: #fff;
    padding: 90px 0;
    text-align: center
}

.stats-band h2 {
    margin-bottom: 50px
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.stats-grid.five {
    grid-template-columns: repeat(5, 1fr)
}

.stats-grid div {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-inline-end: 1px solid #555
}

.stats-grid div:last-child {
    border: 0
}

.stats-grid strong {
    font: 400 56px "Libre Caslon Text";
    color: var(--orange)
}

.stats-grid span {
    color: #c7c6c6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em
}

.stats-band.compact {
    padding: 70px 0
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.testimonial {
    border: 1px solid var(--line);
    padding: 45px
}

.testimonial>p {
    font: italic 22px/1.6 "Libre Caslon Text";
    color: var(--black)
}

.person {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 28px
}

.person img {
    width: 50px;
    height: 50px;
    border-radius: 50%
}

.person div {
    display: flex;
    flex-direction: column
}

.person span {
    font-size: 13px;
    color: var(--grey)
}

.portfolio-hero {
    height: 614px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, transparent 95%, #eee 95%);
    background-size: 8.333% 100%
}

.portfolio-hero p {
    max-width: 760px;
    border-inline-start: 4px solid var(--orange);
    padding-inline-start: 28px;
    margin-top: 24px;
    font-size: 18px
}

.portfolio-hero .eyebrow {
    color: var(--orange)
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.project-card {
    background: #fff;
    border: 1px solid var(--line)
}

.project-image {
    height: 255px;
    position: relative;
    overflow: hidden
}

.project-image img {
    height: 100%;
    filter: grayscale(1);
    transition: .5s
}

.project-card:hover img {
    filter: none;
    transform: scale(1.02)
}

.project-image span {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    background: var(--orange);
    color: #fff;
    padding: 7px 14px;
    font-size: 11px;
    text-transform: uppercase
}

.project-copy {
    padding: 30px
}

.project-copy p {
    margin: 15px 0
}

.project-copy a {
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid
}

.regional-grid {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 50px;
    align-items: center
}

.regional-grid ul {
    list-style: none;
    padding: 0;
    margin-top: 30px
}

.regional-grid li {
    margin: 13px 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase
}

.regional-grid i {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--black);
    margin-inline-end: 15px
}

.regional-grid i.primary {
    background: var(--orange)
}

.map-card {
    height: 500px;
    position: relative;
    border: 1px solid var(--line);
    overflow: hidden
}

.map-card>img {
    height: 100%;
    filter: grayscale(1);
    opacity: .45
}

.map-card>div {
    position: absolute;
    inset: auto 50% 40px auto;
    transform: translateX(50%);
    background: rgba(13, 13, 13, .94);
    color: #fff;
    padding: 20px 28px;
    border-inline-start: 4px solid var(--orange)
}

.map-card p {
    color: #aaa
}

.cta-section {
    text-align: center
}

.cta-section h2 {
    max-width: 850px;
    margin: auto
}

.cta-section .action {
    margin-inline: 10px
}

.contact-grid {
    display: grid;
    grid-template-columns: 7fr 4fr;
    gap: 8%
}

.consult-form {
    border: 1px solid var(--line);
    padding: 45px;
    background: #fff
}

.consult-form h2 {
    margin-bottom: 30px
}

.consult-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 20px
}

.consult-form input,
.consult-form textarea {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #999;
    padding: 13px 0;
    background: transparent;
    font: 16px Inter;
    outline: none
}

.consult-form input:focus,
.consult-form textarea:focus {
    border-color: var(--orange)
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0
}

legend {
    color: var(--grey)
}

.interest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr
}

.interest-grid label {
    display: flex;
    gap: 10px;
    align-items: center;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px
}

.interest-grid input {
    width: auto
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

.form-status {
    margin-top: 15px
}

.contact-aside h3 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 18px
}

.contact-aside>p {
    margin-bottom: 20px
}

.contact-line {
    margin-bottom: 18px
}

.contact-line small,
.contact-line span {
    display: block
}

.contact-map {
    height: 210px;
    filter: grayscale(1)
}

.faq-grid {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 8%
}

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

.faq-item button {
    width: 100%;
    padding: 25px 0;
    border: 0;
    background: none;
    display: flex;
    justify-content: space-between;
    text-align: start;
    font: 24px "Libre Caslon Text";
    cursor: pointer
}

.faq-item>div {
    max-height: 0;
    overflow: hidden;
    transition: .25s
}

.faq-item.open>div {
    max-height: 250px;
    padding-bottom: 20px
}

.site-footer {
    background: var(--black);
    color: #fff;
    padding-top: 90px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px
}

.footer-brand {
    font-size: 34px
}

.footer-grid p {
    color: #c7c6c6
}

.footer-grid h4 {
    color: var(--orange)
}

.footer-grid a {
    display: block;
    color: #c7c6c6;
    font-size: 13px;
    margin: 10px 0
}

.footer-grid a:hover {
    color: var(--orange)
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 60px;
    padding-block: 25px;
    color: #777;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em
}

@media(max-width:900px) {
    :root {
        --pad: 24px
    }

    .desktop-nav,
    .consult-button {
        display: none
    }

    .menu-button {
        display: block
    }

    .mobile-nav.open {
        display: flex;
        position: absolute;
        top: 80px;
        inset-inline: 0;
        background: #fff;
        padding: 25px;
        flex-direction: column;
        gap: 18px;
        border-bottom: 1px solid var(--line)
    }

    .phase-grid,
    .stats-grid,
    .stats-grid.five,
    .project-grid {
        grid-template-columns: 1fr 1fr
    }

    .services-layout,
    .service-columns,
    .legacy-grid,
    .regional-grid,
    .contact-grid,
    .faq-grid {
        grid-template-columns: 1fr
    }

    .service-index {
        position: static;
        flex-direction: row;
        overflow: auto
    }

    .approach-grid {
        grid-template-columns: 1fr
    }

    .approach-main {
        grid-row: auto
    }

    .testimonial-grid {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .legacy-grid>img {
        height: 420px
    }
}

@media(max-width:560px) {
    :root {
        --pad: 20px
    }

    .section {
        padding-block: 80px
    }

    .brand {
        font-size: 12px;
        gap: 6px
    }

    .brand img {
        width: 36px;
        height: 36px
    }

    .language-button {
        padding: 8px
    }

    .home-hero {
        min-height: 720px
    }

    .phase-grid,
    .stats-grid,
    .stats-grid.five,
    .project-grid,
    .form-row,
    .interest-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .phase-card {
        min-height: auto
    }

    .stats-grid div {
        border: 0;
        border-bottom: 1px solid #444
    }

    .service-media {
        padding: 15px
    }

    .center-intro,
    .page-intro {
        padding-block: 80px
    }

    .consult-form {
        padding: 25px
    }

    .portfolio-hero {
        height: 520px
    }

    .map-card {
        height: 350px
    }

    .map-card>div {
        width: 80%;
        inset-inline-end: 50%
    }

    .cta-section .action {
        width: 100%;
        margin-inline: 0
    }

    .site-footer {
        padding-top: 60px
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.blog-card {
    background: #fff;
    border: 1px solid var(--line)
}

.blog-card>a {
    display: block;
    height: 100%
}

.blog-image {
    height: 235px;
    overflow: hidden
}

.blog-image img {
    height: 100%;
    filter: grayscale(1);
    transition: .45s
}

.blog-card:hover img {
    filter: none;
    transform: scale(1.02)
}

.blog-copy {
    padding: 30px
}

.blog-copy small,
.article-hero small {
    display: block;
    color: var(--orange);
    text-transform: uppercase
}

.blog-copy h2 {
    font-size: 30px;
    margin: 10px 0 15px
}

.article-hero {
    padding-block: 110px 70px
}

.article-back {
    display: inline-block;
    margin-bottom: 35px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--black)
}

.article-hero h1 {
    max-width: 920px;
    margin: 12px 0 22px
}

.article-hero p {
    max-width: 760px;
    font-size: 20px
}

.article-hero span {
    display: block;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase
}

.article-media img {
    height: 520px;
    border: 1px solid var(--line);
    filter: grayscale(1)
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 250px;
    gap: 80px;
    padding-block: 80px 120px
}

.article-body {
    font-size: 18px;
    line-height: 1.9
}

.article-body>*+* {
    margin-top: 22px
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 44px
}

.article-body a {
    border-bottom: 1px solid var(--orange);
    color: var(--orange)
}

.article-body blockquote {
    margin: 35px 0;
    padding-inline-start: 25px;
    border-inline-start: 4px solid var(--orange);
    font: italic 24px/1.5 "Libre Caslon Text";
    color: var(--black)
}

.article-tags {
    border-inline-start: 1px solid var(--line);
    padding-inline-start: 24px;
    height: max-content;
    position: sticky;
    top: 115px
}

.article-tags h2 {
    font-size: 22px;
    margin-bottom: 16px
}

.article-tags span {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 5px 10px;
    border: 1px solid var(--line);
    font-size: 12px;
    text-transform: uppercase
}

@media(max-width:900px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr
    }

    .article-layout {
        grid-template-columns: 1fr
    }

    .article-tags {
        position: static;
        border-inline-start: 0;
        padding-inline-start: 0
    }

    .article-media img {
        height: 380px
    }
}

@media(max-width:560px) {
    .blog-grid {
        grid-template-columns: 1fr
    }

    .blog-copy h2 {
        font-size: 26px
    }

    .article-hero {
        padding-block: 80px 45px
    }

    .article-media img {
        height: 280px
    }

    .article-layout {
        padding-block: 55px 80px
    }
}

/* Theme and resilience layer */
:root {
    color-scheme: light;
    --bg: #f9f9f9;
    --surface: #fafafa;
    --panel: #ffffff;
    --text: #0d0d0d;
    --muted: #575757;
    --border: #dedede;
    --inverse: #0d0d0d;
    --inverse-text: #ffffff;
    --soft-text: #c7c6c6;
    --accent: var(--orange);
    --danger: #ba1a1a;
    --black: var(--text);
    --grey: var(--muted);
    --line: var(--border);
    --ivory: var(--surface);
    --white: var(--panel)
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0d0f10;
    --surface: #151719;
    --panel: #1b1e21;
    --text: #f4f0ea;
    --muted: #b8b1a8;
    --border: #33383c;
    --inverse: #050505;
    --inverse-text: #ffffff;
    --soft-text: #d2cbc3
}

html,
body {
    max-width: 100%;
    overflow-x: clip
}

body {
    background: var(--bg);
    color: var(--text)
}

h1,
h2,
h3,
h4,
p,
a,
li,
span,
small,
strong,
button,
label,
legend {
    overflow-wrap: anywhere
}

.shell,
.nav-inner,
.desktop-nav,
.nav-actions,
.phase-card,
.service-block,
.service-columns>*,
.approach-card,
.legacy-grid>*,
.testimonial,
.project-card,
.project-copy,
.regional-grid>*,
.contact-grid>*,
.faq-grid>*,
.blog-card,
.blog-copy,
.article-body,
.article-tags,
.footer-grid>* {
    min-width: 0
}

.site-nav {
    background: color-mix(in srgb, var(--panel) 94%, transparent);
    border-bottom-color: var(--border);
    color: var(--text)
}

.desktop-nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2px
}

.brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis
}

.consult-button,
.language-button,
.theme-button,
.menu-button {
    min-width: 0;
    flex: none
}

.theme-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    display: inline-grid;
    place-items: center;
    cursor: pointer
}

.theme-button:hover,
.language-button:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.consult-button,
.action.orange {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

.language-button,
.action {
    background: var(--panel);
    color: var(--text);
    border-color: var(--border)
}

.action.outline:hover,
.action.orange:hover {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg)
}

.home-hero {
    isolation: isolate
}

.hero-shade {
    background: linear-gradient(90deg, rgba(13, 13, 13, .74), rgba(13, 13, 13, .42))
}

.hero-copy,
.hero-copy>p,
.dark-card,
.dark-card p,
.stats-band,
.stats-band p,
.site-footer,
.site-footer p,
.site-footer a,
.map-card>div,
.map-card p {
    color: var(--inverse-text)
}

.dark-card,
.stats-band,
.site-footer,
.map-card>div {
    background: var(--inverse)
}

.phase-grid,
.phase-card,
.page-intro,
.service-index,
.service-columns+.service-columns,
.service-columns ul,
.service-columns li,
.approach-card,
.legacy-grid>img,
.value-list article,
.testimonial,
.project-card,
.map-card,
.consult-form,
.contact-aside h3,
.faq-item,
.blog-card,
.article-media img,
.article-back,
.article-tags,
.article-tags span,
.footer-bottom {
    border-color: var(--border)
}

.approach-card,
.project-card,
.consult-form,
.blog-card {
    background: var(--panel)
}

.portfolio-hero {
    min-height: 520px;
    height: auto;
    background: linear-gradient(90deg, transparent 95%, color-mix(in srgb, var(--border) 48%, transparent) 95%);
    background-size: 8.333% 100%
}

.service-media {
    border-color: var(--border);
    background: var(--surface)
}

.testimonial>p,
.article-body blockquote,
.faq-item button,
.consult-form input,
.consult-form textarea {
    color: var(--text)
}

.consult-form input,
.consult-form textarea {
    border-bottom-color: var(--border)
}

.consult-form input::placeholder,
.consult-form textarea::placeholder {
    color: var(--muted)
}

.regional-grid i {
    background: var(--text)
}

.mobile-nav.open {
    background: var(--panel);
    border-bottom-color: var(--border)
}

.footer-grid p,
.footer-grid a,
.footer-bottom,
.stats-grid span {
    color: var(--soft-text)
}

.stats-grid div {
    border-color: color-mix(in srgb, var(--inverse-text) 24%, transparent)
}

.project-image span {
    color: #fff
}

.service-media img,
.approach-card img,
.legacy-grid>img,
.project-image img,
.map-card>img,
.contact-map,
.blog-image img,
.article-media img {
    background: var(--surface)
}

.service-index,
.article-tags {
    scrollbar-width: thin
}

.article-body img,
.article-body iframe,
.article-body table {
    max-width: 100%
}

.article-body table {
    display: block;
    overflow-x: auto
}

@media(max-width:1100px) {
    .desktop-nav {
        gap: 18px
    }

    .nav-inner {
        gap: 14px
    }
}

@media(max-width:1180px) {
    .desktop-nav,
    .consult-button {
        display: none
    }

    .menu-button {
        display: inline-grid;
        place-items: center;
        width: 42px;
        height: 42px;
        color: var(--text)
    }

    .mobile-nav.open {
        display: flex;
        position: absolute;
        top: 80px;
        inset-inline: 0;
        background: var(--panel);
        padding: 25px;
        flex-direction: column;
        gap: 18px;
        border-bottom: 1px solid var(--border)
    }
}

@media(max-width:900px) {
    .nav-actions {
        flex-wrap: nowrap
    }

    .theme-button,
    .menu-button {
        display: inline-grid;
        place-items: center
    }

    .service-index {
        max-width: 100%;
        padding-bottom: 6px
    }
}

@media(max-width:560px) {
    .nav-actions {
        gap: 6px
    }

    .theme-button,
    .menu-button {
        width: 38px;
        height: 38px
    }

    .language-button {
        max-width: 92px;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .home-hero {
        min-height: min(720px, calc(100svh - 80px))
    }

    .service-title {
        align-items: flex-start
    }

    .service-columns li {
        display: block
    }

    .project-copy,
    .blog-copy,
    .consult-form {
        padding: 22px
    }

    .faq-item button {
        font-size: 21px;
        gap: 16px
    }
}
