/* «أعمالنا» page (/works) and «كل الفيديوهات» (/works/videos) — site identity: white page, sand panels, ember gradient.
   Everything is scoped under .wv so the shared header/footer stay untouched. Motion is slow on purpose. */
.wv {
    --wv-sand: #f7f1ea;
    --wv-sand-2: #fbf7f2;
    --wv-line: #ece3d8;
    --wv-ink: #1a1a1a;
    --wv-ink-2: #45403b;
    --wv-stone: #6b7280;
    --wv-ember: #d42b1e;
    --wv-flame: #e07428;
    --wv-g: linear-gradient(135deg, #bc0000, #e07428);
    --wv-g-soft: linear-gradient(135deg, #d42b1e, #e07428);
    --wv-shadow: 0 14px 36px -18px rgba(120, 40, 10, .28);
    --wv-glow: 0 12px 22px -14px rgba(188, 0, 0, .8);
    color: var(--wv-ink);
    font-size: 17px;
    line-height: 1.85;
    overflow-x: clip;
}
body:has(.wv) { background: #fff; }
/* The site header is fixed: the page starts under it (its height is measured by the page script). */
.wv-page { padding-top: calc(var(--wv-top, 88px) + 4px); }
.wv [hidden], .wv[hidden] { display: none !important; }
.wv h1, .wv h2, .wv h3 { margin: 0; line-height: 1.3; font-weight: 900; text-wrap: balance; color: var(--wv-ink); }
.wv p { margin: 0; }
.wv-wrap { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: 24px; }
.wv-gt { background: var(--wv-g-soft); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.wv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease; }
.wv-btn:hover { transform: translateY(-2px); }
.wv-btn i { font-size: 19px; }
.wv-btn--ember { background: var(--wv-g); color: #fff !important; box-shadow: 0 14px 26px -14px rgba(188, 0, 0, .8); }
.wv-btn--line { background: transparent; color: var(--wv-ink) !important; box-shadow: inset 0 0 0 1.5px var(--wv-ink); }
.wv-btn--line:hover { background: var(--wv-ink); color: #fff !important; }
.wv-btn--white { background: #fff; color: var(--wv-ink) !important; box-shadow: var(--wv-shadow); }
.wv-btn--onember { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px #fff; }
.wv-btn--onember:hover { background: #fff; color: var(--wv-ink) !important; }
.wv-btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.wv-btn--sm i { font-size: 17px; }
.wv-btn--glass { background: rgba(255, 255, 255, .16); color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.wv-btn--glass:hover { background: #fff; color: var(--wv-ink) !important; }
.wv-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--wv-line); font-size: 14px; font-weight: 700; color: var(--wv-ink); text-decoration: none; }
.wv-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wv-g); }
.wv-isq { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--wv-g); color: #fff; font-size: 19px; }

/* Hero */
.wv-hero { margin: 24px auto 0; }
.wv-hero__band { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; padding: 56px; border-radius: 32px; background: var(--wv-sand); }
.wv-hero__band::before { content: ""; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 116, 40, .28), transparent 65%); pointer-events: none; }
.wv-hero__text { position: relative; display: grid; gap: 18px; justify-items: start; }
.wv-hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.wv-hero__lead { max-width: 34em; color: var(--wv-ink-2); font-size: 18px; }
.wv-hero__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.wv-hero__nums { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.wv-hero__nums span { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 16px; border-radius: 999px; background: #fff; font-size: 14px; color: var(--wv-ink-2); box-shadow: 0 6px 18px -14px rgba(120, 40, 10, .5); }
.wv-hero__nums b { font-size: 19px; font-weight: 900; color: var(--wv-ink); font-variant-numeric: tabular-nums; }
.wv-collage { position: relative; height: 430px; }
.wv-collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: 22px; background: #efe6d9; border: 6px solid #fff; box-shadow: 0 30px 50px -28px rgba(80, 30, 10, .55); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.wv-collage figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wv-collage figure:nth-of-type(1) { inset: 6% 34% 26% 0; transform: rotate(-5deg); }
.wv-collage figure:nth-of-type(2) { inset: 0 0 42% 40%; transform: rotate(4deg); }
.wv-collage figure:nth-of-type(3) { inset: 50% 6% 0 30%; transform: rotate(-2deg); }
.wv-collage:hover figure:nth-of-type(1) { transform: rotate(-7deg) translateY(-6px); }
.wv-collage:hover figure:nth-of-type(2) { transform: rotate(6deg) translateY(-8px); }
.wv-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; background: #fff; box-shadow: var(--wv-shadow); font-size: 13.5px; line-height: 1.4; }
.wv-chip b { display: block; font-size: 16px; }
.wv-chip--a { inset-block-start: 4%; inset-inline-start: 42%; transform: rotate(-3deg); }
.wv-chip--b { inset-block-end: 6%; inset-inline-end: 0; transform: rotate(3deg); }

/* Filter bar (stays visible while scrolling) */
.wv-bar { position: sticky; top: var(--wv-top, 72px); z-index: 20; margin-top: 34px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wv-bar .wv-wrap { display: flex; align-items: center; gap: 14px; padding-block: 12px; }
.wv-pills { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; flex: 1; }
.wv-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--wv-line); border-radius: 999px; background: #fff; color: var(--wv-ink); font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: border-color .3s, background .3s, color .3s, box-shadow .3s; }
.wv-pill em { min-width: 24px; padding-inline: 7px; border-radius: 999px; background: var(--wv-sand); font-style: normal; font-size: 12.5px; line-height: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.wv-pill:hover, .wv-pill[aria-pressed="true"] { border-color: transparent; background: var(--wv-g); color: #fff; box-shadow: var(--wv-glow); }
.wv-pill:hover em, .wv-pill[aria-pressed="true"] em { background: rgba(255, 255, 255, .22); }
.wv-search { flex: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--wv-line); border-radius: 999px; background: var(--wv-sand-2); }
.wv-search i { color: var(--wv-stone); font-size: 18px; }
.wv-search input { width: 170px; border: 0; background: none; font: inherit; font-size: 15px; outline: none; color: var(--wv-ink); }

/* Works gallery: every work is the same square, its details appear over the image on hover */
.wv-gal { padding-block: 26px 20px; }
.wv-gal__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-bottom: 22px; }
.wv-gal__head h2 { font-size: 28px; }
.wv-gal__head p { color: var(--wv-stone); font-size: 15px; }
.wv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wv-card { position: relative; aspect-ratio: 1 / 1; max-width: 100%; min-width: 0; overflow: hidden; border-radius: 24px; background: #efe6d9; isolation: isolate; }
.wv-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.wv-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-size: 54px; }
.wv-card:hover > img, .wv-card:focus-within > img { transform: scale(1.06); }
.wv-card__badge { position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(26, 26, 26, .72); color: #fff; font-size: 12.5px; font-weight: 700; transition: opacity .4s; }
.wv-card__ov { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; padding: 22px; background: linear-gradient(180deg, rgba(26, 26, 26, 0) 25%, rgba(26, 26, 26, .9)); color: #fff; opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.wv-card:hover .wv-card__ov, .wv-card:focus-within .wv-card__ov { opacity: 1; transform: none; }
.wv-card:hover .wv-card__badge, .wv-card:focus-within .wv-card__badge { opacity: 0; }
.wv-card__cat { padding: 3px 12px; border-radius: 999px; background: var(--wv-g); font-size: 12.5px; font-weight: 700; }
.wv-card__ov h3 { color: #fff; font-size: 20px; }
.wv-card__client { font-size: 14px; font-weight: 700; color: #ffd7c4; margin-top: -4px; }
.wv-card__desc { font-size: 14.5px; line-height: 1.7; color: #f1e7df; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wv-card__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.wv-card__acts .wv-btn--ember { box-shadow: 0 12px 22px -12px rgba(188, 0, 0, .9); }
/* Touch screens have no hover: the details stay visible. */
@media (hover: none) {
    .wv-card__ov { opacity: 1; transform: none; padding: 16px; }
    .wv-card__badge { display: none; }
    .wv-card__desc { -webkit-line-clamp: 1; }
}
.wv-more { display: flex; justify-content: center; margin-top: 34px; }
.wv-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; padding: 54px 20px; border: 1.5px dashed #e5d6c6; border-radius: 26px; text-align: center; color: var(--wv-ink-2); }
.wv-empty b { font-size: 20px; color: var(--wv-ink); }

/* Videos: 3 across × 2 rows, dragged sideways with the mouse */
.wv-vids { margin-top: 64px; padding-block: 54px; background: var(--wv-sand); }
.wv-vids__head { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 20px; margin-bottom: 26px; }
.wv-vids__head h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 12px; }
.wv-vids__head p { color: var(--wv-ink-2); max-width: 34em; }
.wv-vids__nav { display: flex; gap: 8px; margin-inline-start: auto; }
.wv-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid #e5d6c6; border-radius: 50%; background: #fff; color: var(--wv-ink); font-size: 21px; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.wv-arrow:hover { border-color: transparent; background: var(--wv-g); color: #fff; }
.wv-rail { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; overflow-x: auto; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; scroll-behavior: smooth; }
.wv-rail::-webkit-scrollbar { display: none; }
.wv-rail.is-drag { cursor: grabbing; scroll-behavior: auto; }
.wv-rail.is-drag .wv-vcard { pointer-events: none; }
.wv-rail img { -webkit-user-drag: none; }
.wv-rail--one { grid-template-rows: auto; }
.wv-vcard { position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%; min-width: 0; overflow: hidden; border: 0; padding: 0; border-radius: 22px; background: #efe6d9; text-align: start; cursor: pointer; color: #fff; font-family: inherit; }
.wv-vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.wv-vcard:hover img { transform: scale(1.06); }
.wv-vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(26, 26, 26, .82)); }
.wv-vcard__play { position: absolute; z-index: 1; inset-block-start: 42%; inset-inline: 0; margin-inline: auto; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wv-g); box-shadow: 0 16px 30px -12px rgba(188, 0, 0, .9); font-size: 26px; transform: translateY(-50%); transition: transform .4s; }
.wv-vcard:hover .wv-vcard__play { transform: translateY(-50%) scale(1.1); }
.wv-vcard__txt { position: absolute; z-index: 1; inset-inline: 16px; inset-block-end: 14px; display: grid; gap: 2px; }
.wv-vcard__txt b { font-size: 16px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.wv-vcard__txt small { font-size: 13px; color: #ffd7c4; }
.wv-vids__foot { display: flex; justify-content: center; margin-top: 30px; }

/* /works/videos */
.wv-allv { padding-block: 34px 10px; }
.wv-allv__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-weight: 700; text-decoration: none; color: var(--wv-ink-2); }
.wv-allv__head { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 20px; margin-bottom: 22px; }
.wv-allv__head h1 { font-size: clamp(30px, 4vw, 46px); margin-top: 12px; }
.wv-allv__head p { color: var(--wv-ink-2); }
.wv-allv__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.wv-allv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* CTA */
.wv-cta { margin: 64px auto 70px; }
.wv-cta__panel { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 46px 50px; border-radius: 32px; background: var(--wv-g); color: #fff; }
.wv-cta__panel h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.wv-cta__panel p { color: #ffe8dc; margin-top: 6px; }
.wv-cta__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* Player: the visitor watches on the page itself */
.wv-player { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 24px; background: rgba(20, 16, 14, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wv-player__box { position: relative; width: min(1000px, 100%); display: grid; gap: 14px; }
.wv-player__box.is-short { width: min(420px, 100%); }
.wv-player__screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 22px; overflow: hidden; background: #000; }
.wv-player__box.is-short .wv-player__screen { aspect-ratio: 9 / 16; max-height: 80vh; margin-inline: auto; width: 100%; }
.wv-player__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wv-player__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: #fff; }
.wv-player__meta b { font-size: 18px; }
.wv-player__meta a { color: #ffd7c4; font-size: 14px; }
.wv-player__x { position: absolute; inset-block-start: -54px; inset-inline-end: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--wv-ink); font-size: 22px; cursor: pointer; }
body.wv-lock { overflow: hidden; }

.wv :focus-visible { outline: 2.5px solid var(--wv-flame); outline-offset: 3px; }

@media (max-width: 1000px) {
    .wv-grid, .wv-allv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wv-rail { grid-auto-columns: calc((100% - 18px) / 2); }
    .wv-hero__band { grid-template-columns: minmax(0, 1fr); padding: 40px 28px 44px; }
    .wv-collage { height: 320px; }
    .wv-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .wv-pills::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
    .wv-wrap { padding-inline: 16px; }
    .wv-grid, .wv-allv__grid { grid-template-columns: minmax(0, 1fr); }
    .wv-rail { grid-auto-columns: 82%; }
    .wv-vids__nav { display: none; }
    .wv-hero__band { padding: 30px 20px 34px; border-radius: 26px; }
    .wv-collage { height: 250px; }
    .wv-chip--a { display: none; }
    .wv-bar .wv-wrap { flex-wrap: wrap; }
    .wv-search { width: 100%; }
    .wv-search input { width: 100%; }
    .wv-cta__panel { padding: 32px 24px; }
    .wv-player { padding: 70px 14px 20px; }
}
/* ── Work page (/works/{slug}): compact head, main column + sticky project card, equal gallery tiles ── */
.wv-d-hero { margin-top: 20px; }
.wv-d-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14.5px; color: var(--wv-stone); }
.wv-d-crumbs a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--wv-ink-2); text-decoration: none; }
.wv-d-crumbs a:hover { color: var(--wv-ember); }
.wv-d-head { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; padding: 40px 48px; border-radius: 32px; background: var(--wv-sand); }
.wv-d-head::before { content: ""; position: absolute; inset: auto -100px -180px auto; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 116, 40, .26), transparent 65%); pointer-events: none; }
.wv-d-head__text { position: relative; display: grid; gap: 12px; justify-items: start; flex: 1 1 520px; min-width: 0; }
.wv-d-head h1 { font-size: clamp(30px, 4vw, 50px); }
.wv-d-head p { max-width: 46em; color: var(--wv-ink-2); font-size: 18px; }
.wv-d-head__acts { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.wv-d-cat { color: #fff; font-size: 13.5px; padding: 4px 14px; }

.wv-d-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; margin-top: 26px; }
.wv-d-col { display: grid; gap: 40px; min-width: 0; }
.wv-d-media { position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: 28px; background: #efe6d9; box-shadow: 0 30px 50px -32px rgba(80, 30, 10, .55); }
.wv-d-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.wv-d-media.is-short { aspect-ratio: 16 / 10; background: #1a1a1a; }
.wv-d-media.is-short > img { object-fit: contain; }
.wv-d-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wv-d-media.is-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(26, 26, 26, .45)); pointer-events: none; }
.wv-d-media.is-playing::after { display: none; }
.wv-d-play { position: absolute; z-index: 2; inset: 0; margin: auto; display: grid; place-items: center; width: 86px; height: 86px; border: 0; border-radius: 50%; background: var(--wv-g); color: #fff; font-size: 38px; cursor: pointer; box-shadow: 0 18px 34px -12px rgba(188, 0, 0, .9); transition: transform .4s; }
.wv-d-play:hover { transform: scale(1.08); }
.wv-d-media .wv-card__badge { inset-block-start: 16px; inset-inline-start: 16px; }
.wv-d-media__more { position: absolute; z-index: 2; inset-block-end: 16px; inset-inline-end: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--wv-ink); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: var(--wv-shadow); transition: background .3s, color .3s; }
.wv-d-media__more:hover { background: var(--wv-g); color: #fff; }

.wv-d-block { display: grid; gap: 12px; justify-items: start; }
.wv-d-block h2 { font-size: clamp(26px, 3vw, 34px); }
.wv-d-body { color: var(--wv-ink-2); font-size: 17.5px; line-height: 2; max-width: 48em; }
.wv-d-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.wv-d-tags span { padding: 4px 14px; border: 1px solid var(--wv-line); border-radius: 999px; font-size: 13.5px; color: var(--wv-ink-2); }
.wv-d-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.wv-d-stats.is-odd > .wv-d-stat:last-child { grid-column: 1 / -1; }
.wv-d-stat { display: grid; align-content: start; gap: 2px; padding: 18px 20px; border-radius: 20px; background: var(--wv-sand); }
.wv-d-stat b { font-size: 34px; font-weight: 900; line-height: 1.25; background: var(--wv-g-soft); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-variant-numeric: tabular-nums; }
.wv-d-stat span { font-weight: 700; font-size: 16.5px; }
.wv-d-stat small { font-size: 14px; color: var(--wv-stone); line-height: 1.7; }

.wv-d-side { position: sticky; top: calc(var(--wv-top, 80px) + 16px); min-width: 0; }
.wv-d-info { overflow: hidden; border: 1px solid var(--wv-line); border-radius: 26px; background: #fff; box-shadow: var(--wv-shadow); }
.wv-d-info__head { display: grid; gap: 2px; padding: 20px 22px; background: var(--wv-g); color: #fff; }
.wv-d-info__head small { font-size: 13px; opacity: .85; }
.wv-d-info__head b { font-size: 19px; line-height: 1.45; overflow-wrap: anywhere; }
.wv-d-info__rows { display: grid; margin: 0; padding: 6px 22px; }
.wv-d-info__rows > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--wv-line); }
.wv-d-info__rows > div:last-child { border-bottom: 0; }
.wv-d-info__rows > div.is-wide { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.wv-d-info__rows dt { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--wv-stone); }
.wv-d-info__rows dt i { color: var(--wv-ember); font-size: 16px; }
.wv-d-info__rows dd { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.wv-d-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wv-d-chips span { padding: 3px 12px; border-radius: 999px; background: var(--wv-sand); font-size: 13.5px; font-weight: 700; }
.wv-d-info__acts { display: grid; gap: 8px; padding: 4px 22px 22px; }
.wv-d-info__acts .wv-btn { width: 100%; }

.wv-d-gal { margin-top: 60px; padding-block: 54px; background: var(--wv-sand); }
.wv-d-gal h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 12px; }
.wv-d-gal .wv-vids__head p { margin-inline-start: auto; }
.wv-d-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wv-d-tiles.is-few { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wv-d-shot { position: relative; display: block; aspect-ratio: 1 / 1; max-width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #efe6d9; cursor: zoom-in; }
.wv-d-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.wv-d-shot:hover img { transform: scale(1.05); }
.wv-d-shot span { position: absolute; inset-block-end: 14px; inset-inline-end: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--wv-ink); font-size: 20px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.wv-d-shot:hover span, .wv-d-shot:focus-visible span { opacity: 1; transform: none; }
.wv-lb { position: fixed; inset: 0; z-index: 10000; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 70px 24px 24px; background: rgba(20, 16, 14, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wv-lb .wv-player__x { inset-block-start: 18px; inset-inline-end: 18px; position: fixed; }
.wv-lb__fig { margin: 0; display: grid; justify-items: center; gap: 10px; min-width: 0; max-height: calc(100vh - 100px); overflow: auto; }
.wv-lb__fig img { max-width: 100%; border-radius: 18px; }
.wv-lb__fig figcaption { color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }

.wv-d-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 60px; }
.wv-d-pncard { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 12px; border: 1px solid var(--wv-line); border-radius: 22px; background: #fff; color: var(--wv-ink); text-decoration: none; transition: border-color .3s, box-shadow .3s; }
.wv-d-pncard:hover { border-color: transparent; box-shadow: var(--wv-shadow); }
.wv-d-pncard.is-next { flex-direction: row-reverse; text-align: end; }
.wv-d-pncard__img { flex: none; width: 92px; height: 92px; border-radius: 16px; overflow: hidden; background: #efe6d9; }
.wv-d-pncard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wv-d-pncard__txt { display: grid; min-width: 0; line-height: 1.55; }
.wv-d-pncard__txt small { font-size: 13px; font-weight: 700; color: var(--wv-ember); }
.wv-d-pncard__txt b { font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-d-pncard__txt em { font-style: normal; font-size: 13.5px; color: var(--wv-stone); }
.wv-d-more { margin-top: 60px; margin-bottom: 70px; }
.wv-d-more .wv-gal__head { align-items: center; }

@media (max-width: 1000px) {
    .wv-d-main { grid-template-columns: minmax(0, 1fr); }
    .wv-d-side { position: static; }
    .wv-d-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .wv-d-head { padding: 26px 20px; border-radius: 26px; }
    .wv-d-head__acts, .wv-d-head__acts .wv-btn { width: 100%; }
    .wv-d-stats { grid-template-columns: minmax(0, 1fr); }
    .wv-d-media { border-radius: 22px; }
    .wv-d-pn { grid-template-columns: minmax(0, 1fr); }
    .wv-d-pncard__img { width: 72px; height: 72px; }
    .wv-lb { grid-template-columns: minmax(0, 1fr); padding: 70px 12px 16px; }
    .wv-lb__nav { position: fixed; inset-block-end: 18px; z-index: 2; }
    .wv-lb__nav--prev { inset-inline-start: 18px; }
    .wv-lb__nav--next { inset-inline-end: 18px; }
}

/* ── «الخطط» page (/plans) ── */
.wv-pl-stack { position: relative; height: 380px; }
.wv-pl-stack figure { position: absolute; margin: 0; width: 78%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; border: 6px solid #fff; box-shadow: 0 30px 50px -28px rgba(80, 30, 10, .55); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.wv-pl-stack figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wv-pl-stack figure:nth-of-type(1) { inset-block-start: 0; inset-inline-start: 0; transform: rotate(-4deg); z-index: 3; }
.wv-pl-stack figure:nth-of-type(2) { inset-block-start: 26%; inset-inline-end: 0; transform: rotate(3deg); z-index: 2; }
.wv-pl-stack figure:nth-of-type(3) { inset-block-end: 0; inset-inline-start: 10%; transform: rotate(-1deg); z-index: 1; }
.wv-pl-stack:hover figure:nth-of-type(1) { transform: rotate(-6deg) translateY(-6px); }
.wv-pl-files { margin-top: 56px; }
.wv-pl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.wv-pl-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--wv-line); border-radius: 26px; background: #fff; transition: box-shadow .4s, transform .4s; }
.wv-pl-card:hover { box-shadow: var(--wv-shadow); transform: translateY(-3px); }
.wv-pl-card__cover { position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; background: #efe6d9; }
.wv-pl-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.wv-pl-card:hover .wv-pl-card__cover img { transform: scale(1.04); }
.wv-pl-card__body { flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 22px 24px 24px; }
.wv-pl-card__body h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; }
.wv-pl-card__body p { color: var(--wv-ink-2); font-size: 15.5px; line-height: 1.8; }
.wv-pl-card__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.wv-pl-card__acts .wv-btn { white-space: normal; text-align: start; }
.wv-pl-card__acts small { font-size: 12.5px; font-weight: 400; opacity: .85; }
.wv-pl-card__acts em { font-style: normal; font-size: 12px; font-weight: 400; opacity: .75; direction: rtl; }

.wv-pl-req { margin-top: 64px; padding-block: 56px; background: var(--wv-sand); }
.wv-pl-req__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: start; }
.wv-pl-req__text { position: sticky; top: calc(var(--wv-top, 80px) + 20px); display: grid; gap: 14px; justify-items: start; }
.wv-pl-req__text h2 { font-size: clamp(28px, 3.4vw, 40px); }
.wv-pl-req__text > p { color: var(--wv-ink-2); }
.wv-pl-steps { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; counter-reset: st; width: 100%; }
.wv-pl-steps li { counter-increment: st; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: #fff; }
.wv-pl-steps li::before { content: counter(st); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--wv-g); color: #fff; font-weight: 900; }
.wv-pl-steps b { font-size: 16px; line-height: 1.5; }
.wv-pl-steps span { font-size: 14px; color: var(--wv-stone); line-height: 1.5; }
.wv-pl-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 700; color: #128c4a; text-decoration: none; }
.wv-pl-wa i { font-size: 20px; }
.wv-pl-form { display: grid; gap: 16px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: var(--wv-shadow); }
.wv-pl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wv-pl-field { display: grid; gap: 6px; min-width: 0; }
.wv-pl-field span { font-size: 14px; font-weight: 700; }
.wv-pl-field input, .wv-pl-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--wv-line); border-radius: 14px; background: var(--wv-sand-2); color: var(--wv-ink); font: inherit; font-size: 15.5px; transition: border-color .3s, background .3s; }
.wv-pl-field textarea { resize: vertical; min-height: 96px; }
.wv-pl-field input:focus, .wv-pl-field textarea:focus { outline: none; border-color: var(--wv-flame); background: #fff; }
.wv-pl-choice { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.wv-pl-choice legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 700; }
.wv-pl-choice label { position: relative; cursor: pointer; }
.wv-pl-choice input { position: absolute; opacity: 0; pointer-events: none; }
.wv-pl-choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--wv-line); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 700; transition: border-color .3s, background .3s, color .3s, box-shadow .3s; }
.wv-pl-choice label:hover span { border-color: var(--wv-flame); }
.wv-pl-choice input:checked + span { border-color: transparent; background: var(--wv-g); color: #fff; box-shadow: var(--wv-glow); }
.wv-pl-choice input:focus-visible + span { outline: 2.5px solid var(--wv-flame); outline-offset: 2px; }
.wv-pl-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wv-pl-submit { justify-self: start; min-width: 220px; }
.wv-pl-submit:disabled { opacity: .6; cursor: wait; }
.wv-pl-msg { margin: 0; padding: 12px 16px; border-radius: 14px; font-weight: 700; font-size: 15px; background: #fef3c7; color: #92400e; }
.wv-pl-msg.is-ok { background: #dcfce7; color: #166534; }
.wv-pl-msg.is-err { background: #fee2e2; color: #b91c1c; }
.wv-pl-privacy { color: var(--wv-stone); font-size: 13px; }
@media (max-width: 1000px) {
    .wv-pl-req__grid { grid-template-columns: minmax(0, 1fr); }
    .wv-pl-req__text { position: static; }
    .wv-pl-stack { height: 300px; }
}
@media (max-width: 640px) {
    .wv-pl-grid, .wv-pl-row { grid-template-columns: minmax(0, 1fr); }
    .wv-pl-form { padding: 20px 16px; }
    .wv-pl-stack { height: 220px; }
    .wv-pl-submit { width: 100%; }
}
/* Plan cards: open the plan on the site */
.wv-pl-card__cover { display: block; }
.wv-pl-card__pages { position: absolute; inset-block-end: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: rgba(26, 26, 26, .74); color: #fff; font-size: 13px; font-weight: 700; transition: background .3s; }
a.wv-pl-card__cover:hover .wv-pl-card__pages { background: var(--wv-g); }
.wv-pl-view { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 12px 18px; border-radius: 16px; background: var(--wv-sand); color: var(--wv-ink); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .3s, color .3s, box-shadow .3s; }
.wv-pl-view:hover { background: var(--wv-g); color: #fff; box-shadow: var(--wv-glow); }

/* ── «مشاهدة الخطة» (/plans/{slug}): the pages of the PDF read like a website ── */
.wv-pv-mb { font-size: 12px; font-weight: 400; opacity: .8; }
.wv-pv { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; align-items: start; margin-top: 26px; }
.wv-pv__pages { display: grid; gap: 26px; min-width: 0; }
.wv-pv__page { margin: 0; display: grid; gap: 10px; scroll-margin-top: calc(var(--wv-top, 80px) + 16px); }
.wv-pv__page img { display: block; width: 100%; height: auto; border-radius: 22px; background: #efe6d9; box-shadow: 0 26px 46px -30px rgba(80, 30, 10, .55); }
.wv-pv__page figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding-inline: 6px; font-size: 13.5px; color: var(--wv-stone); }
.wv-pv__page details { max-width: 100%; }
.wv-pv__page summary { cursor: pointer; font-weight: 700; color: var(--wv-ink-2); }
.wv-pv__page details[open] summary { margin-bottom: 8px; }
.wv-pv__page details div { padding: 14px 16px; border-radius: 14px; background: var(--wv-sand); color: var(--wv-ink-2); font-size: 14.5px; line-height: 1.9; }
.wv-pv__end { display: grid; gap: 12px; justify-items: start; padding: 32px; border-radius: 28px; background: var(--wv-sand); }
.wv-pv__end h2 { font-size: clamp(24px, 3vw, 32px); }
.wv-pv__end p { color: var(--wv-ink-2); }
.wv-pv__side { position: sticky; top: calc(var(--wv-top, 80px) + 16px); display: grid; gap: 12px; min-width: 0; }
.wv-pv__bar { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--wv-line); border-radius: 18px; background: #fff; text-align: center; font-variant-numeric: tabular-nums; }
.wv-pv__bar .wv-btn { width: 100%; }
.wv-pv__thumbs { display: grid; gap: 10px; max-height: calc(100vh - var(--wv-top, 80px) - 170px); margin: 0; padding: 4px; overflow-y: auto; list-style: none; scrollbar-width: thin; }
.wv-pv__thumbs a { position: relative; display: block; border: 2px solid transparent; border-radius: 12px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.wv-pv__thumbs a[aria-current="true"] { border-color: var(--wv-flame); box-shadow: var(--wv-glow); }
.wv-pv__thumbs img { display: block; width: 100%; height: auto; }
.wv-pv__thumbs span { position: absolute; inset-block-end: 6px; inset-inline-start: 6px; min-width: 24px; padding: 0 6px; border-radius: 999px; background: rgba(26, 26, 26, .74); color: #fff; font-size: 11.5px; line-height: 20px; text-align: center; }
.wv-pv-others { margin-block: 60px 70px; }
.wv-pv-others .wv-gal__head { align-items: center; }
.wv-pv-others__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wv-pv-other { display: grid; gap: 10px; color: var(--wv-ink); text-decoration: none; }
.wv-pv-other img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.wv-pv-other:hover img { transform: translateY(-3px); box-shadow: var(--wv-shadow); }
.wv-pv-other b { font-size: 17px; }
@media (max-width: 1000px) {
    .wv-pv { grid-template-columns: minmax(0, 1fr); }
    .wv-pv__side { display: none; }
    .wv-pv-others__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .wv-pv__pages { gap: 18px; }
    .wv-pv__page img { border-radius: 14px; }
    .wv-pv__end { padding: 22px 18px; }
    .wv-pv-others__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) { .wv *, .wv *::before, .wv *::after { transition: none !important; } .wv-rail { scroll-behavior: auto; } }
