*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
:root {
    --forest: #1c3a2a;
    --green: #2e6b45;
    --green-m: #3d8558;
    --green-l: #6abf85;
    --earth: #8b6340;
    --earth-l: #c4956a;
    --cream: #f5f0e8;
    --white: #fafaf7;
    --ink: #141410;
    --muted: #6b6b5a;
    --border: rgba(46, 107, 69, 0.15);
}
[data-en] {
    display: none;
}
[data-ar] {
    display: block;
}
html[lang="en"] [data-en] {
    display: block;
}
html[lang="en"] [data-ar] {
    display: none;
}
html[lang="en"] body {
    font-family: "Syne", sans-serif;
}
html[lang="ar"] body {
    font-family: "Cairo", sans-serif;
}
body {
    background: var(--ink);
    color: var(--cream);
    overflow-x: hidden;
    cursor: none;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9997;
}
::-webkit-scrollbar {
    width: 2px;
}
::-webkit-scrollbar-track {
    background: var(--ink);
}
::-webkit-scrollbar-thumb {
    background: var(--green);
}
#cur {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--green-l);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}
#cur-r {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(106, 191, 133, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.08s;
}
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
    padding: 22px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s;
}
nav.s {
    background: rgba(20, 20, 16, 0.93);
    backdrop-filter: blur(16px);
    padding: 14px 60px;
    border-bottom: 1px solid var(--border);
}
.n-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.n-mark {
    width: 38px;
    height: 38px;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.n-mark svg {
    width: 20px;
    height: 20px;
}
.n-abbr {
    font-family: "Syne", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 4px;
}
.n-full {
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 1px;
    display: block;
    margin-top: 1px;
}
html[lang="ar"] .n-full {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 10px;
}
.n-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}
.n-links a {
    text-decoration: none;
    color: var(--cream);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.45;
    transition:
        opacity 0.3s,
        color 0.3s;
}
html[lang="ar"] .n-links a {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 13px;
    text-transform: none;
}
.n-links a:hover {
    opacity: 1;
    color: var(--green-l);
}
.n-cta {
    background: var(--green) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    opacity: 1 !important;
    border-radius: 2px;
    transition: background 0.3s !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.n-cta:hover {
    background: var(--green-m) !important;
}
.n-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.lsw {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    padding: 3px;
}
.lbtn {
    padding: 5px 11px;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.25s;
}
.lbtn.on {
    background: var(--green-m);
    color: var(--white);
}
/* ── FULLSCREEN HERO ── */
.hero-full {
    height: 92vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.hf-bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1800&q=80")
        center/cover;
    filter: brightness(0.25) saturate(0.55);
    transform: scale(1.04);
    transition: transform 8s ease;
}
.hero-full:hover .hf-bg {
    transform: scale(1);
}
.hf-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 20, 16, 1) 0%,
        rgba(20, 20, 16, 0.6) 35%,
        transparent 70%
    );
}
.hf-content {
    position: relative;
    z-index: 10;
    padding: 0 60px 60px;
    width: 100%;
}
.hf-crumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fup 0.5s 0.1s forwards;
}
.hf-cr {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    color: rgba(245, 240, 232, 0.3);
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}
html[lang="ar"] .hf-cr {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 11px;
}
.hf-cr:hover {
    color: var(--green-l);
}
.hf-cr-sep {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    color: rgba(245, 240, 232, 0.12);
}
/* CATEGORY TAG */
.hf-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 107, 69, 0.3);
    border: 1px solid rgba(106, 191, 133, 0.25);
    padding: 5px 14px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fup 0.5s 0.2s forwards;
}
.hf-cat-txt {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    color: var(--green-l);
    letter-spacing: 2px;
    text-transform: uppercase;
}
html[lang="ar"] .hf-cat-txt {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 10px;
}
/* Project H1 */
.hf-h1-en {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0;
    animation: fup 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    color: var(--white);
}
.hf-h1-ar {
    font-family: "Noto Naskh Arabic", serif;
    font-size: clamp(34px, 4.5vw, 60px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    animation: fup 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    color: var(--white);
}
/* META ROW */
.hf-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fup 0.7s 0.65s forwards;
}
.hf-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hf-meta-l {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    color: rgba(245, 240, 232, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}
html[lang="ar"] .hf-meta-l {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 10px;
}
.hf-meta-v {
    font-size: 13px;
    color: var(--cream);
    font-weight: 600;
}
html[lang="ar"] .hf-meta-v {
    font-family: "Cairo", sans-serif;
    font-size: 14px;
}
/* SCROLL INDICATOR */
.scroll-ind {
    position: absolute;
    bottom: 32px;
    right: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fup 0.5s 1.2s forwards;
}
html[lang="ar"] .scroll-ind {
    right: auto;
    left: 60px;
}
.scroll-ind-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--green-m), transparent);
}
.scroll-ind-txt {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    color: rgba(245, 240, 232, 0.25);
    letter-spacing: 3px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}
html[lang="ar"] .scroll-ind-txt {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    writing-mode: horizontal-tb;
    font-size: 10px;
}
/* ── PROJECT BODY ── */
.proj-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 0;
    align-items: start;
    background: var(--ink);
}
/* MAIN CONTENT */
.proj-main {
    padding: 80px 60px;
    border-right: 1px solid var(--border);
}
html[lang="ar"] .proj-main {
    border-right: none;
    border-left: 1px solid var(--border);
}
.sec-title-en {
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.1;
}
.sec-title-ar {
    font-family: "Noto Naskh Arabic", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.3;
}
.proj-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 52px 0;
}
.body-p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
}
html[lang="ar"] .body-p {
    font-family: "Cairo", sans-serif;
}
/* CHALLENGE / SOLUTION */
.cs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 28px;
}
.cs-card {
    background: #1c1c18;
    border: 1px solid rgba(46, 107, 69, 0.2);
    padding: 28px;
}
.cs-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.cs-ico {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.cs-label {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    color: var(--earth-l);
    letter-spacing: 2px;
    text-transform: uppercase;
}
html[lang="ar"] .cs-label {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 10px;
}
.cs-body {
    font-size: 13px;
    line-height: 1.75;
    color: var(--muted);
}
html[lang="ar"] .cs-body {
    font-family: "Cairo", sans-serif;
    font-size: 14px;
}
/* GALLERY - MODERN PREVIEW (up to 20 images) */
.pgm {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.pgm-main {
    position: relative;
    border: 1px solid rgba(106, 191, 133, 0.25);
    background: #10100e;
    min-height: 250px;
    height: 550px;
    overflow: hidden;
}

.pgm-main img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.pgm-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 16, 0.75);
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}

.pgm-nav:hover {
    border-color: var(--green-l);
    color: var(--green-l);
    background: rgba(20, 20, 16, 0.92);
}

.pgm-nav.prev {
    left: 12px;
}
.pgm-nav.next {
    right: 12px;
}

.pgm-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(20, 20, 16, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 10px;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    color: var(--cream);
    letter-spacing: 1px;
}

html[lang="ar"] .pgm-count {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 11px;
}

.pgm-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.pgm-thumb {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.pgm-thumb img {
    width: 100%;
    height: 74px;
    object-fit: cover;
    display: block;
    filter: saturate(0.55) brightness(0.72);
    transition:
        filter 0.25s,
        transform 0.25s;
}

.pgm-thumb:hover img {
    filter: saturate(0.9) brightness(0.92);
    transform: scale(1.03);
}

.pgm-thumb.is-active {
    border-color: var(--green-l);
}

.pgm-thumb.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(106, 191, 133, 0.5);
    pointer-events: none;
}
/* RESULTS */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 28px;
}
.res-item {
    background: var(--ink);
    padding: 28px 24px;
    text-align: center;
}
.res-n {
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    font-weight: 600;
    color: var(--green-l);
    display: block;
    line-height: 1;
}
html[lang="ar"] .res-n {
    font-family: "Noto Naskh Arabic", serif;
}
.res-l {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-top: 6px;
}
html[lang="ar"] .res-l {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 11px;
}
/* SIDEBAR */
.proj-sidebar {
    padding: 80px 40px;
    position: sticky;
    top: 100px;
}
/* Info table */
.info-table {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    margin-bottom: 32px;
}
.info-row {
    background: var(--ink);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.3s;
}
.info-row:hover {
    background: #1c1c18;
}
.info-lbl {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    color: rgba(245, 240, 232, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}
html[lang="ar"] .info-lbl {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 10px;
}
.info-val {
    font-size: 13px;
    color: var(--cream);
    font-weight: 600;
}
html[lang="ar"] .info-val {
    font-family: "Cairo", sans-serif;
    font-size: 14px;
}
/* Tags */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 32px;
}
.sidebar-tag {
    padding: 4px 12px;
    border: 1px solid rgba(46, 107, 69, 0.25);
    font-size: 9px;
    color: var(--green-l);
    letter-spacing: 1px;
    text-transform: uppercase;
}
html[lang="ar"] .sidebar-tag {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 10px;
}
/* CTA sidebar */
.sidebar-cta {
    background: var(--green);
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.sidebar-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 100% 0%,
        rgba(255, 255, 255, 0.08),
        transparent 60%
    );
}
.sidebar-cta-t {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
html[lang="ar"] .sidebar-cta-t {
    font-family: "Noto Naskh Arabic", serif;
    font-size: 18px;
}
.sidebar-cta-d {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}
html[lang="ar"] .sidebar-cta-d {
    font-family: "Cairo", sans-serif;
    font-size: 13px;
}
.sidebar-cta-btn {
    background: var(--cream);
    color: var(--forest);
    padding: 11px 22px;
    font-family: "Syne", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition:
        transform 0.2s,
        background 0.2s;
}
html[lang="ar"] .sidebar-cta-btn {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 12px;
    text-transform: none;
}
.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    background: var(--white);
}
.related-sec {
    background: #111110;
    padding: 80px 60px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 48px;
}
.rp {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    background: var(--forest);
}
.rp-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    filter: saturate(0.45) brightness(0.6);
    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.4s;
}
.rp:hover .rp-img {
    transform: scale(1.06);
    filter: saturate(0.75) brightness(0.78);
}
.rp-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 20, 16, 0.95) 0%,
        transparent 55%
    );
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.rp-cat {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--earth-l);
    text-transform: uppercase;
    margin-bottom: 4px;
    transform: translateY(6px);
    opacity: 0;
    transition:
        transform 0.3s,
        opacity 0.3s;
}
html[lang="ar"] .rp-cat {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 10px;
}
.rp-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    transform: translateY(8px);
    opacity: 0;
    transition:
        transform 0.3s 0.04s,
        opacity 0.3s 0.04s;
}
html[lang="ar"] .rp-name {
    font-family: "Noto Naskh Arabic", serif;
    font-size: 16px;
}
.rp:hover .rp-cat,
.rp:hover .rp-name {
    transform: translateY(0);
    opacity: 1;
}
/* CTA */
.cta-band {
    background: var(--green);
    padding: 70px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    position: absolute;
    font-family: "Cormorant Garamond", serif;
    font-size: 200px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
}
html[lang="en"] .cta-band::before {
    content: "BUILD";
    right: -20px;
}
html[lang="ar"] .cta-band::before {
    content: "نبني";
    left: -10px;
    font-family: "Noto Naskh Arabic", serif;
    right: auto;
}
.cta-band-txt {
    position: relative;
    z-index: 1;
}
.cta-band-pre {
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 10px;
}
html[lang="ar"] .cta-band-pre {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 11px;
}
.cta-band-h-en {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
}
.cta-band-h-en em {
    font-style: italic;
    color: var(--earth-l);
}
.cta-band-h-ar {
    font-family: "Noto Naskh Arabic", serif;
    font-size: clamp(22px, 2.6vw, 36px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}
.cta-band-h-ar em {
    font-style: normal;
    color: var(--earth-l);
}
.btn-cream {
    background: var(--cream);
    color: var(--forest);
    padding: 15px 34px;
    font-family: "Syne", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.2s;
}
html[lang="ar"] .btn-cream {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 13px;
    text-transform: none;
}
.btn-cream::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
html[lang="ar"] .btn-cream::before {
    transform-origin: right;
}
.btn-cream:hover::before {
    transform: scaleX(1);
}
.btn-cream:hover {
    transform: translateY(-2px);
}
.btn-cream .t {
    position: relative;
    z-index: 1;
}
footer {
    background: #0d0d0b;
    padding: 56px 60px 26px;
}
.ft {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.f-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
}
.f-mk {
    width: 34px;
    height: 34px;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
}
.f-mk svg {
    width: 18px;
    height: 18px;
}
.f-abbr2 {
    font-family: "Syne", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 4px;
}
.f-tag {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 14px;
    color: var(--earth-l);
    display: block;
    margin-bottom: 8px;
}
html[lang="ar"] .f-tag {
    font-family: "Noto Naskh Arabic", serif;
    font-style: normal;
    font-size: 15px;
}
.f-about {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.22);
    line-height: 1.7;
    max-width: 210px;
}
html[lang="ar"] .f-about {
    font-family: "Cairo", sans-serif;
    font-size: 13px;
}
.fc h5 {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--green-l);
    text-transform: uppercase;
    margin-bottom: 16px;
}
html[lang="ar"] .fc h5 {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 10px;
}
.fc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.fc a {
    color: rgba(255, 255, 255, 0.22);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}
html[lang="ar"] .fc a {
    font-family: "Cairo", sans-serif;
    font-size: 13px;
}
.fc a:hover {
    color: rgba(255, 255, 255, 0.7);
}
.fb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}
.f-copy {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 1px;
}
html[lang="ar"] .f-copy {
    font-family: "Cairo", sans-serif;
    letter-spacing: 0;
    font-size: 11px;
}
.fsoc {
    display: flex;
    gap: 9px;
}
.fsoc a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.22);
    font-size: 11px;
    font-family: "DM Mono", monospace;
    transition:
        border-color 0.3s,
        color 0.3s,
        transform 0.2s;
}
.fsoc a:hover {
    border-color: var(--green-l);
    color: var(--green-l);
    transform: translateY(-2px);
}
@keyframes fup {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sr {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.sr.in {
    opacity: 1;
    transform: translateY(0);
}
.sl {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
html[lang="ar"] .sl {
    transform: translateX(40px);
}
.sl.in {
    opacity: 1;
    transform: translateX(0);
}
.srr {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
html[lang="ar"] .srr {
    transform: translateX(-40px);
}
.srr.in {
    opacity: 1;
    transform: translateX(0);
}
.d1 {
    transition-delay: 0.1s;
}
.d2 {
    transition-delay: 0.2s;
}
.d3 {
    transition-delay: 0.3s;
}
@media (max-width: 900px) {
    nav {
        padding: 16px 22px;
    }
    nav.s {
        padding: 12px 22px;
    }
    .n-links {
        display: none;
    }
    .proj-body {
        grid-template-columns: 1fr;
    }
    .proj-main {
        padding: 52px 22px;
        border: none;
    }
    .proj-sidebar {
        padding: 0 22px 52px;
        position: static;
    }
    .cs-grid,
    .results-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .pgm-main,
    .pgm-main img {
        min-height: 260px;
    }

    .pgm-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pgm-thumb img {
        height: 68px;
    }
    .hf-content {
        padding: 0 22px 44px;
    }
    .hf-meta {
        gap: 18px;
    }
    .cta-band {
        flex-direction: column;
        padding: 52px 22px;
    }
    .ft {
        grid-template-columns: 1fr;
    }
    footer {
        padding: 44px 22px 22px;
    }
}

@media (max-width: 520px) {
    .pgm-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pgm-main,
    .pgm-main img {
        min-height: 220px;
    }
}
