﻿:root {
  --wine: #AD8B73;
  --steel: #CEAB93;
  --sand: #E3CAA5;
  --ivory: #FFFBE9;
  --wine-92: rgba(173, 139, 115, .92);
  --wine-76: rgba(173, 139, 115, .76);
  --wine-45: rgba(173, 139, 115, .45);
  --wine-16: rgba(173, 139, 115, .16);
  --steel-70: rgba(87, 89, 91, .70);
  --steel-35: rgba(87, 89, 91, .35);
  --steel-16: rgba(87, 89, 91, .16);
  --sand-70: rgba(227, 202, 165, .70);
  --sand-42: rgba(227, 202, 165, .42);
  --sand-18: rgba(227, 202, 165, .18);
  --ivory-80: rgba(255, 251, 233, .80);
  --ivory-60: rgba(255, 251, 233, .60);
  --ivory-22: rgba(255, 251, 233, .22);
  --ease: cubic-bezier(.22, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--wine);
  font-family: var(--font-secondary, 'DecoType Naskh', Tahoma, Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.catalog-page {
  overflow: hidden;
}

.project-atlas {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(4.5rem, 8vw, 9rem) clamp(1.2rem, 5vw, 5.5rem) clamp(3rem, 6vw, 6.5rem);
  background: var(--ivory);
}

.project-atlas::before,
.project-atlas::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
}

.project-atlas::before {
  width: min(60vw, 64rem);
  height: min(60vw, 64rem);
  top: -27rem;
  right: -26rem;
  border: 1px solid var(--sand-70);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(227, 202, 165, .08), 0 0 0 13rem rgba(227, 202, 165, .06);
}

.project-atlas::after {
  width: 26rem;
  height: 26rem;
  bottom: 9rem;
  left: -15rem;
  border: 1px solid var(--steel-16);
  transform: rotate(45deg);
}

.atlas-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .32;
  pointer-events: none;
  background-image: radial-gradient(var(--wine-16) .7px, transparent .7px);
  background-size: 9px 9px;
  mask-image: linear-gradient(to bottom, var(--wine), transparent 30%, transparent 75%, var(--wine));
}

.atlas-orbit {
  position: absolute;
  border: 1px solid var(--sand-42);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.orbit-one {
  width: 22rem;
  height: 22rem;
  right: 6vw;
  top: 31rem;
}

.orbit-two {
  width: 11rem;
  height: 11rem;
  left: 11vw;
  top: 48rem;
  border-color: var(--steel-16);
}

.atlas-shell {
  width: min(100%, 91rem);
  margin-inline: auto;
}

.atlas-hero {
  min-height: min(40rem, 72vh);
  display: grid;
  grid-template-columns: 1fr minmax(18rem, 2.8fr) 1fr;
  align-items: end;
  gap: clamp(1.5rem, 3vw, 4rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  border-bottom: 1px solid var(--wine-16);
}

.hero-index {

  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding-top: .35rem;
  color: var(--steel);
  direction: ltr;
}

.index-number {
  display: block;
  font-size: clamp(2.3rem, 4vw, 4.7rem);
  line-height: .9;
  letter-spacing: -.08em;
  font-weight: 700;
  color: var(--wine);
}

.index-line {
  width: 5.5rem;
  height: 1px;
  background: var(--wine);
}

.index-label,
.card-overline,
.modal-overline,
.modal-list-heading span:last-child {
  font-family: var(--font-secondary, 'DecoType Naskh', Tahoma, Arial, sans-serif);
  font-size: .65rem;
  letter-spacing: .19em;
  font-weight: 700;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.4rem;
  color: var(--steel);
  font-size: .85rem;
  font-weight: 700;
}

.eyebrow span {
  width: 2.35rem;
  height: 1px;
  background: var(--wine);
}

.hero-copy h1,
.band-intro h2 {
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 7.4rem);
  line-height: .93;
  letter-spacing: -.065em;
  font-weight: 700;
}

.hero-copy h1 em,
.band-intro h2 em {
  color: var(--steel);
  font-style: normal;
}

.hero-description {
  width: min(100%, 39rem);
  margin: 2rem 0 0;
  color: var(--steel);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 2;
}

.hero-insight {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 1rem;
  padding-bottom: 1rem;
}

.insight-arc {
  position: relative;
  width: 5.6rem;
  height: 5.6rem;
}

.insight-arc svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.insight-arc circle {
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.1;
}

.insight-arc .arc-progress {
  stroke: var(--wine);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 270 327;
}

.insight-arc span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--wine);
}

.hero-insight strong {
  display: block;
  margin-bottom: .35rem;
  font-size: .95rem;
}

.hero-insight span {
  color: var(--steel);
  font-size: .72rem;
}

.atlas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
  margin-bottom: clamp(1.8rem, 3vw, 3rem);
  border-bottom: 1px solid var(--wine-16);
}

.filter-intro {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--steel);
  font-size: .82rem;
}

.filter-intro p {
  margin: 0;
}

.filter-intro strong {
  color: var(--wine);
}

.filter-mark {
  display: block;
  width: .75rem;
  height: .75rem;
  border: 1px solid var(--wine);
  transform: rotate(45deg);
}

.filter-scroller {
  display: flex;
  align-items: center;
  gap: .45rem;
  overflow-x: auto;
  padding: .3rem;
  scrollbar-width: none;
}

.filter-scroller::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.7rem;
  padding: .55rem .9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--steel);
  font-size: .83rem;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.filter-button small {
  font-family: Arial, sans-serif;
  font-size: .64rem;
  color: var(--steel);
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: var(--sand);
  color: var(--wine);
  outline: none;
}

.filter-button.is-active {
  background: var(--wine);
  color: var(--ivory);
  border-color: var(--wine);
  box-shadow: 0 .55rem 1.4rem var(--wine-16);
}

.filter-button.is-active small {
  color: var(--sand);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(.8rem, 1.2vw, 1.25rem);
}

.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 23rem;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border: 0;
  text-align: right;
  color: var(--ivory);
  background: var(--wine);
  clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 2rem 100%, 0 calc(100% - 2rem));
  box-shadow: 0 1.3rem 2.5rem var(--wine-16);
  transition: opacity .35s var(--ease), transform .55s var(--ease), box-shadow .55s var(--ease), filter .35s var(--ease);
}

.card-tall {
  grid-column: span 5;
  min-height: clamp(31rem, 47vw, 43rem);
}

.card-wide {
  grid-column: span 7;
  min-height: clamp(31rem, 38vw, 38rem);
}

.card-regular {
  grid-column: span 4;
  min-height: clamp(23rem, 29vw, 30rem);
}

.project-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1s var(--ease), filter .8s var(--ease);
}

.card-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--wine-16) 0%, transparent 30%, var(--wine-92) 100%);
  transition: background .55s var(--ease);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: .7rem;
  border: 1px solid var(--ivory-22);
  clip-path: polygon(0 0, calc(100% - 1.35rem) 0, 100% 1.35rem, 100% 100%, 1.35rem 100%, 0 calc(100% - 1.35rem));
  opacity: .7;
  pointer-events: none;
  transition: inset .5s var(--ease), border-color .5s var(--ease);
}

.project-card:hover,
.project-card:focus-visible {
  outline: none;
  transform: translateY(-.55rem);
  box-shadow: 0 2rem 3rem var(--wine-45);
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.075);
  filter: saturate(.78) contrast(1.04);
}

.project-card:hover .card-scrim,
.project-card:focus-visible .card-scrim {
  background: linear-gradient(180deg, var(--wine-45), var(--wine-16) 23%, var(--wine-92) 100%);
}

.project-card:hover::after,
.project-card:focus-visible::after {
  inset: 1rem;
  border-color: var(--sand);
}

.category-chip {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  padding: .45rem .75rem;
  border: 1px solid var(--sand-70);
  border-radius: 999px;
  background: var(--wine-76);
  color: var(--ivory);
  font-size: .72rem;
  backdrop-filter: blur(9px);
}

.card-topline {
  position: absolute;
  top: 1.45rem;
  left: 1.45rem;
  right: 1.45rem;
  display: flex;
  justify-content: space-between;
  direction: ltr;
  color: var(--ivory-80);
  font-family: Arial, sans-serif;
  font-size: .62rem;
  letter-spacing: .07em;
}

.card-topline span:last-child {
  direction: rtl;
  font-family: Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.card-content {
  position: relative;
  z-index: 1;
  padding-bottom: .35rem;
}

.card-overline {
  margin: 0 0 .5rem;
  color: var(--sand);
}

.card-content h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2.3rem);
  letter-spacing: -.035em;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: .8rem;
  color: var(--ivory-80);
  font-size: .76rem;
}

.card-meta i {
  width: .24rem;
  height: .24rem;
  border-radius: 50%;
  background: var(--sand);
}

.card-action {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .75rem;
  left: 1.45rem;
  bottom: 1.35rem;
  transform: translateY(4.6rem);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  color: var(--sand);
  font-size: .75rem;
}

.card-action b {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--sand);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

.project-card:hover .card-action,
.project-card:focus-visible .card-action {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover .card-content,
.project-card:focus-visible .card-content {
  transform: translateY(-2.7rem);
}

.card-content {
  transition: transform .5s var(--ease);
}

.project-card.is-leaving {
  opacity: 0;
  transform: scale(.95);
  pointer-events: none;
}

.project-card.is-hidden {
  display: none;
}

.project-card.is-entering {
  opacity: 0;
  transform: scale(.95);
}

.performance-band {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr auto;
  align-items: stretch;
  gap: 0;
  margin-top: clamp(3rem, 6vw, 7rem);
  color: var(--ivory);
  background: var(--wine);
  clip-path: polygon(0 0, calc(100% - 3rem) 0, 100% 3rem, 100% 100%, 3rem 100%, 0 calc(100% - 3rem));
}

.band-intro {
  padding: clamp(2rem, 4vw, 4rem);
}

.band-intro .eyebrow {
  color: var(--sand);
}

.band-intro .eyebrow span {
  background: var(--sand);
}

.band-intro h2 {
  font-size: clamp(2.1rem, 3.4vw, 4.25rem);
}

.band-intro h2 em {
  color: var(--sand);
}

.performance-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .8rem;
  padding: 2rem clamp(1.15rem, 2.5vw, 2.5rem);
  border-right: 1px solid var(--ivory-22);
}

.performance-stat strong {
  font-family: Arial, sans-serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: .9;
  font-weight: 400;
  letter-spacing: -.07em;
  color: var(--sand);
}

.performance-stat span {
  max-width: 10rem;
  color: var(--ivory-80);
  font-size: .82rem;
  line-height: 1.8;
}

.band-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-width: 8.8rem;
  padding: 1.5rem;
  color: var(--wine);
  background: var(--sand);
  font-size: .78rem;
  font-weight: 700;
  transition: background .35s var(--ease), color .35s var(--ease);
}

.band-link:hover,
.band-link:focus-visible {
  outline: none;
  background: var(--ivory);
}

.band-link b {
  font-family: Arial, sans-serif;
  font-size: 1.15rem;
}

.project-modal[hidden] {
  display: none;
}

.project-modal {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(.65rem, 2vw, 2rem);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--wine-92);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.modal-panel {
  position: relative;
  width: min(100%, 76rem);
  max-height: min(90vh, 55rem);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(17rem, 1fr) minmax(22rem, 1.15fr);
  background: var(--ivory);
  box-shadow: 0 2rem 6rem var(--wine-45);
  clip-path: polygon(0 0, calc(100% - 3rem) 0, 100% 3rem, 100% 100%, 3rem 100%, 0 calc(100% - 3rem));
  opacity: 0;
  transform: translateY(1.4rem) scale(.98);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}

.project-modal.is-open .modal-backdrop,
.project-modal.is-open .modal-panel {
  opacity: 1;
}

.project-modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-media {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  background: var(--wine);
}

.modal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--wine-76));
  pointer-events: none;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-image-index {
  position: absolute;
  z-index: 1;
  left: 1.5rem;
  bottom: 1.25rem;
  color: var(--sand);
  font-family: Arial, sans-serif;
  font-size: 2.2rem;
  letter-spacing: -.08em;
}

.modal-copy {
  padding: clamp(2rem, 4vw, 4.25rem);
  color: var(--wine);
}

.modal-kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--steel);
  font-size: .75rem;
}

.modal-kicker i {
  display: block;
  width: 1.9rem;
  height: 1px;
  background: var(--sand);
}

.modal-overline {
  margin: 2.5rem 0 .75rem;
  color: var(--steel);
}

.modal-copy h2 {
  max-width: 24rem;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: .95;
  letter-spacing: -.065em;
}

.modal-description {
  margin: 1.5rem 0 1.3rem;
  color: var(--steel);
  font-size: .95rem;
  line-height: 2;
}

.modal-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.8rem;
}

.modal-highlights span {
  padding: .42rem .65rem;
  border: 1px solid var(--sand);
  border-radius: 999px;
  color: var(--wine);
  font-size: .7rem;
}

.modal-equipment {
  padding-top: 1.4rem;
  border-top: 1px solid var(--wine-16);
}

.modal-list-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: .8rem;
  color: var(--wine);
  font-weight: 700;
  font-size: .8rem;
}

.modal-list-heading span:last-child {
  color: var(--steel);
}

.modal-equipment ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.modal-equipment li {
  position: relative;
  padding: .7rem 1rem .7rem .5rem;
  color: var(--steel);
  font-size: .78rem;
  border-bottom: 1px solid var(--sand-42);
}

.modal-equipment li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 1.05rem;
  width: .35rem;
  height: .35rem;
  background: var(--wine);
  transform: rotate(45deg);
}

.modal-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--wine-16);
}

.modal-footer div {
  display: grid;
  gap: .35rem;
  color: var(--steel);
  font-size: .72rem;
}

.modal-footer strong {
  color: var(--wine);
  font-size: 1rem;
}

.modal-footer a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1rem;
  background: var(--wine);
  color: var(--ivory);
  font-size: .74rem;
  font-weight: 700;
  transition: background .35s var(--ease);
}

.modal-footer a:hover,
.modal-footer a:focus-visible {
  outline: none;
  background: var(--steel);
}

.modal-footer b {
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.modal-close {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--sand-70);
  border-radius: 50%;
  background: var(--wine-76);
  backdrop-filter: blur(8px);
}

.modal-close span {
  position: absolute;
  width: 1rem;
  height: 1px;
  background: var(--ivory);
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-close:hover,
.modal-close:focus-visible {
  outline: none;
  background: var(--wine);
}

.reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity .7s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .atlas-hero {
    grid-template-columns: 1fr 2.6fr;
    min-height: 33rem;
  }

  .hero-insight {
    display: none;
  }

  .atlas-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-scroller {
    width: 100%;
  }

  .project-grid {
    gap: .9rem;
  }

  .card-tall,
  .card-wide {
    grid-column: span 7;
    min-height: 29rem;
  }

  .card-regular {
    grid-column: span 5;
    min-height: 25rem;
  }

  .performance-band {
    grid-template-columns: 1.8fr 1fr 1fr;
  }

  .band-link {
    grid-column: 1 / -1;
    min-height: 4.5rem;
  }

  .performance-stat {
    border-right: 0;
    border-top: 1px solid var(--ivory-22);
  }
}

@media (max-width: 620px) {
  .project-atlas {
    padding-inline: 1rem;
    padding-top: 4rem;
  }

  .project-atlas::before {
    width: 27rem;
    height: 27rem;
    top: -13rem;
    right: -16rem;
    box-shadow: 0 0 0 3rem rgba(227, 202, 165, .08);
  }

  .atlas-orbit {
    display: none;
  }

  .atlas-hero {
    display: block;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-index {
    margin-bottom: 3rem;
  }

  .index-number {
    font-size: 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.25rem, 16vw, 4.8rem);
  }

  .hero-description {
    margin-top: 1.5rem;
    font-size: .95rem;
    line-height: 1.9;
  }

  .atlas-toolbar {
    margin-bottom: 1.35rem;
    padding: 1rem 0;
  }

  .filter-intro {
    font-size: .75rem;
  }

  .filter-scroller {
    margin-inline: -1rem;
    width: calc(100% + 2rem);
    padding-inline: 1rem;
  }

  .filter-button {
    min-height: 2.5rem;
    font-size: .76rem;
  }

  .project-grid {
    display: flex;
    flex-direction: column;
    gap: .9rem;
  }

  .project-card,
  .card-tall,
  .card-wide,
  .card-regular {
    width: 100%;
    min-height: 27rem;
  }

  .project-card::after {
    inset: .6rem;
  }

  .project-card:hover .card-content,
  .project-card:focus-visible .card-content {
    transform: none;
  }

  .project-card:hover .card-action,
  .project-card:focus-visible .card-action {
    display: none;
  }

  .card-content h2 {
    font-size: 1.75rem;
  }

  .category-chip {
    top: 1.15rem;
    right: 1.15rem;
  }

  .card-topline {
    top: 1.2rem;
    left: 1.15rem;
    right: 1.15rem;
    font-size: .56rem;
  }

  .performance-band {
    display: block;
    margin-top: 3.2rem;
    clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 2rem 100%, 0 calc(100% - 2rem));
  }

  .band-intro {
    padding: 2.25rem 1.5rem;
  }

  .band-intro h2 {
    font-size: 2.35rem;
  }

  .performance-stat {
    padding: 1.7rem 1.5rem;
    border-right: 0;
    border-top: 1px solid var(--ivory-22);
  }

  .performance-stat span {
    max-width: 15rem;
  }

  .band-link {
    min-height: 4.8rem;
  }

  .modal-panel {
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 2rem 100%, 0 calc(100% - 2rem));
  }

  .modal-media {
    min-height: 16rem;
    max-height: 21rem;
  }

  .modal-copy {
    padding: 1.8rem 1.3rem 2rem;
  }

  .modal-overline {
    margin-top: 1.6rem;
  }

  .modal-copy h2 {
    font-size: 2.35rem;
  }

  .modal-description {
    font-size: .85rem;
    line-height: 1.9;
  }

  .modal-equipment ul {
    grid-template-columns: 1fr;
  }

  .modal-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-footer a {
    width: 100%;
    justify-content: center;
  }

  .modal-close {
    top: .7rem;
    right: .7rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* مركزية المقدمة والهوية البصرية لشريط التصفية — تحديث فاخر */
.atlas-hero--centered {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(43rem, 78vh);
  padding: clamp(5rem, 8vw, 7.5rem) 1.5rem clamp(3.5rem, 5vw, 5.5rem);
  text-align: center;
}

.atlas-hero--centered .hero-index {
  position: absolute;
  top: clamp(1.35rem, 2vw, 2.3rem);
  inset-inline-start: 0;
  align-items: flex-start;
  padding: 0;
}

.atlas-hero--centered .hero-copy {
  max-width: 54rem;
}

.eyebrow--centered {
  justify-content: center;
  margin-bottom: 1.55rem;
}

.eyebrow--centered span {
  width: clamp(2rem, 4vw, 3.25rem);
}

.atlas-hero--centered .hero-description {
  margin: 1.8rem auto 0;
}

.atlas-hero--centered .hero-insight {
  display: block;
  align-self: auto;
  padding: 0;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.insight-badge {
  display: grid;
  justify-items: center;
  gap: .8rem;
}

.insight-arc {
  width: 7.25rem;
  height: 7.25rem;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 .8rem 1.8rem var(--wine-16);
}

.insight-arc .insight-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.insight-arc .insight-ring circle {
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.1;
}

.insight-arc .insight-ring .arc-progress {
  stroke: var(--wine);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 270 327;
}

.insight-icon {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  width: 2rem;
  height: 2rem;
  color: var(--wine);
  transform: translateX(-50%);
}

.insight-arc .insight-value {
  inset: auto 0 1.05rem;
  display: block;
  color: var(--steel);
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.insight-copy {
  display: grid;
  gap: .25rem;
  text-align: center;
}

.insight-copy strong {
  margin: 0;
  color: var(--wine);
  font-size: .9rem;
}

.insight-copy span {
  color: var(--steel);
  font-size: .72rem;
}

.atlas-toolbar--centered {
  display: grid;
  justify-items: center;
  gap: 1.3rem;
  padding: clamp(1.7rem, 3vw, 2.75rem) 0 0;
  margin-bottom: clamp(1.7rem, 3vw, 3rem);
  border-bottom: 0;
}

.atlas-toolbar--centered .filter-intro {
  display: grid;
  justify-items: center;
  gap: .7rem;
  text-align: center;
}

.atlas-toolbar--centered .filter-intro p {
  display: grid;
  gap: .15rem;
  margin: 0;
  color: var(--steel);
  font-size: .78rem;
}

.atlas-toolbar--centered .filter-intro strong {
  color: var(--wine);
  font-size: 1rem;
}

.filter-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--sand);
  border-radius: 50%;
  color: var(--wine);
  transform: none;
}

.filter-mark::before {
  content: none;
}

.filter-mark svg {
  width: 1.05rem;
  height: 1.05rem;
}

.atlas-toolbar--centered .filter-scroller {
  width: min(100%, 80rem);
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: .55rem;
  overflow: visible;
  padding: 0;
}

.atlas-toolbar--centered .filter-button {
  position: relative;
  display: grid;
  grid-template-rows: 2.6rem auto;
  place-items: center;
  align-content: center;
  gap: .48rem;
  min-height: 7.9rem;
  min-width: 0;
  padding: .75rem .4rem;
  border: 1px solid var(--sand-70);
  border-radius: 0;
  background: rgba(227, 202, 165, .12);
  color: var(--steel);
  clip-path: polygon(0 0, calc(100% - .75rem) 0, 100% .75rem, 100% 100%, .75rem 100%, 0 calc(100% - .75rem));
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.atlas-toolbar--centered .filter-button::after {
  content: "";
  position: absolute;
  inset: .27rem;
  border: 1px solid var(--wine-16);
  clip-path: inherit;
  pointer-events: none;
  transition: border-color .35s var(--ease);
}

.filter-icon {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--sand);
  color: var(--wine);
  background: var(--ivory);
  transform: rotate(45deg);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.filter-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  transform: rotate(-45deg);
}

.filter-label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  font-size: .73rem;
  font-weight: 700;
  line-height: 1;
}

.atlas-toolbar--centered .filter-button small {
  position: absolute;
  z-index: 2;
  top: .55rem;
  inset-inline-end: .55rem;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid var(--sand-70);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--steel);
  font-family: Arial, sans-serif;
  font-size: .58rem;
  line-height: 1;
}

.atlas-toolbar--centered .filter-button:hover,
.atlas-toolbar--centered .filter-button:focus-visible {
  border-color: var(--wine);
  background: var(--sand-42);
  color: var(--wine);
  outline: none;
  transform: translateY(-.35rem);
  box-shadow: 0 .8rem 1.4rem var(--wine-16);
}

.atlas-toolbar--centered .filter-button:hover .filter-icon,
.atlas-toolbar--centered .filter-button:focus-visible .filter-icon {
  border-color: var(--wine);
  transform: rotate(45deg) scale(1.04);
}

.atlas-toolbar--centered .filter-button.is-active {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--ivory);
  box-shadow: 0 .85rem 1.6rem var(--wine-16);
}

.atlas-toolbar--centered .filter-button.is-active::after {
  border-color: var(--ivory-22);
}

.atlas-toolbar--centered .filter-button.is-active .filter-icon {
  border-color: var(--sand);
  background: var(--sand);
  color: var(--wine);
}

.atlas-toolbar--centered .filter-button.is-active small {
  border-color: var(--sand);
  background: var(--wine);
  color: var(--sand);
}

@media (max-width: 900px) {
  .atlas-hero--centered {
    min-height: 35rem;
  }

  .atlas-toolbar--centered .filter-scroller {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
  }

  .atlas-toolbar--centered .filter-button {
    min-height: 7.25rem;
  }
}

@media (max-width: 620px) {
  .atlas-hero--centered {
    display: flex;
    min-height: auto;
    padding: 5rem .1rem 3rem;
  }

  .atlas-hero--centered .hero-index {
    position: static;
    align-items: center;
    margin-bottom: 2rem;
  }

  .atlas-hero--centered .index-line {
    width: 3.5rem;
  }

  .atlas-hero--centered .hero-insight {
    margin-top: 2rem;
  }

  .insight-arc {
    width: 6.6rem;
    height: 6.6rem;
  }

  .insight-icon {
    top: 1.1rem;
  }

  .atlas-toolbar--centered {
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .atlas-toolbar--centered .filter-scroller {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .atlas-toolbar--centered .filter-button {
    min-height: 6.35rem;
    padding: .6rem .2rem;
    gap: .3rem;
  }

  .filter-icon {
    width: 2.05rem;
    height: 2.05rem;
  }

  .filter-icon svg {
    width: 1.05rem;
    height: 1.05rem;
  }

  .filter-label {
    font-size: .65rem;
  }

  .atlas-toolbar--centered .filter-button small {
    top: .35rem;
    inset-inline-end: .35rem;
    width: 1.18rem;
    height: 1.18rem;
    font-size: .5rem;
  }
}

/* يمنع التعارض مع تدوير حلقة الدائرة ويثبت رمز الإنجاز في المركز. */
.insight-arc .insight-icon {
  transform: translateX(-50%);
}

.insight-arc .insight-icon {
  width: 2rem;
  height: 2rem;
  transform: translateX(-50%);
}

/* إعادة اتزان كتلة الإنجاز ومنظومة التصنيفات */
.atlas-hero--centered {
  min-height: min(38rem, 70vh);
  padding: clamp(4.35rem, 6vw, 5.8rem) 1.5rem clamp(2.35rem, 3.6vw, 3.6rem);
}

.atlas-hero--centered .hero-description {
  max-width: 43rem;
  margin-top: 1.35rem;
}

.atlas-hero--centered .hero-insight {
  margin-top: clamp(1.35rem, 2.3vw, 1.9rem);
}

.insight-badge {
  gap: .62rem;
}

.insight-arc {
  width: 7.45rem;
  height: 7.45rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--sand-70);
}

.insight-arc .insight-icon {
  top: .88rem;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--wine);
}

.insight-arc .insight-value {
  bottom: .72rem;
  color: var(--wine);
  font-size: .9rem;
  letter-spacing: .18em;
}

.insight-copy {
  gap: .18rem;
}

.insight-copy strong {
  font-size: .92rem;
  line-height: 1;
}

.insight-copy span {
  font-size: .68rem;
  line-height: 1.35;
}

.atlas-toolbar--centered {
  gap: .95rem;
  padding: clamp(1.25rem, 2.2vw, 1.85rem) 0 0;
  margin-bottom: clamp(1.65rem, 2.6vw, 2.6rem);
}

.atlas-toolbar--centered .filter-intro {
  gap: .45rem;
}

.atlas-toolbar--centered .filter-intro p {
  gap: .08rem;
  line-height: 1.2;
}

.atlas-toolbar--centered .filter-intro p>span {
  font-size: .72rem;
  letter-spacing: .035em;
}

.atlas-toolbar--centered .filter-intro strong {
  font-size: 1.03rem;
}

.filter-mark {
  width: 2.45rem;
  height: 2.45rem;
  background: var(--ivory);
  box-shadow: 0 .45rem 1.1rem var(--wine-16);
}

.filter-mark svg {
  width: 1.12rem;
  height: 1.12rem;
}

.atlas-toolbar--centered .filter-scroller {
  position: relative;
  align-items: stretch;
  gap: .5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--sand-70);
}

.atlas-toolbar--centered .filter-button {
  grid-template-rows: 2.45rem auto auto;
  align-content: center;
  gap: .3rem;
  min-height: 8.15rem;
  padding: .72rem .35rem .62rem;
}

.filter-icon {
  width: 2.3rem;
  height: 2.3rem;
}

.filter-icon svg {
  width: 1.16rem;
  height: 1.16rem;
}

.filter-label {
  font-size: .74rem;
}

.atlas-toolbar--centered .filter-button small {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  width: auto;
  height: auto;
  min-height: 0;
  padding: .24rem .2rem 0;
  border: 0;
  border-top: 1px solid var(--sand-70);
  border-radius: 0;
  background: transparent;
  color: var(--steel);
  font-size: .58rem;
  letter-spacing: .08em;
}

.atlas-toolbar--centered .filter-button small::before,
.atlas-toolbar--centered .filter-button small::after {
  content: "";
  width: .3rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.atlas-toolbar--centered .filter-button.is-active small {
  border-color: var(--sand-70);
  background: transparent;
  color: var(--sand);
}

@media (max-width: 900px) {
  .atlas-hero--centered {
    min-height: 33rem;
  }

  .atlas-toolbar--centered .filter-scroller {
    padding-top: .85rem;
  }

  .atlas-toolbar--centered .filter-button {
    min-height: 7.65rem;
  }
}

@media (max-width: 620px) {
  .atlas-hero--centered {
    min-height: auto;
    padding: 4.6rem .1rem 2.25rem;
  }

  .atlas-hero--centered .hero-insight {
    margin-top: 1.4rem;
  }

  .insight-arc {
    width: 6.85rem;
    height: 6.85rem;
  }

  .insight-arc .insight-icon {
    top: .78rem;
    width: 2.05rem;
    height: 2.05rem;
  }

  .atlas-toolbar--centered {
    gap: .85rem;
    padding-top: 1.25rem;
  }

  .atlas-toolbar--centered .filter-scroller {
    padding-top: .8rem;
    gap: .4rem;
  }

  .atlas-toolbar--centered .filter-button {
    grid-template-rows: 2.1rem auto auto;
    min-height: 6.9rem;
    padding: .5rem .12rem;
    gap: .22rem;
  }

  .filter-icon {
    width: 1.95rem;
    height: 1.95rem;
  }

  .filter-icon svg {
    width: 1rem;
    height: 1rem;
  }

  .filter-label {
    font-size: .63rem;
  }

  .atlas-toolbar--centered .filter-button small {
    padding-top: .16rem;
    gap: .2rem;
    font-size: .5rem;
  }
}

/* شارة واحدة لعنوان المرشح: أيقونة ونص في محور بصري موحد */
.atlas-toolbar--centered .filter-intro {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .52rem 1.05rem .52rem .72rem;
  border: 1px solid var(--sand-70);
  background: var(--ivory);
  clip-path: polygon(.62rem 0, 100% 0, 100% calc(100% - .62rem), calc(100% - .62rem) 100%, 0 100%, 0 .62rem);
  box-shadow: 0 .5rem 1.15rem var(--wine-16);
}

.atlas-toolbar--centered .filter-intro p {
  display: grid;
  justify-items: start;
  gap: .07rem;
  text-align: start;
}

.filter-mark {
  flex: 0 0 auto;
  width: 2.05rem;
  height: 2.05rem;
  border-color: var(--wine);
  background: var(--sand-42);
  box-shadow: none;
}

.filter-mark svg {
  width: 1rem;
  height: 1rem;
}

.atlas-toolbar--centered .filter-scroller {
  margin-top: -.1rem;
}

@media (max-width: 620px) {
  .atlas-toolbar--centered .filter-intro {
    gap: .55rem;
    padding: .45rem .8rem .45rem .6rem;
  }

  .filter-mark {
    width: 1.85rem;
    height: 1.85rem;
  }

  .atlas-toolbar--centered .filter-intro p>span {
    font-size: .66rem;
  }

  .atlas-toolbar--centered .filter-intro strong {
    font-size: .91rem;
  }
}

/* ══════════════════════════════════════════════════════════
   قسم المعدات — equipment-card بتنسيق project-card الاحترافي
   ══════════════════════════════════════════════════════════ */

.equip-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap, 1.4rem);
  padding: 2.5rem 0 3rem;
}

/* الأحجام — يتشابه مع project-card */
.equip-card               { grid-column: span 4; }   /* 3 في صف */
.equip-card.equip-wide    { grid-column: span 6; }   /* 2 في صف */
.equip-card.equip-tall    { grid-column: span 3; min-height: clamp(27rem, 32vw, 34rem); }

/* البطاقة الأساسية */
.equip-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(22rem, 28vw, 30rem);
  border: 0;
  text-align: right;
  color: var(--ivory, #FFFBE9);
  background: var(--wine, #1E1511);
  clip-path: polygon(0 0, calc(100% - 1.8rem) 0, 100% 1.8rem, 100% 100%, 1.8rem 100%, 0 calc(100% - 1.8rem));
  box-shadow: 0 1.2rem 2.2rem rgba(30,21,17,0.55);
  cursor: pointer;
  transition: opacity .35s ease, transform .5s cubic-bezier(.22,1,.36,1),
              box-shadow .5s cubic-bezier(.22,1,.36,1);
}

.equip-card::after {
  content: '';
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(227,202,165,0);
  clip-path: polygon(0 0, calc(100% - 1.2rem) 0, 100% 1.2rem, 100% 100%, 1.2rem 100%, 0 calc(100% - 1.2rem));
  transition: border-color .4s ease, inset .4s ease;
  pointer-events: none;
  z-index: 3;
}

/* صورة الخلفية */
.equip-card__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.22,1,.36,1), filter .4s ease;
}

/* overlay */
.equip-card__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(30,21,17,0.10) 0%,
    transparent 30%,
    rgba(30,21,17,0.88) 100%);
  transition: background .5s ease;
}

/* chip الفئة */
.equip-card__chip {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  background: linear-gradient(135deg, #AD8B73, #CEAB93);
  color: #FFFBE9;
  font-family: Arial, sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .3rem .75rem;
  clip-path: polygon(0 0, calc(100% - .5rem) 0, 100% .5rem, 100% 100%, .5rem 100%, 0 calc(100% - .5rem));
}

/* الرقم + الموقع */
.equip-card__topline {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
  direction: ltr;
  color: rgba(255,251,233,0.6);
  font-family: Arial, sans-serif;
  font-size: .6rem;
  letter-spacing: .07em;
}
.equip-card__topline span:first-child {
  font-size: .72rem;
  font-weight: 900;
  color: rgba(255,251,233,0.85);
}

/* المحتوى النصي */
.equip-card__body {
  position: relative;
  z-index: 2;
  padding: clamp(1rem,1.8vw,1.5rem);
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}

.equip-card__overline {
  font-family: Arial, sans-serif;
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sand, #E3CAA5);
  opacity: .7;
  margin: 0 0 .4rem;
}

.equip-card__title {
  font-family: var(--font-primary, 'Hacen Egypt', Tahoma, Arial, sans-serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
  color: var(--ivory, #FFFBE9);
  margin: 0 0 .3rem;
  line-height: 1.25;
}

.equip-card__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--sand, #E3CAA5);
  font-size: .72rem;
  opacity: .85;
  margin: 0;
}
.equip-card__meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.equip-card__desc {
  font-family: var(--font-secondary, 'DecoType Naskh', Tahoma, Arial, sans-serif);
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(227,202,165,.0);  /* مخفي في الوضع العادي */
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height .45s ease, color .35s ease, margin .35s ease;
}

/* إجراء CTA */
.equip-card__action {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--sand, #E3CAA5);
  font-size: .72rem;
  font-family: Arial, sans-serif;
  letter-spacing: .04em;
  transform: translateY(3.5rem);
  opacity: 0;
  transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .35s ease;
  margin-top: .7rem;
}
.equip-card__action b {
  font-size: 1rem;
  font-weight: 400;
  transition: transform .3s ease;
}

/* ── Hover / Focus ── */
.equip-card:hover,
.equip-card:focus-visible {
  outline: none;
  transform: translateY(-.5rem);
  box-shadow: 0 2.5rem 4rem rgba(30,21,17,0.75);
}
.equip-card:hover::after,
.equip-card:focus-visible::after {
  inset: .8rem;
  border-color: rgba(206,171,147,0.55);
}
.equip-card:hover .equip-card__img,
.equip-card:focus-visible .equip-card__img {
  transform: scale(1.07);
  filter: saturate(.82) contrast(1.08);
}
.equip-card:hover .equip-card__scrim,
.equip-card:focus-visible .equip-card__scrim {
  background: linear-gradient(180deg,
    rgba(30,21,17,0.22) 0%,
    transparent 25%,
    rgba(30,21,17,0.96) 100%);
}
.equip-card:hover .equip-card__body,
.equip-card:focus-visible .equip-card__body {
  transform: translateY(-2.2rem);
}
.equip-card:hover .equip-card__desc,
.equip-card:focus-visible .equip-card__desc {
  max-height: 6rem;
  color: rgba(227,202,165,.88);
  margin-top: .5rem;
}
.equip-card:hover .equip-card__action,
.equip-card:focus-visible .equip-card__action {
  transform: translateY(0);
  opacity: 1;
}
.equip-card:hover .equip-card__action b,
.equip-card:focus-visible .equip-card__action b {
  transform: translateX(-.3rem);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .equip-card            { grid-column: span 6; }
  .equip-card.equip-wide { grid-column: span 6; }
  .equip-card.equip-tall { grid-column: span 6; }
}
@media (max-width: 680px) {
  .equip-card,
  .equip-card.equip-wide,
  .equip-card.equip-tall { grid-column: span 12; min-height: 20rem; }
  .equip-grid            { grid-template-columns: 1fr; }
}


/* 1. تكبير حاوية العرض لضمان وضوح الـ 40 صورة */
#equipment-catalog .atlas-shell {
    display: grid !important;
    /* جعل الصور تأخذ مساحة عرض أكبر (450px كحد أدنى) */
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)) !important;
    gap: 40px !important;
    padding: 30px !important;
}

/* 2. تطبيق القص الهندسي الاحترافي (الزوايا المقصوصة بدقة) */
#equipment-catalog .atlas-item, 
#equipment-catalog div:has(> img) {
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
    /* قص الزاوية العلوية اليمنى والسفلية اليسرى كما في الصورة */
    clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 12% 100%, 0 88%) !important;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

/* 3. معالجة أبعاد الصور لتظهر بشكل كامل وعميق */
#equipment-catalog img {
    width: 100% !important;
    height: 600px !important; /* زيادة الارتفاع لتبدو الصورة ضخمة وواضحة */
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.8s ease !important;
}

/* 4. إضافة طبقة التدرج الداكن للنصوص لضمان الاحترافية */
#equipment-catalog .atlas-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, transparent 100%) !important;
    z-index: 1;
    pointer-events: none;
}

/* تأثير التكبير الهادئ عند تمرير الماوس */
#equipment-catalog .atlas-item:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2) !important;
}

#equipment-catalog .atlas-item:hover img {
    transform: scale(1.05) !important;
}

/* تنسيق خاص للجوال لضمان استمرار الوضوح */
@media (max-width: 768px) {
    #equipment-catalog .atlas-shell {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    #equipment-catalog img {
        height: 400px !important;
    }
}