/* DDB × NHC — "The Address of Great Ideas"
   The interface is DDB: off-white, black, one yellow accent. Warmth comes from photography
   and material (stone, palm shadow, natural light), never from beige fills. */
:root {
  --ivory: #F4F4F3;
  --ink: #241F21;
  --yellow: #FBD10D;
  --grey: #CCCECE;
  --line: rgba(36, 31, 33, .16);
  --muted: rgba(36, 31, 33, .62);
  --serif: 'Noto Naskh Arabic', serif;
  --latin: 'IBM Plex Sans', system-ui, sans-serif;
  --sans: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar: 72px;
  --gutter: clamp(20px, 5vw, 80px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); }
body { background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.is-opening, body.ov-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--yellow); }

/* ── top bar ──────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: opacity .5s ease; /* no transform here: it would trap the fixed mobile menu */
}
body.is-opening .topbar { opacity: 0; pointer-events: none; }
/* the frosted bar lives on a pseudo-layer: a backdrop-filter on the bar itself would trap
   the fixed mobile menu inside the bar's 72px */
.topbar::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
  background: rgba(244, 244, 243, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.topbar.solid::before, .topbar.menu-open::before { opacity: 1; }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.lk-ddb { height: 34px; width: auto; }
.lk-nhc { height: 30px; width: auto; }
.lk-x { font-family: var(--latin); font-size: 22px; line-height: 1; color: var(--muted); }
.nav { display: flex; gap: 6px; margin-inline-start: auto; }
.nav a { text-decoration: none; display: flex; flex-direction: column; padding: 6px 12px; line-height: 1.25; border-bottom: 2px solid transparent; transition: border-color .25s; }
.nav b { font-family: var(--serif); font-weight: 600; font-size: 15px; }
.nav small { font-size: 11.5px; color: var(--muted); }
.nav a:hover, .nav a.on { border-color: var(--yellow); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn i { position: absolute; inset-inline: 10px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn i:first-child { top: 17px; } .menu-btn i:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── the opening (the hello itself is styled under «THE HELLO» near the end) ── */
.welcome { position: relative; }
.opening { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--ivory); }
.op-caption { position: absolute; left: 0; right: 0; top: calc(50% + 34px); text-align: center; font-size: 15px; color: var(--muted); opacity: 0; pointer-events: none; }
.op-title { position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; opacity: 0; pointer-events: none; }
.op-title h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.9rem); line-height: 1.3; }
.op-title .latin { font-family: var(--latin); font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.4rem); color: rgba(36,31,33,.7); margin-top: 2px; }
.op-skip, .op-replay, .op-down { position: absolute; z-index: 3; bottom: 26px; font-size: 13px; transition: opacity .4s ease; }
.op-skip { inset-inline-start: var(--gutter); padding: 8px 14px; border: 1px solid rgba(36,31,33,.3); }
.op-skip:hover { border-color: var(--ink); }
body.is-open .op-skip { opacity: 0; pointer-events: none; }
.op-replay { inset-inline-start: var(--gutter); opacity: 0; pointer-events: none; padding: 8px 14px; border: 1px solid rgba(36,31,33,.3); background: rgba(244,244,243,.5); }
.op-down { inset-inline-end: var(--gutter); opacity: 0; pointer-events: none; text-decoration: none; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.op-down span { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--yellow); }
body.is-open .op-replay, body.is-open .op-down { opacity: 1; pointer-events: auto; }

/* ── the stops (a plain scroll since 2026-11-16: the films were dropped) ──
   Each stop is a full-screen section: the landmark photo behind, the content on the right. */
.stops { background: var(--ink); }
.stop { position: relative; display: flex; min-height: 100vh; min-height: 100svh; overflow: hidden; scroll-margin-top: 0; }
.stop-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stop-panel { position: relative; z-index: 3; width: min(48vw, 760px); min-height: 100%;
  padding: calc(var(--bar) + 4vh) clamp(24px, 4vw, 64px) 5vh; }
.stop-panel .ch-head { margin-bottom: 20px; }
.stop-panel .ch-no { font-size: clamp(3.6rem, 6vw, 5.6rem); }
.stop-panel .ch-head h2 { font-size: clamp(2.6rem, 4.4vw, 4.2rem); }
.stop-panel .ch-lede { margin: 0 0 28px; font-size: 1.08rem; }
.stop-docs { display: grid; gap: 14px; }
.stop-docs .doc { padding: 22px 26px; }
.stop-docs .doc-title { font-size: clamp(1.5rem, 2.2vw, 2rem); }

/* ── the address & the directory ─────────────────────── */
.address { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(80px, 14vh, 160px) var(--gutter); }
.label { font-size: 13px; font-weight: 600; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.label::before { content: ""; width: 9px; height: 9px; background: var(--yellow); border-radius: 50%; }
.address h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.25; }
.address h2 em { font-style: normal; background: linear-gradient(transparent 68%, var(--yellow) 68%, var(--yellow) 88%, transparent 88%); }
.address-copy p:last-child { margin-top: 24px; font-size: 1.12rem; max-width: 30rem; color: var(--muted); }
.address-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.address-photo img { width: 100%; height: 100%; object-fit: cover; }

.directory { padding: 0 var(--gutter) clamp(80px, 14vh, 160px); }
.dir-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); margin-bottom: 22px; }
.dir-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.2; }
.dir-head p { max-width: 26rem; color: var(--muted); font-size: .95rem; }
.dir-head a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.panels { list-style: none; display: flex; gap: 10px; height: min(72vh, 680px); }
.panels li { flex: 1; min-width: 0; transition: flex-grow .7s var(--ease); }
.panels li:hover, .panels li:focus-within { flex-grow: 2.4; }
.panel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 24px; overflow: hidden; text-decoration: none; color: var(--ivory); background: var(--ink); }
.pv { position: absolute; inset: 0; }
.pv img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel:hover .pv img { transform: scale(1.05); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(36,31,33,.78)); pointer-events: none; }
.panel > :not(.pv) { position: relative; z-index: 1; }
.pn { font-family: var(--latin); font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; text-align: right; }
.panel b { font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.8rem); margin-top: 10px; line-height: 1.3; white-space: nowrap; }
.panel small { font-size: .88rem; opacity: .8; white-space: nowrap; }
.go { margin-top: 14px; font-size: 13px; font-weight: 600; height: 0; opacity: 0; transition: opacity .3s ease, height .3s ease; }
.panel:hover .go, .panel:focus-visible .go { height: 22px; opacity: 1; }
.go::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--yellow); vertical-align: middle; margin-inline-end: 8px; }
/* each floor's own material */
.wash { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 75% 20%, #FF7A1A, transparent 70%),
  radial-gradient(70% 60% at 20% 70%, #E5007D, transparent 70%),
  radial-gradient(80% 70% at 60% 100%, #6E2BD9, transparent 70%), #F04E23; }
.wash::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.p-foundations { color: var(--ink); background: var(--ivory); border: 1px solid var(--ink); }
.p-foundations::after { background: linear-gradient(transparent 50%, rgba(244,244,243,.95)); }
.lines { width: 100%; height: 100%; }
.lines path { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .55; }
.lines .arc { stroke-dasharray: 3 4; }
/* Minds: the whole team, no single face — black & white, colour ripples in on hover */
.mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr); gap: 2px; background: var(--ink); }
.mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 8%; filter: grayscale(1) contrast(1.05); transition: filter .5s ease calc(var(--i) * 30ms), transform 1.2s var(--ease); }
.p-minds:hover .mosaic img, .p-minds:focus-visible .mosaic img { filter: none; }
.p-minds:hover .pv img { transform: none; }
.p-minds::after { background: linear-gradient(transparent 38%, rgba(36,31,33,.55) 62%, rgba(36,31,33,.92)); }

/* ── chapters ─────────────────────────────────────────── */
.chapter { position: relative; padding: clamp(90px, 15vh, 170px) var(--gutter); overflow: hidden; }
.ch-head { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: end; margin-bottom: clamp(28px, 5vh, 56px); }
.ch-no { grid-row: span 2; font-family: var(--latin); font-size: clamp(4rem, 9vw, 8.5rem); line-height: .8; }
.ch-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 1.15; }
.ch-label { font-size: 1rem; color: var(--muted); }
.stub { color: var(--muted); font-size: .95rem; }
.ch-possibilities { background: var(--ink); color: var(--ivory); }
.ch-possibilities .wash { inset: auto 0 0 0; height: 10px; }
.ch-possibilities .ch-label, .ch-possibilities .stub { color: rgba(244,244,243,.65); }
.ch-foundations { background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px, var(--ivory); }
.ch-minds { background: #EAEAE8; }
.ch-proof { background: var(--ink); color: var(--ivory); }
.ch-proof .ch-label, .ch-proof .stub { color: rgba(244,244,243,.65); }

/* Commitment */
.ch-commitment { background: var(--ivory); border-top: 1px solid var(--line); }
.ch-lede { font-size: 1.2rem; max-width: 40rem; margin: -12px 0 48px; }
.commit-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.commit-stone { grid-row: span 1; overflow: hidden; min-height: 420px; }
.commit-stone img { width: 100%; height: 100%; object-fit: cover; }
.doc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 40px); border: 1.5px solid var(--ink); text-decoration: none; background: #FBFBFA; transition: background-color .3s ease, transform .4s var(--ease); }
.doc::before { content: ""; position: absolute; inset: -1.5px -1.5px auto; height: 6px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.doc:hover::before, .doc:focus-visible::before { transform: scaleX(1); }
.doc:hover { transform: translateY(-4px); }
.doc-tag { font-size: 13px; font-weight: 600; color: var(--muted); }
.doc-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.25; }
.doc-desc { color: var(--muted); }
.doc-facts { display: flex; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.doc-facts div { flex: 1; padding: 14px 0 0; }
.doc-facts dt { font-family: var(--latin); font-size: 2.2rem; line-height: 1; }
.doc-facts dd { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.doc-open { margin-top: auto; padding-top: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.doc-open i { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--yellow); transition: transform .3s var(--ease); }
.doc:hover .doc-open i { transform: translateX(-5px); }

/* ── overlay (document panel) ─────────────────────────── */
.ov { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.ov.open { visibility: visible; }
.ov-backdrop { position: absolute; inset: 0; background: rgba(36,31,33,.55); opacity: 0; transition: opacity .35s ease; }
.ov.open .ov-backdrop { opacity: 1; }
.ov-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(1080px, 96vw); background: var(--ivory); overflow-y: auto; transform: translateX(-100%); transition: transform .5s var(--ease); outline: none; }
.ov.open .ov-panel { transform: none; }
.ov-bar { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; height: 60px; padding: 0 clamp(20px, 4vw, 48px); background: rgba(244,244,243,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.ov-crumb { font-size: 13px; color: var(--muted); }
.ov-crumb b { color: var(--ink); }
.ov-x { width: 40px; height: 40px; background: var(--ink); color: var(--yellow); font-size: 24px; line-height: 1; }
.ov-body { padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 48px) 80px; }
.ov-body h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.2; }
.ov-intro { margin-top: 12px; max-width: 40rem; color: var(--muted); font-size: 1.05rem; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 20px; }
.filters button { padding: 7px 14px; border: 1px solid var(--ink); font-size: 13px; font-weight: 500; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.filters .count { font-family: var(--latin); margin-inline-start: 6px; opacity: .6; }

.sla { width: 100%; border-collapse: collapse; }
.sla thead th { position: sticky; top: 60px; z-index: 2; background: var(--ivory); text-align: start; font-size: 12px; font-weight: 600; color: var(--muted); padding: 12px 10px; border-bottom: 1.5px solid var(--ink); }
.sla td { padding: 18px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sla .c-no { width: 56px; font-family: var(--latin); font-size: 1.3rem; color: var(--muted); }
.sla .c-what b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.5; }
.sla .c-what span { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.sla .c-cat { width: 170px; font-size: 13px; color: var(--muted); }
.sla .c-term { width: 130px; }
.term { display: inline-block; background: var(--yellow); font-weight: 600; font-size: .95rem; padding: 4px 12px; white-space: nowrap; }
.sla .c-more { width: 48px; }
.more { width: 32px; height: 32px; border: 1px solid var(--ink); font-size: 18px; line-height: 1; transition: background-color .2s, transform .3s var(--ease); }
.more:disabled { opacity: .2; cursor: default; }
.more[aria-expanded="true"] { background: var(--ink); color: var(--yellow); transform: rotate(45deg); }
.sla tr.steps td { padding: 0 10px 22px; border-bottom: 1px solid var(--line); }
.sla tr.steps[hidden] { display: none; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; padding: 16px 18px; background: #EDEDEB; }
.steps-grid b { font-size: 12.5px; display: block; margin-bottom: 6px; }
.steps-grid b::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--yellow); margin-inline-end: 6px; }
.steps-grid ul { list-style: none; font-size: .9rem; line-height: 1.7; }

.workstreams { margin-top: 36px; border-top: 1.5px solid var(--ink); }
.ws { border-bottom: 1px solid var(--line); }
.ws summary { list-style: none; display: grid; grid-template-columns: 56px 1fr 32px; align-items: center; gap: 10px; padding: 18px 0; cursor: pointer; }
.ws summary::-webkit-details-marker { display: none; }
.ws .ws-no { font-family: var(--latin); font-size: 1.3rem; color: var(--muted); }
.ws .ws-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.ws .ws-name.pending { color: transparent; background: repeating-linear-gradient(90deg, rgba(36,31,33,.14) 0 8px, transparent 8px 13px) 100% 50% / 55% 10px no-repeat; }
.ws-body { padding: 0 66px 22px 0; }
.pending-note { margin-top: 28px; padding: 18px 20px; border: 1.5px dashed rgba(36,31,33,.35); font-size: 14px; color: var(--muted); }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav small { display: none; }
  .commit-grid { grid-template-columns: 1fr 1fr; }
  .commit-stone { grid-column: 1 / -1; min-height: 240px; }
}
@media (max-width: 860px) {
  :root { --bar: 64px; }
  .menu-btn { display: block; margin-inline-start: auto; }
  .nav { position: fixed; inset: var(--bar) 0 0 0; flex-direction: column; gap: 0; padding: 12px var(--gutter); background: var(--ivory); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s var(--ease); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav b { font-size: 1.5rem; } .nav small { display: block; font-size: 13px; }
  .address { grid-template-columns: 1fr; }
  .dir-head { flex-direction: column; align-items: start; }
  .panels { flex-direction: column; height: auto; }
  .panels li, .panels li:hover { flex: none; }
  .panel { height: 132px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-content: end; }
  .pn { grid-row: span 2; font-size: 2.6rem; }
  .panel b { margin-top: 0; font-size: 1.35rem; }
  .go { display: none; }
  .panel::after { background: linear-gradient(90deg, rgba(36,31,33,.15), rgba(36,31,33,.75)); }
  .p-foundations::after { background: linear-gradient(90deg, transparent, rgba(244,244,243,.9)); }
  .commit-grid { grid-template-columns: 1fr; }
  /* on phones the landmark shows on top and the content runs beneath it */
  .stop { flex-direction: column; }
  .stop-bg { height: 62vh; height: 62svh; object-position: 22% 50%; }
  .stop-panel { width: 100%; min-height: 0; margin-top: 42vh; margin-top: 42svh; padding: 26px 20px 40px; }
  .stop-panel .ch-head { grid-template-columns: auto 1fr; }
  .stop-panel .ch-no { grid-row: span 2; font-size: 3rem; }
  .ch-head { grid-template-columns: 1fr; }
  .ch-no { grid-row: auto; font-size: 3.4rem; }
  /* the SLA table becomes stacked cards */
  .sla thead { display: none; }
  .sla, .sla tbody, .sla tr, .sla td { display: block; width: auto; }
  .sla tr.row { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .sla tr.row td { padding: 0; border: 0; }
  .sla .c-no { grid-row: span 3; }
  .sla .c-cat { grid-column: 2; order: 3; }
  .sla .c-term { grid-column: 2; }
  .sla .c-more { grid-column: 3; grid-row: 1; }
  .sla tr.steps td { padding: 0 0 16px; }
  .ov-panel { width: 100vw; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01s !important; scroll-behavior: auto !important; }
}

/* scope of services: NHC's RFP lines as numbered clauses */
.scope-list { list-style: none; margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.scope-list li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: baseline; padding: 18px 0 18px 18px; border-bottom: 1px solid var(--line); }
.scope-list li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.scope-list li:nth-child(even) { padding-inline-start: 18px; }
.sc-no { font-family: var(--latin); font-size: 1.5rem; line-height: 1; color: var(--muted); }
.scope-list p { font-size: 1.02rem; line-height: 1.75; }
.scope-list li:hover .sc-no { color: var(--ink); text-decoration: underline 3px var(--yellow); text-underline-offset: 6px; }
@media (max-width: 860px) {
  .scope-list { grid-template-columns: 1fr; }
  .scope-list li:nth-child(odd) { border-inline-end: 0; }
  .scope-list li:nth-child(even) { padding-inline-start: 0; }
}

/* 01 Possibilities — the network numbers on the stop panel */
.stop-numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin: -8px 0 24px; border-top: 1.5px solid var(--ink); }
.stop-numbers div { padding: 14px 0 0; }
.stop-numbers div + div { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.stop-numbers dt { font-family: var(--latin); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; }
.stop-numbers dd { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) {
  .stop-numbers { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .stop-numbers div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
}

/* services table: category / field / capabilities */
.sla.services { margin-top: 32px; }
.services .c-cat { width: 190px; font-size: 14px; font-weight: 600; color: var(--ink); }
.services .c-what { width: 280px; }
.services .c-how { color: var(--muted); line-height: 1.8; }
@media (max-width: 860px) {
  .services tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .services td { padding: 2px 0; border: 0; }
  .services .c-cat { width: auto; }
}

/* about: tphDDB lines, awards, clients */
.about-list { list-style: none; margin-top: 32px; border-top: 1.5px solid var(--ink); }
.about-list li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.about-list p { font-size: 1.12rem; line-height: 1.75; }
.ov-h3 { margin-top: 56px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.3; }
.ov-sub { margin-top: 6px; color: var(--muted); }
.awards { list-style: none; margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.awards li { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); }
.awards b { align-self: flex-start; font-family: var(--latin); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.awards span { font-size: 13px; color: var(--muted); }
/* clients: own overlay — a big rolling line per group, the full list beneath it */
.cl-block { margin-top: 48px; }
.cl-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.cl-head h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.3; }
.cl-head span { font-family: var(--latin); font-size: 1.4rem; color: var(--muted); }
.cl-marquee { overflow: hidden; padding: 22px 0; border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cl-track { display: inline-flex; white-space: nowrap; animation: cl-roll var(--secs, 50s) linear infinite; }
.cl-marquee.rev .cl-track { animation-direction: reverse; }
.cl-marquee:hover .cl-track { animation-play-state: paused; }
.cl-track span { font-family: var(--latin); font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.1; }
.cl-track span::after { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 .7em; vertical-align: middle; background: var(--yellow); }
@keyframes cl-roll { to { transform: translateX(-50%); } }
.cl-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.cl-list li { font-family: var(--latin); font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: right; }
@media (prefers-reduced-motion: reduce) { .cl-marquee { display: none; } }
@media (max-width: 860px) {
  .awards { grid-template-columns: 1fr 1fr; }
  .cl-list { grid-template-columns: 1fr 1fr; }
}

/* shorter screens (most laptops): the stop's cards sit side by side and drop their detail lines */
@media (min-width: 861px) and (max-height: 920px) {
  .stop-panel .ch-head { margin-bottom: 12px; }
  .stop-panel .ch-lede { margin-bottom: 20px; font-size: 1rem; }
  .stop-docs { grid-template-columns: 1fr 1fr; }
  /* a third card runs the full width as a strip, so two rows stay short */
  .stop-docs .doc--strip { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; padding: 14px 20px; }
  .stop-docs .doc--strip .doc-tag { order: 0; }
  .stop-docs .doc--strip .doc-open { margin: 0 auto 0 0; padding: 0; }
  .stop-docs .doc--strip .doc-title, .stop-docs .doc--strip .doc-open { white-space: nowrap; }
  .stop-docs .doc { padding: 18px 20px; }
  .stop-docs .doc-desc, .stop-docs .doc-facts { display: none; }
  .stop-docs .doc-title { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
}

/* SLA (tech file pp. 15–16): a 12-day ruler, then the stages in full */
.ov-body .ov-intro + .ov-intro { margin-top: 8px; }
.tl { margin-top: 24px; border-top: 1.5px solid var(--ink); padding-top: 10px; }
.tl-row { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 16px; padding: 7px 0; }
.tl-name { font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.tl-track { position: relative; display: grid; grid-template-columns: repeat(13, 1fr); height: 26px;
  background: repeating-linear-gradient(to left, var(--line) 0 1px, transparent 1px calc(100% / 13)); }
.tl-days .tl-track { background: none; height: auto; }
.tl-days .tl-track span { text-align: center; font-size: 12px; color: var(--muted); font-family: var(--latin); }
.tl-track i { grid-column: var(--a) / calc(var(--b) + 1); grid-row: 1; display: flex; align-items: center; padding-inline: 8px;
  background: var(--yellow); margin: 3px 1px; }
.tl-track i.open { background: linear-gradient(to left, var(--yellow) 70%, rgba(251,209,13,.15)); }
.tl-track b { font-family: var(--latin); font-weight: 400; font-size: 12px; }
.tl-steps { list-style: none; margin-top: 40px; border-top: 1.5px solid var(--ink); }
.tl-steps > li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl-steps h4 { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.4; }
.tl-when { display: inline-block; margin-top: 6px; padding: 2px 10px; background: var(--ink); color: var(--yellow); font-size: 13px; font-weight: 500; }
.tl-steps ul { margin-top: 12px; padding-inline-start: 18px; display: grid; gap: 6px; }
.tl-steps ul li { line-height: 1.8; color: var(--ink); }
@media (max-width: 860px) {
  .tl-row { grid-template-columns: 1fr; gap: 4px; }
  .tl-days .tl-name { display: none; }
}
.tl-note { margin-top: 24px; padding-inline-start: 16px; border-inline-start: 4px solid var(--yellow); font-size: 14px; line-height: 1.8; color: var(--muted); }

/* The Power to Move: seven stages on one line (a yellow fill runs to the open one), then its card */
.ptm-eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); }
.ptm-title { font-family: var(--latin) !important; font-weight: 400 !important; text-align: right; }
.ptm-steps { --at: 0; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 44px; }
.ptm-steps::before, .ptm-steps::after { content: ""; position: absolute; top: 22px; height: 2px; inset-inline-start: calc(100% / 14); }
.ptm-steps::before { inset-inline-end: calc(100% / 14); background: var(--line); }
.ptm-steps::after { width: calc(var(--at) * 100% / 7); background: var(--yellow); transition: width .5s var(--ease); }
.ptm-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 4px; background: none; border: 0; cursor: pointer; font: inherit; color: var(--muted); }
.ptm-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--ivory); color: var(--ink); font-family: var(--latin); font-size: 1.15rem; transition: background-color .3s ease, transform .3s var(--ease); }
.ptm-label { font-size: 13px; line-height: 1.45; text-align: center; }
.ptm-step:hover .ptm-badge { transform: translateY(-3px); }
.ptm-step.on { color: var(--ink); font-weight: 600; }
.ptm-step.on .ptm-badge { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(251, 209, 13, .25); }
.ptm-card { margin-top: 36px; padding: clamp(24px, 3.4vw, 44px); background: var(--ink); color: var(--ivory); border-top: 6px solid var(--yellow); }
.ptm-card.swap { animation: ptm-in .45s var(--ease); }
@keyframes ptm-in { from { opacity: 0; transform: translateY(8px); } }
.ptm-card-head { display: flex; align-items: center; gap: 26px; padding-bottom: 26px; border-bottom: 1px solid rgba(244, 244, 243, .18); }
.ptm-num { font-family: var(--latin); font-size: clamp(3.4rem, 6vw, 5rem); line-height: .9; color: var(--yellow); }
.ptm-card-head h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.3; }
.ptm-action { margin-top: 4px; font-size: 1.12rem; color: rgba(244, 244, 243, .75); }
.ptm-q-label { display: block; margin-top: 26px; font-size: 13px; color: rgba(244, 244, 243, .55); }
.ptm-questions { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin-top: 16px; }
.ptm-questions li { padding-inline-start: 14px; border-inline-start: 3px solid var(--yellow); font-size: 1.08rem; line-height: 1.6; }
.ptm-payoff { margin-top: 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.4rem); color: var(--yellow); }
@media (max-width: 860px) {
  .ptm-steps { grid-template-columns: repeat(7, minmax(64px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .ptm-questions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ptm-card.swap { animation: none; } .ptm-steps::after { transition: none; } }

/* 05 Minds: team by department — portrait cards, a card opens the bio */
.minds-docs { max-width: 560px; margin-top: 32px; }
.tm-faces { display: flex; margin-top: 6px; }
.tm-faces img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; border: 2px solid #FBFBFA; margin-inline-start: -12px; background: #fff; }
.tm-faces img:first-child { margin-inline-start: 0; }
.tm-dept { margin-top: 48px; }
.tm-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 18px; margin-top: 22px; }
.tm-card { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0; background: none; border: 0; text-align: right; font: inherit; color: inherit; cursor: pointer; }
/* the portraits are DDB 'B' cut-outs on white (860×1560): shown whole, in colour */
.tm-photo { display: block; aspect-ratio: 860 / 1560; overflow: hidden; margin-bottom: 10px; position: relative; }
.tm-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tm-card:hover .tm-photo img, .tm-card:focus-visible .tm-photo img { transform: scale(1.03); }
.tm-card:hover .tm-photo::after, .tm-card:focus-visible .tm-photo::after { transform: scaleX(1); }
.tm-card b { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; line-height: 1.4; }
.tm-role { font-size: 13px; color: var(--muted); line-height: 1.5; }
.tm-back { background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.tm-person { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(24px, 4vw, 48px); margin-top: 24px; align-items: start; }
.tm-person .tm-role { font-size: 15px; margin: 6px 0 22px; }
.tm-person p + p { margin-top: 12px; }
@media (max-width: 860px) {
  .tm-grid { grid-template-columns: repeat(3, 1fr); }
  .tm-person { grid-template-columns: 1fr; }
  .tm-person .tm-photo { max-width: 260px; }
}

/* 02 Foundations: the plan's four stages side by side; the production process as a numbered run */
.plan-stages { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 32px; border-top: 1.5px solid var(--ink); }
.plan-stages > li { padding: 22px 18px 24px; border-inline-start: 1px solid var(--line); }
.plan-stages > li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.plan-stages > li::before { content: ""; display: block; width: 28px; height: 5px; background: var(--yellow); margin-bottom: 18px; }
.plan-stages h3 { margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.45; min-height: 3.6em; }
.plan-stages ol { list-style: none; counter-reset: s; margin-top: 14px; }
.plan-stages ol li { counter-increment: s; display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.plan-stages ol li::before { content: counter(s); font-family: var(--latin); color: var(--muted); }
.proc { list-style: none; margin-top: 28px; border-top: 1.5px solid var(--ink); }
.proc li { display: grid; grid-template-columns: 52px minmax(180px, 280px) 1fr; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.proc h3 { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1.45; }
.proc p { font-size: 1.05rem; line-height: 1.75; }
@media (max-width: 860px) {
  .plan-stages { grid-template-columns: 1fr 1fr; }
  .plan-stages > li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .proc li { grid-template-columns: 40px 1fr; }
  .proc p { grid-column: 2; }
}

/* 05 Tools: brand tiles — the logo is a mask filled in --fg on the brand colour --bg */
.tool-mark { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--bg); position: relative; }
.tool-mark::after { content: ""; width: 58%; height: 58%; background: var(--fg, #fff); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.tool-mark.word::after, .tool-mark.pic::after { display: none; }
.tool-mark.pic { box-shadow: inset 0 0 0 1px rgba(36,31,33,.1); }
.tool-mark.pic img { width: 66%; height: 66%; object-fit: contain; }
.tool-mark.word b { color: var(--fg, #fff); font-family: var(--latin); font-weight: 400; font-size: 9px; line-height: 1; text-align: center; padding: 0 3px; }
.tool-mark.big { width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; }
.tool-mark.big.word b { font-size: clamp(1.1rem, 1.8vw, 1.6rem); }
.tool-tag { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.tool-tag img, .tool-tag .tool-mark { width: 28px; height: 28px; }
.tool-row { display: flex; gap: 6px; margin-inline-start: auto; }
.tool-row .tool-mark { width: 30px; height: 30px; border-radius: 7px; }
.tool-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: var(--latin); font-size: 1.6rem; }
.tool-hero img { width: 56px; height: 56px; }
.tool-grid { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 26px 18px; margin-top: 32px; }
.tool-grid li { display: flex; flex-direction: column; gap: 10px; }
.tool-grid li > span.ltr { font-family: var(--latin); font-size: 1rem; text-align: center; }
.tool-grid .tool-mark { transition: transform .35s var(--ease); }
.tool-grid li:hover .tool-mark { transform: translateY(-4px) rotate(-2deg); }
/* the Trello board */
.tb-head { display: flex; align-items: center; gap: 18px; }
.tb-head .tool-mark.big { width: 64px; border-radius: 14px; }
.tb-head h2 { font-family: var(--latin) !important; font-weight: 400 !important; }
.tb-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; padding: 18px; border-radius: 14px; background: linear-gradient(135deg, #0052CC, #2684FF); }
.tb-col { background: #F1F2F4; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.tb-col h3 { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; padding: 2px 4px 4px; }
.tb-col h3 span { color: var(--muted); font-family: var(--latin); }
.tb-card { background: #fff; border-radius: 8px; padding: 10px 12px; box-shadow: 0 1px 1px rgba(9,30,66,.25); }
.tb-card i { display: block; width: 40px; height: 7px; border-radius: 4px; background: var(--yellow); margin-bottom: 8px; }
.tb-card.done i { background: #22A06B; }
.tb-card p { font-size: 13.5px; line-height: 1.6; }
@media (max-width: 860px) {
  .tool-grid { grid-template-columns: repeat(4, 1fr); }
  .tb-board { grid-template-columns: 1fr; }
}
/* 06 Knowledge: the college, then the three ways students work with us */
.kt-logo { width: min(260px, 70%); height: auto; }
.kt-partner { display: flex; align-items: center; gap: 28px; margin-top: 36px; padding: 24px 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); }
.kt-partner img { width: 240px; height: auto; flex: none; }
.kt-partner h3 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.kt-partner p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.kt-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.kt-grid li { padding: 24px; background: #FBFBFA; border: 1.5px solid var(--ink); border-top: 6px solid var(--yellow); }
.kt-grid h3 { margin-top: 14px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.kt-grid p { margin-top: 8px; line-height: 1.75; }
@media (max-width: 860px) {
  .kt-partner { flex-direction: column; align-items: flex-start; }
  .kt-grid { grid-template-columns: 1fr; }
}
.cl-head h3.ltr { font-family: var(--latin); font-weight: 400; }
.stop-docs > .doc:only-child { grid-column: 1 / -1; }
.doc-title.ltr { font-family: var(--latin); font-weight: 400; }
.stop-docs .doc--strip .tool-row { margin-inline-start: 0; flex: none; }
.stop-docs .doc--strip .tool-row .tool-mark { width: 26px; height: 26px; border-radius: 6px; }
@media (min-width: 861px) and (max-height: 920px) { .stop-docs .doc--strip:has(.tool-row) .doc-title { display: none; } }

/* 08 Proof: a strip of work on the panel, the library grid, and each case */
.proof-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0 0 18px; }
.proof-strip a { aspect-ratio: 1; overflow: hidden; background: #E6E5E2; }
.proof-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.proof-strip a:hover img { transform: scale(1.06); }
.wk-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 18px; margin-top: 30px; }
.wk-tile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.wk-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #E6E5E2; margin-bottom: 10px; }
.wk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.wk-img::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.wk-tile:hover .wk-img img, .wk-tile:focus-visible .wk-img img { transform: scale(1.04); }
.wk-tile:hover .wk-img::after, .wk-tile:focus-visible .wk-img::after { transform: scaleX(1); }
.wk-play { position: absolute; inset-inline-end: 12px; bottom: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); }
.wk-play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-block: 7px solid transparent; border-left: 11px solid var(--ink); transform: translateX(2px); }
.wk-client { font-size: 13px; font-weight: 600; color: var(--muted); }
.wk-tile b { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.4; }
.ov-crumb a { color: inherit; }
.ov-body .wk-client { margin-top: 18px; }
.wk-film { position: relative; aspect-ratio: 16 / 9; margin-top: 26px; background: var(--ink); }
.wk-film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wk-hero { width: 100%; margin-top: 26px; }
.wk-stills { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 26px; }
.wk-stills img { width: 100%; height: auto; }
.wk-copy { font-size: 1.08rem; line-height: 1.85; max-width: 46rem; margin-top: 12px; }
.wk-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; border-top: 1.5px solid var(--ink); padding-top: 18px; }
.wk-nav a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.wk-nav a:last-child { text-align: left; }
.wk-nav span { font-size: 13px; font-weight: 600; color: var(--muted); }
.wk-nav b { font-family: var(--serif); font-size: 1.1rem; }
@media (max-width: 860px) { .wk-grid { grid-template-columns: 1fr 1fr; } }

/* 07 Minds: English role under the Arabic; DDB Studio frames the production crew (black-and-white, 4:5) */
.tm-en { font-family: var(--latin); font-size: 12.5px; color: var(--muted); }
.tm-photo.crew { aspect-ratio: 4 / 5; background: var(--ink); }
.tm-photo.crew img { mix-blend-mode: normal; }
.tm-grid.crew { grid-template-columns: repeat(4, 1fr); }
.tm-studio { margin-top: 64px; padding: clamp(22px, 3vw, 36px); background: var(--ink); color: var(--ivory); }
.tm-studio .cl-head { border-color: var(--yellow); }
.tm-studio .cl-head span, .tm-studio .tm-role, .tm-studio .tm-en { color: rgba(244, 244, 243, .6); }
.studio-intro { display: grid; grid-template-columns: 110px 1fr; gap: 28px; align-items: start; margin-top: 24px; }
.studio-logo { width: 110px; height: auto; background: #fff; padding: 12px; }
.studio-role { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--yellow); margin-bottom: 10px; }
.studio-intro p + p { margin-top: 10px; }
.studio-crew { margin-top: 32px; font-size: 14px; font-weight: 600; color: var(--yellow); }
.tm-studio .tm-grid { margin-top: 14px; }
.tm-studio .wk-film { margin-top: 26px; }
@media (max-width: 860px) {
  .tm-grid.crew { grid-template-columns: 1fr 1fr; }
  .studio-intro { grid-template-columns: 1fr; }
}

/* Latin = IBM Plex Sans (2026-11-15, replacing Instrument Serif): the Latin sibling of the Arabic UI face.
   It is far wider than the old condensed serif, so display numerals go light and tight. */
.ch-no, .pn, .ptm-num, .stop-numbers dt, .doc-facts dt, .cl-track span, .sc-no, .cl-head span { font-weight: 300; letter-spacing: -.03em; }
.ch-no { font-size: clamp(3.4rem, 7vw, 6.6rem); }
.stop-panel .ch-no { font-size: clamp(3rem, 5vw, 4.6rem); }
.stop-numbers dt { font-size: clamp(1.7rem, 2.5vw, 2.4rem); }
.doc-facts dt { font-size: 1.9rem; }
.ptm-num { font-size: clamp(3rem, 5vw, 4.2rem); }
.cl-track span { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.ptm-title, .tb-head h2, .doc-title.ltr, .cl-head h3.ltr { font-weight: 500 !important; letter-spacing: -.02em; }
.op-title .latin { font-weight: 300; letter-spacing: .01em; }

/* spacing pass (2026-11-15) */
.stop-numbers { margin: 0 0 24px; }
.stop-numbers div { padding: 14px 0 0; padding-inline-end: 14px; }
.stop-numbers div + div { padding-inline-start: 14px; }
.stop-numbers div:last-child { padding-inline-end: 0; }
.stop-panel .ch-head { row-gap: 4px; }
.stop-panel .ch-head h2 { line-height: 1.05; }
.doc-open { white-space: nowrap; }
.doc-title { line-height: 1.35; }
@media (min-width: 861px) and (max-height: 920px) {
  .stop-panel .ch-head { margin-bottom: 22px; }
  .stop-panel .ch-lede { margin-bottom: 22px; line-height: 1.85; }
  .stop-docs { gap: 12px; }
}
.stop-docs .doc--strip .doc-tag { white-space: nowrap; }
/* figures are set LTR but sit on the Arabic (right) edge, above their labels */
.doc-facts dt, .stop-numbers dt { text-align: right; }

/* ── GLASS PANELS (Ziyad, 2026-11-15: option B, with bolder type) ─────────────────
   The off-white sheet is gone: the photograph runs behind every stop, a dark shade sits
   under the copy, and the cards float as frosted glass. Type goes up a weight and to
   near-white so it reads easily over the image. */
.stop-panel {
  background: linear-gradient(270deg, rgba(20,17,18,.78) 0%, rgba(20,17,18,.6) 55%, rgba(20,17,18,.18) 88%, transparent);
  box-shadow: none; color: #fff;
}
.stop-panel .ch-no { color: rgba(255,255,255,.85); font-weight: 400; }
.stop-panel .ch-head h2 { color: #fff; }
.stop-panel .ch-label { color: rgba(255,255,255,.85); font-weight: 500; }
.stop-panel .ch-lede { color: #fff; font-weight: 500; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.stop-panel .stop-numbers { border-top-color: rgba(255,255,255,.6); }
.stop-panel .stop-numbers div + div { border-inline-start-color: rgba(255,255,255,.25); }
.stop-panel .stop-numbers dt { font-weight: 400; color: #fff; }
.stop-panel .stop-numbers dd { color: rgba(255,255,255,.85); font-weight: 500; font-size: 13px; }

.stop-panel .doc {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 24px;
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3);
  color: #fff; overflow: hidden;
}
.stop-panel .doc::before { display: none; }
.stop-panel .doc:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.stop-panel .doc-tag { color: rgba(255,255,255,.88); font-weight: 600; }
.stop-panel .doc-title { color: #fff; font-weight: 700; }
.stop-panel .doc-title.ltr { font-weight: 600 !important; }
.stop-panel .doc-desc { color: rgba(255,255,255,.88); font-weight: 500; }
.stop-panel .doc-facts { border-top-color: rgba(255,255,255,.3); }
.stop-panel .doc-facts dt { font-weight: 400; }
.stop-panel .doc-facts dd { color: rgba(255,255,255,.85); font-weight: 500; font-size: 13px; }
.stop-panel .doc-open { color: #fff; font-weight: 700; }
.stop-panel .doc-open i { border-radius: 50%; color: var(--ink); width: 36px; height: 36px; }
.stop-panel .tool-tag { color: #fff; }
.stop-panel .kt-logo { background: #fff; border-radius: 12px; padding: 8px 12px; width: min(240px, 70%); }
.stop-panel .tm-faces img { border-color: rgba(255,255,255,.7); }
.stop-panel .proof-strip a { border-radius: 12px; }
@media (max-width: 860px) {
  .stop-panel { background: linear-gradient(180deg, rgba(20,17,18,0) 0, rgba(20,17,18,.8) 18vh, #141112 34vh); }
}

/* ── OVERLAY AS A FLOATING SHEET (default since 2026-11-15, Ziyad) ──
   Light paper for reading, lifted off the page: inset, rounded, the stop blurred behind it. */
.ov-backdrop { background: rgba(20,17,18,.35); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); }
.ov-panel { top: 16px; bottom: 16px; inset-inline-end: 16px; width: min(1080px, calc(100vw - 32px)); border-radius: 28px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); transform: translateX(calc(-100% - 40px)); }
.ov.open .ov-panel { transform: none; }
.ov-bar { height: 64px; background: rgba(244,244,243,.72); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: rgba(36,31,33,.08); }
.ov-x { border-radius: 50%; width: 42px; height: 42px; background: var(--yellow); color: var(--ink); font-size: 22px; }
.ov-crumb { font-weight: 500; }
/* softer insides */
.ptm-card, .tm-studio, .tb-board, .wk-film, .wk-hero, .wk-stills img, .wk-img, .tm-photo.crew { border-radius: 20px; overflow: hidden; }
.ptm-card { border-top: 0; box-shadow: inset 0 6px 0 var(--yellow); }
.kt-grid li { border-radius: 20px; border-width: 1px; border-top: 1px solid var(--ink); box-shadow: inset 0 6px 0 var(--yellow); }
.tb-col, .tool-mark.big { border-radius: 16px; }
.studio-logo { border-radius: 14px; }
.tl-track i { border-radius: 99px; }
.tl-when { border-radius: 99px; }
.ptm-badge { box-shadow: none; }
.about-list li, .proc li, .cl-list li, .scope-list li, .plan-stages ol li { border-color: rgba(36,31,33,.09); }
@media (max-width: 860px) {
  .ov-panel { top: 10px; bottom: 0; inset-inline-end: 0; width: 100vw; border-radius: 22px 22px 0 0; transform: translateY(100%); }
}

/* the plaque's scroll cue: centred, unmistakable — an ink pill with a scrolling wheel (2026-11-15) */
.op-down { inset-inline-end: auto; left: 50%; bottom: 30px; transform: translateX(-50%); gap: 14px; padding: 10px 12px 10px 22px; border-radius: 99px;
  background: var(--ink); color: var(--ivory); font-size: 15px; font-weight: 600; box-shadow: 0 14px 40px -12px rgba(36,31,33,.5); }
.op-down b { font-weight: 600; white-space: nowrap; }
.op-down .op-wheel { position: relative; width: 26px; height: 38px; border: 2px solid var(--yellow); border-radius: 14px; background: none; }
.op-wheel i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: op-wheel 1.6s var(--ease) infinite; }
@keyframes op-wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 70% { opacity: 1; transform: translateY(12px); } 100% { opacity: 0; transform: translateY(14px); } }
body.is-open .op-down { animation: op-nudge 2.4s ease-in-out 1s infinite; }
@keyframes op-nudge { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }
.op-down:hover { background: #000; }
@media (prefers-reduced-motion: reduce) { .op-wheel i, body.is-open .op-down { animation: none; } }
.op-title { bottom: max(9vh, 118px); }
.op-down { bottom: max(3vh, 26px); }
@media (max-width: 860px) { .op-replay, .op-skip { bottom: auto; top: calc(var(--bar) + 12px); } }


/* stop 07: the square's screen plays the work (placed by stops.js with matrix3d) */
.screen-wall { position: absolute; z-index: 1; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; pointer-events: none; background: #111; }
.screen-wall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s ease, transform 3.4s linear; }
.screen-wall img.on { opacity: 1; transform: scale(1); }
.screen-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 40%), radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0,0,0,.25)); }

/* the goodbye (2026-11-15): blue hour over the neighbourhood, the opening's point returns, the last line */
.farewell { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--ink); }
.farewell-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the swap-up (laptop and up): each stop pins while the next slides over it. Plain CSS, no scripts;
   isolation keeps a covered stop's glass panel under the stop that covers it. Phones keep the plain scroll. */
@media (min-width: 861px) {
  .stop, .farewell { position: sticky; top: 0; isolation: isolate; }
  .stop + .stop, .stop + .farewell { box-shadow: 0 -24px 60px rgba(0, 0, 0, .35); }
  /* and each section locks in place: one scroll moves exactly one section, never halfway (native scroll snap) */
  html { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
  .stops { position: relative; }
  /* the snap points are invisible markers where each section begins (stops.js places them): a pinned
     section always reads top 0, so snapping to the sections themselves gets stuck */
  .welcome, .snap-mark { scroll-snap-align: start; scroll-snap-stop: always; }
  .snap-mark { position: absolute; inset-inline-start: 0; width: 1px; pointer-events: none; }
}
@media (max-width: 860px) { .snap-mark { display: none; } }
/* the goodbye runs on CSS transitions (stops.js only adds .is-lit): composited, the text painted once.
   Nothing moves for the first .35s (Safari settles the 4K aerial as it lands, a short stall), then
   blue hour .35–1.75s, the point lands at 1.2s, the line rises 1.3–2.1s. Hidden states are .001, not 0:
   Safari skips painting opacity-0 layers, then paints the shadowed text and logos mid-slide and stutters */
#finaleNight { opacity: .001; transition: opacity 1.4s var(--ease) .35s; }
.farewell.is-lit #finaleNight { opacity: 1; }
.finale { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.finale::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,30,.55) 0%, rgba(8,10,30,.15) 45%, transparent 70%); opacity: .001; transition: opacity .8s ease 1.3s; }
.farewell.is-lit .finale::before { opacity: 1; }
.finale-point { position: absolute; width: 0; height: 0; opacity: .001; transition: opacity .4s ease 1.2s; }
.farewell.is-lit .finale-point { opacity: 1; }
.finale-point i { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%) scale(.4); transition: transform .6s var(--ease) 1.2s; }
.farewell.is-lit .finale-point i { transform: translate(-50%, -50%) scale(1); }
.finale-point i:nth-child(1) { width: 18px; height: 18px; background: var(--yellow); box-shadow: 0 0 24px 8px rgba(251,209,13,.75), 0 0 80px 30px rgba(251,209,13,.35); }
.finale-point i:nth-child(2), .finale-point i:nth-child(3) { width: 18px; height: 18px; border: 2px solid var(--yellow); }
.farewell.is-lit .finale-point i:nth-child(2) { animation: fp-ring 2.6s ease-out 1.8s infinite backwards; }
.farewell.is-lit .finale-point i:nth-child(3) { animation: fp-ring 2.6s ease-out 3.1s infinite backwards; }
@keyframes fp-ring { from { width: 18px; height: 18px; opacity: .9; } to { width: 160px; height: 160px; opacity: 0; } }
.finale-line { position: absolute; top: calc(var(--bar) + 6vh); inset-inline: 0; text-align: center; color: #fff;
  opacity: .001; transform: translateY(18px); transition: opacity .8s var(--ease) 1.3s, transform .8s var(--ease) 1.3s; will-change: opacity, transform; }
.farewell.is-lit .finale-line { opacity: 1; transform: none; }
.finale-kicker { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.8); }
.finale-line h2 { margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1.2; text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.finale-line h2 em { font-style: normal; color: var(--yellow); }
.finale-lockup { display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(24px, 4vh, 40px); }
.finale-lockup img { height: clamp(56px, 7vw, 92px); width: auto; filter: drop-shadow(0 4px 24px rgba(0,0,0,.35)); }
.finale-lockup img.nhc { height: clamp(48px, 6vw, 80px); filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0,0,0,.35)); }
.finale-lockup span { font-family: var(--latin); font-weight: 300; font-size: clamp(26px, 3vw, 40px); color: rgba(255,255,255,.75); }
@media (prefers-reduced-motion: reduce) { .farewell.is-lit .finale-point i { animation: none; } }

/* ── 02 Foundations · social media overlay (p11–13) ── */
.ov-h3.first { margin-top: 28px; }
.plan-stages.five { grid-template-columns: repeat(5, 1fr); }
.cm-rows { margin-top: 24px; border-top: 1.5px solid var(--ink); }
.cm-rows > div { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(36,31,33,.09); }
.cm-rows dt { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.cm-rows dd { font-size: 1.05rem; line-height: 1.75; }
.cm-kpi-title { margin-top: 28px; font-weight: 700; }
.cm-kpis { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cm-kpis li { padding: 10px 18px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; }
@media (max-width: 1100px) { .plan-stages.five { grid-template-columns: 1fr 1fr; } .plan-stages.five h3 { min-height: 0; } .plan-stages.five > li { border-inline-start: 0; padding-inline-start: 0; } }
@media (max-width: 640px) { .plan-stages.five { grid-template-columns: 1fr; } .cm-rows > div { grid-template-columns: 1fr; gap: 6px; } }

/* ── THE HELLO (2026-11-16, replaces the plaque): drawn on a canvas by hello.js over the dusk photo ── */
.hello { background: #141112; }
.hello::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(255,255,255,.04), transparent 60%); }
.hello-photo { position: absolute; z-index: 1; max-width: none; object-fit: cover; opacity: 0; }
.hello-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; }
.hello::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(20,17,18,.78) 0%, rgba(20,17,18,.25) 32%, transparent 55%); opacity: var(--shade, 1); }
.hello .op-caption { z-index: 3; top: auto; bottom: 22vh; color: rgba(244,244,243,.75); }
.hello .op-title { z-index: 3; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hello .op-title .latin { color: rgba(255,255,255,.8); }
.hello .op-skip, .hello .op-replay { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(20,17,18,.3); }
.hello .op-down { background: var(--yellow); color: var(--ink); }
.hello .op-down .op-wheel { border-color: var(--ink); }
.hello .op-down .op-wheel i { background: var(--ink); }
.hello .op-down:hover { background: #fff; }
body.clay .topbar, body.clay .op-title, body.clay .op-skip, body.clay .op-replay, body.clay .op-down, body.clay .op-caption,
body.clay .hello::after, body.clay .hello::before { display: none; }
body.clay .hello { background: linear-gradient(180deg, #CFC7BE 0%, #E9E2D8 55%, #B9AEA2 56%, #A99D90 100%); }
/* on portrait screens the photo is a band across the middle: its edges fade into the dark */
.hello-photo.band { -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 80%, transparent); }
