/* =========================================================
   أسامة العولقي — استوديو تصميم بصري
   نظام التنسيق الرئيسي
   ========================================================= */

/* ---------- الخط ---------- */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-500.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-800.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tajawal-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/tajawal-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/tajawal-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/tajawal-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- المتغيرات والأساسيات ---------- */
:root {
  --forest: #0b3b31;
  --forest-deep: #072a23;
  --forest-soft: #124a3e;
  --ink: #12211c;
  --cream: #f7f2e8;
  --paper: #fcfaf5;
  --sand: #e9dfcf;
  --gold: #c99a5b;
  --gold-soft: #e7cfa9;
  --label: #7a5a33;
  --muted: #5d6b64;
  --clay: #a54d29;
  --wa: #0b7a3e;
  --wa-dark: #08612f;
  --line: rgba(18, 33, 28, 0.14);
  --line-light: rgba(247, 242, 232, 0.16);
  --shadow: 0 34px 80px -52px rgba(7, 42, 35, 0.55);
  --shadow-soft: 0 20px 50px -35px rgba(7, 42, 35, 0.38);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  color: var(--forest-deep);
  background: var(--gold-soft);
}

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

.shell {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 2000;
  padding: 0.7rem 1rem;
  color: var(--forest-deep);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--gold-soft);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(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;
}

/* ---------- عناصر مشتركة ---------- */
.btn {
  display: inline-flex;
  padding: 0.85rem 1.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.btn-sm {
  padding: 0.62rem 1rem;
  font-size: 0.8rem;
}

.btn-wide {
  width: 100%;
}

.btn-primary {
  color: var(--forest-deep);
  background: var(--cream);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  color: var(--cream);
  border-color: rgba(247, 242, 232, 0.26);
}

.btn-ghost:hover {
  background: rgba(247, 242, 232, 0.08);
  border-color: rgba(247, 242, 232, 0.45);
}

.btn-wa {
  color: #fff;
  background: var(--wa);
}

.btn-wa:hover {
  background: var(--wa-dark);
}

.btn-dark {
  color: var(--cream);
  background: var(--forest);
}

.btn-dark:hover {
  background: var(--forest-deep);
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.btn-outline:hover {
  color: var(--forest);
  border-color: var(--forest);
  background: rgba(11, 59, 49, 0.04);
}

.arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow,
.text-link:hover span {
  transform: translateX(-4px);
}

.label {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
  gap: 0.6rem;
  color: var(--label);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.label::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--gold);
}

.label--light {
  color: var(--gold-soft);
}

.accent {
  color: var(--gold-soft);
}

.accent-dark {
  color: var(--forest);
}

.text-link {
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  transition: color 0.25s ease;
}

.text-link:hover {
  color: var(--label);
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

.text-link--light {
  color: var(--cream);
  border-color: rgba(201, 154, 91, 0.5);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-inline-end: 0.35rem;
  background: #37c27b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(55, 194, 123, 0.13);
  vertical-align: middle;
}

/* ---------- الرأس ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--cream);
  background: rgba(7, 42, 35, 0.92);
  border-bottom: 1px solid rgba(247, 242, 232, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 42, 35, 0.98);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.7);
}

.header-bar {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--gold-soft);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(201, 154, 91, 0.08);
  border: 1px solid rgba(201, 154, 91, 0.55);
  border-radius: 50%;
}

.brand-mark::after {
  content: "";
  position: absolute;
  bottom: -1px;
  inset-inline-start: 2px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border: 2px solid var(--forest-deep);
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.04rem;
  font-weight: 800;
}

.brand-text small {
  margin-top: 0.22rem;
  color: rgba(247, 242, 232, 0.55);
  font-size: 0.62rem;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav > a {
  position: relative;
  padding: 0.55rem 0.9rem;
  color: rgba(247, 242, 232, 0.72);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.site-nav > a:hover {
  color: var(--cream);
  background: rgba(247, 242, 232, 0.06);
}

.site-nav > a[aria-current="page"] {
  color: var(--gold-soft);
}

.site-nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0.18rem;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
}

.nav-extra {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.header-wa {
  white-space: nowrap;
}

.nav-toggle {
  position: relative;
  z-index: 1001;
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(247, 242, 232, 0.22);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ---------- الواجهة ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  color: var(--cream);
  background: var(--forest-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 70% at 12% 8%, rgba(201, 154, 91, 0.13), transparent 62%),
    radial-gradient(55% 65% at 88% 18%, rgba(47, 107, 88, 0.34), transparent 72%),
    radial-gradient(60% 60% at 50% 110%, rgba(201, 154, 91, 0.08), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(247, 242, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 232, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 50% 38%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000, transparent 74%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 44rem;
}

.kicker {
  display: flex;
  margin-bottom: clamp(1.4rem, 3vw, 2.1rem);
  align-items: center;
  gap: 0.6rem;
  color: rgba(247, 242, 232, 0.62);
  font-size: 0.76rem;
  font-weight: 500;
}

.kicker-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201, 154, 91, 0.12);
}

.kicker-sep {
  color: rgba(247, 242, 232, 0.3);
}

.hero h1 {
  margin-bottom: clamp(1.4rem, 3vw, 2.1rem);
  font-size: clamp(3.4rem, 7.3vw, 7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.hero h1 .dot-end {
  color: var(--gold);
}

.hero-lead {
  max-width: 33rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
  color: rgba(247, 242, 232, 0.7);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  display: grid;
  max-width: 36rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-meta dt {
  color: rgba(247, 242, 232, 0.46);
  font-size: 0.66rem;
  font-weight: 400;
}

.hero-meta dd {
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.6;
}

.hero-art {
  position: relative;
  min-height: 550px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: 22px;
  box-shadow: 0 45px 90px -42px rgba(0, 0, 0, 0.78);
  transition: transform 0.7s var(--ease);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card figcaption {
  position: absolute;
  bottom: 0.85rem;
  inset-inline-start: 0.85rem;
  display: inline-flex;
  padding: 0.4rem 0.72rem;
  align-items: center;
  gap: 0.45rem;
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 500;
  background: rgba(7, 42, 35, 0.78);
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-card figcaption span {
  color: var(--gold-soft);
  font-weight: 700;
}

.hero-card--back {
  top: 0;
  inset-inline-start: 0;
  width: 74%;
  aspect-ratio: 16 / 10;
  transform: rotate(-3deg);
  opacity: 0.9;
}

.hero-card--front {
  bottom: 0;
  inset-inline-end: 0;
  width: 76%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--forest-deep);
  transform: rotate(2.4deg);
}

.hero-art:hover .hero-card--back {
  transform: rotate(-4.5deg) translateY(-4px);
}

.hero-art:hover .hero-card--front {
  transform: rotate(1.2deg) translateY(4px);
}

.hero-seal {
  position: absolute;
  top: 5%;
  inset-inline-end: 4%;
  z-index: 2;
  display: flex;
  width: 96px;
  height: 96px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  color: var(--gold-soft);
  line-height: 1.2;
  text-align: center;
  background: rgba(7, 42, 35, 0.62);
  border: 1px solid rgba(201, 154, 91, 0.5);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(201, 154, 91, 0.36);
  border-radius: 50%;
}

.hero-seal span {
  font-size: 0.6rem;
  font-weight: 400;
}

.hero-seal strong {
  font-size: 1.08rem;
  font-weight: 800;
}

.scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(247, 242, 232, 0.48);
  font-size: 0.68rem;
  transform: translateX(-50%);
  transition: color 0.25s ease;
}

.scroll-cue:hover {
  color: var(--gold-soft);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, transparent, rgba(201, 154, 91, 0.8));
}

/* ---------- الشريط المتحرك ---------- */
.ticker {
  overflow: hidden;
  padding: 0.95rem 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  width: max-content;
  direction: ltr;
  animation: ticker 38s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding-inline: 1.4rem;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.56rem;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- الأقسام ---------- */
.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-head {
  display: flex;
  margin-bottom: clamp(2.2rem, 4vw, 3.6rem);
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.section-head h2 {
  max-width: 17ch;
  font-size: clamp(2.3rem, 4.5vw, 4.15rem);
  font-weight: 800;
  line-height: 1.1;
}

.section-lead {
  max-width: 27rem;
  padding-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.9;
}

/* ---------- الأعمال ---------- */
.work {
  background: var(--cream);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.4vw, 3rem);
}

.work-card:nth-child(2) {
  margin-top: clamp(0rem, 5vw, 4.5rem);
}

.work-card--wide {
  grid-column: 1 / -1;
  margin-top: clamp(0.5rem, 2vw, 1.5rem);
}

.work-card--wide .work-link {
  display: grid;
  padding: clamp(0.6rem, 1.4vw, 1rem);
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.58fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.work-card--wide .work-link:hover {
  background: rgba(255, 253, 248, 0.98);
  border-color: rgba(201, 154, 91, 0.45);
}

.work-card--wide .work-media {
  aspect-ratio: 1861 / 905;
  border-radius: 20px;
  box-shadow: none;
}

.work-card--wide .work-body {
  padding: 0.5rem 0.25rem;
}

.work-card--wide .work-body h3 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.work-desc {
  max-width: 22rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.9;
}

.work-link {
  display: block;
}

.work-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 42, 35, 0.3));
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.work-link:hover .work-media img {
  transform: scale(1.045);
}

.work-link:hover .work-media::after {
  opacity: 0.85;
}

.work-index {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(7, 42, 35, 0.58);
  border: 1px solid rgba(247, 242, 232, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.work-arrow {
  position: absolute;
  bottom: 1rem;
  inset-inline-end: 1rem;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--forest);
  font-size: 1.1rem;
  background: var(--cream);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.6);
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.work-link:hover .work-arrow,
.work-link:focus-visible .work-arrow {
  opacity: 1;
  transform: translateY(0);
}

.work-body {
  padding-top: 1.15rem;
}

.work-cat {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.work-body h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
}

.work-foot {
  display: flex;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.work-foot p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

/* ---------- عن الاستوديو ---------- */
.about {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--forest);
}

.about::before {
  content: "أ";
  position: absolute;
  top: -30%;
  inset-inline-start: -3rem;
  color: rgba(247, 242, 232, 0.025);
  font-size: clamp(22rem, 48vw, 46rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about-mark {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  color: var(--gold-soft);
  border: 1px solid rgba(201, 154, 91, 0.4);
  border-radius: 50%;
}

.about-mark::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(201, 154, 91, 0.28);
  border-radius: 50%;
}

.about-mark span {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
}

.about-copy h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
}

.about-copy > p {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: rgba(247, 242, 232, 0.68);
  font-size: 0.96rem;
  line-height: 2;
}

.principles {
  border-top: 1px solid var(--line-light);
}

.principles li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-light);
}

.principles li > span {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.principles strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.principles p {
  color: rgba(247, 242, 232, 0.56);
  font-size: 0.84rem;
  line-height: 1.8;
}

/* ---------- الخدمات ---------- */
.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  padding: 1.6rem 1.4rem 2rem;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, background 0.35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-num {
  position: absolute;
  top: 1.4rem;
  inset-inline-end: 1.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  place-items: center;
  color: var(--forest);
  background: rgba(11, 59, 49, 0.07);
  border-radius: 50%;
}

.service-icon svg {
  width: 21px;
  height: 21px;
}

.service-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.8;
}

/* ---------- دعوة التواصل ---------- */
.contact-cta {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  overflow: hidden;
  color: var(--cream);
  background: var(--forest-deep);
}

.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 80% at 8% 50%, rgba(201, 154, 91, 0.1), transparent 65%),
    radial-gradient(50% 80% at 92% 20%, rgba(47, 107, 88, 0.28), transparent 70%);
}

.contact-cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.contact-cta h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
}

.contact-cta h2 span {
  color: var(--gold-soft);
}

.contact-cta p {
  max-width: 31rem;
  color: rgba(247, 242, 232, 0.66);
  font-size: 0.95rem;
  line-height: 1.95;
}

.contact-links {
  display: grid;
  gap: 0.7rem;
}

.contact-card {
  display: flex;
  padding: 1.05rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(247, 242, 232, 0.04);
  border: 1px solid var(--line-light);
  border-radius: 16px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.contact-card:hover {
  background: rgba(247, 242, 232, 0.08);
  border-color: rgba(201, 154, 91, 0.42);
  transform: translateX(-3px);
}

.contact-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-card-text small {
  color: rgba(247, 242, 232, 0.62);
  font-size: 0.66rem;
}

.contact-card-text strong {
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 700;
}

.contact-card-arrow {
  color: var(--gold-soft);
  font-size: 1.05rem;
}

.contact-card--wa {
  border-color: rgba(11, 122, 62, 0.5);
}

.contact-note {
  margin-top: 0.4rem;
  color: rgba(247, 242, 232, 0.62);
  font-size: 0.76rem;
  line-height: 1.8;
}

/* ---------- صفحة داخلية ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3.5rem, 7vw, 6rem)) 0 clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
  color: var(--cream);
  background: var(--forest-deep);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 70% at 85% 5%, rgba(201, 154, 91, 0.12), transparent 62%),
    radial-gradient(60% 80% at 10% 100%, rgba(47, 107, 88, 0.3), transparent 70%);
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.crumbs {
  display: flex;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 242, 232, 0.45);
  font-size: 0.7rem;
}

.crumbs a:hover {
  color: var(--gold-soft);
}

.crumbs span[aria-current="page"] {
  color: rgba(247, 242, 232, 0.8);
}

.page-hero h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.02;
}

.page-lead {
  max-width: 39rem;
  color: rgba(247, 242, 232, 0.68);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.95;
}

.hero-jump {
  display: flex;
  margin-top: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-jump a {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 242, 232, 0.78);
  font-size: 0.76rem;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: 999px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-jump a:hover {
  color: var(--gold-soft);
  background: rgba(247, 242, 232, 0.05);
  border-color: rgba(201, 154, 91, 0.4);
}

.hero-jump a span {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
}

.availability {
  display: inline-flex;
  margin-top: 2rem;
  padding: 0.5rem 0.9rem;
  align-items: center;
  gap: 0.15rem;
  color: rgba(247, 242, 232, 0.82);
  font-size: 0.76rem;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: 999px;
}

/* ---------- دراسات المشاريع ---------- */
.case-study {
  --case-soft: var(--sand);
  --case-accent: var(--clay);
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--cream);
}

.case-study--shawarma {
  --case-soft: #f0e2d1;
  --case-accent: #a54d29;
}

.case-study--bayda {
  --case-soft: #e4eadf;
  --case-accent: #1d5a3a;
  background: #eef2ea;
  border-block: 1px solid rgba(18, 33, 28, 0.08);
}

.case-study--mycard {
  --case-soft: #e2e6e8;
  --case-accent: #3b5b66;
  background: #edf0f1;
  border-block: 1px solid rgba(18, 33, 28, 0.08);
}

.case-study--mycard .case-cover .media-button {
  aspect-ratio: 1861 / 905;
}

.case-study--mycard .gallery-item--wide {
  grid-column: 1 / -1;
}

.case-study--mycard .gallery-item--wide .media-button {
  padding: 0;
  aspect-ratio: 1880 / 555;
}

.case-study--mycard .gallery-item--wide img {
  object-fit: cover;
}

.case-header {
  display: grid;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
}

.case-index {
  padding-top: 0.8rem;
  color: var(--case-accent);
  font-size: 0.76rem;
  font-weight: 700;
  border-top: 1px solid currentColor;
}

.case-title h2 {
  margin-top: 0.3rem;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
}

.case-year {
  text-align: left;
}

.case-year span {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
}

.case-year strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.case-cover {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.case-cover .media-button {
  border-radius: 26px;
}

.case-cover figcaption {
  padding-top: 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.media-button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--case-soft);
  cursor: zoom-in;
}

.case-cover .media-button {
  aspect-ratio: 16 / 10;
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.case-cover:hover img {
  transform: scale(1.018);
}

.zoom-badge {
  position: absolute;
  bottom: 1rem;
  inset-inline-end: 1rem;
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  align-items: center;
  gap: 0.4rem;
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(247, 242, 232, 0.94);
  border-radius: 999px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.zoom-badge svg {
  width: 15px;
  height: 15px;
}

.case-body {
  display: grid;
  margin-bottom: clamp(2.4rem, 4vw, 3.6rem);
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.case-story h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
}

.case-story p {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 2;
}

.case-facts {
  border-top: 1px solid var(--line);
}

.case-facts div {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.case-facts dt {
  color: var(--muted);
  font-size: 0.7rem;
}

.case-facts dd {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.7;
}

.case-gallery {
  display: grid;
  margin-bottom: clamp(1.8rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  align-items: start;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--case-soft);
  border: 1px solid rgba(18, 33, 28, 0.07);
  border-radius: 22px;
}

.gallery-item .media-button {
  display: grid;
  padding: clamp(1rem, 3vw, 2rem);
  place-items: center;
}

.gallery-item--logo .media-button {
  aspect-ratio: 1;
}

.gallery-item--menu .media-button {
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1.6rem 1rem 0.8rem;
  color: #fff;
  font-size: 0.7rem;
  background: linear-gradient(transparent, rgba(7, 42, 35, 0.72));
}

.case-actions {
  display: flex;
  padding-top: 1.4rem;
  flex-wrap: wrap;
  gap: 0.7rem;
  border-top: 1px solid var(--line);
}

/* ---------- معرض الصور ---------- */
.lightbox {
  width: min(1100px, 92vw);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  color: var(--cream);
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(4, 20, 16, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-inner {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: 20px;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  inset-inline-end: 0.8rem;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--cream);
  background: rgba(7, 42, 35, 0.72);
  border: 1px solid rgba(247, 242, 232, 0.2);
  border-radius: 50%;
  transition: background 0.25s ease;
}

.lightbox-close:hover {
  background: rgba(247, 242, 232, 0.12);
}

.lightbox-close svg {
  width: 19px;
  height: 19px;
}

.lightbox-stage {
  display: grid;
  min-height: 42vh;
  max-height: 76vh;
  padding: 1rem;
  place-items: center;
  overflow: auto;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-bar {
  display: flex;
  padding: 0.85rem 1.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(247, 242, 232, 0.14);
}

.lightbox-bar p {
  font-size: 0.8rem;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lightbox-controls span {
  min-width: 3rem;
  color: rgba(247, 242, 232, 0.55);
  font-size: 0.7rem;
  text-align: center;
}

.lightbox-nav {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--cream);
  font-size: 1rem;
  border: 1px solid rgba(247, 242, 232, 0.2);
  border-radius: 50%;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lightbox-nav:hover {
  background: rgba(247, 242, 232, 0.1);
  border-color: rgba(201, 154, 91, 0.5);
}

/* ---------- صفحة التواصل ---------- */
.contact-main {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.14;
}

.contact-intro > p {
  max-width: 28rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.95;
}

.response-card {
  max-width: 22rem;
  padding: 1.1rem 1.25rem;
  color: var(--cream);
  background: var(--forest);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.response-card span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 700;
}

.response-card p {
  color: rgba(247, 242, 232, 0.72);
  font-size: 0.82rem;
  line-height: 1.8;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-row {
  display: flex;
  padding: 1.25rem 0;
  align-items: flex-start;
  gap: 0.95rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease, padding 0.25s ease;
}

a.contact-row:hover {
  padding-inline-start: 0.4rem;
}

a.contact-row:hover .contact-row-text strong {
  color: var(--forest);
}

.contact-row-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--forest);
  background: rgba(11, 59, 49, 0.07);
  border-radius: 50%;
}

.contact-row-icon svg {
  width: 20px;
  height: 20px;
}

.contact-row--wa .contact-row-icon {
  color: var(--wa);
  background: rgba(11, 122, 62, 0.1);
}

.contact-row-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.08rem;
  padding-top: 0.15rem;
}

.contact-row-text small {
  color: var(--muted);
  font-size: 0.68rem;
}

.contact-row-text strong {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.6;
  transition: color 0.25s ease;
}

.contact-row-text em {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.7;
}

.contact-row-arrow {
  padding-top: 0.9rem;
  color: var(--gold);
  font-size: 1rem;
}

/* ---------- خطوات العمل ---------- */
.steps {
  background: var(--paper);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.steps-grid li {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.step-num {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--label);
  font-size: 0.7rem;
  font-weight: 700;
}

.steps-grid h3 {
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
  font-weight: 800;
}

.steps-grid p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

/* ---------- التذييل ---------- */
.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.4rem;
  color: rgba(247, 242, 232, 0.6);
  background: #051f1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.55fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 242, 232, 0.12);
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-about {
  max-width: 27rem;
  color: rgba(247, 242, 232, 0.62);
  font-size: 0.83rem;
  line-height: 1.9;
}

.footer-title {
  margin-bottom: 0.9rem;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.84rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-contact a {
  display: block;
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: var(--gold-soft);
}

.footer-contact p {
  margin-top: 0.35rem;
  color: rgba(247, 242, 232, 0.62);
  font-size: 0.78rem;
}

.footer-bottom {
  display: flex;
  padding-top: 1.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(247, 242, 232, 0.6);
  font-size: 0.72rem;
}

.footer-bottom a {
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--gold-soft);
}

/* ---------- زر واتساب العائم ---------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1200;
  display: inline-flex;
  height: 54px;
  padding: 0 1.15rem 0 0.95rem;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--wa);
  border-radius: 999px;
  box-shadow: 0 18px 40px -14px rgba(11, 122, 62, 0.62);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.wa-float:hover {
  background: var(--wa-dark);
  transform: translateY(-3px);
}

.wa-float svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: inherit;
  animation: wa-pulse 3s ease-out infinite;
}

@keyframes wa-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0;
    transform: scale(1.16);
  }
}

/* ---------- الحركة ---------- */
.js [data-reveal] {
  transform: translateY(24px);
  transition: transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  transform: none;
}

/* ---------- الاستجابة ---------- */
@media (max-width: 1120px) {
  .hero h1 {
    font-size: clamp(3.2rem, 7.6vw, 5.6rem);
  }

  .hero-art {
    min-height: 490px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav > a {
    padding-inline: 0.72rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    z-index: 950;
    display: flex;
    height: calc(100dvh - var(--header-h));
    padding: 1.4rem 1.5rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background: var(--forest-deep);
    border-top: 1px solid rgba(247, 242, 232, 0.08);
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .site-nav > a {
    padding: 0.95rem 0;
    color: var(--cream);
    font-size: 1.35rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(247, 242, 232, 0.1);
    border-radius: 0;
  }

  .site-nav > a[aria-current="page"] {
    color: var(--gold-soft);
  }

  .site-nav > a[aria-current="page"]::after {
    display: none;
  }

  .nav-extra {
    display: flex;
    margin-top: auto;
    padding-top: 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(247, 242, 232, 0.1);
  }

  .nav-extra > a:first-child {
    padding-block: 0.5rem;
    color: rgba(247, 242, 232, 0.62);
    font-size: 0.9rem;
    text-align: left;
  }

  .header-wa {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 3.5rem);
    padding-bottom: 5.5rem;
  }

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

  .hero-copy {
    max-width: 46rem;
  }

  .hero-art {
    width: 100%;
    max-width: 34rem;
    min-height: 480px;
    margin-inline: auto;
  }

  .scroll-cue {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-head h2 {
    max-width: 100%;
  }

  .section-lead {
    max-width: 36rem;
    padding-bottom: 0;
  }

  .work-card--wide .work-link {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .work-card--wide .work-body {
    padding: 0.35rem 0.65rem 0.85rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-mark {
    width: min(220px, 55vw);
  }

  .contact-cta-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .case-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-intro {
    max-width: 40rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-links {
    gap: 0.1rem;
  }

  .footer-links a,
  .footer-contact a,
  .footer-bottom a {
    padding-block: 0.5rem;
  }
}

@media (max-width: 760px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .work-card:nth-child(2) {
    margin-top: 0;
  }

  .work-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-study--mycard .gallery-item--wide .media-button {
    aspect-ratio: 16 / 10;
  }

  .gallery-item--menu .media-button {
    aspect-ratio: 4 / 5;
  }

  .case-header {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 1rem;
  }

  .case-year {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 72px;
  }

  .shell {
    width: calc(100% - 2rem);
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 1.18rem;
  }

  .brand-text strong {
    font-size: 0.96rem;
  }

  .brand-text small {
    font-size: 0.57rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 12vw, 4rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .hero-art {
    min-height: 350px;
  }

  .hero-card--back {
    width: 78%;
  }

  .hero-card--front {
    width: 82%;
    border-width: 4px;
  }

  .hero-seal {
    top: 1%;
    inset-inline-end: 0;
    width: 78px;
    height: 78px;
  }

  .hero-seal span {
    font-size: 0.52rem;
  }

  .hero-seal strong {
    font-size: 0.9rem;
  }

  .hero-card figcaption {
    bottom: 0.6rem;
    inset-inline-start: 0.6rem;
    max-width: calc(100% - 1.2rem);
    padding: 0.32rem 0.55rem;
    font-size: 0.6rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .page-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .case-study {
    padding: 3.75rem 0;
  }

  .case-header {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .case-title h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .case-cover .media-button {
    border-radius: 18px;
  }

  .case-facts div {
    grid-template-columns: 5.2rem minmax(0, 1fr);
  }

  .case-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .case-actions .btn {
    width: 100%;
  }

  .work-media {
    border-radius: 18px;
  }

  .contact-row {
    gap: 0.75rem;
  }

  .contact-row-icon {
    width: 40px;
    height: 40px;
  }

  .lightbox-stage {
    padding: 0.6rem;
  }

  .lightbox-bar {
    padding: 0.7rem 0.8rem;
  }

  .lightbox-bar p {
    max-width: 55%;
    font-size: 0.7rem;
  }

  .wa-float {
    bottom: 1rem;
    left: 1rem;
    width: 54px;
    padding: 0;
    justify-content: center;
  }

  .wa-float span {
    display: none;
  }
}

@media (hover: none) {
  .work-arrow {
    opacity: 1;
    transform: none;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
