/* The three featured projects share one position on the cover. */
.showcase {padding-block:clamp(15px,2.2vw,34px) 0}
.billboard {isolation:isolate;position:relative;display:flex;align-items:center;overflow:hidden;min-height:clamp(420px,37.5vw,608px);background:#2a1423;color:#fff5e8}
.feature-frame {position:absolute;inset:0 auto 0 0;width:80%;z-index:-2;overflow:hidden;background:#160e14}
.feature-frame img {display:block;width:100%;height:100%;object-fit:cover;object-position:47% 53%}
.billboard::before {content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to left,#2b1525 0%,#2b1525 21%,rgba(43,21,37,.95) 30%,rgba(43,21,37,.54) 43%,rgba(43,21,37,.04) 68%)}
.feature-copy {width:43%;padding:32px clamp(23px,3.8vw,66px) 38px 16px}
.feature-kind,.eyeline {font-size:.95rem;font-weight:700}
.feature-kind {display:flex;align-items:center;gap:10px;color:#ffe4d1}
.feature-kind i {width:29px;height:2px;background:var(--peach)}
.feature-copy h1 {font-size:clamp(49px,5.9vw,104px);line-height:1.23;font-weight:740;margin:18px 0}
.feature-copy h1 span,.feature-copy h1 em {display:block}
.feature-copy h1 em {color:var(--peach);font-style:normal;text-align:right}
.billboard[data-stage=expertise] h1 em {font-family:Arial,sans-serif;line-height:.98;font-size:.78em;max-width:10ch}
.feature-desc {max-width:34ch;line-height:1.85;font-size:clamp(16px,1.24vw,19px);color:#f2e5e9}
.feature-cta {margin-top:22px}
.feature-cta b {font-family:Arial,sans-serif;font-size:20px}
.filmstrip {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#37202f;color:#fff4ed}
.feature-choice {background:transparent;border:0;border-inline-end:1px solid #644c5e;border-top:3px solid transparent;color:inherit;text-align:start;display:flex;align-items:center;gap:15px;padding:12px clamp(10px,1.8vw,26px);min-width:0}
.feature-choice:last-child {border-inline-end:0}
.feature-choice[aria-pressed=true] {background:#4c2f40;border-top-color:var(--peach)}
.feature-choice:hover {background:#503545}
.feature-choice img {width:clamp(50px,5.5vw,82px);height:47px;object-fit:cover;background:#21141e}
.feature-choice span {display:grid;gap:2px}
.feature-choice small {color:#e2cdd6;font-size:.8rem}
.feature-choice strong {font-weight:580;font-size:clamp(12px,1.1vw,17px)}
.feature-choice i {width:8px;height:8px;border:1px solid #b99cac;border-radius:100%;margin-inline-start:auto;flex-shrink:0}
.feature-choice[aria-pressed=true] i {background:var(--peach);border-color:var(--peach)}
/* Project index. All search results follow the same reading order. */
.works,.evidence {padding-block:clamp(42px,5vw,83px);scroll-margin-top:12px}
.library-head,.evidence-intro {display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px}
.eyeline {color:var(--orange);margin-bottom:3px}
.total,.kind,.results,.desc,.crumb {color:var(--muted)}
.total {font-weight:bold;white-space:nowrap;border-bottom:2px solid var(--orange);padding-bottom:5px}
.searchbar {display:flex;align-items:end;justify-content:space-between;gap:18px;padding-block:12px 16px;border-block:1px solid var(--line)}
.searchbar label {display:grid;gap:4px;font-size:.8rem;color:var(--muted);width:min(400px,45%)}
.searchbar input {border:1px solid #b7a9a5;background:#fffdf9;color:var(--ink);border-radius:2px;width:100%;min-height:44px;padding:8px 13px;font-size:1rem}
.filters {display:flex;gap:5px;flex-wrap:wrap}
.filters button,.clear {min-height:44px;border:1px solid var(--line);border-radius:2px;padding:6px 13px;color:var(--ink);background:transparent}
.filters button[aria-pressed=true],.filters button:hover,.clear:hover {background:var(--wine);color:#fff8f0;border-color:var(--wine)}
.results {font-size:.84rem;margin:8px 0 14px}
.works-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px clamp(16px,2vw,30px)}
.card-cover {display:block;position:relative;overflow:hidden;background:#100e11}
.card-cover img,.story img,.gallery img {width:100%;height:auto;display:block}
.card-cover img {aspect-ratio:1.68;object-fit:contain;transition:transform .28s}
.card-cover:hover img {transform:scale(1.035)}
.zoom {position:absolute;bottom:10px;inset-inline-end:10px;background:#281723e8;color:white;font-size:.8rem;padding:4px 10px}
.kind {margin:12px 0 4px;font-size:.85rem}
.card h3,.story h3 {font-weight:630;line-height:1.55;font-size:clamp(19px,1.7vw,27px)}
.desc {line-height:1.8}
.evidence {border-top:1px solid var(--line)}
.evidence h2 em {color:var(--orange);font-style:normal}
.evidence-pair {display:grid;grid-template-columns:1fr 1fr;gap:clamp(10px,2vw,28px)}
.evidence-pair figure {background:#e9e1d7}
.evidence-pair a {display:block}
.evidence-pair img {display:block;width:100%;aspect-ratio:1.75;object-fit:contain;background:#151217}
.evidence-pair figcaption {padding:9px 15px;font-weight:bold}
/* Individual project spreads. */
.crumb {margin-top:13px}
.case-intro {display:grid;grid-template-columns:1.2fr 1fr;align-items:end;gap:40px;margin:18px 0 30px}
.case-intro .kind {color:var(--orange);font-weight:bold}
.case-intro h1 {font-size:clamp(35px,5vw,82px);line-height:1.35;font-weight:700}
.case-intro .desc {max-width:51ch;font-size:1.1rem}
.case-hero img {width:100%;display:block;max-height:73vh;object-fit:contain;background:#161216}
.case-hero figcaption {padding-top:7px;color:var(--muted)}
.designer-role {border-inline-start:3px solid var(--orange);background:#f2eae1;padding:12px 18px;margin:0 0 24px}
.designer-role strong {display:flex;align-items:baseline;gap:10px;font-size:1rem}
.designer-role strong span {font-weight:400;color:var(--muted)}
.designer-role p {margin:3px 0 0;line-height:1.75}
.case .works {border-bottom:1px solid var(--line)}
.story {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:22px;margin-top:25px}
.story img {aspect-ratio:1.6;object-fit:contain;background:#161216}
.story h3 {margin:10px 0 3px}
.story figcaption {line-height:1.8;color:var(--muted)}
.gallery {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:24px}
.gallery img {aspect-ratio:1.6;object-fit:contain;background:#141015}
.gallery a:hover,.story a:hover {outline:2px solid var(--orange);outline-offset:2px}
.feature-library {display:inline-flex;align-items:center;min-height:44px;margin-inline-start:13px;color:#fff0e7;border-bottom:1px solid #a68a99;font-weight:700;font-size:.92rem}
.feature-library:hover {color:var(--peach)}
.evidence {border-top:0;border-bottom:1px solid var(--line)}
.next-case {display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:26px}
.next-case>a:first-child {display:flex;align-items:center;gap:14px;min-width:0}
.next-case img {width:88px;height:58px;object-fit:cover}
.next-case span {display:grid}
.next-case small {color:var(--muted)}
.next-case strong {font-family:var(--title)}
.next-case b {color:var(--orange)}
@media(max-width:900px) {
  .works-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-copy {width:47%}
  .searchbar {align-items:start;flex-direction:column;gap:10px}
  .searchbar label {width:100%}
  .gallery {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:650px) {
  .showcase {margin-inline:calc(-1 * var(--pad));padding-top:0}
  .billboard {min-height:0;display:block;padding-top:clamp(170px,52vw,295px)}
  .feature-frame {width:100%;height:clamp(230px,67vw,374px)}
  .feature-frame img {object-position:center 45%}
  .billboard::before {background:linear-gradient(to bottom,transparent 0%,transparent 32%,rgba(43,21,37,.40) 43%,#2b1525 59%,#2b1525 100%)}
  .feature-copy {width:100%;padding:14px var(--pad) 21px}
  .feature-kind {font-size:.8rem}
  .feature-kind i {width:19px}
  .feature-copy h1 {font-size:clamp(35px,9.1vw,54px);line-height:1.45;margin:5px 0}
  .feature-copy h1 span,.feature-copy h1 em {display:inline}
  .feature-copy h1 em {margin-inline-start:.2em}
  .feature-desc {max-width:40ch;line-height:1.65;font-size:.97rem}
  .feature-cta {margin-top:12px;min-height:44px}
  .masthead .brand {position:relative;padding-bottom:10px}
  .masthead .brand::after {content:"معارض وفعاليات";position:absolute;bottom:-2px;left:0;font:700 10px/1.4 var(--body);color:var(--muted)}
  .next-case img {width:56px;height:43px}
  .filmstrip {padding:0}
  .feature-choice {padding:6px 5px 9px;flex-direction:column;gap:4px;text-align:center}
  .feature-choice img {width:58px;height:29px}
  .feature-choice small,.feature-choice i {display:none}
  .feature-choice strong {font-size:11px;line-height:1.45}
  .works,.evidence {padding-block:32px}
  .library-head,.evidence-intro {margin-bottom:14px}
  .eyeline,.total {font-size:.8rem}
  .filters button {padding:5px 9px;font-size:.88rem}
  .works-grid {grid-template-columns:1fr;gap:25px}
  .case-intro {grid-template-columns:1fr;gap:8px;margin:9px 0 20px}
  .case-intro .desc {font-size:1rem}
  .gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .evidence-intro {align-items:start;flex-direction:column;gap:2px}
  .evidence-pair {grid-template-columns:1fr}
}
