/* Saad Delivery: long exposure at dusk, Avenue Mohammed V */

:root {
  --night: #07122a;
  --dusk: #0b1a38;
  --dusk-2: #14305c;
  --dusk-3: #1e3f73;
  --ink: #f6eee4;
  --ink-2: #cdbcab;
  --pise: #e9a97c;
  --pise-2: #f2c9a0;
  --sodium: #ff6a13;
  --amber: #ffa62b;
  --flare: #ffe9cc;
  --line: rgba(242, 201, 160, 0.14);
  --line-strong: rgba(242, 201, 160, 0.3);
  --veil: rgba(7, 18, 42, 0.8);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-latin: "Archivo", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --topbar-h: 4.75rem;
  --lanebar-h: 3.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
  accent-color: var(--amber);
  caret-color: var(--amber);
}

:root[lang="ar"] {
  --font-display: "Archivo", "Noto Kufi Arabic", system-ui, sans-serif;
  --font-body: "Archivo", "Noto Sans Arabic", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lanebar-h) + 0.5rem);
  scrollbar-color: var(--dusk-3) var(--night);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    linear-gradient(180deg, #050d22 0%, #11274f 48%, #262c50 57%, #4e3a4c 60%, #10172e 61.5%, #040a18 100%) fixed,
    var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:lang(ar) body {
  font-size: 1.06rem;
  line-height: 1.7;
}

::selection {
  background: var(--sodium);
  color: var(--night);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--night);
}
::-webkit-scrollbar-thumb {
  background: var(--dusk-3);
  border-radius: 999px;
  border: 2px solid var(--night);
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  z-index: 60;
  top: -5rem;
  inset-inline-start: 1rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--night);
  font-weight: 800;
  text-decoration: none;
  transition: top 0.3s var(--ease-out);
}

.skip:focus {
  top: 1rem;
}

/* The long exposure */

#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  opacity: 0;
  transition: opacity 1.4s ease-out;
  pointer-events: none;
}

.has-scene #scene {
  opacity: 1;
}

/* No-WebGL fallback: light trails running below the horizon line */
.trails-fallback {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.trails-fallback span {
  position: absolute;
  top: calc(64% + var(--i) * 2.2%);
  left: 0;
  width: calc(26vw + var(--i) * 2.5vw);
  height: calc(2px + var(--i) * 0.35px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 106, 19, 0), var(--sodium) 70%, var(--flare));
  opacity: 0;
  animation: trail-run calc(2.4s + var(--i) * 0.31s) linear calc(var(--i) * -0.77s) infinite;
}

.trails-fallback span:nth-child(3n) {
  background: linear-gradient(90deg, rgba(255, 166, 43, 0), var(--amber) 70%, #fff4e0);
}

[dir="rtl"] .trails-fallback span {
  animation-direction: reverse;
  background: linear-gradient(270deg, rgba(255, 106, 19, 0), var(--sodium) 70%, var(--flare));
}

[dir="rtl"] .trails-fallback span:nth-child(3n) {
  background: linear-gradient(270deg, rgba(255, 166, 43, 0), var(--amber) 70%, #fff4e0);
}

@keyframes trail-run {
  0% {
    opacity: 0;
    transform: translateX(-40vw);
  }
  15%,
  80% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateX(110vw);
  }
}

/* On wide screens the trails keep to the scene's side, clear of the hero copy */
@media (min-width: 761px) {
  .trails-fallback span {
    animation-name: trail-run-wide;
  }

  [dir="rtl"] .trails-fallback span {
    animation-name: trail-run-wide-rtl;
    animation-direction: normal;
  }
}

@keyframes trail-run-wide {
  0% {
    opacity: 0;
    transform: translateX(34vw);
  }
  20%,
  80% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateX(104vw);
  }
}

@keyframes trail-run-wide-rtl {
  0% {
    opacity: 0;
    transform: translateX(14vw);
  }
  20%,
  80% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translateX(-40vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trails-fallback span {
    opacity: 0.45;
    transform: translateX(calc(30vw + var(--i) * 5vw));
  }
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* Top bar */

.topbar {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  height: var(--topbar-h);
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-inline-end: auto;
  text-decoration: none;
  border-radius: 8px;
}

.brand__mark {
  width: auto;
  height: 2.55rem;
}

.brand__word {
  font-family: var(--font-latin);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__lit {
  color: var(--sodium);
}

.topnav {
  display: flex;
  gap: 1.75rem;
}

.topnav a {
  position: relative;
  padding-block: 0.45rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.3s;
}

.topnav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sodium), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

[dir="rtl"] .topnav a::after {
  transform-origin: right;
}

.topnav a:hover {
  color: var(--ink);
}

.topnav a:hover::after {
  transform: scaleX(1);
}

.langs {
  display: flex;
  gap: 0.15rem;
  margin: 0;
  padding: 0.22rem;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.langs a {
  display: block;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-latin);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
}

.langs a:lang(ar) {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
  letter-spacing: 0;
  line-height: 1.3;
}

.langs a:not([aria-current]):hover {
  color: var(--ink);
}

.langs a[aria-current="page"] {
  background: var(--ink);
  color: var(--night);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--lanebar-h));
  padding: calc(var(--topbar-h) + clamp(1.25rem, 4vh, 3rem)) var(--gutter) clamp(2.5rem, 7vh, 4.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 18, 42, 0.8) 0%, rgba(7, 18, 42, 0.52) 36%, rgba(7, 18, 42, 0) 64%);
}

[dir="rtl"] .hero::before {
  background: linear-gradient(270deg, rgba(7, 18, 42, 0.8) 0%, rgba(7, 18, 42, 0.52) 36%, rgba(7, 18, 42, 0) 64%);
}

.hero__copy {
  max-width: min(56rem, 100%);
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2.5rem, 1rem + 5.6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.display .lit {
  color: var(--sodium);
}

:lang(ar) .display,
:lang(ar) .h2,
:lang(ar) .lane__title {
  font-stretch: 100%;
  letter-spacing: 0;
  line-height: 1.35;
}

:lang(ar) .display {
  font-size: clamp(2.3rem, 1rem + 4.6vw, 5.2rem);
  line-height: 1.3;
}

.hero__lead {
  max-width: 40ch;
  margin-top: clamp(1.25rem, 3vh, 2rem);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero .actions {
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin: clamp(1.25rem, 3vh, 1.75rem) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 650;
  font-stretch: 110%;
  color: var(--ink-2);
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.facts li::before {
  content: "";
  flex: none;
  width: 1.15rem;
  height: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 106, 19, 0), var(--sodium));
}

[dir="rtl"] .facts li::before {
  background: linear-gradient(270deg, rgba(255, 106, 19, 0), var(--sodium));
}

@media (prefers-reduced-motion: no-preference) {
  .hero .display,
  .hero__lead,
  .hero .actions,
  .facts {
    animation: rise 1.3s var(--ease-out) both;
  }
  .hero__lead {
    animation-delay: 0.12s;
  }
  .hero .actions {
    animation-delay: 0.22s;
  }
  .facts {
    animation-delay: 0.32s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Call + WhatsApp: always together, same order */

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 34rem;
}

.btn {
  --btn-bg: var(--sodium);
  --btn-glow: rgba(255, 106, 19, 0.6);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon label" "icon sub";
  align-items: center;
  column-gap: 0.8rem;
  min-height: 4rem;
  padding-block: 0.8rem;
  padding-inline: 1.1rem 1.4rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--night);
  text-decoration: none;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.btn--wa {
  --btn-bg: var(--amber);
  --btn-glow: rgba(255, 166, 43, 0.55);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 246, 232, 0.6) 50%, transparent 70%);
  transform: translateX(-120%);
}

[dir="rtl"] .btn::after {
  transform: translateX(120%);
}

.btn__icon {
  grid-area: icon;
  width: 1.5rem;
  height: 1.5rem;
}

.btn__label {
  grid-area: label;
  font-size: 1.08rem;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.15;
}

.btn__sub {
  grid-area: sub;
  overflow: hidden;
  font-family: var(--font-latin);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.25;
  color: rgba(7, 18, 42, 0.8);
  white-space: nowrap;
  text-overflow: ellipsis;
}

:lang(ar) .btn__sub {
  font-family: var(--font-body);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px var(--btn-glow);
}

.btn:hover::after {
  transform: translateX(120%);
  transition: transform 0.9s var(--ease-out);
}

[dir="rtl"] .btn:hover::after {
  transform: translateX(-120%);
}

.btn:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.btn:focus-visible {
  outline-color: var(--ink);
  border-radius: 999px;
}

/* Lane bar: the catalogue's entrance at the foot of the first viewport, then sticky */

.lanebar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: stretch;
  gap: clamp(1.25rem, 3.5vw, 3.5rem);
  height: var(--lanebar-h);
  padding-inline: var(--gutter);
  overflow-x: auto;
  background: rgba(7, 18, 42, 0.95);
  border-block: 1px solid var(--line-strong);
  scrollbar-width: none;
}

.lanebar::-webkit-scrollbar {
  display: none;
}

.lanebar a {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  font-stretch: 112%;
  color: var(--ink-2);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.3s;
}

.lanebar a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--sodium), var(--amber) 60%, var(--flare));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

[dir="rtl"] .lanebar a::after {
  background: linear-gradient(270deg, var(--sodium), var(--amber) 60%, var(--flare));
  transform-origin: right;
}

.lanebar a:hover,
.lanebar a[aria-current="true"] {
  color: var(--ink);
}

.lanebar a[aria-current="true"]::after {
  transform: scaleX(1);
}

.lanebar a:focus-visible {
  outline-offset: -2px;
}

.lane-short {
  display: none;
}

@media (max-width: 720px) {
  .lanebar {
    gap: 1.1rem;
  }

  .lanebar a {
    font-size: 0.9rem;
  }

  .lane-long {
    display: none;
  }

  .lane-short {
    display: inline;
  }
}

/* Catalogue */

.catalogue {
  position: relative;
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}

/* The veil is its own layer so a selection can let the city flash through it */
.catalogue::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--veil);
  transition: opacity 1.5s var(--ease-out);
}

.catalogue.is-flash::before {
  opacity: 0.5;
  transition-duration: 0.18s;
}

.catalogue__head {
  display: grid;
  gap: 1.25rem;
  max-width: 64rem;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter) 0;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2rem, 1.1rem + 3vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.catalogue__head p {
  max-width: 48ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  color: var(--ink-2);
  text-wrap: pretty;
}

.lane {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  scroll-margin-top: var(--lanebar-h);
}

.lane__title {
  position: relative;
  padding: 0 var(--gutter) 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.55rem, 1rem + 2.3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--line-strong);
}

.lane__title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sodium) 0%, var(--amber) 26%, rgba(255, 166, 43, 0) 64%);
  transform-origin: left;
}

[dir="rtl"] .lane__title::after {
  background: linear-gradient(270deg, var(--sodium) 0%, var(--amber) 26%, rgba(255, 166, 43, 0) 64%);
  transform-origin: right;
}

.js .lane__title::after {
  transform: scaleX(0);
  transition: transform 1.8s var(--ease-out);
}

.js .lane.is-lit .lane__title::after {
  transform: scaleX(1);
}

.groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(15.5rem, 100%), 1fr));
  column-gap: clamp(1.5rem, 3.5vw, 3.5rem);
  padding-inline: var(--gutter);
}

.group {
  min-width: 0;
}

/* Other partners: a closing line across the whole lane */
.group--wide {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
  margin-top: 2.25rem;
}

.group--wide::before,
.group--wide::after {
  content: "";
  position: absolute;
  inset-inline: calc(-1 * var(--gutter));
  height: 1px;
  background: var(--line-strong);
}

.group--wide::before {
  top: 0;
}

.group--wide::after {
  bottom: 0;
}

.group--wide .group__title {
  padding: 0;
}

.group--wide .item {
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 1.5rem;
  padding-block: 1.35rem;
  border-bottom: 0;
}

.group--wide .item__desc {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.group--wide .item__go {
  grid-column: 3;
  grid-row: 1;
}

@media (max-width: 720px) {
  .group--wide {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 1.5rem;
  }

  .group--wide .group__title {
    padding-top: 1.25rem;
  }

  .group--wide .item {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 0.6rem 1.1rem;
  }

  .group--wide .item__desc {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0.2rem;
  }

  .group--wide .item__go {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.group__title {
  padding: 1.9rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 750;
  font-stretch: 112%;
  color: var(--amber);
}

.items,
.features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  column-gap: clamp(1.5rem, 3.5vw, 3.5rem);
  padding-inline: var(--gutter);
}

/* A service is a row on its lane baseline */

.item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  padding: 0.95rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font: inherit;
  color: inherit;
  text-align: start;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.item__name {
  font-size: 1.14rem;
  font-weight: 650;
  font-stretch: 104%;
  line-height: 1.25;
  transition: color 0.3s;
}

.item__desc {
  grid-column: 1;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.item__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--ink-2);
  transition: transform 0.45s var(--ease-out), color 0.3s;
}

[dir="rtl"] .item__go {
  transform: scaleX(-1);
}

.item::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 166, 43, 0), var(--amber) 72%, var(--flare));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out), opacity 0.3s;
}

[dir="rtl"] .item::after {
  background: linear-gradient(270deg, rgba(255, 166, 43, 0), var(--amber) 72%, var(--flare));
  transform-origin: right;
}

.item:hover .item__name,
.item:focus-visible .item__name {
  color: var(--pise-2);
}

.item:hover .item__go,
.item:focus-visible .item__go {
  color: var(--amber);
  transform: translateX(0.3rem);
}

[dir="rtl"] .item:hover .item__go,
[dir="rtl"] .item:focus-visible .item__go {
  transform: translateX(-0.3rem) scaleX(-1);
}

.item:hover::after,
.item:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.item:focus-visible {
  outline-offset: 4px;
}

.item[aria-pressed="true"] .item__name {
  color: var(--sodium);
}

.item[aria-pressed="true"] .item__go {
  color: var(--sodium);
}

.item[aria-pressed="true"]::after {
  opacity: 1;
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--sodium), var(--amber) 70%, var(--flare));
}

[dir="rtl"] .item[aria-pressed="true"]::after {
  background: linear-gradient(270deg, var(--sodium), var(--amber) 70%, var(--flare));
}

.item.is-firing::after {
  animation: fire 0.9s var(--ease-out);
}

@keyframes fire {
  from {
    opacity: 1;
    transform: scaleX(0);
    filter: brightness(1.8);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
    filter: brightness(1);
  }
}

.item--lg {
  align-items: start;
  padding-block: 1.6rem 1.5rem;
}

.item--lg .item__name {
  font-family: var(--font-display);
  font-weight: 750;
  font-stretch: 115%;
  font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem);
  line-height: 1.15;
}

:lang(ar) .item--lg .item__name {
  font-stretch: 100%;
  line-height: 1.45;
}

.item--lg .item__desc {
  max-width: 34ch;
  margin-top: 0.6rem;
  font-size: 1rem;
}

.item--lg .item__go {
  grid-row: 1;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.35rem;
}

/* The ride: one real photograph, the quiet passage */

.ride {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  min-height: clamp(28rem, 50vw, 46rem);
  overflow: hidden;
  background: var(--night);
}

/* The photograph dissolves into the dusk on every edge and is graded toward it */
.ride__photo {
  --fade-x: linear-gradient(90deg, transparent 0%, #000 36%, #000 92%, transparent 100%);
  --fade-y: linear-gradient(180deg, transparent 0%, #000 18%, #000 80%, transparent 100%);
  position: relative;
  grid-area: 1 / 2 / 2 / 3;
  align-self: stretch;
  margin: 0;
  -webkit-mask-image: var(--fade-x), var(--fade-y);
  -webkit-mask-composite: source-in;
  mask-image: var(--fade-x), var(--fade-y);
  mask-composite: intersect;
}

[dir="rtl"] .ride__photo {
  --fade-x: linear-gradient(270deg, transparent 0%, #000 36%, #000 92%, transparent 100%);
}

.ride__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 45%;
  filter: saturate(0.82) contrast(1.06) brightness(0.9);
}

.ride__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #14305c 0%, #3a2f4f 55%, #0b1a38 100%);
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.ride__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(7, 18, 42, 0.55) 0%, rgba(7, 18, 42, 0) 40%, rgba(7, 18, 42, 0.3) 100%);
}

.ride__copy {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1 / 2 / 2;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}

.ride__copy p {
  max-width: 34ch;
  margin-top: 1.5rem;
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem);
  color: var(--ink-2);
  text-wrap: pretty;
}

.ride__copy .ride__words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem);
  color: var(--amber);
}

:lang(ar) .ride__words {
  font-stretch: 100%;
}

.display--m {
  font-size: clamp(2.2rem, 1rem + 4vw, 5rem);
}

:lang(ar) .display--m {
  font-size: clamp(2rem, 1rem + 3.4vw, 4.2rem);
}

/* Contact: the close */

.contact {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
  background: var(--veil);
}

.contact__phone {
  display: inline-block;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-latin);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.9rem, 0.5rem + 6.6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
  border-radius: 8px;
  transition: color 0.3s;
}

.contact__phone:hover {
  color: var(--sodium);
}

.contact .actions {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.contact__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  column-gap: clamp(1.5rem, 3vw, 3rem);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  border-top: 1px solid var(--line-strong);
}

.contact__facts div {
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.contact__facts dt {
  font-size: 0.82rem;
  font-weight: 700;
  font-stretch: 110%;
  color: var(--ink-2);
}

.contact__facts dd {
  margin: 0.3rem 0 0;
  font-size: 1.08rem;
  font-weight: 650;
}

.contact__facts dd a {
  text-decoration: none;
  overflow-wrap: anywhere;
  border-radius: 4px;
}

.contact__facts dd a:hover {
  color: var(--amber);
  text-decoration: underline;
}

/* Footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding: 2rem var(--gutter) calc(2rem + 6rem);
  background: var(--night);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-2);
}

.footer img {
  width: auto;
  height: 2rem;
}

.footer p {
  margin-inline-end: auto;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--ink);
}

/* Order dock */

.dock {
  position: fixed;
  z-index: 30;
  inset-inline: 0;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.5rem;
  width: min(46rem, calc(100% - 1.5rem));
  margin-inline: auto;
  padding: 0.45rem;
  padding-inline-start: 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 18, 42, 0.96);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.75);
  transform: translateY(calc(100% + 2rem));
  transition: transform 0.6s var(--ease-out);
}

.dock.is-visible {
  transform: none;
}

.dock__status {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--ink-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dock__status strong {
  font-weight: 750;
  color: var(--sodium);
}

.dock__clear {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.dock__clear[hidden] {
  display: none;
}

.dock__clear:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}

.dock__clear svg {
  width: 0.9rem;
  height: 0.9rem;
}

.dock__actions {
  display: flex;
  gap: 0.4rem;
}

.btn--sm {
  grid-template-areas: "icon label";
  min-height: 2.9rem;
  padding-block: 0.55rem;
  padding-inline: 0.95rem 1.15rem;
  column-gap: 0.55rem;
}

.btn--sm .btn__icon {
  width: 1.2rem;
  height: 1.2rem;
}

.btn--sm .btn__label {
  font-size: 0.95rem;
}

.dock.is-pulse .btn--wa {
  animation: pulse 1.4s var(--ease-out);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 166, 43, 0.7);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(255, 166, 43, 0);
  }
}

/* Small screens */

@media (max-width: 860px) {
  .topnav {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero::before,
  [dir="rtl"] .hero::before {
    background: linear-gradient(180deg, rgba(7, 18, 42, 0.7) 0%, rgba(7, 18, 42, 0.5) 42%, rgba(7, 18, 42, 0) 66%);
  }

  .hero {
    justify-content: flex-start;
    padding-top: calc(var(--topbar-h) + 2.5rem);
  }

  .ride {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .ride__photo,
  [dir="rtl"] .ride__photo {
    --fade-x: linear-gradient(90deg, #000, #000);
    --fade-y: linear-gradient(180deg, transparent 0%, #000 16%, #000 55%, transparent 100%);
    grid-area: 1 / 1 / 2 / 2;
    height: clamp(17rem, 70vw, 26rem);
  }

  .ride__copy {
    grid-area: 2 / 1 / 3 / 2;
    margin-top: -2.5rem;
    padding-top: 0;
  }

  .dock {
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 1.4rem;
    padding: 0.6rem;
    row-gap: 0.55rem;
  }

  .dock__status {
    padding-inline: 0.5rem;
    font-size: 0.85rem;
  }

  .dock__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dock__clear {
    width: 2rem;
    height: 2rem;
  }

  .btn--sm {
    justify-content: center;
    grid-template-columns: auto auto;
  }
}

@media (max-width: 480px) {
  :root {
    --topbar-h: 4.25rem;
  }

  .brand__mark {
    height: 2.15rem;
  }

  .brand__word {
    font-size: 0.86rem;
  }

  .langs a {
    padding: 0.3rem 0.55rem;
  }

  .btn {
    column-gap: 0.6rem;
    padding-inline: 0.9rem 1rem;
  }

  .btn__icon {
    width: 1.3rem;
    height: 1.3rem;
  }
}

@media (max-width: 520px) {
  .brand__word {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
