:root {
    --night: #12100d;
    --night-2: #1f1b16;
    --stone: #ede6da;
    --sand: #d8cab5;
    --ink: #1d1914;
    --muted: #6b6258;
    --gold: #b8955c;
    --gold-2: #8f6f3d;
    --white: #faf7f1;
    --line: rgba(29, 25, 20, 0.12);
    --serif: "Amiri", "Noto Naskh Arabic", serif;
    --sans: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
    --head: 4.5rem;
    --shadow: 0 28px 60px rgba(18, 16, 13, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--muted);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.85;
}

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

figure {
    margin: 0;
}

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

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

::selection {
    background: #e2cfa9;
    color: var(--ink);
}

section[id] {
    scroll-margin-top: 5.2rem;
}

.skip {
    position: absolute;
    top: -4rem;
    inset-inline-start: 1rem;
    z-index: 99;
    background: var(--night);
    color: var(--white);
    padding: 0.55rem 0.9rem;
}

.skip:focus {
    top: 0.6rem;
}

.shell {
    width: min(1220px, calc(100% - 2.2rem));
    margin-inline: auto;
}

.ribbon {
    background: var(--night);
    color: #d8ccb9;
    font-size: 0.78rem;
    padding: 0.45rem 0;
}

.ribbon .shell {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.ribbon a {
    color: inherit;
    margin-inline-start: 1rem;
}

.ribbon a:hover {
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 241, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(18, 16, 13, 0.05);
}

.header-row {
    min-height: var(--head);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
}

.brand svg {
    width: 42px;
    height: 42px;
}

.brand strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.65rem;
    line-height: 1;
}

.brand small {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.72rem;
    color: var(--muted);
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.menu a {
    color: var(--ink);
    font-size: 0.94rem;
    background-image: linear-gradient(var(--gold-2), var(--gold-2));
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    transition: background-size 0.3s ease;
}

.menu a:hover {
    background-size: 100% 2px;
}

.menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    position: relative;
    cursor: pointer;
}

.menu-btn i {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    transition: opacity 0.2s ease;
}

.menu-btn i:first-child {
    top: 19px;
    transform: translateX(-50%);
}

.menu-btn i:last-child {
    top: 25px;
    transform: translateX(-50%);
}

.menu-open .menu-btn i {
    opacity: 0;
}

.menu-open .menu-btn::after {
    content: "×";
    font-size: 1.9rem;
    line-height: 1;
    color: var(--ink);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    border: 1px solid var(--night);
    background: #1c6d46;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
}

.btn:hover {
    background: var(--night-2);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    border-color: var(--gold-2);
    color: #fff;
}

.btn-gold:hover {
    filter: brightness(1.05);
}

.btn-line {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-line:hover {
    background: rgba(18, 16, 13, 0.04);
}

.btn-sm {
    min-height: 42px;
    padding: 0.4rem 1rem;
    font-size: 0.92rem;
}

.hero {
    position: relative;
    min-height: calc(100svh - 6.4rem);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.hero-panel {
    position: relative;
    z-index: 2;
    width: min(52rem, 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    padding: 3rem clamp(1.2rem, 5vw, 4rem);
    background: linear-gradient(165deg, rgba(18, 16, 13, 0.96), rgba(18, 16, 13, 0.82));
    color: #d9ccba;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 36rem;
}

.eyebrow {
    margin: 0;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 700;
}

.hero h1 {
    margin: 0.55rem 0 0;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.28;
    color: var(--white);
}

.hero .lead {
    margin: 1rem 0 0;
    color: #d2c4b0;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(250, 247, 241, 0.15);
}

.hero-stats strong {
    display: block;
    color: #fff;
    font-family: var(--serif);
    font-size: 1.2rem;
    line-height: 1.4;
}

.hero-stats span {
    display: block;
    font-size: 0.8rem;
    color: #b8aa97;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #12100d 0%, rgba(18, 16, 13, 0.35) 45%, rgba(18, 16, 13, 0.1) 100%);
}

.marquee {
    display: flex;
    gap: 2.5rem;
    overflow: auto hidden;
    padding: 1rem 0;
    background: var(--stone);
    border-block: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.35rem;
    white-space: nowrap;
}

.marquee span::before {
    content: "✦";
    color: var(--gold-2);
    margin-inline: 1rem;
}

.section {
    padding: 5.8rem 0;
}

.section-dark {
    background: var(--night);
    color: #d5c9b7;
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

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

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-top h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.35;
    max-width: 14em;
}

.tag {
    margin: 0 0 0.55rem;
    color: var(--gold-2);
    font-size: 0.8rem;
    font-weight: 700;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.frame {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #d7cbc0;
}

.frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.r-wide {
    aspect-ratio: 16 / 10;
}

.r-tall {
    aspect-ratio: 4 / 5;
}

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

.service-card {
    background: rgba(250, 247, 241, 0.04);
    border: 1px solid rgba(250, 247, 241, 0.12);
    padding: 1.3rem 1.1rem;
    min-height: 210px;
}

.service-card h3 {
    margin: 0 0 0.55rem;
    font-family: var(--serif);
    font-size: 1.45rem;
}

.service-card p {
    margin: 0;
    color: #cbbfad;
}

.service-card span {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.5rem;
}

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

.benefit {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1.2rem;
}

.benefit h3 {
    margin: 0 0 0.45rem;
    font-family: var(--serif);
    font-size: 1.35rem;
}

.section-works {
    background: radial-gradient(circle at 10% 0%, rgba(184, 149, 92, 0.08), transparent 40%), linear-gradient(180deg, var(--white) 0%, var(--stone) 100%);
}

.gallery-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.works-intro h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.35;
    color: var(--ink);
    max-width: 14em;
}

.works-note {
    margin: 0.65rem 0 0;
    max-width: 28rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.filters button {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    border-radius: 999px;
    min-height: 40px;
    padding: 0.4rem 1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(18, 16, 13, 0.04);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.filters button[aria-pressed="true"] {
    background: var(--night);
    border-color: var(--night);
    color: var(--white);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-card[hidden] {
    display: none;
}

.gallery-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    background: var(--white);
    border: 1px solid rgba(29, 25, 20, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(18, 16, 13, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card a:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(18, 16, 13, 0.14);
}

.gallery-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg, #ddd2c4, #cbc0b2);
}

.gallery-media.frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 16, 13, 0.02), rgba(18, 16, 13, 0.52));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gallery-card a:hover .gallery-media::after {
    opacity: 1;
}

.gallery-badge {
    position: absolute;
    top: 0.8rem;
    inset-inline-start: 0.8rem;
    z-index: 2;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    background: rgba(250, 247, 241, 0.94);
    color: var(--gold-2);
    font-size: 0.72rem;
    font-weight: 700;
}

.gallery-zoom {
    position: absolute;
    inset-inline-end: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(250, 247, 241, 0.94);
    color: var(--ink);
    font-size: 1.45rem;
    line-height: 1;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-card a:hover .gallery-zoom {
    opacity: 1;
    transform: none;
}

.gallery-card img {
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card a:hover img {
    transform: scale(1.06);
}

.gallery-card__caption {
    display: flex;
    align-items: center;
    min-height: 4.1rem;
    padding: 0.8rem 0.9rem;
    border-top: 1px solid rgba(29, 25, 20, 0.08);
    background: var(--white);
}

.gallery-card__caption strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--serif);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--ink);
}

.quote-band {
    position: relative;
    min-height: 58vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 3rem 1.2rem;
    color: #fff;
    overflow: hidden;
}

.quote-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 16, 13, 0.62);
}

.quote-band blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 16em;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    line-height: 1.6;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step {
    border-top: 2px solid var(--gold);
    padding-top: 0.8rem;
}

.step span {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--gold-2);
}

.step h3 {
    margin: 0.35rem 0;
    font-family: var(--serif);
    font-size: 1.28rem;
}

.step p {
    margin: 0;
}

.prose {
    max-width: 46rem;
}

.prose h3 {
    margin: 1.6rem 0 0;
    font-family: var(--serif);
    font-size: 1.5rem;
}

.prose ul {
    margin: 0.6rem 0 0;
    padding-inline-start: 1.1rem;
}

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

.faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 1.28rem;
    color: var(--ink);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--gold-2);
    font-size: 1.5rem;
}

.faq details[open] summary::after {
    content: "–";
}

.faq p {
    margin: 0 0 1rem;
    max-width: 44rem;
}

.contact {
    background: var(--night);
    color: #d9cdb9;
}

.contact h2,
.contact .tag {
    color: var(--white);
}

.contact .tag {
    color: #e3c28e;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
}

.contact-links a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(250, 247, 241, 0.14);
    color: var(--white);
}

.contact-links a:last-child {
    border-bottom: 1px solid rgba(250, 247, 241, 0.14);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.field span {
    font-size: 0.86rem;
    color: #e2cfb0;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    padding: 0.85rem 0.95rem;
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    min-height: 1.4rem;
    margin-top: 0.6rem;
    color: #e2c790;
}

.footer {
    background: #0d0b09;
    color: #c8bca9;
    padding: 2rem 0 6rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer strong {
    display: block;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.75rem;
}

.float-actions {
    position: fixed;
    z-index: 60;
    inset-inline-end: 1rem;
    inset-block-end: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: stretch;
}

.float-call,
.wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 50px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    color: #fff;
    box-shadow: var(--shadow);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.float-call {
    background: var(--night);
}

.float-call:hover {
    background: var(--night-2);
}

.wa {
    background: #1c6d46;
}

.wa:hover {
    background: #165839;
}

.viewer {
    width: min(1100px, calc(100vw - 1.5rem));
    border: 0;
    padding: 0;
    background: transparent;
}

.viewer::backdrop {
    background: rgba(8, 7, 6, 0.88);
}

.viewer img {
    width: 100%;
    max-height: calc(100vh - 6rem);
    object-fit: contain;
    background: #000;
}

.viewer p {
    margin: 0.75rem 0 0;
    text-align: center;
    color: #fff;
}

.viewer-close {
    position: absolute;
    top: -2.5rem;
    inset-inline-start: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 960px) {
    .menu-btn {
        display: block;
    }
    .menu-cta {
        display: none;
    }
    .menu {
        position: fixed;
        inset: var(--head) 0 0 0;
        z-index: 40;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem;
        background: var(--white);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: 0.25s ease;
    }
    .menu-open .menu {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
    .menu a {
        font-size: 1.35rem;
        font-family: var(--serif);
        padding: 0.4rem 0;
    }
    .hero {
        flex-direction: column;
        min-height: auto;
    }
    .hero-panel {
        width: 100%;
        padding: 2rem 1.2rem;
    }
    .hero-media {
        position: relative;
        min-height: 64svh;
    }
    .hero-media::after {
        background: linear-gradient(180deg, rgba(18, 16, 13, 0.05), rgba(18, 16, 13, 0.35));
    }
    .split,
    .service-grid,
    .benefits,
    .steps,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .gallery-toolbar {
        align-items: flex-start;
    }
    .filters {
        justify-content: flex-start;
    }
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }
}

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

@media (max-width: 700px) {
    .ribbon .shell {
        justify-content: center;
    }
    .ribbon .hide-sm {
        display: none;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 4rem 0;
    }
    .section-top {
        display: block;
    }
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .gallery-card__caption {
        min-height: 3.6rem;
        padding: 0.65rem 0.7rem;
    }
    .float-call span,
    .wa span:not(.sr-only) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .float-call,
    .wa {
        min-width: 50px;
        padding-inline: 0.85rem;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}