/* Work — four client worlds, one frame. The artwork changes; MAELOR remains the frame. */

.work {
  position: relative; overflow: hidden; padding: clamp(96px, 13vw, 170px) var(--gutter) clamp(80px, 10vw, 140px);
  background-color: var(--wall-deep);
  background-image:
    linear-gradient(180deg, #1d2618 0, rgba(29, 38, 24, 0) 340px),   /* feathered into the mist above */
    linear-gradient(0deg, #141b11 0, rgba(20, 27, 17, 0) 340px),     /* and into the mist below */
    radial-gradient(60% 50% at 20% 20%, rgba(70, 86, 52, .35), transparent 70%),
    linear-gradient(180deg, #1c2518, var(--wall-deep));
}
@supports (background-blend-mode: soft-light) {
  .work {
    background-image:
      linear-gradient(180deg, #1d2618 0, rgba(29, 38, 24, 0) 340px),
      linear-gradient(0deg, #141b11 0, rgba(20, 27, 17, 0) 340px),
      var(--tex-plaster-soft),
      radial-gradient(60% 50% at 20% 20%, rgba(70, 86, 52, .35), transparent 70%),
      linear-gradient(180deg, #1c2518, var(--wall-deep));
    background-size: auto, auto, 260px 260px, auto, auto;
    background-repeat: no-repeat, no-repeat, repeat, no-repeat, no-repeat;
    background-blend-mode: normal, normal, soft-light, normal, normal;
  }
}
.portfolio-intro { max-width: 54ch; color: var(--cream-soft); font-size: 1.1rem; margin: 24px 0 0; line-height: 1.8; }

/* ---------- the index: one project at a time ---------- */
.project-picker { max-width: var(--page); margin: 0 auto clamp(28px, 3vw, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line-light); }
.project-picker button {
  position: relative; display: grid; align-content: start; gap: 2px; padding: 22px 24px 26px; min-height: 132px; text-align: start;
  border-inline-end: 1px solid var(--line-light);
  transition: background .55s var(--ease-soft), color .55s var(--ease-soft);
}
.project-picker button:last-child { border-inline-end: 0; }
.pick-num { margin-bottom: 14px; font-family: var(--serif); font-size: .95rem; font-weight: 500; letter-spacing: .1em; color: var(--cream-mute); transition: color .55s var(--ease-soft); }
.project-picker button > span { display: block; width: fit-content; font-size: 1.2rem; font-weight: 500; }
.project-picker small { display: block; font-size: .85rem; color: var(--cream-soft); margin-top: 4px; padding-inline-end: 28px; transition: color .55s var(--ease-soft); }
.project-picker .arrow { position: absolute; inset-inline-end: 24px; top: 30px; width: 22px; opacity: .55; transition: width .6s var(--ease-out), opacity .5s; }
.project-picker button:hover { background: rgba(40, 51, 31, .7); }
.project-picker button:hover .arrow { width: 32px; opacity: 1; }
.project-picker button[aria-pressed="true"] { color: var(--olive-ink); background: var(--cream); }
.project-picker button[aria-pressed="true"] small, .project-picker button[aria-pressed="true"] .pick-num { color: var(--olive-mute); }
.project-picker button[aria-pressed="true"] .arrow { opacity: 1; }
.project-picker button:focus-visible { outline: 2px solid var(--cream); outline-offset: 5px; z-index: 2; }

.project-panel { max-width: var(--page); margin: 0 auto; scroll-margin-top: 104px; }
.project-panel[hidden] { display: none !important; }
/* switching projects: the new world rises in rather than snapping */
.project-panel.is-entering { animation: panel-in .95s var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } }
.project-panel [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }

/* ---------- phones: every recording and screenshot sits in one ---------- */
.phone { margin: 0; min-width: 0; }
.phone .phone-frame {
  position: relative; display: block; width: 100%; padding: 6px; overflow: hidden; border-radius: 30px; background: #06080a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 36px 64px -30px rgba(0, 0, 0, .95);
}
.phone .phone-frame img, .phone .phone-frame video { display: block; width: 100%; height: auto; border-radius: 24px; background: #06080a; }
.phone.phone--still .phone-frame { padding: 4px; border-radius: 22px; }
.phone.phone--still .phone-frame img { border-radius: 18px; }
.phone figcaption { margin-top: 14px; font-size: .84rem; line-height: 1.5; color: var(--w-muted, var(--cream-soft)); text-align: center; }
.phone--film figcaption { display: flex; justify-content: space-between; gap: 12px; text-align: start; }
.media-signature, .work .shot-btn::after, .case-stage::after, .roma-phone::after {
  content: "MAELOR ©"; position: absolute; top: 14px; inset-inline-start: 14px; z-index: 3; padding: 4px 8px; border-radius: 999px;
  font: 500 9px var(--sans); letter-spacing: .12em; color: rgba(255, 255, 255, .92); background: rgba(14, 19, 12, .62); pointer-events: none;
}

.shot { margin: 0; }
.shot-btn { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: #0b0e0a; box-shadow: 0 0 0 1px var(--line-light); }
.shot-btn img { width: 100%; height: auto; transition: transform 1.4s var(--ease-out); }
@media (hover: hover) { .shot-btn:hover img { transform: scale(1.03); } }
.shot-view {
  position: absolute; inset-inline-end: 12px; bottom: 12px; z-index: 3; padding: 7px 13px; border-radius: 999px;
  background: var(--cream); color: var(--olive-ink); font-size: .68rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease-soft), transform .6s var(--ease-out);
}
.shot-btn:hover .shot-view, .shot-btn:focus-visible .shot-view { opacity: 1; transform: none; }
@media (hover: none) { .shot-view { opacity: 1; transform: none; } }
.shot figcaption { display: flex; gap: 14px; margin-top: 14px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-mute); }
.shot figcaption span:first-child { color: var(--cream); }

/* ---------- a world: Luck In Coffee, Zorna Café ---------- */
.world {
  --w-bg: #0e1622; --w-fg: #e9eef4; --w-muted: #b6c2d1; --w-accent: #c9d8ef; --w-on-accent: #121a26;
  --w-glow: rgba(74, 106, 170, .36); --w-line: rgba(201, 216, 239, .16);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(32px, 4.6vw, 72px);
  padding: clamp(28px, 5vw, 76px) clamp(28px, 4.2vw, 64px); border: 1px solid var(--w-line); color: var(--w-fg);
  background: radial-gradient(70% 80% at 78% 26%, var(--w-glow), transparent 72%), var(--w-bg);
}
.world--zorna {
  --w-bg: #14120e; --w-fg: #f2e2c1; --w-muted: #cfc1a4; --w-accent: #dfbc7a; --w-on-accent: #1b160d;
  --w-glow: rgba(178, 136, 62, .26); --w-line: rgba(223, 188, 122, .18);
}
.world-story h3 { margin: 0 0 30px; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.8rem); font-weight: 500; line-height: 1.08; text-align: start; width: fit-content; }
.world-story h4 { margin: 0 0 22px; font-size: clamp(1.5rem, 2.4vw, 2.15rem); font-weight: 400; line-height: 1.35; text-wrap: balance; }
.world-body { margin: 0 0 30px; max-width: 48ch; font-size: 1.05rem; line-height: 1.85; color: var(--w-muted); }
.world-features { list-style: none; padding: 0; margin: 0 0 30px; }
.world-features li { position: relative; padding: 13px 0; padding-inline-start: 22px; border-top: 1px solid var(--w-line); font-size: .95rem; }
.world-features li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.42em; width: 9px; height: 1px; background: var(--w-accent); }
.world-visit {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 62px; padding: 18px 24px;
  background: var(--w-accent); color: var(--w-on-accent); border: 1px solid var(--w-accent); font-weight: 500;
  transition: background .55s var(--ease-soft), color .55s var(--ease-soft);
}
.world-visit:hover, .world-visit:focus-visible { background: transparent; color: var(--w-accent); }
.world-visit:hover .arrow { width: 52px; }
.world-domain { display: block; width: fit-content; margin-top: 12px; font-size: .85rem; color: var(--w-muted); }
.world-credit { width: fit-content; margin: 30px 0 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--w-muted); opacity: .8; }
.world :focus-visible { outline: 2px solid var(--w-accent); outline-offset: 5px; }
/* the film in the middle, a still on each side, stepped like a stair */
.world-stage { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1fr) minmax(0, .76fr); align-items: center; gap: clamp(10px, 1.4vw, 22px); }
.world-stage .phone--a { transform: translateY(9%); }
.world-stage .phone--b { transform: translateY(-9%); }
/* a world with its own gallery: the film stands alone on the stage, and the screens
   sit in a row beneath it, the middle one a step lower */
.world-stage--solo { display: block; }
.world-stage--solo .phone--film { width: min(340px, 100%); margin-inline: auto; }
.world-shots {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start;
  gap: clamp(18px, 3.4vw, 52px);
  padding: clamp(30px, 4vw, 56px) max(0px, calc((100% - 880px) / 2)) 0; border-top: 1px solid var(--w-line);
}
.world-shots .phone:nth-child(2) { margin-top: clamp(20px, 3vw, 44px); }

/* ---------- Al Ahram: the case study ---------- */
.case {
  position: relative; max-width: var(--page); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px); align-items: center;
}
.case-stage { position: relative; padding: 4% 6% 12% 0; }
[dir="rtl"] .case-stage { padding: 4% 0 12% 6%; }
.foliage-case { --leaf: .4; inset: -10% -10% auto auto; width: 90%; height: 90%; color: #050704; animation: sway 12s ease-in-out infinite alternate; will-change: transform; }
.device { position: relative; z-index: 2; will-change: transform; }
.device--screen {
  border-radius: 12px; padding: 0 8px 8px; background: #0b0e0a;
  box-shadow: 0 0 0 1px rgba(235, 227, 207, .12), 0 60px 100px -40px rgba(0, 0, 0, .8), 0 30px 50px -30px rgba(0, 0, 0, .7);
}
.device-bar { display: flex; gap: 6px; padding: 10px 6px; }
.device-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(235, 227, 207, .2); }
.device--screen img { border-radius: 4px; width: 100%; height: auto; }
.device--phone {
  position: absolute; z-index: 3; width: 25%; bottom: 3%; inset-inline-end: 0;
  padding: 7px; border-radius: 30px; background: #0a0c09;
  box-shadow: 0 0 0 1px rgba(235, 227, 207, .16), -20px 40px 60px -20px rgba(0, 0, 0, .85);
}
.device--phone img { border-radius: 24px; width: 100%; height: auto; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; }
.plinth {
  position: absolute; z-index: 1; inset-inline: 4% -2%; bottom: 0; height: 22%;
  background-color: #9b8a6d;
  background-image: linear-gradient(105deg, transparent 30%, rgba(255, 232, 186, .2) 50%, transparent 70%), var(--tex-stone), linear-gradient(180deg, #cdbd9c 0, #bba987 8px, #9b8a6d 9px, #6d604b 100%);
  background-size: auto, 100% auto, auto; background-position: center; background-blend-mode: normal, multiply, normal;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7);
}

/* the stage is a link to the live menu */
a.case-stage { display: block; color: inherit; cursor: pointer; }
.case-stage-badge {
  position: absolute; z-index: 4; top: 6%; left: 50%; transform: translate(-50%, 8px);
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px; white-space: nowrap; border-radius: 999px;
  background: rgba(14, 19, 12, .88); border: 1px solid rgba(235, 227, 207, .22); color: var(--cream);
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  opacity: 0; transition: opacity .7s var(--ease-soft), transform .9s var(--ease-soft);
}
.case-stage:hover .case-stage-badge, .case-stage:focus-visible .case-stage-badge { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .case-stage-badge { opacity: 1; transform: translate(-50%, 0); } }
.case-stage .device--screen { transition: box-shadow .9s var(--ease-soft); }
.case-stage:hover .device--screen { box-shadow: 0 0 0 1px rgba(235, 227, 207, .3), 0 70px 110px -40px rgba(0, 0, 0, .85), 0 30px 50px -30px rgba(0, 0, 0, .7); }

/* the clearest call on the page: go see the real thing */
.case-live {
  display: flex; align-items: center; gap: 16px; margin-top: 2.2rem; padding: 18px 22px;
  background: var(--cream); color: var(--olive-ink); border: 1px solid var(--cream);
  transition: background .7s var(--ease-soft), color .7s var(--ease-soft);
}
.case-live:hover, .case-live:focus-visible { background: transparent; color: var(--cream); }
.case-live:hover .arrow { width: 50px; }
.case-live-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #5f8a4a; }
.case-live-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #5f8a4a;
  animation: live-ring 2.8s var(--ease-soft) infinite;
}
@keyframes live-ring { 0% { transform: scale(.45); opacity: .85; } 100% { transform: scale(1.6); opacity: 0; } }
.case-live-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.case-live-label { font-size: .76rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.case-live-url { justify-self: start; font-size: .84rem; opacity: .68; }

.case-index { display: none; }
.case-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1; }
.case-type { margin: .9rem 0 0; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-soft); }
.case-desc { margin: 1.8rem 0 0; color: var(--cream-soft); line-height: 1.8; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2.2rem 0 0; border-top: 1px solid var(--line-light); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.facts div:nth-child(odd) { padding-inline-end: 16px; }
.facts div:nth-child(even) { padding-inline-start: 16px; border-inline-start: 1px solid var(--line-light); }
.facts dt { font-family: var(--serif); font-size: 2.3rem; line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.facts dd { margin: 6px 0 0; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-mute); }
.case-roles { display: grid; gap: 6px; margin: 1.8rem 0 0; font-size: .92rem; color: var(--cream-soft); }
.case-roles span:first-child { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--cream-mute); }

.gallery {
  max-width: var(--page); margin: clamp(64px, 8vw, 110px) auto 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start;
}
.shot--video-a { grid-column: 1 / span 3; }
.shot--video-b { grid-column: 4 / span 3; }
.gallery-side { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px); }
/* the two clips were filmed on a phone, so they sit in one */
.shot--video .shot-btn {
  max-width: 340px; padding: 6px; overflow: hidden; border-radius: 30px; background: #06080a; cursor: default;
  box-shadow: 0 0 0 1px rgba(235, 227, 207, .14), 0 40px 70px -30px rgba(0, 0, 0, .85);
}
.shot--video video { display: block; width: 100%; height: auto; border-radius: 24px; background: #0b0e0a; }

/* ---------- Layali Roma — a warm chapter within the olive ---------- */
.roma { --roma-paper: #f7efdf; --roma-ink: #3f281e; --roma-accent: #9b4529; position: relative; }
.roma-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid var(--line-light); }
.roma-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.8rem); font-weight: 400; line-height: 1.1; }
.roma-heading > p { margin: 0; color: var(--cream-soft); font-size: .85rem; }
.roma-story {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px);
  margin-top: 32px; padding: clamp(28px, 5vw, 72px); color: var(--roma-ink);
  background: radial-gradient(60% 70% at 82% 24%, rgba(255, 252, 244, .9), transparent 70%), var(--roma-paper);
}
.roma-copy h4 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4.1vw, 3.8rem); font-weight: 500; line-height: 1.1; text-wrap: balance; }
.roma-description { margin: 24px 0; max-width: 48ch; font-size: 1.02rem; line-height: 1.85; }
.roma-features { padding: 0; margin: 0; list-style: none; }
.roma-features li { position: relative; padding-block: 13px; padding-inline-start: 22px; border-top: 1px solid #d9c7af; font-size: .95rem; }
.roma-features li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.42em; width: 9px; height: 1px; background: var(--roma-accent); }
.roma-live {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; margin-top: 24px; padding: 18px 22px;
  background: var(--roma-accent); color: #fffaf1; border: 1px solid var(--roma-accent);
  transition: background .55s var(--ease-soft), color .55s var(--ease-soft);
}
.roma-live:hover, .roma-live:focus-visible { background: transparent; color: var(--roma-accent); }
.roma-live:hover .arrow { width: 52px; }
.roma-live strong { display: block; font-size: 1rem; font-weight: 500; }
.roma-live small { display: block; width: fit-content; margin-top: 3px; font-size: .85rem; }
.roma-story :focus-visible { outline: 2px solid var(--roma-accent); outline-offset: 4px; }
.roma-cinema { width: 100%; max-width: 330px; margin: 0 auto; }
.roma-phone { position: relative; padding: 7px; overflow: hidden; background: #241b15; border-radius: 30px; box-shadow: 12px 30px 44px -20px rgba(70, 35, 15, .5); }
.roma-phone video { display: block; width: 100%; height: auto; aspect-ratio: 826 / 1600; object-fit: contain; background: #160f0b; border-radius: 23px; }
/* five recordings play in turn; the bars show which one, and how far along */
.scene-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-top: 18px; direction: ltr; }
[dir="rtl"] .scene-track { direction: rtl; }
.scene-track i { position: relative; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(63, 40, 30, .18); }
.scene-track i::after { content: ""; position: absolute; inset: 0; background: var(--roma-accent); transform: scaleX(var(--p, 0)); transform-origin: var(--origin-start, left); }
.scene-track i.is-done::after { transform: scaleX(1); }
.roma-cinema figcaption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-top: 12px; font-size: .9rem; }
.scene-name { font-weight: 500; }
.roma-recording { color: #755844; font-size: .75rem; }
.roma-details { margin-top: clamp(48px, 6vw, 80px); }
.roma-details h4 { margin: 0 0 32px; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 400; line-height: 1.2; }
.roma-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); }
.roma-gallery .shot-btn { padding: 4px; border-radius: 22px; background: #06080a; box-shadow: 0 0 0 1px rgba(235, 227, 207, .12), 0 30px 54px -30px rgba(0, 0, 0, .9); }
.roma-gallery .shot-btn img { width: 100%; aspect-ratio: 828 / 1592; object-fit: cover; object-position: top; border-radius: 18px; }
.roma-gallery figcaption { display: block; text-transform: none; letter-spacing: 0; line-height: 1.55; font-size: .9rem; color: var(--cream-soft); text-align: center; }

/* ---------- after the work ---------- */
.next-card {
  max-width: var(--page); margin: clamp(48px, 6vw, 72px) auto 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line-light); transition: background .6s var(--ease-soft), color .6s var(--ease-soft), border-color .6s var(--ease-soft);
}
.next-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; }
.link-arrow { display: inline-flex; align-items: center; gap: 16px; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; }
.next-card:hover { background: var(--cream); color: var(--olive-ink); border-color: var(--cream); }
.next-card:hover .arrow { width: 52px; }

/* Capability studies are separated from client work so the portfolio stays honest. */
.capabilities { max-width: var(--page); margin: clamp(90px, 12vw, 150px) auto 0; border-top: 1px solid var(--line-light); }
.capabilities-head { display: grid; grid-template-columns: minmax(180px, .55fr) 1fr; gap: 32px; align-items: end; padding: 32px 0 clamp(44px, 6vw, 72px); }
.capabilities-head .eyebrow { margin: 0; }
.capabilities-title { margin: 0; max-width: 740px; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 300; line-height: 1; }
.capability { display: grid; grid-template-columns: 70px minmax(220px, .7fr) 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(30px, 4vw, 54px) 0; border-top: 1px solid var(--line-light); }
.capability:last-child { border-bottom: 1px solid var(--line-light); }
.capability-num { font-family: var(--serif); font-size: 1.1rem; color: var(--cream-mute); }
.capability-type { margin: 0 0 8px; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-mute); }
.capability h4 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 400; line-height: 1; }
.capability > p { margin: 0; max-width: 38rem; color: var(--cream-soft); font-size: 1.02rem; line-height: 1.75; }

.lightbox-credit { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); direction: ltr; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font: 500 11px var(--sans); letter-spacing: .1em; color: #fff; background: rgba(14, 19, 12, .82); pointer-events: none; }

/* Deterrents only. Public browser assets cannot be made uncopyable. */
body { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable="true"], .contact-email, .handle, .footer-contact a { -webkit-user-select: text; user-select: text; }
img, video { -webkit-user-drag: none; -webkit-touch-callout: none; }
video { pointer-events: none; }
video::-webkit-media-controls { display: none !important; }

/* ---------- Arabic & Kurdish ---------- */
[data-script="arabic"] .world-story h3 { font-family: var(--serif); line-height: 1.3; }
[data-script="arabic"] .world-story h4 { font-family: "Noto Naskh Arabic", var(--serif); font-size: clamp(1.8rem, 2.8vw, 2.55rem); line-height: 1.5; }
[data-script="arabic"] .world-body, [data-script="arabic"] .roma-description { line-height: 1.95; }
[data-script="arabic"] .roma h3, [data-script="arabic"] .roma h4 { font-family: "Noto Naskh Arabic", var(--serif); line-height: 1.35; }
[data-script="arabic"] .roma-copy h4 { font-size: clamp(2rem, 3.5vw, 3.3rem); }
[data-script="arabic"] .case-live-label { font-size: 1rem; letter-spacing: 0; text-transform: none; }
[data-script="arabic"] .case-stage-badge { font-size: .9rem; letter-spacing: 0; text-transform: none; }
[data-script="arabic"] .capability-type { letter-spacing: 0; text-transform: none; font-size: .88rem; }
[data-script="arabic"] .project-picker button > span:not([dir="ltr"]) { font-size: 1.25rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .world { grid-template-columns: minmax(0, 1fr); }
  .world-stage { max-width: 620px; width: 100%; margin-inline: auto; padding-block: 5% 6%; }
  .case { grid-template-columns: 1fr; }
  .case-stage { max-width: 860px; }
  .capability { grid-template-columns: 50px 1fr; }
  .capability > p { grid-column: 2; }
}
@media (max-width: 900px) {
  .project-picker button { padding: 20px 16px; }
  .project-picker .arrow { display: none; }
  .project-picker small { padding: 0; }
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot--video-a { grid-column: 1 / 2; }
  .shot--video-b { grid-column: 2 / 3; }
  .gallery-side { grid-column: 1 / -1; }
  .shot--video .shot-btn { margin-inline: auto; }
  .roma-story { gap: 28px; padding: 28px; }
  .roma-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .roma-copy h4 { font-size: 2.5rem; }
}
@media (max-width: 620px) {
  .work { padding-block: 82px; }
  .project-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; }
  .project-picker button { padding: 16px; min-height: 112px; }
  .project-picker button:nth-child(2) { border-inline-end: 0; }
  .project-picker button:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .project-picker button > span { font-size: 1.05rem; }
  .project-picker small { font-size: .78rem; }
  .pick-num { margin-bottom: 10px; }
  .world { padding: 26px 20px 30px; gap: 34px; }
  .world-story h3 { font-size: 2.8rem; margin-bottom: 20px; }
  .world-body { font-size: 1rem; }
  /* the film first and centred, the two stills side by side under it */
  .world-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; padding-block: 0; }
  .world-stage .phone--film { grid-column: 1 / -1; order: -1; width: min(280px, 82%); margin-inline: auto; }
  .world-stage .phone--a, .world-stage .phone--b { transform: none; }
  /* the gallery becomes a row you swipe, one screen at a time, the next one peeking in */
  .world-shots {
    display: flex; gap: 14px; margin-inline: -20px; padding: 26px 20px 4px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .world-shots::-webkit-scrollbar { display: none; }
  .world-shots .phone { flex: 0 0 60%; scroll-snap-align: center; }
  .world-shots .phone:nth-child(2) { margin-top: 0; }
  .phone figcaption { font-size: .8rem; }
  .case-stage { padding-inline-end: 8%; }
  .device--phone { width: 30%; border-radius: 20px; padding: 5px; }
  .device--phone img { border-radius: 16px; }
  .gallery { grid-template-columns: 1fr; }
  .shot--video-a, .shot--video-b, .gallery-side { grid-column: 1 / -1; }
  .shot--video .shot-btn { max-width: 300px; }
  .facts dt { font-size: 1.9rem; }
  .roma-heading { display: block; padding-bottom: 24px; }
  .roma-heading > p { margin-top: 12px; }
  .roma-story { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; margin-top: 24px; gap: 32px; }
  .roma-description { font-size: 1rem; }
  .roma-copy h4 { font-size: 2.3rem; }
  .roma-gallery { gap: 28px 14px; }
  .shot-view { font-size: .66rem; padding: 6px 10px; bottom: 8px; inset-inline-end: 8px; }
  .next-card { flex-direction: column; align-items: flex-start; gap: 24px; padding: 26px; }
  .capabilities { margin-top: 90px; }
  .capabilities-head { grid-template-columns: 1fr; gap: 18px; }
  .capability { grid-template-columns: 34px 1fr; gap: 16px; }
  .capability > p { grid-column: 2; }
}

@media print { body > * { display: none !important; } body::after { display: block; content: "© MAELOR — maelor.co. All rights reserved."; color: #000; font: 18pt serif; } }
