/* ==========================================================================
   LAMSET NOOR STUDIO — pages/about.css
   ========================================================================== */

/* ---------- Story split ---------- */
.story__media {
  position: relative;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.story__media .frame:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 10; }
.story__media .frame:nth-child(2),
.story__media .frame:nth-child(3) { aspect-ratio: 1 / 1; }

.story__quote {
  position: relative;
  padding-inline-start: 1.6rem;
  border-inline-start: 2px solid var(--gold-400);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.6;
  color: var(--text);
}
html[lang='ar'] .story__quote { font-family: var(--font-ar-display); font-style: normal; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  inset-block-start: 27px;
  inset-inline: 12%;
  height: 1px;
  background: var(--gold-line);
  opacity: .55;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  text-align: center;
  align-items: center;
}

.step__dot {
  position: relative;
  z-index: 2;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-text);
  transition: all var(--t-mid) var(--ease-back);
}
.step:hover .step__dot {
  background: var(--gold-grad);
  color: #0A0810;
  border-color: transparent;
  transform: scale(1.12);
  box-shadow: var(--glow);
}

.step__title { font-size: 1.22rem; }
.step__text { font-size: .9rem; line-height: 1.75; max-width: 34ch; }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.8rem); }

.value {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-mid) var(--ease-lux), border-color var(--t-mid);
}
.value:hover { transform: translateY(-8px); border-color: var(--gold-400); }

.value__glyph {
  position: absolute;
  inset-block-start: -18px;
  inset-inline-end: -8px;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  z-index: -1;
  user-select: none;
}

.value__icon { width: 42px; height: 42px; color: var(--gold-text); margin-block-end: 1.2rem; }
.value__icon svg { width: 100%; height: 100%; }
.value__title { font-size: 1.35rem; margin-block-end: .55rem; }
.value__text { font-size: .93rem; line-height: 1.8; }

@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }

.member { display: flex; flex-direction: column; gap: 1rem; }

.member__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-lux), filter var(--t-mid); }
.member:hover .member__photo img { transform: scale(1.06); }

.member__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--img-veil);
  opacity: .55;
  transition: opacity var(--t-mid);
}
.member:hover .member__photo::after { opacity: .25; }

.member__initial {
  position: absolute;
  inset-block-end: 1rem;
  inset-inline-start: 1.1rem;
  z-index: 2;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #0A0810;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.member__name { font-size: 1.3rem; }
.member__role {
  font-size: var(--fs-micro);
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--gold-text);
}
html[lang='ar'] .member__role { letter-spacing: .03em; text-transform: none; font-size: .84rem; }

@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

/* ---------- Visit band ---------- */
.visit {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  border: 1px solid var(--line);
}

.visit::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--gold-grad-soft), var(--surface);
}

.visit__title { font-size: clamp(1.8rem, 4vw, 3rem); margin-block-end: .9rem; }
.visit__text { max-width: 52ch; margin-inline: auto; margin-block-end: 2rem; }
