:root {
  color-scheme: dark;
  --brand: #e73e1c;
  --brand-deep: #ae2d19;
  --ink: #111827;
  --near-black: #1a1a1a;
  --white: #ffffff;
  --light: #f9fafb;
  --muted: #b9c0cc;
  --line: rgba(255, 255, 255, 0.14);
  --page-pad: clamp(1rem, 4vw, 4.5rem);
  --content-max: 1180px;
  font-family: "Noto Sans Arabic", "IBM Plex Sans Arabic", Tajawal, Inter, "Segoe UI", Arial, sans-serif;
  background: var(--ink);
  color: var(--white);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(26, 26, 26, 0.2), rgba(17, 24, 39, 0.92)),
    var(--ink);
  color: var(--white);
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.background {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.background__wedge {
  position: absolute;
  display: block;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  clip-path: polygon(0 0, 100% 18%, 64% 100%, 17% 78%);
  opacity: 0.13;
}

.background__wedge--one {
  inline-size: clamp(18rem, 36vw, 44rem);
  block-size: clamp(14rem, 40vw, 42rem);
  inset-block-start: -13rem;
  inset-inline-end: -12rem;
  animation: drift 18s ease-in-out infinite alternate;
}

.background__wedge--two {
  inline-size: clamp(10rem, 21vw, 24rem);
  block-size: clamp(9rem, 23vw, 25rem);
  inset-block-end: -9rem;
  inset-inline-start: -7rem;
  opacity: 0.08;
  transform: rotate(28deg);
}

.background__grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 5%, #000 42%, transparent 94%);
}

.site-header,
.page-shell,
.site-footer {
  width: min(100%, calc(var(--content-max) + (var(--page-pad) * 2)));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(1.1rem, 2.6vw, 2.1rem);
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand__panel {
  display: inline-flex;
  align-items: center;
  width: clamp(12.5rem, 26vw, 20rem);
  padding: clamp(0.55rem, 1vw, 0.85rem) clamp(0.7rem, 1.3vw, 1.1rem);
  background: var(--white);
  clip-path: polygon(0 0, 96% 0, 100% 25%, 96% 100%, 0 100%, 4% 75%, 4% 25%);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.language-toggle {
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--brand);
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.language-toggle:hover {
  border-color: rgba(231, 62, 28, 0.7);
  background: rgba(231, 62, 28, 0.08);
}

.brand:focus-visible,
.language-toggle:focus-visible,
.contact-link:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.page-shell {
  display: flex;
  align-items: center;
  padding-block: clamp(2.25rem, 5.5vw, 5.5rem);
}

.hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(19rem, 0.86fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  align-items: center;
  animation: enter 650ms cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: #f36b50;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.55rem, 6.5vw, 5.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

[dir="rtl"] h1 {
  letter-spacing: 0;
}

.intro {
  max-width: 34rem;
  margin: clamp(1.15rem, 2.5vw, 1.75rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.1vw, 1.42rem);
  line-height: 1.8;
}

.tagline {
  width: fit-content;
  margin: clamp(1.7rem, 3.5vw, 2.5rem) 0 0;
  padding-block-start: 1rem;
  border-block-start: 2px solid var(--brand);
  color: var(--light);
  font-size: clamp(0.85rem, 1.25vw, 1rem);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

[dir="rtl"] .tagline {
  margin-inline-start: auto;
}

.identity-card {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-block-start: 4px solid var(--brand);
  background: rgba(26, 26, 26, 0.66);
}

.identity-card::after {
  content: "";
  position: absolute;
  inline-size: 3rem;
  block-size: 3rem;
  inset-block-end: -1px;
  inset-inline-end: -1px;
  background: var(--brand-deep);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.7;
}

.identity-card__heading {
  padding-block-end: 1.4rem;
  border-block-end: 1px solid var(--line);
}

.name {
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  font-weight: 750;
  line-height: 1.35;
}

.role {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.45vw, 1.07rem);
  line-height: 1.65;
}

.contact-list {
  margin-block-start: 1.35rem;
  display: grid;
  gap: 0.35rem;
  font-style: normal;
}

.contact-link {
  min-width: 0;
  min-height: 2.9rem;
  padding: 0.66rem 0.7rem;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.contact-link:not(.contact-link--static):hover {
  color: var(--white);
  background: rgba(231, 62, 28, 0.1);
  transform: translateX(var(--hover-shift, -3px));
}

[dir="ltr"] .contact-link:not(.contact-link--static):hover {
  --hover-shift: 3px;
}

.contact-link svg {
  color: #f15a3c;
}

.contact-link .whatsapp-icon {
  fill: currentColor;
  stroke: none;
}

.contact-link__text {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.55;
}

.site-footer {
  padding-block: 1.1rem 1.6rem;
  color: #929baa;
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.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;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-1.5rem, 1.25rem, 0) rotate(2deg); }
}

@media (max-width: 820px) {
  .page-shell {
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 10vw, 4rem);
  }

  .hero__copy {
    max-width: 42rem;
  }

  .identity-card {
    max-width: 38rem;
  }
}

@media (max-width: 460px) {
  .site-header {
    align-items: flex-start;
  }

  .brand__panel {
    width: min(12.2rem, 63vw);
  }

  .language-toggle {
    min-width: 3.2rem;
    padding-inline: 0.65rem;
  }

  .language-toggle svg {
    display: none;
  }

  .page-shell {
    padding-block-start: 1.75rem;
  }

  .identity-card {
    margin-inline: calc(var(--page-pad) * -0.25);
  }

  .contact-link {
    gap: 0.65rem;
    padding-inline: 0.2rem;
    font-size: 0.91rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
