/* ==========================================================================
   Al-Kass Fitout — site styles
   Tokens are drawn from the logo: Kass orange + charcoal tower, set on
   concrete greys. Display type is condensed to echo the logo lettering.
   Layout uses logical properties throughout so Arabic (RTL) mirrors cleanly.
   ========================================================================== */

:root {
  --orange: #FA5000;
  --orange-600: #DB4600;
  --orange-ink: #B83A00;        /* orange text on light surfaces (AA) */
  --ink: #141414;
  --ink-2: #222120;
  --charcoal: #4A4A4A;          /* logo grey */
  --muted: #5B5A57;
  --concrete: #EFEEEB;
  --concrete-2: #E2E0DC;
  --paper: #FFFFFF;
  --line: rgba(20, 20, 20, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --error: #B42318;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --font-num: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display-stretch: 68%;
  --display-weight: 760;
  --display-lh: .94;
  --body-size: 1.0625rem;
  --body-lh: 1.65;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --frame: 12px;
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[dir="rtl"] {
  --font-display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Archivo", Tahoma, sans-serif;
  --display-stretch: 100%;
  --display-weight: 700;
  --display-lh: 1.3;
  --body-size: 1.125rem;
  --body-lh: 1.85;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-lh);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: inherit; font-size: inherit; }
p + p { margin-top: 1em; }
::selection { background: var(--orange); color: var(--ink); }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; inset-inline-start: 16px; top: 16px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.ltr-num { font-family: var(--font-num); font-stretch: 68%; direction: ltr; unicode-bidi: isolate; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section + .section, .build + .section { padding-top: 0; }
.intro { padding-top: clamp(24px, 4vw, 48px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.container-wide { margin-inline: var(--frame); }
.panel {
  border-radius: var(--radius-xl);
  padding-block: clamp(56px, 8vw, 112px);
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2));
}
.panel--concrete { background: var(--concrete); }
.panel--ink { background: var(--ink); color: #fff; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink);
}
.eyebrow::before {
  content: ""; width: 4px; height: 14px; background: var(--orange);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); /* the logo's raked tower top */
}
[dir="rtl"] .eyebrow { font-family: var(--font-body); font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
[dir="rtl"] .eyebrow::before { clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 100%); }
.eyebrow--on-dark, .section-head--on-dark .eyebrow { color: #FF8A4C; }

.h2 {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: var(--display-lh);
  letter-spacing: -.005em;
  text-wrap: balance;
  margin-top: 14px;
}
[dir="rtl"] .h2 { font-size: clamp(1.85rem, 3.5vw, 3.1rem); }
.lead { font-size: clamp(1.125rem, 1.45vw, 1.3rem); line-height: 1.6; color: var(--ink); }
[dir="rtl"] .lead { line-height: 1.85; }

.section-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head__intro { color: var(--muted); margin-top: 18px; max-width: 60ch; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-head__intro { margin-inline: auto; }
.section-head--on-dark .section-head__intro { color: rgba(255, 255, 255, .72); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-ic-bg: var(--orange); --btn-ic-fg: #fff;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding-block: 6px; padding-inline: 24px 7px;
  border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn__icon {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--btn-ic-bg); color: var(--btn-ic-fg);
  transition: transform .35s var(--ease);
}
.btn__icon .icon { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: rotate(45deg); }
[dir="rtl"] .btn:hover .btn__icon { transform: rotate(-45deg); }
.btn:active { transform: scale(.98); }
.btn--dark:hover { --btn-bg: #000; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--concrete); }
.btn--accent { --btn-bg: var(--orange); --btn-fg: var(--ink); --btn-ic-bg: var(--ink); --btn-ic-fg: #fff; }
.btn--accent:hover { --btn-bg: #FF6A1F; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-ic-bg: var(--concrete); --btn-ic-fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--header { --btn-bg: #fff; --btn-fg: var(--ink); min-height: 46px; padding-inline: 18px 5px; font-size: .875rem; gap: 10px; }
.btn--header .btn__icon { width: 36px; height: 36px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  border-bottom: 1px solid currentColor; padding-bottom: 3px; margin-top: 24px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }
.link-arrow--light { color: #fff; margin-top: 0; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: .8rem; font-weight: 500; line-height: 1.3;
}
.chip--glass { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip--outline { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 18px; font-size: .9rem; transition: border-color .2s, background-color .2s; }
.chip--outline:hover { border-color: var(--ink); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(250, 80, 0, .28); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 60;
  padding: calc(var(--frame) + 12px) calc(var(--frame) + clamp(8px, 1.6vw, 20px)) 0;
  pointer-events: none;
  transition: padding .35s var(--ease);
}
.site-header__bar {
  position: relative; z-index: 1;
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1440px; margin-inline: auto;
  padding-block: 8px; padding-inline: 16px 8px;
  border-radius: 999px; color: #fff;
  transition: background-color .35s, box-shadow .35s, color .35s;
}
.is-scrolled .site-header { padding-top: 10px; }
.is-scrolled .site-header__bar {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  color: var(--ink);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .25), 0 0 0 1px rgba(20, 20, 20, .06);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
/* Lockup follows the real logo: orange+charcoal towers, orange wordmark, tagline beneath */
.brand__mark { height: 44px; width: auto; color: #8A8A8A; }               /* charcoal tower, lifted on dark */
.is-scrolled .brand__mark, .brand--dark .brand__mark { color: var(--charcoal); }
.brand__text { display: grid; justify-items: start; line-height: 1; }
.brand__word { display: block; height: 19px; width: auto; color: var(--orange); }
[dir="rtl"] .brand__word { height: 24px; }
.brand__tag {
  font-family: var(--font-num); font-stretch: 75%; font-weight: 500;
  font-size: .78rem; letter-spacing: .01em; margin-top: 5px; opacity: .92; white-space: nowrap;
}
[dir="rtl"] .brand__tag { font-family: var(--font-body); font-stretch: 100%; font-size: .78rem; letter-spacing: 0; margin-top: 6px; }
.brand__ar { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; font-weight: 600; font-size: .95rem; color: var(--orange); margin-top: 6px; line-height: 1.3; }
.brand--footer .brand__mark { height: 64px; color: #7A7A7A; }
.brand--footer .brand__word { height: 26px; }
.brand--footer .brand__tag { font-size: .86rem; color: rgba(255, 255, 255, .85); }

.nav__list {
  display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .35s, border-color .35s;
}
.nav__link {
  display: block; padding: 9px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; transition: background-color .2s, color .2s;
}
.nav__link:hover { background: rgba(255, 255, 255, .16); }
.nav__link[aria-current="page"] { background: #fff; color: var(--ink); }
.is-scrolled .nav__list { background: var(--concrete); border-color: transparent; }
.is-scrolled .nav__link:hover { background: rgba(20, 20, 20, .06); }
.is-scrolled .nav__link[aria-current="page"] { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-grid; place-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px;
  font-weight: 600; font-size: .9rem; border: 1px solid rgba(255, 255, 255, .35);
  transition: background-color .2s, border-color .2s;
}
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif; font-size: 1rem; }
.lang-switch[lang="en"] { font-family: "Archivo", Arial, sans-serif; }
.lang-switch:hover { background: rgba(255, 255, 255, .14); }
.is-scrolled .lang-switch { border-color: var(--line); }
.is-scrolled .lang-switch:hover { background: var(--concrete); }
.is-scrolled .btn--header { --btn-bg: var(--ink); --btn-fg: #fff; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); place-items: center; }
.is-scrolled .menu-toggle { background: var(--ink); color: #fff; }
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars span { position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 8px; }
.menu-open .menu-toggle__bars span:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 0;
  background: var(--ink); color: #fff;
  padding: calc(var(--header-h) + 40px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  overflow-y: auto; pointer-events: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list a {
  display: block; padding: 4px 0;
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight);
  font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: 1.1;
}
.mobile-menu__list a[aria-current="page"] { color: var(--orange); }
.mobile-menu__foot { display: grid; gap: 20px; justify-items: start; }
.mobile-menu__contact { display: grid; gap: 6px; color: rgba(255, 255, 255, .75); }
.lang-switch--block { min-height: 48px; border-color: var(--line-dark); }
.menu-open { overflow: hidden; }
.menu-open .site-header__bar { background: transparent; box-shadow: none; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .brand__mark { color: #8A8A8A; }
.menu-open .menu-toggle { background: #fff; color: var(--ink); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: var(--frame); }
.hero__frame {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, calc(100svh - 2 * var(--frame)));
  border-radius: var(--radius-xl); color: #fff;
  display: flex; align-items: flex-end;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
/* Subject sits on the right of the hero shot; mirror it in Arabic so it stays opposite the headline */
[dir="rtl"] .hero__img, [dir="rtl"] .hero__video { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 12, 12, .86) 0%, rgba(12, 12, 12, .5) 30%, rgba(12, 12, 12, .04) 62%, rgba(12, 12, 12, .3) 100%),
    linear-gradient(to right, rgba(12, 12, 12, .38), transparent 58%);
}
[dir="rtl"] .hero__frame::after {
  background:
    linear-gradient(to top, rgba(12, 12, 12, .86) 0%, rgba(12, 12, 12, .5) 30%, rgba(12, 12, 12, .04) 62%, rgba(12, 12, 12, .3) 100%),
    linear-gradient(to left, rgba(12, 12, 12, .38), transparent 58%);
}
.hero__content {
  position: relative; width: 100%; max-width: 1040px;
  padding: clamp(24px, 5vw, 72px); padding-bottom: clamp(72px, 8vw, 112px);
}
.hero__title {
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800;
  font-size: clamp(3.5rem, 9.6vw, 9.25rem); line-height: .88; letter-spacing: -.012em;
  margin: 22px 0 22px; text-wrap: balance;
}
[dir="rtl"] .hero__title { font-weight: 800; font-size: clamp(2.5rem, 6.4vw, 5.75rem); line-height: 1.28; }
.hero__text { max-width: 54ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(255, 255, 255, .86); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 32px; }

.hero__card {
  position: absolute; inset-inline-end: clamp(24px, 4vw, 56px); bottom: clamp(104px, 10vw, 136px);
  width: 380px; display: grid; grid-template-columns: 1fr 128px; gap: 14px;
  padding: 12px; padding-inline-start: 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .5);
}
.hero__card-copy { display: flex; flex-direction: column; gap: 6px; padding-block: 6px; }
.hero__card-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .hero__card-label { font-family: var(--font-body); letter-spacing: 0; font-size: .82rem; }
.hero__card-label .ltr-num { font-family: var(--font-mono); font-stretch: 100%; color: var(--orange-ink); font-weight: 500; }
.hero__card-text { font-size: .86rem; line-height: 1.45; }
.hero__card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--orange-ink); }
.hero__card-link .icon { width: 15px; height: 15px; }
.hero__card-media { border-radius: 12px; overflow: hidden; }
.hero__card-media img { width: 100%; height: 100%; object-fit: cover; }

.ring {
  position: absolute; z-index: 3;
  inset-inline-end: calc(var(--frame) + clamp(24px, 4vw, 56px) + 412px);
  bottom: calc(var(--frame) - 66px);
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; border: 7px solid #fff;
  transition: transform .4s var(--ease);
}
.ring:hover { transform: scale(1.05); }
.ring__text {
  position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px);
  fill: currentColor; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em;
  direction: ltr; /* RTL text on a textPath renders off-path in Chromium; bidi still orders the Arabic run */
}
[dir="rtl"] .ring__text { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: 0; }
.ring__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.ring__icon .icon { width: 20px; height: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .ring__text { animation: spin 22s linear infinite; }
  [dir="rtl"] .ring__text { animation-direction: reverse; }
  .hero__img { animation: hero-settle 2.6s var(--ease) both; }
  .hero__content > * { animation: rise .9s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: .12s; }
  .hero__content > :nth-child(3) { animation-delay: .24s; }
  .hero__content > :nth-child(4) { animation-delay: .36s; }
  .hero__card { animation: rise .9s .5s var(--ease) both; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hero-settle { from { scale: 1.08; } to { scale: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Inner-page heroes (each page has its own composition) ---------- */
.ph { padding-top: clamp(104px, 9vw, 128px); }
.ph__title {
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800;
  font-size: clamp(3rem, 6.2vw, 6rem); line-height: .9; letter-spacing: -.012em;
  margin: 18px 0 20px; text-wrap: balance;
}
[dir="rtl"] .ph__title { font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.3; }
.ph__text { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 52ch; }
.ph__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.ph__actions .link-arrow { margin-top: 0; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .crumbs ol { font-family: var(--font-body); font-size: .9rem; letter-spacing: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 10px; opacity: .5; }
.crumbs a:hover { color: var(--orange-ink); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs--light ol { color: rgba(255, 255, 255, .7); }
.crumbs--light a:hover, .crumbs--light [aria-current] { color: #fff; }

/* About: copy + image collage */
.ph-about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ph-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 520px; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.ph-facts__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-inline: clamp(12px, 2vw, 24px); border-inline-start: 1px solid var(--line); }
.ph-facts__item:first-child { border: 0; padding-inline-start: 0; }
.ph-facts__value { font-family: var(--font-num); font-stretch: 68%; font-weight: 700; font-size: clamp(2.4rem, 3.6vw, 3.3rem); line-height: 1; }
.ph-facts__label { font-size: .82rem; line-height: 1.4; color: var(--muted); max-width: 17ch; margin-top: 8px; }
[dir="rtl"] .ph-facts__label { font-size: .9rem; }
.ph-about__media { position: relative; min-height: clamp(460px, 44vw, 640px); }
.ph-about__main { position: absolute; top: 0; bottom: 12%; inset-inline-start: 14%; inset-inline-end: 0; margin: 0; border-radius: var(--radius-xl); overflow: hidden; }
.ph-about__sub { position: absolute; bottom: 0; inset-inline-start: 0; width: 44%; aspect-ratio: 4 / 3; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .45); }
.ph-about__main img, .ph-about__sub img { width: 100%; height: 100%; object-fit: cover; }
.ph-about__note {
  position: absolute; top: 20px; inset-inline-end: 20px; z-index: 2;
  padding: 10px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #fff;
  background: rgba(20, 20, 20, .5); border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.ph-about__note-label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #FF8A4C; font-weight: 500; margin-inline-end: 6px; }
[dir="rtl"] .ph-about__note-label { font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; }
.ring.ring--about { inset-inline-start: auto; inset-inline-end: 6%; bottom: 2%; }

/* Services: headline + three service tiles */
.ph-services__head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.ph-services__head .ph__title { margin-bottom: 0; }
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-tile { position: relative; isolation: isolate; overflow: hidden; display: block; aspect-ratio: 4 / 3.7; border-radius: var(--radius-lg); color: #fff; }
.svc-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.svc-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 12, 12, .78), rgba(12, 12, 12, 0) 55%); }
.svc-tile__chip { position: absolute; top: 16px; inset-inline-start: 16px; }
.svc-tile__body { position: absolute; inset-inline: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.svc-tile__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1; }
[dir="rtl"] .svc-tile__title { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.4; }
.svc-tile__link { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .82rem; font-weight: 600; white-space: nowrap; transition: background-color .25s, color .25s; }
.svc-tile__link .icon { width: 15px; height: 15px; }
.svc-tile:hover .svc-tile__img { transform: scale(1.05); }
.svc-tile:hover .svc-tile__link { background: var(--orange); color: var(--ink); }

/* Projects: portfolio bento */
.bento { display: grid; grid-template-columns: 1fr 1fr 1.25fr; grid-template-rows: minmax(400px, auto) clamp(220px, 20vw, 300px); gap: 16px; }
.bento__panel { grid-column: 1 / 3; grid-row: 1; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-xl); background: var(--ink); color: #fff; }
.bento__panel .ph__text { color: rgba(255, 255, 255, .74); }
.bento__foot { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); }
.bento__facts { display: flex; gap: clamp(24px, 3vw, 44px); }
.bento__facts > div { display: flex; flex-direction: column-reverse; }
.bento__facts dd { font-family: var(--font-num); font-stretch: 68%; font-weight: 700; font-size: clamp(2.2rem, 3vw, 2.8rem); line-height: 1; }
.bento__facts dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-top: 6px; }
[dir="rtl"] .bento__facts dt { font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; }
.bento__browse { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.bento__browse .icon { width: 16px; height: 16px; }
.bento__browse:hover { color: #FF8A4C; }
.bento__tile { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--concrete); }
.bento__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__tile:hover img { transform: scale(1.04); }
.bento__tile--1 { grid-column: 3; grid-row: 1 / 3; }
.bento__tile--2 { grid-column: 1; grid-row: 2; }
.bento__tile--3 { grid-column: 2; grid-row: 2; }
.bento__cap { position: absolute; bottom: 14px; inset-inline-start: 14px; }

/* Contact: form in the banner */
.ph--contact { padding-inline: var(--frame); }
.ph-contact {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl); color: #fff;
  display: grid; grid-template-columns: 1fr minmax(360px, 520px); gap: clamp(24px, 4vw, 72px); align-items: center;
  padding-block: clamp(32px, 5vw, 72px);
  padding-inline: max(clamp(24px, 5vw, 72px), calc((100% - var(--maxw)) / 2));
}
.ph-contact__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ph-contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(12, 12, 12, .82) 0%, rgba(12, 12, 12, .55) 45%, rgba(12, 12, 12, .25) 100%); }
[dir="rtl"] .ph-contact::after { background: linear-gradient(to left, rgba(12, 12, 12, .82) 0%, rgba(12, 12, 12, .55) 45%, rgba(12, 12, 12, .25) 100%); }
.ph-contact__copy .ph__text { color: rgba(255, 255, 255, .86); }
.ph-contact__form { color: var(--ink); }
.btn--glass { --btn-bg: rgba(255, 255, 255, .14); --btn-fg: #fff; border-color: rgba(255, 255, 255, .32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .24); }

@media (prefers-reduced-motion: no-preference) {
  .ph-about__copy > *, .ph-services__head > div > *, .bento__panel > *, .ph-contact__copy > * { animation: rise .9s var(--ease) both; }
  .ph-about__copy > :nth-child(2), .ph-services__head > div > :nth-child(2), .bento__panel > :nth-child(2), .ph-contact__copy > :nth-child(2) { animation-delay: .1s; }
  .ph-about__copy > :nth-child(3), .ph-services__head > div > :nth-child(3), .bento__panel > :nth-child(3), .ph-contact__copy > :nth-child(3) { animation-delay: .2s; }
  .ph-about__copy > :nth-child(n+4), .bento__panel > :nth-child(n+4), .ph-contact__copy > :nth-child(n+4) { animation-delay: .3s; }
  .ph-about__media, .svc-tiles > li, .bento__tile, .ph-contact__form { animation: rise 1s .25s var(--ease) both; }
  .svc-tiles > li:nth-child(2), .bento__tile--2 { animation-delay: .35s; }
  .svc-tiles > li:nth-child(3), .bento__tile--3 { animation-delay: .45s; }
}

/* ---------- Stats ---------- */
.stats { padding-block: clamp(96px, 10vw, 136px) clamp(24px, 4vw, 48px); }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item {
  display: flex; flex-direction: column-reverse; align-items: center; text-align: center;
  padding: 8px 20px; border-inline-start: 1px solid var(--line);
}
.stats__item:first-child { border-inline-start: 0; }
.stats__value { font-family: var(--font-num); font-stretch: 68%; font-weight: 700; font-size: clamp(3.25rem, 6.4vw, 5.75rem); line-height: 1; letter-spacing: -.01em; }
.stats__label { font-size: .875rem; line-height: 1.45; color: var(--muted); max-width: 22ch; margin-top: 12px; }
[dir="rtl"] .stats__label { font-size: .95rem; }

/* ---------- Intro ---------- */
.intro__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px);
}
.intro__body p:not(.lead) { color: var(--muted); }

/* ---------- Discipline cards ---------- */
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.disc-card__link {
  position: relative; isolation: isolate; overflow: hidden; display: block;
  aspect-ratio: 3 / 4; border-radius: var(--radius-lg); color: #fff;
}
.disc-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.disc-card__link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 12, 12, .55), transparent 55%); }
.disc-card__chip { position: absolute; top: 16px; inset-inline-start: 16px; }
.disc-card__body {
  position: absolute; inset-inline: 12px; bottom: 12px;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px;
  padding: 18px 20px; border-radius: 14px;
  background: rgba(20, 20, 20, .4); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.disc-card__title { grid-column: 1; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.7rem; line-height: 1.05; }
[dir="rtl"] .disc-card__title { font-size: 1.3rem; line-height: 1.5; }
.disc-card__text { grid-column: 1; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.disc-card__go { grid-column: 2; grid-row: 1 / span 2; align-self: end; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: transform .35s var(--ease); }
.disc-card__go .icon { width: 18px; height: 18px; }
.disc-card__link:hover .disc-card__img { transform: scale(1.05); }
.disc-card__link:hover .disc-card__go { transform: rotate(45deg); }
[dir="rtl"] .disc-card__link:hover .disc-card__go { transform: rotate(-45deg); }

/* ---------- Build sequence (signature) ---------- */
.build { position: relative; padding-block: clamp(48px, 7vw, 96px); }
.build__sticky { display: flex; flex-direction: column; }
.build.is-pinned { padding-block: 0; }
.build.is-pinned .build__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  justify-content: center; overflow: hidden;
  padding-top: calc(var(--header-h) - 8px); padding-bottom: 24px;
}
.build__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.build__head .h2 { font-size: clamp(2.5rem, 4.6vw, 4.2rem); }
[dir="rtl"] .build__head .h2 { font-size: clamp(1.85rem, 3.2vw, 2.9rem); }
.build__readout { display: flex; flex-direction: column; align-items: flex-end; text-align: end; flex: none; }
.build__readout-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .build__readout-label { font-family: var(--font-body); font-size: .9rem; letter-spacing: 0; }
.build__pct {
  font-family: var(--font-mono); font-weight: 500; font-size: clamp(2.75rem, 5.4vw, 4.75rem);
  line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; direction: ltr;
}
.build__pct > span { color: var(--ink); }
.build__pct { color: var(--orange); }

.build__rail { margin-top: clamp(18px, 3vh, 32px); }
.build__rail-line { position: relative; height: 4px; border-radius: 4px; background: var(--concrete-2); overflow: hidden; }
.build__rail-fill { position: absolute; inset: 0; background: var(--orange); transform-origin: left center; transform: scaleX(0); }
[dir="rtl"] .build__rail-fill { transform-origin: right center; }
.build__ticks { position: relative; height: 44px; margin-top: 10px; list-style: none; padding: 0; }
.build__tick {
  position: absolute; top: 0; inset-inline-start: calc(var(--i) / var(--n) * 100%);
  transform: translateX(-50%); display: grid; justify-items: center; gap: 2px;
  font-size: .78rem; line-height: 1.2; color: var(--muted); white-space: nowrap;
  transition: color .3s;
}
[dir="rtl"] .build__tick { transform: translateX(50%); }
.build__tick:first-child { transform: none; justify-items: start; }
.build__tick:last-child { transform: none; inset-inline-start: auto; inset-inline-end: 0; justify-items: end; }
.build__tick::before {
  content: ""; position: absolute; top: -21px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--concrete-2); transition: background-color .3s, border-color .3s;
}
.build__tick:first-child::before { inset-inline-start: -2px; }
.build__tick:last-child::before { inset-inline-end: -2px; }
.build__tick-num { font-family: var(--font-mono); font-size: .7rem; }
.build__tick-name { font-weight: 600; }
.build__tick.is-done { color: var(--ink); }
.build__tick.is-done .build__tick-num { color: var(--orange-ink); }
.build__tick.is-done::before { background: var(--orange); border-color: var(--orange); }

.build__viewport {
  margin-top: clamp(16px, 3vh, 36px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.build__viewport::-webkit-scrollbar { display: none; }
.build.is-pinned .build__viewport { overflow: visible; scroll-snap-type: none; }
.build__track {
  display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; margin: 0;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); padding-block: 4px;
  list-style: none; will-change: transform;
}
.stage { width: clamp(272px, 30vw, 460px); flex: none; scroll-snap-align: center; }
.stage__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--concrete); }
.build.is-pinned .stage__media { aspect-ratio: auto; height: min(38vh, 340px); }
.stage__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.92) brightness(1.04); transition: filter .7s var(--ease); }
.stage.is-done .stage__media img { filter: none; }
.stage__body { padding: 18px 4px 0; }
.stage__num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); letter-spacing: .06em; }
.stage.is-done .stage__num { color: var(--orange-ink); }
.stage__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.85rem; line-height: 1.05; margin: 6px 0 8px; }
[dir="rtl"] .stage__title { font-size: 1.4rem; line-height: 1.5; }
.stage__text { color: var(--muted); font-size: .95rem; line-height: 1.55; max-width: 42ch; }
.build__hint { display: none; margin-top: 18px; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: opacity .4s; }
[dir="rtl"] .build__hint { font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; }
.build__hint .icon { width: 14px; height: 14px; }
.build.is-pinned .build__hint { display: flex; }
.build.is-started .build__hint { opacity: 0; }

/* ---------- Capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 36px 28px; border-radius: var(--radius-lg); background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .25); }
.cap-card__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; margin-bottom: 6px; }
.cap-card__icon .icon { width: 24px; height: 24px; }
.cap-card__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.5rem; line-height: 1.1; }
[dir="rtl"] .cap-card__title { font-size: 1.15rem; line-height: 1.5; }
.cap-card__text { color: var(--muted); font-size: .93rem; line-height: 1.55; max-width: 32ch; }
.cap-card--featured { background: var(--ink); color: #fff; }
.cap-card--featured .cap-card__text { color: rgba(255, 255, 255, .72); }

/* ---------- How we work (dark) ---------- */
.method__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.acc { border-top: 1px solid var(--line-dark); }
.acc:last-child { border-bottom: 1px solid var(--line-dark); }
.acc__summary {
  display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 16px;
  padding: 26px 0; cursor: pointer; list-style: none;
}
.acc__summary::-webkit-details-marker { display: none; }
.acc__num { font-family: var(--font-mono); font-size: .8rem; color: #FF8A4C; }
.acc__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
[dir="rtl"] .acc__title { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; }
.acc__icon { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .3s, border-color .3s; }
.acc__icon .icon { width: 18px; height: 18px; }
.acc[open] .acc__icon { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); }
.acc__summary:hover .acc__icon { border-color: rgba(255, 255, 255, .5); }
.acc__body { padding-bottom: 28px; padding-inline-start: calc(2.5rem + 16px); padding-inline-end: 56px; color: rgba(255, 255, 255, .74); }
.method__media { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.method__media img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: var(--radius-lg); }
.method__quote {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; border-radius: 14px; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark);
  font-weight: 500; font-size: .98rem; line-height: 1.55;
}
.method__quote-mark { flex: none; font-family: var(--font-num); font-stretch: 68%; font-weight: 800; font-size: 3rem; line-height: .8; color: var(--orange); }

/* ---------- Featured projects ---------- */
.feat-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px;
  height: clamp(560px, 60vw, 760px);
}
.feat-card--1 { grid-row: span 2; }
.feat-card__link { position: relative; isolation: isolate; overflow: hidden; display: block; height: 100%; border-radius: var(--radius-lg); color: #fff; }
.feat-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.feat-card__link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 12, 12, .78), rgba(12, 12, 12, 0) 55%); }
.feat-card__body { position: absolute; inset-inline: clamp(18px, 2.4vw, 32px); bottom: clamp(18px, 2.4vw, 28px); display: grid; gap: 8px; }
.feat-card__tags { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
[dir="rtl"] .feat-card__tags { font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; }
.feat-card__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.05; }
.feat-card--1 .feat-card__title { font-size: clamp(2rem, 3.6vw, 3.2rem); }
[dir="rtl"] .feat-card__title { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.5; }
[dir="rtl"] .feat-card--1 .feat-card__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.feat-card__go { position: absolute; top: 16px; inset-inline-end: 16px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .3s; }
.feat-card__go .icon { width: 18px; height: 18px; }
.feat-card__link:hover .feat-card__img { transform: scale(1.04); }
.feat-card__link:hover .feat-card__go { background: var(--orange); color: #fff; transform: rotate(45deg); }
[dir="rtl"] .feat-card__link:hover .feat-card__go { transform: rotate(-45deg); }

/* ---------- Partners marquee ---------- */
.partners { padding-top: 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; align-items: center; gap: 16px; padding-inline-end: 16px; padding-block: 6px; }
.marquee__item {
  flex: none; display: grid; place-items: center;
  width: clamp(200px, 17vw, 240px); height: 128px; padding: 18px 26px;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.marquee__item:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .3); }
.marquee__item img { height: var(--h, 60px); width: auto; max-width: 100%; max-height: 84px; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 46s linear infinite; }
  [dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; justify-content: center; }
  .marquee__list { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); row-gap: 32px; }
  .marquee__list[aria-hidden] { display: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- About: story ---------- */
.story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.story__media { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--concrete); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.prose p:not(.lead) { color: var(--muted); }
.timeline { margin-top: 44px; border-inline-start: 2px solid var(--concrete-2); }
.timeline__item { position: relative; display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding-block: 18px; padding-inline-start: 28px; align-items: baseline; }
.timeline__item + .timeline__item { border-top: 1px solid var(--line); }
.timeline__item::before { content: ""; position: absolute; inset-inline-start: -7px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px #fff; }
.timeline__when { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.5rem; line-height: 1.1; }
[dir="rtl"] .timeline__when { font-size: 1.1rem; line-height: 1.5; }
.timeline__text { color: var(--muted); }

/* ---------- About: mission ---------- */
.mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.mission__text { margin-top: 20px; color: var(--ink-2); }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist__icon { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.checklist__icon .icon { width: 14px; height: 14px; stroke-width: 2.5; }
[dir="rtl"] .checklist__icon { margin-top: 4px; }
.checklist--cards li { background: #fff; padding: 18px 20px; border-radius: var(--radius-md); font-weight: 500; }

/* ---------- Value / client cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card {
  padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.value-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .25); }
.value-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--concrete); color: var(--orange-ink); }
.value-card__icon .icon { width: 24px; height: 24px; }
.value-card__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.55rem; line-height: 1.1; margin: 22px 0 10px; }
[dir="rtl"] .value-card__title { font-size: 1.2rem; line-height: 1.5; }
.value-card__text { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* ---------- About: people ---------- */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--concrete); }
.person__media { aspect-ratio: 4 / 3.3; overflow: hidden; }
.person__img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1s var(--ease); }
.person__img--amr-shihab { object-position: 50% 30%; }
.person:hover .person__img { transform: scale(1.03); }
.person__body { padding: 28px clamp(20px, 3vw, 40px) 40px; }
.person__role { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
[dir="rtl"] .person__role { font-family: var(--font-body); font-size: .95rem; letter-spacing: 0; font-weight: 600; }
.person__name { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.05; margin-top: 8px; }
[dir="rtl"] .person__name { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.5; }
.person__bio { color: var(--muted); margin-top: 14px; }

/* ---------- About: philosophy ---------- */
.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.philosophy__media { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); overflow: hidden; }
.philosophy__media img { width: 100%; height: 100%; object-fit: cover; }
.philosophy__quote { margin-top: 20px; }
.philosophy__quote p {
  font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.08;
}
.philosophy__quote p::before { content: "“"; color: var(--orange); margin-inline-end: .05em; }
[dir="rtl"] .philosophy__quote p { font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.6; }
[dir="rtl"] .philosophy__quote p::before { content: "”"; }
.philosophy__text { color: rgba(255, 255, 255, .72); margin-top: 24px; max-width: 54ch; }

/* ---------- Services ---------- */
.jump { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-block: clamp(32px, 4vw, 48px) 0; }
.jump__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .jump__label { font-family: var(--font-body); font-size: .9rem; letter-spacing: 0; }
.jump__list { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-list { display: grid; gap: clamp(72px, 10vw, 136px); padding-block: clamp(48px, 7vw, 96px) clamp(16px, 3vw, 32px); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.svc--flip .svc__media { order: 2; }
.svc__media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--concrete); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__copy .lead { margin-top: 18px; }
.svc__copy > p:not(.lead):not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.svc__scope-title { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 30px 0 14px; }
[dir="rtl"] .svc__scope-title { font-family: var(--font-body); font-size: .95rem; letter-spacing: 0; font-weight: 600; }
.svc__copy .btn { margin-top: 34px; }

.process__list { display: grid; grid-template-columns: repeat(5, 1fr); }
.process__step { position: relative; padding: 32px 22px 8px; border-inline-start: 1px solid var(--line-dark); }
.process__step::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--line-dark); }
.process__step::after { content: ""; position: absolute; top: -5px; inset-inline-start: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); }
.process__num { font-family: var(--font-mono); color: #FF8A4C; font-size: .85rem; }
.process__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.55rem; line-height: 1.1; margin: 40px 0 10px; }
[dir="rtl"] .process__title { font-size: 1.2rem; line-height: 1.5; }
.process__text { color: rgba(255, 255, 255, .7); font-size: .93rem; line-height: 1.6; }

.value-grid--3 { grid-template-columns: repeat(3, 1fr); }

.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--concrete); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq__icon .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq__a { padding-bottom: 24px; padding-inline-end: 52px; color: var(--muted); max-width: 62ch; }

/* ---------- Projects ---------- */
.gallery__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; font-size: .9rem; transition: background-color .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery__count { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
[dir="rtl"] .gallery__count { font-family: var(--font-body); font-size: .9rem; }
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry__item { break-inside: avoid; margin-bottom: 16px; }
.masonry__item[hidden] { display: none; }
.tile { position: relative; display: block; width: 100%; padding: 0; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; background: var(--concrete); color: #fff; text-align: start; }
.tile__img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 12, 12, .74), rgba(12, 12, 12, 0) 50%); pointer-events: none; }
.tile__cap { position: absolute; inset-inline: 18px; bottom: 16px; z-index: 1; display: grid; gap: 4px; }
.tile__meta { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
[dir="rtl"] .tile__meta { font-family: var(--font-body); font-size: .8rem; letter-spacing: 0; }
.tile__title { font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.tile__zoom { position: absolute; z-index: 1; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s var(--ease); }
.tile__zoom .icon { width: 18px; height: 18px; }
.tile:hover .tile__img { transform: scale(1.04); }
.tile:hover .tile__zoom, .tile:focus-visible .tile__zoom { opacity: 1; transform: none; }
.gallery__cta { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--concrete); }
.gallery__cta-title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
[dir="rtl"] .gallery__cta-title { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.5; }
.gallery__cta p { color: var(--muted); margin-top: 6px; }

.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 10, 10, .95); color: #fff; }
.lightbox::backdrop { background: rgba(10, 10, 10, .7); }
.lightbox__inner { position: relative; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 72px clamp(12px, 3vw, 32px) 24px; }
.lightbox__figure { display: grid; justify-items: center; gap: 16px; min-width: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100dvh - 180px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.lightbox__cap { display: grid; gap: 4px; text-align: center; }
.lightbox__meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
[dir="rtl"] .lightbox__meta { font-family: var(--font-body); letter-spacing: 0; font-size: .85rem; }
.lightbox__title { font-weight: 600; }
.lightbox__close, .lightbox__nav { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; }
.lightbox .icon { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 12px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--concrete); }
.contact-card__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; }
.contact-card__icon .icon { width: 20px; height: 20px; }
.contact-card__title { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
[dir="rtl"] .contact-card__title { font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; }
.contact-card__line { display: inline-block; font-weight: 600; font-size: 1.02rem; line-height: 1.5; margin-inline-end: 18px; }
a.contact-card__line:hover { color: var(--orange-ink); }
.prompts { display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; padding: 26px 28px; border-radius: 16px; border: 1px solid var(--line); }
.prompts .checklist { grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.prompts__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: 1.6rem; line-height: 1.1; }
[dir="rtl"] .prompts__title { font-size: 1.25rem; line-height: 1.5; }

.form-card {
  background: #fff; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, .28), 0 0 0 1px var(--line);
  border-bottom: 5px solid var(--orange);
}
.form-card__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1; }
[dir="rtl"] .form-card__title { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.5; }
.form-card__intro { color: var(--muted); font-size: .875rem; margin: 10px 0 26px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid transparent; background: var(--concrete); color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #8A8884; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--ink); outline: 3px solid rgba(250, 80, 0, .35); outline-offset: 0; }
.field select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
[dir="rtl"] .field select { background-position: left 16px center; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field.is-invalid input { border-color: var(--error); background: #FEF3F2; }
.field__error { color: var(--error); font-size: .84rem; margin-top: 6px; }
.field__error:empty { display: none; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form__status { padding: 14px 16px; border-radius: 12px; background: #ECFDF3; color: #05603A; font-weight: 500; font-size: .95rem; }
.form__alt { font-size: .92rem; color: var(--muted); }
.form__alt a { color: var(--ink); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- Footer ---------- */
.site-footer { padding: 0 var(--frame) var(--frame); }
.site-footer__frame {
  background: var(--ink); color: #fff; border-radius: var(--radius-xl); overflow: hidden;
  padding-top: clamp(56px, 7vw, 104px);
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2));
}
.footer-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 64px; align-items: end; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-cta__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: .94; margin-top: 16px; text-wrap: balance; }
[dir="rtl"] .footer-cta__title { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.35; }
.footer-cta__text { color: rgba(255, 255, 255, .72); max-width: 54ch; margin-top: 18px; }
.footer-cta__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.footer-cta__phone { display: inline-flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 600; }
.footer-cta__phone-icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.footer-cta__phone-icon .icon { width: 18px; height: 18px; }
.footer-cta__phone:hover .footer-cta__phone-icon { background: var(--orange); border-color: var(--orange); }
.footer-cta__phone-label { color: rgba(255, 255, 255, .6); font-weight: 500; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr; gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
.footer-brand__blurb { color: rgba(255, 255, 255, .66); margin-top: 18px; max-width: 36ch; font-size: .95rem; }
.footer-col__title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
[dir="rtl"] .footer-col__title { font-family: var(--font-body); font-size: .9rem; letter-spacing: 0; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col li { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #FF8A4C; }

.footer-wordmark { margin-inline: calc(-1 * max(var(--gutter), calc((100% - var(--maxw)) / 2)) + 0px); overflow: hidden; display: flex; justify-content: center; }
.footer-wordmark__text {
  font-family: var(--font-num); font-stretch: 62%; font-weight: 800;
  font-size: clamp(3.2rem, 14.2vw, 16rem); line-height: .78; letter-spacing: -.01em;
  white-space: nowrap; color: #fff; margin-bottom: -.1em;
  background: linear-gradient(to bottom, #fff 30%, rgba(255, 255, 255, .25));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
[dir="rtl"] .footer-wordmark__text { font-family: var(--font-display); font-stretch: 100%; font-size: clamp(2.6rem, 10.4vw, 10.5rem); line-height: 1.2; margin-bottom: -.34em; }
.footer-bottom {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  padding-block: 22px 26px; border-top: 1px solid var(--line-dark);
  font-size: .85rem; color: rgba(255, 255, 255, .58);
}
.footer-bottom__links { display: flex; align-items: center; gap: 20px; }
.lang-switch--plain { min-height: 0; padding: 0; border: 0; color: #fff; }
.lang-switch--plain:hover { background: none; color: #FF8A4C; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.to-top .icon { width: 16px; height: 16px; }
.to-top:hover { color: #FF8A4C; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; max-width: 1200px; margin-inline: auto; padding: clamp(24px, 5vw, 64px); display: flex; flex-direction: column; gap: clamp(24px, 4vw, 48px); }
.notfound__code { font-family: var(--font-num); font-stretch: 62%; font-weight: 800; font-size: clamp(9rem, 32vw, 24rem); line-height: .8; color: var(--orange); }
.notfound__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.notfound__cols > div { display: grid; gap: 16px; justify-items: start; align-content: start; }
.notfound__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
[dir="rtl"] .notfound__title { line-height: 1.4; font-size: clamp(1.5rem, 3vw, 2.3rem); }
.notfound p:not(.notfound__code) { color: var(--muted); }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
}

@media (max-width: 1100px) {
  .hero__card { display: none; }
  .ring { inset-inline-end: calc(var(--frame) + clamp(24px, 4vw, 56px)); }
}

@media (max-width: 960px) {
  :root { --radius-xl: 22px; --header-h: 80px; }
  .ph-about, .ph-services__head, .ph-contact { grid-template-columns: 1fr; }
  .ph-about__media { min-height: 420px; }
  .ph-about__main { inset-inline-start: 8%; bottom: 16%; }
  .ring.ring--about { width: 112px; height: 112px; }
  .svc-tiles { grid-template-columns: 1fr; }
  .svc-tile { aspect-ratio: 16 / 10; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento__panel { grid-column: 1 / -1; grid-row: auto; }
  .bento__tile--1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .bento__tile--2, .bento__tile--3 { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .prompts { grid-template-columns: 1fr; }
  .prompts .checklist { grid-template-columns: 1fr; }
  .intro__grid, .method__grid, .story__grid, .mission__grid, .philosophy, .svc, .faq__grid, .contact__grid, .footer-cta { grid-template-columns: 1fr; }
  .disc-grid { grid-template-columns: 1fr; }
  .disc-card__link { aspect-ratio: 4 / 3.4; }
  .cap-grid, .value-grid, .value-grid--3 { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .feat-card--1 { grid-row: auto; }
  .feat-card__link { aspect-ratio: 4 / 3; height: auto; }
  .story__aside { position: static; }
  .story__media { aspect-ratio: 16 / 10; }
  .people { grid-template-columns: 1fr; }
  .svc--flip .svc__media { order: 0; }
  .svc__media { aspect-ratio: 4 / 3; }
  .process__list { grid-template-columns: 1fr; }
  .process__step { border-inline-start: 0; border-top: 1px solid var(--line-dark); padding: 24px 0; display: grid; grid-template-columns: 3rem 1fr; column-gap: 12px; }
  .process__step::before, .process__step::after { display: none; }
  .process__num { grid-row: span 2; padding-top: 4px; }
  .process__title { margin: 0 0 6px; }

  .footer-cta__actions { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .acc__body { padding-inline-end: 0; }
}

@media (max-width: 720px) {
  .build__tick-name { display: none; }
  .build__head { flex-direction: column; align-items: flex-start; }
  .build__readout { align-items: flex-start; text-align: start; }
}

@media (max-width: 640px) {
  :root { --frame: 8px; }
  .ph-facts__value { font-size: 2.1rem; }
  .ph-facts__label { font-size: .75rem; }
  .ph-about__sub { width: 52%; }
  .ph-about__note { top: 12px; inset-inline-end: 12px; font-size: .78rem; }
  .svc-tile__body { flex-direction: column; align-items: flex-start; }
  .bento__facts { gap: 20px; }
  .contact-cards { grid-template-columns: 1fr; }
  .site-header__cta { display: none; }
  .site-header .brand__tag { display: none; }
  .brand__mark { height: 38px; }
  .site-header .brand__word { height: 17px; }
  [dir="rtl"] .site-header .brand__word { height: 21px; }
  .hero__frame { min-height: max(600px, calc(100svh - 2 * var(--frame))); }
  .hero__img, .hero__video { object-position: 74% center; }
  .hero__content { padding-bottom: 92px; }
  .hero__actions { gap: 20px; }
  .ring { width: 108px; height: 108px; bottom: calc(var(--frame) - 54px); border-width: 6px; }
  .ring__text { font-size: 11.5px; }
  .ring__icon { width: 38px; height: 38px; }
  .stats { padding-top: 88px; }
  .stats__list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stats__item:nth-child(3) { border-inline-start: 0; }
  .cap-grid, .value-grid, .value-grid--3 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .timeline__item { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lightbox__inner { grid-template-columns: 1fr; padding-inline: 12px; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { inset-inline-start: 20px; }
  .lightbox__nav--next { inset-inline-end: 20px; }
  .lightbox__img { max-height: calc(100dvh - 240px); }
  .notfound__cols { grid-template-columns: 1fr; }
  .faq__a { padding-inline-end: 0; }
}
