@font-face {
  font-family: "AWAB Alexandria";
  src: url("hero93/Alexandria.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "AWAB Plex Arabic";
  src: url("hero93/Plex.woff2") format("woff2");
  font-display: swap;
}

/* Keep service, work and contact typography in the same Arabic reading family. */
.aw-site:lang(ar) {
  --font-body: "AWAB Plex Arabic", Tahoma, sans-serif;
  --font-display: "AWAB Alexandria", Tahoma, sans-serif;
  font-family: var(--font-body);
}
/* The same portrait canvas and reading order serve both language layouts. */
.aw-site section.aw-hero.aw-launch {
  --edge: clamp(24px, 4.5vw, 90px);
  --base: clamp(42px, 6.5vh, 74px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: 460px;
  height: calc(100vh - 64px);
  height: calc(100svh - 64px);
  max-height: 69vw;
  color: var(--aw-text);
  background: radial-gradient(ellipse at 50% 78%, rgb(63 132 86 / .12), transparent 63%);
}
.aw-launch-name b {
  position: absolute;
  font: 820 min(14.6vw, 30svh)/1.08 "AWAB Alexandria", sans-serif;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.aw-launch-name .aw-given-name { inset-inline-start: var(--edge); top: 7%; color: var(--aw-accent); }
.aw-launch-name .aw-family-name { inset-inline-end: var(--edge); bottom: calc(var(--base) + 74px); font-size: 4.35vw; }
.aw-site:lang(ar) .aw-launch-name b { letter-spacing: normal; line-height: 1.28; }
.aw-site:lang(ar) .aw-launch-name .aw-given-name { font-size: min(13.7vw, 28svh); }
.aw-site:lang(ar) .aw-launch-name .aw-family-name { font-size: 6.25vw; }
.aw-launch-portrait {
  position: absolute;
  z-index: 1;
  height: 98%;
  width: auto;
  aspect-ratio: 405 / 654;
  max-width: 39%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
}
.aw-launch-portrait img {
  width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  mask-image: linear-gradient(to bottom, #000 95%, transparent 100%);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .aw-launch-portrait {
    translate: var(--aw-follow-x, 0px) 0;
    transition: translate 220ms ease-out, filter 220ms ease-out;
  }
  .aw-launch-portrait:hover {
    filter: drop-shadow(0 0 2px rgb(151 230 90 / .76)) drop-shadow(0 0 8px rgb(83 207 101 / .36));
  }
  @supports (background-clip: text) {
    .aw-launch .aw-ink-active {
      background-image: radial-gradient(circle at var(--aw-ink-x) var(--aw-ink-y), var(--aw-ink-color) 0 46px, var(--aw-ink-rest) 48px);
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
}
.aw-launch-copy {
  position: absolute; z-index: 2; inset-inline-start: var(--edge); bottom: var(--base);
  max-width: 35%; text-align: start;
}
.aw-site .aw-launch .aw-launch-copy #hero-title {
  font: 640 clamp(21px, min(2.35vw, 5.2svh), 49px)/1.22 "AWAB Alexandria", sans-serif;
  max-width: none; margin: 0; letter-spacing: -.045em;
}
.aw-site:lang(ar) .aw-launch .aw-launch-copy #hero-title { letter-spacing: normal; line-height: 1.42; }
.aw-launch-copy h1 > * { display: block; white-space: nowrap; }
.aw-launch-copy h1 span:first-child { font-size: .83em; }
.aw-launch-copy h1 span:nth-child(2) { font-size: 1.08em; }
.aw-launch-copy h1 em { font: inherit; font-size: 1.1em; color: var(--aw-accent); }
.aw-launch-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: clamp(16px, 2.8vh, 30px); }
.aw-launch-actions a {
  display: inline-grid; place-items: center; min-height: 44px;
  padding: 5px 18px; border-radius: 11px; border: 1px solid var(--aw-border);
  background: var(--aw-bg); color: var(--aw-text); font: 600 16px/1.5 var(--font-body);
  text-decoration: none;
}
.aw-launch-actions a:first-child { color: #132011; background: #a2d34c; border-color: transparent; }
.aw-client-marks {
  position: absolute; z-index: 2; inset-inline-end: var(--edge); bottom: var(--base);
  display: flex; align-items: center; list-style: none; padding: 0; margin: 0;
}
.aw-client-marks li { padding-inline: clamp(9px,1.7vw,28px); margin: 0; }
.aw-client-marks li:first-child { padding-inline-start: 0; }
.aw-client-marks li:last-child { padding-inline-end: 0; }

.aw-client-marks img { display: block; width: auto; height: clamp(34px,3.9vw,60px); object-fit: contain; filter: brightness(.13); }
.aw-client-marks li:first-child img { width: clamp(74px,8.4vw,144px); }
html[data-theme=dark] .aw-client-marks img { filter: none; }
.aw-contact-dock {
  position: fixed; left: max(10px,env(safe-area-inset-left)); bottom: max(10px,env(safe-area-inset-bottom));
  z-index: 8; display: grid; gap: 3px; direction: ltr;
}
.aw-contact-dock details,.aw-contact-dock summary,.aw-contact-dock .aw-dock-wa { padding: 0; margin: 0; border: 0; background: transparent; }
.aw-contact-dock details { position: relative; }
.aw-contact-dock summary,.aw-contact-dock .aw-dock-wa { width: 44px; height: 44px; display: grid; place-items: center; list-style: none; cursor: pointer; }
.aw-contact-dock summary::-webkit-details-marker { display: none; }
.aw-contact-dock img { height: auto; filter: drop-shadow(0 1px 1px #25342a) drop-shadow(0 1px 3px #0005); }
.aw-dock-languages { position: absolute; left: 49px; bottom: 0; height: 44px; padding: 0 7px; display: flex; align-items: stretch; isolation: isolate; }
.aw-dock-languages::before { content: ""; position: absolute; inset: 5px 0; border-radius: 9px; background: var(--aw-surface); border: 1px solid var(--aw-border); z-index: -1; box-shadow: 0 4px 14px #0002; }
.aw-dock-languages a { display: grid; min-width: 44px; place-items: center; padding: 0 7px; color: var(--aw-text); font: 15px/1.2 var(--font-body); }
.aw-contact-dock :focus-visible,.aw-launch-actions a:focus-visible { outline: 3px solid var(--aw-sky); outline-offset: 2px; border-radius: 6px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .aw-launch-actions a,.aw-contact-dock img { transition: transform .16s ease; }
  .aw-launch-actions a:hover,.aw-contact-dock :is(summary,a):hover img { transform: translateY(-2px); }
}
@media (max-width: 760px) {
  .aw-site section.aw-hero.aw-launch {
    --edge: clamp(16px,4vw,26px); --base: max(26px, env(safe-area-inset-bottom));
    min-height: 495px; height: calc(100vh - 56px); height: calc(100svh - 56px); max-height: 980px;
  }
  .aw-launch-name .aw-given-name, .aw-site:lang(ar) .aw-launch-name .aw-given-name { font-size: 17vw; top: 8%; }
  .aw-launch-name .aw-family-name, .aw-site:lang(ar) .aw-launch-name .aw-family-name {
    inset-inline: var(--edge) auto; top: calc(8% + 23vw); bottom: auto; font-size: 7.2vw;
  }
  .aw-site:lang(ar) .aw-launch-name .aw-family-name { font-size: 11.5vw; }
  .aw-launch-portrait {
    inset-inline-end: auto; left: 72%; bottom: 13%; height: 86%; max-width: none; transform: translateX(-50%);
  }
  .aw-site:lang(ar) .aw-launch-portrait { left: 28%; }
  .aw-launch-portrait img { object-fit: contain; }
  .aw-site:lang(en) .aw-launch-portrait img { object-position: 63% top; }
  .aw-launch-copy { bottom: calc(var(--base) + clamp(68px, 17vw, 95px)); max-width: 61%; }
  .aw-site .aw-launch .aw-launch-copy #hero-title { font-size: clamp(21px,5.58vw,39px); }
  .aw-site:lang(ar) .aw-launch .aw-launch-copy #hero-title { font-size: clamp(26.5px,6.56vw,44px); }
  .aw-launch-actions { flex-direction: column; align-items: stretch; width: max-content; max-width: 100%; gap: 7px; margin-top: 14px; }
  .aw-launch-actions a { padding-inline: 12px; font-size: 14px; min-height: 44px; }
  .aw-client-marks {
    inset-inline: max(49px, 7%) max(49px, 7%); bottom: var(--base);
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center;
    gap: clamp(6px, 2vw, 16px);
  }
  .aw-client-marks li { padding: 0; display: grid; place-items: center; }
  .aw-client-marks li img, .aw-client-marks li:first-child img {
    width: 100%; height: clamp(47px, 13vw, 76px); object-fit: contain;
  }
}
@media (max-width:760px) and (min-aspect-ratio: 3/4) {
  .aw-launch-name .aw-given-name, .aw-site:lang(ar) .aw-launch-name .aw-given-name { top: 0; font-size: 12vw; }
  .aw-launch-name .aw-family-name, .aw-site:lang(ar) .aw-launch-name .aw-family-name { top: 17vw; font-size: 6vw; }
}
@media (forced-colors: active) {
  .aw-launch-actions a, .aw-dock-languages::before { border: 1px solid ButtonText; }
  .aw-contact-dock summary { color: ButtonText; background: Canvas; }
}
@media print { .aw-contact-dock { display: none; } }
/* When a phone rotates, use its width to bring the two actions onto one line. */
@media (max-width: 760px) and (orientation: landscape) and (max-height: 500px) {
  .aw-site section.aw-hero.aw-launch { min-height: 400px; --base: 12px; }
  .aw-launch-name .aw-given-name, .aw-site:lang(ar) .aw-launch-name .aw-given-name {
    top: 2%; font-size: clamp(42px, 8vw, 54px);
  }
  .aw-launch-name .aw-family-name, .aw-site:lang(ar) .aw-launch-name .aw-family-name {
    top: 20%; font-size: clamp(23px, 4.2vw, 32px);
  }
  .aw-launch-copy { top: 34%; bottom: auto; max-width: 57%; }
  .aw-site .aw-launch .aw-launch-copy #hero-title,
  .aw-site:lang(ar) .aw-launch .aw-launch-copy #hero-title { font-size: clamp(20px, 3.9vw, 26px); }
  .aw-launch-actions { flex-direction: row; margin-top: 7px; }
  .aw-client-marks li img, .aw-client-marks li:first-child img { height: 47px; }
}
