/* =====================================================================
   thejundi.com: Arabic home page (builds on /assets/site-chrome.css)
   Light gallery: navy type, violet + teal as small precise accents,
   brand gradient used twice (hero blade, final blade).
   ===================================================================== */

.home main { display: block; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 0; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding-top: clamp(28px, 3.4vw, 56px); overflow-x: clip; }
.hero__in { position: relative; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(12px, 1.8vw, 24px);
  font-size: 15px; font-weight: 500; line-height: 1.9; color: var(--sc-ink-2);
}
.hero__rule { flex: none; width: 40px; height: 1px; background: var(--sc-violet); }
.hero__title { position: relative; z-index: 1; margin: 0; font-size: var(--sc-fs-display); font-weight: 300; line-height: 1.35; letter-spacing: 0; }
.hero__title b { font-weight: 700; }
.hero__line { display: block; }
.hero__dot { color: var(--sc-violet); font-weight: 700; }
.hero__blade { width: clamp(210px, 62vw, 420px); margin: clamp(22px, 5vw, 36px) 0 0; margin-inline: auto calc(-1 * var(--sc-gutter)); }
.hero__foot { display: grid; gap: 26px; margin-top: clamp(22px, 2.4vw, 34px); }
.hero__lead { max-width: 40rem; font-size: var(--sc-fs-lead); line-height: 1.95; color: var(--sc-ink-2); }
.hero__lead strong { display: block; font-weight: 500; color: var(--sc-ink); }
@media (min-width: 560px) {
  .hero__title { font-weight: 200; } /* ExtraLight only at >= 45px */
}
@media (max-width: 759px) {
  /* phones and small tablets (AR, line 3 does not fit below ~740px): three lines, «وأُشغّلها» joins line 2 and the bold «بالذكاء الاصطناعي.» closes alone,
     so no verb is left on a line of its own */
  .home:not(.en) .hero__title { font-size: min(var(--sc-fs-display), 9.6vw); }
  .home:not(.en) .hero__line:nth-child(n+2) { display: inline; }
  .home:not(.en) .hero__line:nth-child(3) .sc-nw { display: block; }
}
@media (min-width: 900px) {
  .hero__blade {
    position: absolute; z-index: 0; margin: 0;
    width: clamp(340px, 40vw, 660px);
    inset-inline-end: calc(-1 * var(--sc-edge) - 2%);
    top: calc(56px + .3 * var(--sc-fs-display));
  }
  .hero__foot { grid-template-columns: minmax(0, 40rem) auto; justify-content: space-between; align-items: end; gap: 28px 48px; }
}

/* entrance (first screen only; 150–650 ms) */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__line, .hero__foot { animation: home-rise .65s var(--sc-ease) both; }
  .hero__line:nth-child(1) { animation-delay: .05s; }
  .hero__line:nth-child(2) { animation-delay: .12s; }
  .hero__line:nth-child(3) { animation-delay: .19s; }
  .hero__foot { animation-delay: .3s; }
  .hero__blade { animation: home-slab .65s var(--sc-ease) .25s both; }
  .strip { animation: home-fade .65s var(--sc-ease) .4s both; }
}
@keyframes home-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes home-slab { from { opacity: 0; transform: translateX(-8%); } to { opacity: 1; transform: none; } }
@keyframes home-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------------- Works strip (very slow drift, pausable, static when motion is reduced) ---------------- */
.strip { --sh: clamp(150px, 14.5vw, 224px); --sg: clamp(14px, 1.6vw, 24px); position: relative; margin-top: clamp(36px, 3.6vw, 56px); }
.strip__state { position: absolute; bottom: 0; inset-inline-end: var(--sc-edge); width: 1px; height: 40px; margin: 0; opacity: 0; pointer-events: none; }
.strip__view {
  overflow: hidden; direction: rtl; padding-bottom: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #FFFFFF 4%, #FFFFFF 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #FFFFFF 4%, #FFFFFF 96%, transparent);
}
.strip__track { display: flex; width: max-content; animation: home-drift 170s linear infinite; will-change: transform; }
@keyframes home-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(50%, 0, 0); } }
.strip__view:hover .strip__track,
.strip:focus-within .strip__track,
.strip.is-off .strip__track,
.strip__state:checked ~ .strip__view .strip__track { animation-play-state: paused; }
.strip__group { display: flex; align-items: flex-start; gap: var(--sg); margin: 0; padding: 0; padding-inline-end: var(--sg); list-style: none; }
.strip__group > li { flex: none; }
.si { display: block; color: inherit; text-decoration: none; border-radius: 4px; }
.si figure { margin: 0; }
.si img { display: block; width: auto; max-width: none; height: var(--sh); border-radius: 4px; }
.si figcaption { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); white-space: nowrap; }
.si figcaption b { margin-inline-end: 6px; font-weight: 500; color: var(--sc-ink); transition: color var(--sc-t) var(--sc-ease); }
.si:hover figcaption b { color: var(--sc-violet); }
.si:focus-visible { outline: 2px solid var(--sc-violet); outline-offset: 4px; }
.si__frame { display: flex; flex-direction: column; height: var(--sh); overflow: hidden; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 8px; }
.si__bar { display: flex; flex: none; align-items: center; gap: 5px; height: 22px; padding: 0 10px; direction: ltr; border-bottom: 1px solid var(--sc-line); }
.si__bar i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--sc-line); }
.si__frame img { height: calc(var(--sh) - 24px); border-radius: 0; }
.strip__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.strip__label { font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); }
.strip__toggle {
  display: inline-flex; flex: none; align-items: center; gap: 10px; min-height: 40px; padding: 4px 14px;
  background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 4px; cursor: pointer;
  font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-ink-2);
  transition: border-color var(--sc-t) var(--sc-ease), color var(--sc-t) var(--sc-ease);
}
.strip__toggle:hover { border-color: var(--sc-ink); color: var(--sc-ink); }
.strip__state:focus-visible ~ .strip__bar .strip__toggle { outline: 2px solid var(--sc-violet); outline-offset: 3px; }
.strip__ico { flex: none; width: 9px; height: 10px; border-inline: 3px solid currentColor; }
.strip__t-off { display: none; }
.strip__state:checked ~ .strip__bar .strip__ico { border: 0; background: currentColor; clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.strip__state:checked ~ .strip__bar .strip__t-on { display: none; }
.strip__state:checked ~ .strip__bar .strip__t-off { display: inline; }

/* ---------------- Workshop teaser band ---------------- */
.band { padding-top: clamp(28px, 3vw, 44px); }
.band__in {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px 28px;
  padding: 14px 14px 14px 14px; padding-inline-start: 26px;
  background: var(--sc-wash-t); border-radius: 4px;
}
.band__tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-teal-ink); white-space: nowrap; }
.band__tag::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-teal); }
.band__title { font-size: clamp(17px, 1rem + .3vw, 20px); font-weight: 500; line-height: 1.9; }
.band__title a { color: var(--sc-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--sc-ease); }
.band__title a:hover { background-size: 100% 1px; }
.band__price { font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); white-space: nowrap; }
.band__price .sc-lat { font-size: 26px; font-weight: 300; color: var(--sc-ink); margin-inline-end: 4px; }
.band__actions { flex-wrap: nowrap; }
@media (max-width: 1023px) {
  .band__in { grid-template-columns: minmax(0, 1fr) auto; padding: 20px; padding-inline-start: 22px; }
  .band__tag { grid-column: 1 / -1; }
  .band__title { grid-column: 1; }
  .band__price { grid-column: 2; grid-row: 2; }
  .band__actions { grid-column: 1 / -1; flex-wrap: wrap; }
}
@media (max-width: 479px) {
  .band__in { grid-template-columns: minmax(0, 1fr); }
  .band__price { grid-column: 1; grid-row: auto; }
  .band__actions .sc-btn { flex: 1 1 auto; }
}

/* ---------------- Proof ---------------- */
.proof { padding-top: clamp(40px, 3.9vw, 60px); }
.proof__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sc-line); }
.proof__list li { display: flex; flex-direction: column; gap: 6px; padding: 24px 20px 0; border-inline-start: 1px solid var(--sc-line); }
.proof__list li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.proof__num { font-family: var(--sc-lat); font-size: clamp(40px, 1.4rem + 2.1vw, 62px); font-weight: 300; line-height: 1.35; color: var(--sc-ink); }
.proof__num--word { font-family: var(--sc-ar); font-weight: 300; }
.proof__label { max-width: 15rem; font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); text-wrap: balance; }
@media (max-width: 1100px) {
  .proof__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .proof__list li:nth-child(4) { padding-inline-start: 0; border-inline-start: 0; }
  .proof__list li:nth-child(n + 4) { border-top: 1px solid var(--sc-line); }
}
@media (max-width: 640px) {
  .proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .proof__list li, .proof__list li:nth-child(4) { padding: 20px 0 22px; border-inline-start: 0; border-top: 0; }
  .proof__list li:nth-child(n + 3) { border-top: 1px solid var(--sc-line); }
  .proof__list li:nth-child(even) { padding-inline-start: 16px; border-inline-start: 1px solid var(--sc-line); }
  .proof__list li, .proof__list li:nth-child(4) { gap: 2px; padding-block: 14px 16px; }
  .proof__num { font-size: 36px; }
  .proof__list li:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
}

/* Proof, real screens: a slow strip of live sites under the numbers (drifts the other way from the works strip,
   pausable, still and scrollable when motion is reduced) */
.pstrip { --ph: clamp(104px, 8.6vw, 136px); --pg: clamp(12px, 1.2vw, 18px); position: relative; margin-top: clamp(26px, 2.8vw, 40px); }
.pstrip__state { position: absolute; bottom: 0; inset-inline-end: var(--sc-edge); width: 1px; height: 40px; margin: 0; opacity: 0; pointer-events: none; }
.pstrip__view {
  overflow: hidden; direction: rtl; padding-block: 4px 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #FFFFFF 5%, #FFFFFF 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #FFFFFF 5%, #FFFFFF 95%, transparent);
}
.pstrip__track { display: flex; width: max-content; animation: home-pdrift 140s linear infinite; will-change: transform; }
@keyframes home-pdrift { from { transform: translate3d(50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.pstrip__view:hover .pstrip__track,
.pstrip__state:checked ~ .pstrip__view .pstrip__track { animation-play-state: paused; }
.pstrip__group { display: flex; align-items: flex-start; gap: var(--pg); margin: 0; padding: 0; padding-inline-end: var(--pg); list-style: none; }
.pstrip__group > li { flex: none; }
.pf { margin: 0; width: calc(var(--ph) * 1.6); }
.pf__frame {
  display: block; overflow: hidden; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 24, 52, .04), 0 16px 30px -24px rgba(0, 24, 52, .4);
}
.pf__bar { display: flex; align-items: center; gap: 4px; height: 16px; padding: 0 8px; direction: ltr; border-bottom: 1px solid var(--sc-line); }
.pf__bar i { flex: none; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--sc-line); }
.pf img { display: block; width: 100%; height: var(--ph); object-fit: cover; object-position: top center; }
.pf figcaption { margin-top: 8px; overflow: hidden; font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-ink-2); white-space: nowrap; text-overflow: ellipsis; }
.pstrip__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.pstrip__label { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); text-wrap: balance; }
.pstrip__label::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-teal); }
.pstrip__toggle {
  display: inline-flex; flex: none; align-items: center; gap: 10px; min-height: 40px; padding: 4px 14px;
  background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 4px; cursor: pointer;
  font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-ink-2);
  transition: border-color var(--sc-t) var(--sc-ease), color var(--sc-t) var(--sc-ease);
}
.pstrip__toggle:hover { border-color: var(--sc-ink); color: var(--sc-ink); }
.pstrip__state:focus-visible ~ .pstrip__bar .pstrip__toggle { outline: 2px solid var(--sc-violet); outline-offset: 3px; }
.pstrip__ico { flex: none; width: 9px; height: 10px; border-inline: 3px solid currentColor; }
.pstrip__t-off { display: none; }
.pstrip__state:checked ~ .pstrip__bar .pstrip__ico { border: 0; background: currentColor; clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.pstrip__state:checked ~ .pstrip__bar .pstrip__t-on { display: none; }
.pstrip__state:checked ~ .pstrip__bar .pstrip__t-off { display: inline; }
@media (max-width: 599px) {
  .pstrip { --ph: 96px; }
}
@media (max-width: 380px) {
  .pstrip__t-on, .pstrip__t-off { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pstrip__state:checked ~ .pstrip__bar .pstrip__t-off { display: inline; }
  .pstrip__toggle { padding-inline: 12px; }
}

/* ---------------- Identity works ---------------- */
.works { padding-top: clamp(48px, 5vw, 80px); }
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 3.6vw, 52px) var(--sc-gap); margin: 0; padding: 0; list-style: none; }
.feat__link { display: block; color: inherit; text-decoration: none; }
.feat__link:focus-visible { outline-offset: 6px; }
.feat__media { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--sc-wash-v); }
.feat__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--sc-t-slow) var(--sc-ease); }
.feat__link:hover .feat__media img { transform: scale(1.03); }
.feat__cap { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 6px; align-items: baseline; margin-top: 14px; }
.feat__n { grid-column: 1; grid-row: 1 / span 2; }
.feat__title { grid-column: 2; grid-row: 1; font-size: clamp(20px, 1rem + .45vw, 24px); font-weight: 500; line-height: 1.6; transition: color var(--sc-t) var(--sc-ease); }
.feat__year { grid-column: 3; grid-row: 1; font-size: 14px; font-weight: 500; letter-spacing: .06em; line-height: 1.9; color: var(--sc-ink-2); white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.feat__sub { grid-column: 2 / -1; grid-row: 2; font-size: 15.5px; line-height: 1.9; color: var(--sc-ink-2); }
.feat__link:hover .feat__title { color: var(--sc-violet); }

.more { margin-top: clamp(36px, 4vw, 60px); }
.more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.more__title { font-size: clamp(19px, 1rem + .3vw, 22px); font-weight: 500; line-height: 1.6; }
.more__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: calc(var(--sc-gap) * 2); }
.more__list .sc-row { padding-block: 9px; }
.more__list .sc-row__thumb { width: 80px; }
.more__list > .more__m { display: none; }
.more__all { display: none; }
@media (max-width: 599px) {
  .feat__item:nth-child(n + 3) { display: none; }
  .more__list > .more__m { display: block; }
  /* phones: two feature cards and four rows; the full list lives on /works/ */
  .more__list > li:nth-child(n + 4) { display: none; }
  .more__head .sc-ext { display: none; }
  .more__all { display: inline-flex; margin-top: 20px; }
}
@media (max-width: 899px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .more__list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
}
@media (max-width: 479px) {
  .more__list .sc-row__thumb { width: 84px; }
  .feat__cap { grid-template-columns: 36px minmax(0, 1fr) auto; }
}

/* ---------------- Tech ---------------- */
.tech { border-top: 1px solid var(--sc-line); }
.tf { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-gap); align-items: center; margin-bottom: clamp(48px, 5vw, 80px); }
.tf__text { grid-column: 1 / span 4; grid-row: 1; }
.tf__media { grid-column: 5 / span 8; grid-row: 1; position: relative; padding-bottom: 6%; }
.tf__phone { position: absolute; z-index: 1; width: 19%; inset-inline-end: -2.5%; bottom: 0; }
.tf__title { margin: 12px 0 10px; font-size: clamp(24px, 1.1rem + 1vw, 34px); font-weight: 400; line-height: 1.45; }
.tf__line { margin-bottom: 8px; color: var(--sc-ink-2); }
.tf__note { margin-bottom: 20px; font-size: 15px; line-height: 1.95; color: var(--sc-ink-3); }

.tg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 4.6vw, 72px) clamp(24px, 4vw, 72px); align-items: start; }
.tw__stage { display: block; overflow: hidden; background: var(--sc-wash-t); border: 1px solid var(--sc-line); border-radius: 10px; }
.tw__stage::before { content: ""; display: block; height: 34px; }
.tw__stage-view { display: grid; justify-items: center; align-items: start; aspect-ratio: 1440 / 900; overflow: hidden; }
@media (min-width: 600px) {
  .tf .sc-frame__view, .tg .sc-frame__view, .tw__stage-view { aspect-ratio: 16 / 9; }
}
.tw__phone { width: 31%; margin-top: -14px; box-shadow: 0 30px 60px -30px rgba(0, 24, 52, .35); }
.tw__cap { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 6px; margin-top: 24px; }
.tw__cap > * { grid-column: 2; }
.tw__cap > .sc-idx { grid-column: 1; grid-row: 1 / span 3; padding-top: 4px; }
.tw__title { font-size: clamp(20px, 1rem + .45vw, 24px); font-weight: 500; line-height: 1.55; }
.tw__line { margin: 6px 0 12px; max-width: 34rem; font-size: 16px; line-height: 1.95; color: var(--sc-ink-2); }

.tl { margin-top: clamp(48px, 5vw, 80px); padding-top: 32px; border-top: 1px solid var(--sc-rule); }
.tl__title { margin-bottom: 28px; font-size: clamp(21px, 1rem + .6vw, 26px); font-weight: 300; line-height: 1.5; }
.tl__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px var(--sc-gap); margin: 0; padding: 0; list-style: none; }
.tl__item { display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 18px; align-items: start; }
.tl__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--sc-line); border-radius: 4px; background: var(--sc-surface); }
.tl__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tl__thumb--word { display: grid; place-items: center; background: var(--sc-wash-t); border-color: transparent; }
.tl__thumb--word svg { width: 30px; height: 30px; fill: none; stroke: var(--sc-teal-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tl__thumb--v { background: var(--sc-wash-v); }
.tl__thumb--v svg { stroke: var(--sc-violet); }
.tl__name { font-size: 17px; font-weight: 700; line-height: 1.7; }
.tl__name a { color: inherit; text-decoration: none; transition: color var(--sc-t) var(--sc-ease); }
.tl__name a:hover { color: var(--sc-violet); }
.tl__line { margin: 2px 0 6px; font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); }
.tl__also { margin-top: 30px; font-size: 15px; line-height: 1.95; color: var(--sc-ink-2); }
.tl__also .sc-link { color: var(--sc-ink); text-decoration-color: rgba(0, 24, 52, .28); }
.tl__also .sc-link:hover { color: var(--sc-violet); text-decoration-color: var(--sc-violet); }

@media (max-width: 1100px) {
  .tl__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .tf { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .tf__text, .tf__media { grid-column: 1; grid-row: auto; }
  .tf__phone { inset-inline-end: 3%; }
  .tg { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .tf__media { padding-bottom: 0; }
  .tf__phone { display: none; }
  .tg .sc-frame__view { aspect-ratio: 1440 / 900; }
  /* the four platform cards share one swipeable row (a peek of the next card shows there is more);
     the row bleeds to the screen edges, so the page itself never scrolls sideways */
  .tg {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sc-gutter);
    margin-inline: calc(-1 * var(--sc-gutter)); padding: 4px var(--sc-gutter) 16px;
    scrollbar-width: thin; scrollbar-color: rgba(0, 24, 52, .22) transparent;
  }
  .tg > .tw { scroll-snap-align: start; min-width: 0; }
  .tg > .tw.sc-rv { opacity: 1; transform: none; }   /* cards swiped in from the side are already there */
  .tw__stage::before { height: 30px; }
  .tw__phone { width: 34%; margin-top: -10px; }
  .tl__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tl__item { grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; }
  .tw__cap, .tf__text { padding-inline-end: 0; }
  .tw__cap { grid-template-columns: 34px minmax(0, 1fr); }
}

/* ---------------- Tools (one icon wall per group; marks in navy, violet on hover) ---------------- */
.tools { background: var(--sc-wash-v); }
.tk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 3.4vw, 52px) var(--sc-gap); align-items: start; }
.tk__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; column-gap: 14px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--sc-rule); }
.tk__n { font-family: var(--sc-lat); font-size: 14px; font-weight: 500; letter-spacing: .14em; line-height: 1.9; color: var(--sc-violet); }
.tk__title { margin: 0; font-size: clamp(19px, 1rem + .3vw, 22px); font-weight: 500; line-height: 1.6; }
.tk__count { font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); white-space: nowrap; }
.tk__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tk__tool {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 108px; padding: 16px 8px 12px; text-align: center; color: var(--sc-ink);
  background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 6px;
  transition: color var(--sc-t) var(--sc-ease), border-color var(--sc-t) var(--sc-ease), transform var(--sc-t) var(--sc-ease), box-shadow var(--sc-t) var(--sc-ease);
}
.tk__ic { flex: none; display: block; width: 30px; height: 30px; fill: currentColor; }
.tk__ic--hermes {
  width: 76px; height: 36px; background: currentColor;
  -webkit-mask: url(/assets/tools/hermes-agent.png) center / contain no-repeat;
          mask: url(/assets/tools/hermes-agent.png) center / contain no-repeat;
}
.tk__name { font-family: var(--sc-lat); font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--sc-ink-2); overflow-wrap: anywhere; transition: color var(--sc-t) var(--sc-ease); }
/* tools without an icon in the set, or whose mark has a face: the name alone, set a little larger */
.tk__tool--text { gap: 0; }
.tk__tool--text .tk__name { font-size: 15px; font-weight: 500; color: var(--sc-ink); }
.tk__tool:hover { color: var(--sc-violet); border-color: var(--sc-violet-a); }
.tk__tool:hover .tk__name { color: var(--sc-violet); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tk__tool:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -22px rgba(96, 25, 180, .45); }
}
@media (max-width: 899px) {
  .tk { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .tk__grid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
  .tk__tool { min-height: 88px; padding: 12px 6px 10px; gap: 6px; }
  .tk__ic { width: 26px; height: 26px; }
  .tk__head { margin-bottom: 12px; padding-bottom: 8px; }
  .tk__ic--hermes { width: 66px; height: 32px; }
}
@media (max-width: 359px) {
  /* 320px: three tiles a row; slimmer padding so the longest names (OpenRouter, Twinmotion) stay whole */
  .tk__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .tk__tool { padding-inline: 3px; }
  .tk__name { overflow-wrap: normal; }
  .tk__tool--text .tk__name { font-size: 14px; }
}

/* ---------------- Logo wall (original colours; calm focus on hover) ---------------- */
.lw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sc-line); border-inline-start: 1px solid var(--sc-line); }
.lw > li { display: grid; border-inline-end: 1px solid var(--sc-line); border-bottom: 1px solid var(--sc-line); background: var(--sc-surface); }
.lw__cell { display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; min-height: clamp(176px, 16vw, 236px); padding: 26px 20px 14px; color: inherit; text-decoration: none; }
.lw__cell img { width: auto; max-width: 64%; max-height: clamp(50px, 5.4vw, 84px); object-fit: contain; transition: opacity .45s var(--sc-ease), filter .45s var(--sc-ease), transform .5s var(--sc-ease); }
.lw__cell img.lw__tall { max-height: clamp(84px, 8vw, 118px); }
.lw__cell img.lw__wide { max-width: 78%; max-height: 48px; }
.lw__cap { justify-self: start; font-size: 14px; line-height: 1.9; color: var(--sc-ink-3); transition: color var(--sc-t) var(--sc-ease); }
.lw__cell:hover .lw__cap { color: var(--sc-ink); }
.lw__cell:focus-visible { outline-offset: -6px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lw:hover .lw__cell:not(:hover) img { opacity: .42; filter: grayscale(1); }
  .lw__cell:hover img { transform: scale(1.04); }
}
.lw__note { align-content: end; justify-items: start; gap: 10px; padding: 26px 22px 20px; background: transparent !important; }
.lw__note p { max-width: 15em; font-size: 15px; line-height: 1.95; color: var(--sc-ink-2); }
@media (max-width: 767px) {
  .lw { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lw__cell { min-height: 160px; padding: 22px 14px 12px; }
  .lw__cell img { max-width: 76%; max-height: 52px; }
  .lw__cell img.lw__tall { max-height: 90px; }
  .lw__cell img.lw__wide { max-width: 86%; max-height: 34px; }
}

/* ---------------- Workshop ---------------- */
.ws { background: var(--sc-wash-t); overflow-x: clip; }
.ws__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-gap); align-items: center; }
.ws__text { grid-column: 1 / span 6; grid-row: 1; }
.ws__media { grid-column: 7 / span 6; grid-row: 1; position: relative; padding-top: 16%; padding-bottom: 8%; }
.ws__h { margin-top: 18px; }
.ws__lead { margin: 18px 0 40px; max-width: 34rem; }
.ws__mini { margin: 0 0 8px; font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-ink-2); }
.ws__paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ws__paths li { display: flex; flex-direction: column; padding-inline-start: 14px; border-inline-start: 2px solid var(--sc-teal); line-height: 1.9; }
.ws__paths b { font-size: 17px; font-weight: 700; }
.ws__paths span { font-size: 15px; color: var(--sc-ink-2); }
.ws__buy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin: 28px 0 24px; padding-top: 22px; border-top: 1px solid var(--sc-rule); }
.ws__price { font-size: 16px; line-height: 1.5; }
.ws__price b { margin-inline-end: 4px; font-size: clamp(40px, 1.5rem + 1.6vw, 54px); font-weight: 300; line-height: 1.2; }
.ws__later { font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); }
.ws__blade { position: absolute; z-index: 0; top: 0; width: 76%; inset-inline-end: calc(-1 * var(--sc-edge) - 4%); }
/* What you build: an HTML panel (no screenshot), on the teal blade */
.ws__panel { position: relative; z-index: 1; padding: clamp(22px, 2.2vw, 34px); border: 1px solid var(--sc-line); border-radius: 10px; background: var(--sc-surface); box-shadow: var(--sc-shadow); }
.ws__panel-h { margin: 0 0 18px; font-size: var(--sc-fs-h3); font-weight: 500; line-height: 1.5; }
.ws__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ws__tile { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 9.5rem; padding: 16px; border-radius: 6px; background: var(--sc-wash-t); } /* number on top, text sits on the tile floor */
.ws__tile-n { font-family: var(--sc-lat); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .14em; color: var(--sc-teal-ink); font-variant-numeric: tabular-nums; min-inline-size: 2.4ch; }
.ws__tile-t { font-size: 17px; font-weight: 500; line-height: 1.9; }
.ws__cert { margin: 16px 0 0; padding: 12px 16px; border-inline-start: 3px solid var(--sc-teal); border-radius: 4px; background: var(--sc-bg); font-size: 15px; line-height: 1.95; color: var(--sc-ink-2); }
@media (max-width: 1100px) {
  .ws__text { grid-column: 1 / span 7; }
  .ws__media { grid-column: 8 / span 5; }
  .ws__tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ws__tile { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 14px; min-height: 0; padding: 10px 14px; }
}
@media (max-width: 899px) {
  .ws__grid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .ws__text, .ws__media { grid-column: 1; grid-row: auto; }
  .ws__media { padding-top: 12%; padding-bottom: 8%; }
  .ws__panel { max-width: 46rem; margin-inline: auto; }
  .ws__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ws__tile { flex-direction: column; justify-content: space-between; gap: 10px; min-height: 8.5rem; padding: 16px; }
  .ws__blade { width: 64%; inset-inline-end: calc(-1 * var(--sc-gutter)); }
}
@media (max-width: 599px) {
  .ws__media { padding-bottom: 0; padding-top: 14%; }
  .ws__panel { padding: 20px 18px; }
  .ws__tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ws__tile { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 14px; min-height: 0; padding: 10px 14px; }
  .ws__paths { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ws__paths li { flex-direction: row; align-items: baseline; gap: 12px; }
}

/* ---------------- Consult ---------------- */
.cs__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-gap); row-gap: 56px; align-items: start; }
.cs__text { grid-column: 1 / span 6; }
.cs__side { grid-column: 8 / span 5; padding-top: clamp(0px, 3vw, 52px); }
.cs__h { margin-top: 18px; }
.cs__l { display: block; }
.cs__lead { margin: 18px 0 32px; }
.cs__types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cs__type { gap: 6px; }
.cs__type .sc-idx { color: var(--sc-violet); }
.cs__go { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 500; line-height: 1.9; color: var(--sc-violet); }
.cs__go::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform var(--sc-t) var(--sc-ease); }
.cs__type:hover .cs__go::after { transform: translateX(-3px) rotate(-45deg); }
.cs__side-h { margin-bottom: 8px; font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-ink-2); }
.ladder { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sc-line); }
.ladder__rung {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr) 6.5rem; align-items: center; gap: 22px;
  padding: 14px 0; border-bottom: 1px solid var(--sc-line); color: inherit; text-decoration: none;
}
.ladder li:last-child .ladder__rung { border-bottom: 0; }
.ladder { border-bottom: 1px solid var(--sc-line); }
.ladder__dur { font-size: 16px; font-weight: 500; line-height: 1.9; transition: color var(--sc-t) var(--sc-ease); }
.ladder__bar { position: relative; height: 3px; background: var(--sc-line); }
.ladder__bar::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--fill, 25%); background: var(--sc-teal); transition: background-color var(--sc-t) var(--sc-ease); }
.ladder li:nth-child(2) .ladder__bar { --fill: 50%; }
.ladder li:nth-child(3) .ladder__bar { --fill: 75%; }
.ladder li:nth-child(4) .ladder__bar { --fill: 100%; }
.ladder__price { font-size: 14px; line-height: 1.5; color: var(--sc-ink-2); white-space: nowrap; text-align: end; }
.ladder__price b { margin-inline-end: 4px; font-size: clamp(28px, 1.2rem + 1vw, 38px); font-weight: 300; line-height: 1.3; color: var(--sc-ink); }
.ladder__rung:hover .ladder__dur { color: var(--sc-violet); }
.ladder__rung:hover .ladder__bar::after { background: var(--sc-violet); }
.ladder__rung:focus-visible { outline-offset: 2px; }
.cs__note { display: flex; align-items: center; gap: 10px; margin: 18px 0 26px; font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); }
.cs__note::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sc-teal); }
.cs__alt { margin-top: 20px; font-size: 15px; line-height: 1.95; color: var(--sc-ink-2); }
@media (max-width: 1100px) {
  .cs__text, .cs__side { grid-column: 1 / -1; }
  .cs__side { padding-top: 0; max-width: 40rem; }
}
@media (max-width: 599px) {
  .cs__types { grid-template-columns: minmax(0, 1fr); }
  .ladder__rung { grid-template-columns: 5.6rem minmax(0, 1fr) 5.6rem; gap: 14px; }
}

/* ---------------- About + honours ---------------- */
.hon { border-top: 1px solid var(--sc-line); }
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-gap); row-gap: 36px; align-items: start; }
.about__text { grid-column: 1 / span 6; font-size: clamp(18px, 1rem + .35vw, 21px); font-weight: 300; line-height: 2; color: var(--sc-ink); }
.about__text p { margin: 0; text-wrap: pretty; }
.about__text p + p { margin-top: 1em; padding-top: 1em; border-top: 1px solid var(--sc-line); }
.about__hadith { font-weight: 500; color: var(--sc-ink); quotes: "«" "»"; }
.en .about__hadith { quotes: "“" "”"; }
.about__src { font-size: .82em; color: var(--sc-ink-3); }
/* facts as four small cards, each with its official mark (or a quiet drawing) on a plate */
.about__facts { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.fact { display: flex; flex-direction: column; overflow: hidden; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 6px; }
.fact dt { padding: 12px 16px 0; font-size: 14px; line-height: 1.9; color: var(--sc-ink-3); }
.fact dd { margin: 0; padding: 0 16px 14px; font-size: 15.5px; line-height: 1.9; }
.fact .fact__mark { order: -1; display: grid; place-items: center; height: 104px; padding: 18px 20px; border-bottom: 1px solid var(--sc-line); background: var(--sc-bg); }
.fact__mark img { display: block; width: auto; max-width: 100%; height: auto; max-height: 52px; }
.fact--icon .fact__mark { background: var(--sc-wash-t); }
.fact__ico { width: 46px; height: 46px; fill: none; stroke: var(--sc-teal-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fact--photo .fact__mark { position: relative; display: block; overflow: hidden; padding: 0; background: #1B1F5E; }
.fact--photo .fact__mark img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center 46%; }

.hon__h { margin: clamp(44px, 4.4vw, 72px) 0 18px; font-size: clamp(19px, 1rem + .3vw, 22px); font-weight: 500; line-height: 1.6; }
/* competitions: a laurel badge with the rank numeral, three across */
.aw { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-gap); row-gap: 36px; align-items: start; }
.aw__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--sc-gap); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sc-ink); }
.aw__item { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 22px; align-items: start; padding-block: 18px; }
.aw__badge { position: relative; width: 112px; aspect-ratio: 120 / 104; color: var(--sc-violet); }
.aw__laurel { display: block; width: 100%; height: 100%; fill: currentColor; }
.aw__num {
  position: absolute; inset: 0 0 14% 0; display: grid; place-items: center;
  font-family: var(--sc-lat); font-size: 40px; font-weight: 300; line-height: 1; color: var(--sc-ink); font-variant-numeric: lining-nums;
}
.aw__text { min-width: 0; }
.aw__rank { font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-violet); }
.aw__name { margin: 0; font-size: clamp(18px, 1rem + .3vw, 21px); font-weight: 500; line-height: 1.6; text-wrap: balance; }
.aw__name [lang="en"] { font-family: var(--sc-lat); font-size: .92em; unicode-bidi: isolate; }
.aw__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; margin-top: 4px; font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); }
.aw__year { font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--sc-ink); }

.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 5vw, 96px); align-items: start; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(19px, 1rem + .6vw, 25px); font-weight: 300; line-height: 1.95; }
.quote figcaption { display: flex; flex-direction: column; margin-top: 22px; padding-inline-start: 16px; border-inline-start: 2px solid var(--sc-violet); }
.quote figcaption b { font-weight: 700; line-height: 1.9; }
.quote figcaption span { font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); }
/* the client's official logo above the name (original colours) */
.quote__logo { align-self: flex-start; display: block; width: auto; height: 40px; margin: 2px 0 12px; }
.quote__logo--wide { height: 28px; }
@media (max-width: 1100px) {
  .about__text, .about__facts { grid-column: 1 / -1; }
  .about__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .aw__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--sc-gap); border-top: 0; }
  .aw__item { grid-template-columns: minmax(0, 1fr); row-gap: 10px; align-content: start; align-items: start; padding-block: 20px 0; border-top: 1px solid var(--sc-ink); border-bottom: 0; }
}
@media (max-width: 899px) {
  .about__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .aw__list { grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--sc-ink); }
  .aw__item { grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; align-items: center; padding-block: 16px; border-top: 0; border-bottom: 1px solid var(--sc-line); }
  .aw__badge { width: 92px; }
  .aw__num { font-size: 34px; }
}
@media (max-width: 479px) {
  /* one card per row: the plate sits at the start, the text beside it */
  .about__facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fact { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .fact .fact__mark { grid-column: 1; grid-row: 1 / span 2; height: auto; min-height: 92px; padding: 12px; border-bottom: 0; border-inline-end: 1px solid var(--sc-line); }
  .fact dt { grid-column: 2; padding: 10px 14px 0; }
  .fact dd { grid-column: 2; padding: 0 14px 12px; font-size: 15px; }
  .fact__mark img { max-height: 40px; }
  .fact__ico { width: 38px; height: 38px; }
  .fact--photo .fact__mark { padding: 0; }
}
@media (max-width: 359px) {
  .aw__item { grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; }
  .aw__badge { width: 76px; }
  .aw__num { font-size: 30px; }
  .fact { grid-template-columns: 96px minmax(0, 1fr); }
}

/* ---------------- Final CTA ---------------- */
.final { padding-block: var(--sc-sec); overflow: clip; background: var(--sc-surface); border-top: 1px solid var(--sc-line); }
.final__in { position: relative; }
.final__h { position: relative; z-index: 1; max-width: 13em; font-size: clamp(2.125rem, 1.1rem + 3.9vw, 5rem); font-weight: 300; line-height: 1.35; }
.final__h b { font-weight: 700; }
.final__dot { color: var(--sc-violet); font-weight: 700; }
.final__l { display: block; }
.final__sub { position: relative; z-index: 1; margin: 22px 0 34px; }
.final .sc-actions { position: relative; z-index: 1; }
.final__blade { width: clamp(200px, 56vw, 380px); margin-top: 48px; margin-inline: auto calc(-1 * var(--sc-gutter)); }
/* the official mark, very faint and large, behind the headline */
.final__mark {
  position: absolute; z-index: 0; top: 50%; inset-inline-start: calc(-.2 * clamp(260px, 36vw, 540px));
  width: clamp(260px, 36vw, 540px); height: auto; opacity: .07; transform: translateY(-50%); pointer-events: none; user-select: none;
}
@media (min-width: 580px) { .final__h { font-weight: 200; } }
@media (min-width: 900px) {
  .final__blade { position: absolute; z-index: 0; margin: 0; width: clamp(300px, 34vw, 560px); inset-inline-end: calc(-1 * var(--sc-edge) - 2%); bottom: 0; }
}
@media (max-width: 599px) {
  .final .sc-actions .sc-btn { flex: 1 1 100%; }
  .final__blade { display: none; }
  .final__mark { top: 0; transform: translateY(-18%); }
}

/* ---------------- Narrow phones ---------------- */
@media (max-width: 380px) {
  .strip__t-on, .strip__t-off { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .strip__state:checked ~ .strip__bar .strip__t-off { display: inline; }
  .strip__toggle { padding-inline: 12px; }
}

/* ---------------- Reduced motion: no drift; the strip becomes a still row you can scroll ---------------- */
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none !important; }
  .strip__view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x proximity; }
  .strip__group > li { scroll-snap-align: start; }
  .strip__group--copy { display: none; }
  .strip__toggle { display: none; }
  .feat__media img, .lw__cell img, .ladder__bar::after { transition: none; }
  .pstrip__track { animation: none !important; }
  .pstrip__view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x proximity; }
  .pstrip__group > li { scroll-snap-align: start; }
  .pstrip__group--copy { display: none; }
  .pstrip__toggle { display: none; }
  .tk__tool, .tk__name { transition: none; }
  .feat__link:hover .feat__media img { transform: none; }
}

/* testimonials on phones: one swipe row (a peek of the next card shows there is more), like the platform cards */
@media (max-width: 599px) {
  .quotes {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; align-items: stretch;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sc-gutter);
    margin-inline: calc(-1 * var(--sc-gutter)); padding: 4px var(--sc-gutter) 16px;
    scrollbar-width: thin; scrollbar-color: rgba(0, 24, 52, .22) transparent;
  }
  .quotes > .quote { scroll-snap-align: start; min-width: 0; margin: 0; padding: 22px 20px 20px; background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: 4px; }
  .quotes > .quote.sc-rv { opacity: 1; transform: none; }
  .quote blockquote p { font-size: 18px; line-height: 1.9; }
  .quote figcaption { margin-top: 16px; }
  .quotes:focus-visible { outline: 2px solid var(--sc-violet); outline-offset: -2px; }
}

/* logo wall, 26 logos (2026-11-26): 5 across on wide screens, the note fills the last row; phones show 12 until «كل الشعارات» */
.lw__state { position: absolute; opacity: 0; pointer-events: none; }
.lw__toggle { display: none; }
.lw__cell img.lw__tall { max-height: clamp(76px, 7vw, 104px); }
.lw__note { grid-column: span 2; }
@media (min-width: 1100px) {
  .lw { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lw__note { grid-column: span 4; }
}
@media (max-width: 767px) {
  .lw > li.lw__x { display: none; }
  .lw__state:checked + .lw > li.lw__x { display: grid; }
  .lw__toggle { display: inline-flex; margin-top: 18px; cursor: pointer; }
  .lw__t-less, .lw__state:checked ~ .lw__toggle .lw__t-more { display: none; }
  .lw__state:checked ~ .lw__toggle .lw__t-less { display: inline; }
  .lw__state:focus-visible ~ .lw__toggle { outline: 2px solid var(--sc-violet); outline-offset: 3px; }
}

/* about facts, round 3 (2026-11-26): the study fact is gone; the diploma gets a full row and is shown whole and sharp */
.about__facts > .fact--photo { grid-column: 1 / -1; }
.fact--photo .fact__mark { height: auto; aspect-ratio: 1040 / 570; background: #13154A; }
.fact--photo .fact__mark img { position: static; display: block; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 480px) and (max-width: 1100px) { .about__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .about__facts > .fact--photo { display: flex; flex-direction: column; }
  .about__facts > .fact--photo .fact__mark { min-height: 0; border-inline-end: 0; border-bottom: 1px solid var(--sc-line); }
  .about__facts > .fact--photo dt, .about__facts > .fact--photo dd { padding-inline: 14px; }
}
