/* home + contact edits (user 2026-11-19; _work/redesign/home_1119.py) */

/* Al Jumum: the first and biggest card of the projects */
.mproj__grid { grid-template-rows: auto repeat(2, minmax(300px, 34vh)); }
.mpc--hero { grid-column: 1 / -1; min-height: clamp(460px, 74vh, 780px); cursor: default; }
.mpc--hero::before,
.mpc--hero:hover::before { background: linear-gradient(0deg, rgba(14, 9, 6, .94) 0%, rgba(14, 9, 6, .6) 38%, rgba(14, 9, 6, .08) 72%); }
.mpc--hero .mpc__body { gap: 12px; padding: clamp(26px, 3.4vw, 54px); }
.mpc--hero .mpc__t { font-size: clamp(34px, 4.4vw, 64px); font-weight: 400; }
.mpc__sub { font-size: clamp(16px, 1.4vw, 20px); color: rgba(246, 231, 207, .88); }
.mpc__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 4px; }
.mpc__facts > span { display: inline-flex; align-items: baseline; gap: 8px; }
.mpc__facts b { font-size: clamp(22px, 2.2vw, 32px); font-weight: 300; color: #e6c48d; }
.mpc__facts small { font-size: 13.5px; color: rgba(239, 225, 202, .78); }
.mpc__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.mpc--hero img { transform: scale(1.02); }
.mpc--hero:hover img { transform: scale(1.05); }
@media (max-width: 760px) {
  .mproj__grid { grid-template-rows: auto; }
  .mpc--hero { min-height: 560px; }
}

/* contact: the message form folds under «تواصل معنا» and grows open on a click */
.c2fold { border-radius: 26px; background: linear-gradient(180deg, var(--sugar, #f3e6d1), var(--sugar-2, #efdfc6));
          box-shadow: inset 0 0 0 1px rgba(185, 153, 121, .25); overflow: hidden; align-self: start; }
.c2fold__sum { list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px clamp(22px, 2.6vw, 34px);
               cursor: pointer; color: var(--brown, #43291f); }
.c2fold__sum::-webkit-details-marker { display: none; }
.c2fold__ico { flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--brown, #43291f) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ecd3a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H8l-4 4z'/%3E%3Cpath d='M8 9.5h8M8 12.5h5'/%3E%3C/svg%3E") center / 24px no-repeat; }
.c2fold__t { display: grid; gap: 2px; flex: 1; }
.c2fold__t b { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; }
.c2fold__t small { font-size: 14px; color: rgba(67, 41, 31, .65); }
.c2fold__chev { flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(67, 41, 31, .25);
                position: relative; transition: transform .45s ease; }
.c2fold__chev::before { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px;
                        border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); }
.c2fold[open] .c2fold__chev { transform: rotate(180deg); }
.c2fold:not([open]):hover { box-shadow: inset 0 0 0 1px rgba(185, 153, 121, .55); }
.c2fold .c2form { background: none; box-shadow: none; border-radius: 0; padding-top: 0; }
.c2fold .c2form__title { display: none; }
.c2fold[open] .c2form { animation: c2grow .55s ease both; }
@keyframes c2grow { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* the e-mail button sits beside the WhatsApp one with the same look */
.c2form__send .btn--dark { flex: 1 1 200px; }
