/* About (/about/, /en/about/): theme about-4 hero + proof strip, about-1 journey block, about-4 beliefs, about-5 nodes
   and chapters, about-4 craft + a CSS marquee of platforms, about-5 split panel as the closing call to action.
   Each section sits in the home's rounded panel; main.css (RTL flipped for Arabic) styles the theme classes, this file
   sizes them for Shfrah's type and pictures and mirrors what the flip does not reach. */

/* numbers and small indexes use the page font: Thmanyah Serif Text on Arabic pages (Inter is not loaded there),
   Inter on English ones (site.css) */

/* small labels (index numbers, step numbers, card labels): no coloured text (the owner's rule), the page's neutral
   grey: #585959 in light mode (7:1 on white, 6.3:1 on the #f2f2f2 cards), #b3b3b3 in dark mode (8.8:1 and more) */
.shf-page-about { --shf-about-accent: var(--at-neutral-500); }

/* keyboard focus: the theme takes the outline and the underline off focused links (a:focus); the page's plain links get
   the ring site.css gives buttons, white on the dark panels */
.shf-page-about .about-4-link:focus-visible { outline: 2px solid var(--at-neutral-900); outline-offset: 4px; border-radius: 4px; text-decoration: underline; }
.shf-about-hero .about-4-index a:focus-visible,
.shf-about-craft .about-4-skills a:focus-visible { outline: 2px solid var(--at-neutral-900); outline-offset: 3px; border-radius: 6px; }
.shf-about-cta .about-5-hero__facts a:focus-visible { outline: 2px solid #fefefe; outline-offset: 4px; border-radius: 4px; }
.shf-about-story .at-btn:focus-visible { outline-color: #fefefe; }
/* the theme's a:focus { color: inherit } outranks .at-btn's white, so a focused dark button took the colour of the text
   around it: dark on dark in light mode (the header's button too). The buttons keep their own colours. */
.shf-page-about a.at-btn:focus { color: #fefefe; }
.shf-page-about a.at-btn.shf-about-cta__btn:focus { color: #111; }

/* in-page anchors land under the header */
.shf-page-about main section[id], .shf-page-about #platforms { scroll-margin-top: 110px; }

/* the theme's grey section titles in Thmanyah: heavier than its 600 (Thmanyah has 500 and 700) would make them */
.shf-page-about .about-4-hero__title,
.shf-page-about .about-4-beliefs__title,
.shf-page-about .about-5-nodes__title,
.shf-page-about .about-5-chapters__title,
.shf-page-about .about-4-craft__title,
.shf-page-about .shf-about-story__title,
.shf-page-about .shf-clients__title,
.shf-page-about .about-5-hero__year { font-weight: 500; text-wrap: balance; }
.shf-page-about .about-5-hero__title, .shf-page-about .journey-list__title, .shf-page-about .about-5-node__city { text-wrap: balance; }
.shf-page-about main p { text-wrap: pretty; }

/* ======================================================= 1. hero (about-4 section 1) + proof strip (section 2) */
.shf-about-hero { padding: 100px 0 96px; }
/* the title takes the reading side, the aside (kicker, on-page index, meta) the far side, set off by a hairline */
.shf-about-hero .about-4-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(190px, .22fr); gap: 40px 72px; margin-bottom: 76px; }
.shf-about-hero .about-4-hero__aside { position: static; padding-top: 6px; padding-inline-start: 34px; border-inline-start: 1px solid var(--at-neutral-100); align-self: stretch; }
.shf-about-hero .about-4-kicker { font-size: 13px; margin-bottom: 22px; }
.shf-about-hero .about-4-kicker__num, .shf-about-hero .about-4-index__num { font-family: var(--at-ff-body); font-weight: 600; color: var(--shf-about-accent); }
.shf-about-hero .about-4-index { gap: 14px; }
.shf-about-hero .about-4-index a { display: inline-flex; align-items: baseline; gap: 10px; font-size: 16px; font-weight: 500; color: var(--at-neutral-900); }
.shf-about-hero .about-4-index a:hover, .shf-about-hero .about-4-index a:focus-visible { color: var(--at-neutral-900); text-decoration: underline; text-underline-offset: 4px; }
.shf-about-hero .about-4-index__num { font-size: 12px; min-width: 18px; }
.shf-about-hero .about-4-hero__meta { margin-top: 30px; font-size: 14px; }
.shf-about-hero .about-4-hero__eyebrow { margin-bottom: 18px; font-size: 15px; letter-spacing: .06em; }
.shf-about-hero .about-4-hero__title { max-width: 15ch; margin-bottom: 30px; font-size: clamp(44px, 6.1vw, 98px); line-height: 1.06; }
html[dir="rtl"] .shf-about-hero .about-4-hero__title { line-height: 1.24; word-spacing: .12em; }
/* English: one sentence a line, smaller than the Arabic (Inter runs wide); Arabic: the statement wraps between words
   (it is one long sentence since the owner's «شركة» wording; the old three short sentences were kept whole, nowrap,
   which pushed the new one out of the panel and over the aside) */
html[dir="ltr"] .shf-about-hero .about-4-hero__title { max-width: none; font-size: clamp(42px, 4.6vw, 70px); line-height: 1.06; }
html[dir="ltr"] .shf-about-hero__s { display: block; }
/* the third sentence on one line where the container allows it (1140px from 1200, 1320px from 1400) */
@media (min-width: 1200px) and (max-width: 1399.98px) { html[dir="ltr"] .shf-about-hero .about-4-hero__title { font-size: 55px; } }
@media (min-width: 1400px) and (max-width: 1599.98px) { html[dir="ltr"] .shf-about-hero .about-4-hero__title { font-size: min(4.5vw, 64px); } }
/* tablets: the title has the panel's whole width (the aside moves under it) */
@media (min-width: 768px) and (max-width: 991.98px) {
  html[dir="rtl"] .shf-about-hero .about-4-hero__title { font-size: 7.4vw; }
  html[dir="ltr"] .shf-about-hero .about-4-hero__title { font-size: min(5.4vw, 44px); }
}
@media (min-width: 768px) { html[dir="rtl"] .shf-about-hero .about-4-hero__title { max-width: 16ch; } }
.shf-about-hero .about-4-hero__lead { max-width: 50ch; margin-bottom: 38px; font-size: 20px; line-height: 1.65; }
.shf-about-hero .about-4-hero__actions .at-btn { padding: 17px 26px; font-size: 16px; }
.shf-about-hero .about-4-link { font-size: 16px; }
/* the theme turns these underlined links orange on hover: a heavier underline instead (no coloured text) */
.shf-page-about .about-4-link:hover { color: var(--at-neutral-900); text-decoration-thickness: 2px; }

/* the mosaic: three pictures standing on one line, like the skyline in the third */
.shf-about-hero .about-4-hero__mosaic { grid-template-columns: 1fr .92fr 1.38fr; grid-template-rows: auto; align-items: end; gap: 16px; }
.shf-about-hero .about-4-hero__shot { border-radius: 24px; background: #0b0d10; }
.shf-about-hero .about-4-hero__shot--tall { grid-row: auto; height: 560px; min-height: 0; max-height: none; }
.shf-about-hero .about-4-hero__shot--mid { height: 360px; min-height: 0; }
.shf-about-hero .about-4-hero__shot--wide { height: 460px; min-height: 0; }
.shf-about-hero .about-4-hero__shot .anim-zoomin-wrap { height: 100%; }
.shf-about-hero .about-4-hero__caption {
  left: 20px; right: auto; bottom: 20px; padding: 10px 16px; border-radius: 50px;
  background: rgba(10, 10, 12, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 15px; font-weight: 500; letter-spacing: 0;
}
html[dir="rtl"] .shf-about-hero .about-4-hero__caption { left: auto; right: 20px; }

/* proof strip */
.shf-about-hero .about-4-proof { margin-top: 84px; }
.shf-about-hero .about-4-proof__grid { border-top: 1px solid var(--at-neutral-100); padding-top: 40px; }
.shf-about-hero .about-4-stat__value { margin-bottom: 14px; font-family: var(--at-ff-heading); font-size: clamp(48px, 5.2vw, 84px); font-weight: 500; letter-spacing: -0.05em !important; }
html[dir="rtl"] .shf-about-hero .about-4-stat__value { text-align: right; }
.shf-about-hero .about-4-stat__label { max-width: 20ch; font-size: 16px; line-height: 1.5; }

/* ======================================================= 2. story (about-1 section 2, block-journey) */
.shf-about-story .shf-about-story__title { margin: 6px 0 20px; font-size: clamp(40px, 5vw, 80px); line-height: 1.1; color: #fefefe; }
html[dir="rtl"] .shf-about-story .shf-about-story__title { line-height: 1.3; }
.shf-about-story .shf-about-story__lead { max-width: 46ch; font-size: 20px; line-height: 1.65; color: rgba(254, 254, 254, .72) !important; }
.shf-about-story .at-btn-group .at-btn { padding: 15px 26px; font-size: 16px; }
html[dir="rtl"] .shf-about-story .at-btn-group .at-btn-circle svg { transform: scaleX(-1); }

/* the card: the 3D mark (mono, like every Shfrah logo: no blue) on a graphite glow; the line under the title shows on
   hover (always on touch screens) */
.shf-about-card .alt-portfolio-thumb {
  display: block; aspect-ratio: 4 / 5; border-radius: 22px;
  background: radial-gradient(120% 85% at 50% 32%, #323232 0%, #181818 38%, #0c0c0c 72%, #080808 100%);
}
.shf-about-card .anim-zoomin-wrap { width: 72%; margin: 9% auto 0; }
.shf-about-card__mark { display: block; width: 100%; height: auto; }
.shf-about-card .alt-portfolio-thumb::before { height: 62%; background: linear-gradient(180deg, rgba(8, 8, 8, 0) 0%, rgba(8, 8, 8, .86) 78%); }
.shf-about-card .alt-portfolio-btn { left: 30px; right: 30px; bottom: 30px; }
.shf-about-card .alt-portfolio-btn h3 { font-size: 26px; line-height: 1.35; }
.shf-about-card .alt-portfolio-btn .des { font-size: 16px; line-height: 1.6; color: rgba(254, 254, 254, .75) !important; }
@media (hover: none), (max-width: 1199.98px) {
  .shf-about-card .alt-portfolio-btn { transform: none; }
  .shf-about-card .alt-portfolio-btn .des { opacity: 1; visibility: visible; }
}
.shf-about-card__bar { border-radius: 18px; padding: 16px 22px; color: #fefefe; transition: background-color .3s ease; }
.shf-about-card__bar:hover, .shf-about-card__bar:focus-visible { background: #4a4a4a !important; color: #fefefe; }
.shf-about-card__bar:focus-visible { outline: 2px solid #fefefe; outline-offset: 3px; }
.shf-about-card__hawih { height: 30px; width: auto; display: block; }
.shf-about-card__visit { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
html[dir="rtl"] .shf-about-card__visit svg { transform: scaleX(-1); }

/* the journey list: no per-row link here, so two columns */
.shf-about-story .journey-list__item { grid-template-columns: minmax(130px, 170px) minmax(0, 1fr); gap: 16px 36px; padding: 34px 0; border-bottom-color: rgba(254, 254, 254, .14); }
/* the panel's muted white, not the brand orange (no coloured text): 6.7:1 on this panel (#1d1d1d) */
.shf-about-story .journey-list__date { font-size: 15px; color: rgba(254, 254, 254, .6); padding-top: 6px; }
/* wide screens: the card (4:5) is taller than the three rows. The rows stand on its foot and rise into its middle as the
   page scrolls (main.js's scroll-move-up lifts each one up to 100px), rather than rising above its top and leaving its
   lower half empty. The bottom padding matches the card's mb-30. Touch screens have no rise: centred there. */
@media (min-width: 1200px) {
  .shf-about-story .shf-about-story__rows { align-self: flex-end; padding-bottom: 30px; }
  html.shf-native-scroll .shf-about-story .shf-about-story__rows { align-self: center; }
}
/* the container widens up to 1750px, the card with it (776px tall at 1920) while the rows get shorter: square there,
   the mark a little smaller so it stays clear of the title */
@media (min-width: 1500px) {
  .shf-about-card .alt-portfolio-thumb { aspect-ratio: 1 / 1; }
  .shf-about-card .anim-zoomin-wrap { width: 62%; margin-top: 6%; }
}
.shf-about-story .journey-list__body { max-width: none; }
.shf-about-story .journey-list__title { margin-bottom: 12px; font-size: 28px; font-weight: 500; }
.shf-about-story .journey-list__desc { margin-bottom: 0; font-size: 18px; line-height: 1.75; color: rgba(254, 254, 254, .68); max-width: 56ch; }

/* ======================================================= 3. principles (about-4 section 3) */
.shf-about-beliefs { padding: 120px 0 104px; }
.shf-about-beliefs .about-4-beliefs__intro { max-width: 820px; margin-bottom: 56px; }
.shf-about-beliefs .about-4-beliefs__title { margin: 6px 0 0; font-size: clamp(36px, 4.4vw, 68px); line-height: 1.12; }
html[dir="rtl"] .shf-about-beliefs .about-4-beliefs__title { line-height: 1.3; }
.shf-about-beliefs .about-4-belief { grid-template-columns: 96px minmax(0, 1fr); padding: 38px 0; transition: none; }
.shf-about-beliefs .about-4-belief__index { font-family: var(--at-ff-body); font-size: 15px; padding-top: 14px; color: var(--shf-about-accent); }
/* the theme turns a principle's name orange under the pointer: it keeps its colour (the floating picture is the cue) */
.shf-about-beliefs .about-4-belief:hover .about-4-belief__name { color: var(--at-neutral-900); }
.shf-about-beliefs .about-4-belief__body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 10px 56px; align-items: baseline; }
.shf-about-beliefs .about-4-belief__name { margin: 0; font-size: clamp(30px, 3.3vw, 52px); font-weight: 500; line-height: 1.15; }
html[dir="rtl"] .shf-about-beliefs .about-4-belief__name { line-height: 1.35; }
.shf-about-beliefs .about-4-belief__text { max-width: 46ch; font-size: 19px; line-height: 1.7; }
/* the floating picture (js/about.js moves it to <body>): counted from the left in both directions */
.about-4-float { left: 0; right: auto; border-radius: 20px; background: #0b0d10; }
/* the focus ring of a section reached from the hero's index (it takes focus with tabindex="-1") is not needed */
.shf-page-about main section[tabindex="-1"]:focus { outline: none; }

/* ======================================================= 4. how we work (about-5 nodes) + method (about-5 chapters) */
.shf-about-how { padding: 120px 0 112px; }
.shf-about-how .about-5-nodes__head { max-width: 820px; margin-bottom: 52px; }
.shf-about-how .about-5-nodes__title { margin-top: 6px; font-size: clamp(36px, 4.4vw, 68px); line-height: 1.12; }
html[dir="rtl"] .shf-about-how .about-5-nodes__title { line-height: 1.3; }
.shf-about-how .about-5-nodes__grid { gap: 16px; }
.shf-about-how .about-5-node { padding: 34px 32px 36px; border-radius: 24px; }
.shf-about-how .about-5-node { display: flex; flex-direction: column; }
.shf-about-how .about-5-node__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.shf-about-how .about-5-node__top .icon-shape { flex: none; width: 60px; height: 60px; border-radius: 16px !important; background: #0b0d10; }
.shf-about-how .about-5-node__zone { margin: 0; font-size: 14px; letter-spacing: .08em; color: var(--shf-about-accent); }
.shf-about-how .about-5-node__city { margin: 0 0 14px; font-size: clamp(24px, 2.3vw, 34px); font-weight: 500; line-height: 1.3; }
.shf-about-how .about-5-node__line { font-size: 18px; line-height: 1.65; }
.shf-about-method { margin-top: 120px; }
.shf-about-method .about-5-chapters__head { max-width: 760px; margin-bottom: 44px; }
.shf-about-method .about-5-chapters__title { margin-top: 6px; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.15; }
html[dir="rtl"] .shf-about-method .about-5-chapters__title { line-height: 1.35; }
.shf-about-method .about-5-chapter { padding-top: 30px; }
.shf-about-method .about-5-chapter__year { font-family: var(--at-ff-body); font-size: 14px; color: var(--shf-about-accent); }
.shf-about-method .about-5-chapter__name { margin-bottom: 14px; font-size: 24px; font-weight: 500; line-height: 1.35; }
.shf-about-method .about-5-chapter__text { max-width: 30ch; font-size: 17px; line-height: 1.7; }
.shf-about-method__quote { max-width: 34ch; margin: 72px 0 0; font-family: var(--at-ff-heading); font-size: clamp(22px, 2.3vw, 34px); line-height: 1.55; color: var(--at-neutral-900); }

/* ======================================================= 5. craft (about-4 section 4) + platforms */
.shf-about-craft { padding: 120px 0 0; }
.shf-about-craft .about-4-craft__grid { gap: 48px 96px; }
.shf-about-craft .about-4-craft__title { margin-top: 6px; max-width: none; font-size: clamp(36px, 4.4vw, 68px); line-height: 1.12; }
html[dir="rtl"] .shf-about-craft .about-4-craft__title { line-height: 1.3; }
.shf-about-craft .about-4-craft__lead { max-width: 34ch; margin-bottom: 28px; font-size: 19px; line-height: 1.65; }
.shf-about-craft .about-4-link { font-size: 16px; }
.shf-about-craft .about-4-craft__cols { gap: 0 48px; padding-top: 18px; }
.shf-about-craft .about-4-skills { gap: 0; }
.shf-about-craft .about-4-skills li { padding: 0; border-bottom: 1px solid var(--at-neutral-100); }
.shf-about-craft .about-4-skills li::before { top: 22px; color: var(--at-neutral-500); }   /* the theme's «+», orange there */
.shf-about-craft .about-4-skills a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px 18px 26px;
  font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--at-neutral-900); transition: color .25s ease;
}
html[dir="ltr"] .shf-about-craft .about-4-skills a { padding-right: 0; }
html[dir="rtl"] .shf-about-craft .about-4-skills a { padding-left: 0; }
.shf-about-craft .about-4-skills a svg { flex: none; opacity: .35; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1); }
html[dir="rtl"] .shf-about-craft .about-4-skills a svg { transform: scaleX(-1); }
.shf-about-craft .about-4-skills a:hover, .shf-about-craft .about-4-skills a:focus-visible { color: var(--at-neutral-900); }
.shf-about-craft .about-4-skills a:hover span, .shf-about-craft .about-4-skills a:focus-visible span { text-decoration: underline; text-underline-offset: 5px; }
.shf-about-craft .about-4-skills a:hover svg, .shf-about-craft .about-4-skills a:focus-visible svg { opacity: 1; }

/* platforms: the home's .shf-plat text marks, one row that drifts (CSS keyframes, composited; js/about.js runs it only
   while the band is on screen). It holds still under a mouse pointer and with the pause button (WCAG 2.2.2), which
   js/about.js shows only when the row moves. The button sits under the row at its end, where carousels keep their
   controls (beside the heading it pushed the English heading onto two lines on phones; on the row it covered names) */
.shf-about-plat { padding: 100px 0 84px; }
.shf-about-plat__title { margin: 0 0 30px; font-size: inherit; line-height: inherit; font-weight: inherit; }
.shf-about-plat__ctrl { display: flex; justify-content: flex-end; }
.shf-about-plat__toggle {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 14px; padding: 0;
  border: 1px solid var(--at-neutral-100); border-radius: 50%; background: transparent; color: var(--at-neutral-900);
  cursor: pointer; transition: background-color .25s ease, border-color .25s ease;
}
.shf-about-plat__toggle[hidden] { display: none; }
.shf-about-plat__toggle:hover { background: var(--at-neutral-50); border-color: var(--at-neutral-300); }
.shf-about-plat__toggle:focus-visible { outline: 2px solid var(--at-neutral-900); outline-offset: 3px; }
.shf-about-plat__toggle svg { display: block; }
.shf-about-plat__play, .shf-about-plat.is-paused .shf-about-plat__pause { display: none !important; }
.shf-about-plat.is-paused .shf-about-plat__play { display: block !important; }
.shf-about-plat__row { overflow: hidden; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.shf-about-plat__track { display: flex; width: max-content; }
.shf-about-plat__group, .shf-about-plat__set { display: flex; align-items: center; flex: none; }
.shf-about-plat .shf-plat { padding: 0 30px; font-size: clamp(28px, 3vw, 46px); font-weight: 500; line-height: 1.5; opacity: 1; color: var(--at-neutral-900); }
html[lang="en"] .shf-about-plat .shf-plat { letter-spacing: -0.03em; }
.shf-about-plat__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .3; }   /* neutral, not orange */
.shf-about-plat.is-running .shf-about-plat__track { animation: shf-about-plat 60s linear infinite; }
html[dir="rtl"] .shf-about-plat.is-running .shf-about-plat__track { animation-name: shf-about-plat-rtl; }
.shf-about-plat.is-paused .shf-about-plat__track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .shf-about-plat__row:hover .shf-about-plat__track { animation-play-state: paused; } }
@keyframes shf-about-plat { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes shf-about-plat-rtl { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(50%, 0, 0); } }
/* reduced motion: the first set alone, still and wrapped; no dots, which would end up alone at the ends of lines (the
   names' own padding parts them) */
@media (prefers-reduced-motion: reduce) {
  .shf-about-plat__row { -webkit-mask-image: none; mask-image: none; }
  .shf-about-plat__track { width: auto; }
  .shf-about-plat__group, .shf-about-plat__set { flex: 1 1 auto; }
  .shf-about-plat__set { flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .shf-about-plat__group[aria-hidden="true"], .shf-about-plat__set[aria-hidden="true"], .shf-about-plat__dot { display: none; }
}

/* ======================================================= 6. call to action (about-5 section 1, split screen) */
.shf-about-cta.about-5-hero { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); background: #0f0f0f; }
.shf-about-cta .about-5-hero__panel { min-height: 640px; }
.shf-about-cta .about-5-hero__panel--ink { padding: 72px 64px 64px; }
.shf-about-cta .about-5-hero__kicker { margin-bottom: 22px; font-size: 13px; }
.shf-about-cta .about-5-hero__kicker span { font-family: var(--at-ff-body); color: inherit; }   /* the theme's orange «07» */
html[dir="rtl"] .shf-about-cta .about-5-hero__kicker span { margin-right: 0; margin-left: 6px; }
.shf-about-cta .about-5-hero__year { margin-bottom: 22px; font-size: clamp(48px, 5.6vw, 96px); line-height: 1.08; letter-spacing: -0.04em; }
html[dir="rtl"] .shf-about-cta .about-5-hero__year { line-height: 1.3; }
.shf-about-cta .about-5-hero__tag { max-width: 42ch; margin-bottom: 40px; font-size: 18px; line-height: 1.7; }
.shf-about-cta .about-5-hero__facts li { grid-template-columns: 100px minmax(0, 1fr); padding: 15px 0; font-size: 17px; align-items: baseline; }
/* the theme's .45 white is 4.5:1 at most on #0f0f0f; .6 is 7:1 */
.shf-about-cta .about-5-hero__facts li span { font-size: 13px; color: rgba(254, 254, 254, .6); }
.shf-about-cta .about-5-hero__facts a { color: #fefefe; text-decoration: underline; text-decoration-color: rgba(254, 254, 254, .3); text-underline-offset: 5px; transition: text-decoration-color .25s ease; }
.shf-about-cta .about-5-hero__facts a:hover, .shf-about-cta .about-5-hero__facts a:focus-visible { color: #fefefe; text-decoration-color: #fefefe; }
.shf-about-cta .about-5-hero__facts li > a { justify-self: start; }
.shf-about-cta .about-5-hero__panel--media img { object-position: 30% 50%; }
.shf-about-cta .about-5-hero__overlay { padding: 56px; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, .78) 100%); }
.shf-about-cta .about-5-hero__title { max-width: 14ch; margin-bottom: 26px; font-family: var(--at-ff-heading); font-size: clamp(30px, 3.2vw, 52px); font-weight: 500; line-height: 1.15; }
html[dir="rtl"] .shf-about-cta .about-5-hero__title { line-height: 1.35; }
.shf-about-cta__btn.at-btn { padding: 17px 26px; font-size: 16px; background: #fefefe; color: #111; }
.shf-about-cta__btn.at-btn:hover, .shf-about-cta__btn.at-btn:focus-visible { color: #111; }
.shf-about-cta__btn.at-btn:focus-visible { outline-color: #fefefe; }

/* ======================================================= responsive */
/* 992-1399px and 576-767px: two columns of service links would be 216-267px (234px) wide and wrap the longer labels
   («تصميم تجربة المستخدم», "AI & Machine Learning", "Software Engineering"), so the rows stopped lining up across
   them: one column there (below 576px the theme stacks them already) */
@media (min-width: 992px) and (max-width: 1399.98px), (min-width: 576px) and (max-width: 767.98px) {
  .shf-about-craft .about-4-craft__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1199.98px) {
  .shf-about-hero .about-4-hero__shot--tall { height: 480px; }
  .shf-about-hero .about-4-hero__shot--mid { height: 300px; }
  .shf-about-hero .about-4-hero__shot--wide { height: 390px; }
  .shf-about-cta .about-5-hero__panel--ink { padding: 56px 44px 52px; }
  .shf-about-cta .about-5-hero__overlay { padding: 40px; }
}
@media (max-width: 991.98px) {
  .shf-about-hero { padding: 72px 0 72px; }
  .shf-about-hero .about-4-hero__grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 52px; }
  .shf-about-hero .about-4-hero__aside { padding: 0; border: 0; }
  .shf-about-hero .about-4-kicker, .shf-about-hero .about-4-hero__meta { display: none; }
  .shf-about-hero .about-4-index { gap: 10px; }
  .shf-about-hero .about-4-index a { padding: 9px 16px; border: 1px solid var(--at-neutral-100); border-radius: 50px; font-size: 15px; }
  .shf-about-hero .about-4-index a:focus-visible { border-radius: 50px; }
  /* the index shows as pills and the «01 عن شفرة» kicker is hidden: no numbers here (they would start at 02), and none
     on the closing panel's «07» either */
  .shf-about-hero .about-4-index__num, .shf-about-cta .about-5-hero__kicker span { display: none; }
  .shf-about-hero .about-4-hero__mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .shf-about-hero .about-4-hero__shot--tall { grid-column: auto; grid-row: 1 / 3; height: 100%; min-height: 0; max-height: none; }
  .shf-about-hero .about-4-hero__shot--mid, .shf-about-hero .about-4-hero__shot--wide { height: 240px; }
  .shf-about-hero .about-4-proof { margin-top: 60px; }
  .shf-about-hero .about-4-stat { padding-top: 0 !important; }
  .shf-about-story, .shf-about-beliefs, .shf-about-how { padding-top: 80px !important; padding-bottom: 80px !important; }
  .shf-about-story .journey-list { margin-top: 20px; }
  .shf-about-story .journey-list__item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .shf-about-beliefs .about-4-belief__body { grid-template-columns: 1fr; }
  .shf-about-craft { padding-top: 80px; }
  .shf-about-plat { padding: 70px 0 60px; }
  .shf-about-method { margin-top: 84px; }
  .shf-about-cta.about-5-hero { grid-template-columns: 1fr; }
  .shf-about-cta .about-5-hero__panel { min-height: 0; }
  .shf-about-cta .about-5-hero__panel--ink { padding: 64px 40px 48px; }
  .shf-about-cta .about-5-hero__panel--media { min-height: 460px; }
}
@media (max-width: 767.98px) {
  .shf-about-hero { padding: 56px 0 56px; }
  .shf-about-hero .about-4-hero__eyebrow { font-size: 13px; }
  .shf-about-hero .about-4-hero__title { font-size: 44px; margin-bottom: 22px; }
  .shf-about-hero .about-4-hero__lead { font-size: 18px; margin-bottom: 30px; }
  .shf-about-hero .about-4-hero__mosaic { gap: 10px; }
  .shf-about-hero .about-4-hero__shot { border-radius: 18px; }
  .shf-about-hero .about-4-hero__shot--mid, .shf-about-hero .about-4-hero__shot--wide { height: 170px; }
  .shf-about-hero .about-4-hero__caption { left: 10px; bottom: 10px; padding: 7px 12px; font-size: 13px; }
  html[dir="rtl"] .shf-about-hero .about-4-hero__caption { right: 10px; }
  .shf-about-hero .about-4-proof { margin-top: 44px; }
  .shf-about-hero .about-4-proof__grid { padding-top: 28px; }
  .shf-about-hero .about-4-stat__value { font-size: 44px; }
  .shf-about-hero .about-4-stat__label { font-size: 15px; }
  .shf-about-story .shf-about-story__lead, .shf-about-hero .about-4-hero__lead { font-size: 18px; }
  .shf-about-story .journey-list__item { padding: 26px 0; }
  .shf-about-story .journey-list__title { font-size: 24px; }
  .shf-about-story .journey-list__desc { font-size: 17px; }
  .shf-about-card .alt-portfolio-btn { left: 22px; right: 22px; bottom: 22px; }
  .shf-about-beliefs .about-4-belief { grid-template-columns: 52px minmax(0, 1fr); padding: 28px 0; }
  .shf-about-beliefs .about-4-belief__index { padding-top: 10px; }
  .shf-about-beliefs .about-4-belief__text { font-size: 17px; }
  .shf-about-how .about-5-node { padding: 28px 24px 30px; }
  .shf-about-how .about-5-node__line { font-size: 17px; }
  .shf-about-method .about-5-chapter__text { font-size: 16px; }
  .shf-about-craft .about-4-skills a { font-size: 18px; padding-top: 16px; padding-bottom: 16px; }
  .shf-about-craft .about-4-skills li::before { top: 19px; }
  .shf-about-plat .shf-plat { padding: 0 18px; font-size: 26px; }
  .shf-about-plat__dot { width: 7px; height: 7px; }
  .shf-about-cta .about-5-hero__panel--ink { padding: 52px 24px 36px; }
  .shf-about-cta .about-5-hero__year { font-size: 46px; }
  .shf-about-cta .about-5-hero__tag { font-size: 17px; margin-bottom: 30px; }
  .shf-about-cta .about-5-hero__facts li { grid-template-columns: 92px minmax(0, 1fr); font-size: 16px; }
  .shf-about-cta .about-5-hero__panel--media { min-height: 400px; }
  .shf-about-cta .about-5-hero__overlay { padding: 28px 24px; }
}
@media (max-width: 575.98px) {
  /* two pictures side by side and the wide one across the panel under them: its caption keeps one line in English
     ("Code. Design. Impact." wrapped into a two-line blob in a half-width picture) */
  .shf-about-hero .about-4-hero__mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .shf-about-hero .about-4-hero__shot--tall { grid-column: 1; grid-row: 1; height: 220px; }
  .shf-about-hero .about-4-hero__shot--mid { grid-column: 2; grid-row: 1; height: 220px; }
  .shf-about-hero .about-4-hero__shot--wide { grid-column: 1 / -1; grid-row: 2; height: 190px; }
  .shf-about-hero .about-4-proof__grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .shf-about-hero .about-4-stat { padding: 0 0 22px !important; }
  .shf-about-hero .about-4-stat:nth-child(n+3) { border-bottom: 0; padding-bottom: 0 !important; }
  /* the theme's own reset here (.about-5-chapter, padding 0 !important) loses to its 1199px odd/even padding, which is
     more specific: the stacked steps were indented by 20px every other one */
  .shf-about-method .about-5-chapter:nth-child(n) { padding-left: 0 !important; padding-right: 0 !important; }
}
