/* ============================================================
   ELYRA ZEN — ABOUT PAGE STYLES
============================================================ */

/* ── MANIFESTO ──────────────────────────────────────────── */
.manifesto {
  padding: calc(var(--nav-h) + 6rem) 0 5rem;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.manifesto::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assert/hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35; 
  z-index: 0;
}

.manifesto > *{
  position: relative;
  z-index: 1;
}

.manifesto-headline {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin-top: 1.5rem;
  max-width: 900px;
}
.manifesto-headline em { color: var(--gold-light); }
.manifesto-line {
  width: 60px; height: 2px;
  background: var(--gold);
  margin-top: 3rem;
}

/* ── STORY ──────────────────────────────────────────────── */
.story {
  padding: 7rem 0;
  background: var(--off-white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.story-visual {
  position: relative;
  height: 480px;
}

/* Updated to handle the image */
.story-img-wrapper {
  position: absolute;
  top: 40px; left: 40px; right: 0; bottom: 0;
  border-radius: var(--radius-lg);
  background: var(--paper); /* Fallback color while image loads */
  z-index: 1;
}

/* This creates the floating gold border behind the image */
.story-img-wrapper::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px; right: 40px; bottom: 40px;
  border: 1px solid rgba(184,150,62,0.35);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the square perfectly without stretching */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: block;
}

.story-badge {
  position: absolute;
  bottom: 40px; left: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 1.4rem 2rem;
  border-radius: var(--radius-sm);
  z-index: 2; /* Ensures the badge sits on top of the new image */
  box-shadow: var(--shadow-md);
}

.badge-year {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.badge-text {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
  display: block;
}

/* ── VALUES ─────────────────────────────────────────────── */
.values {
  padding: 7rem 0;
}
.values .section-headline { margin-bottom: 4rem; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--paper);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.value-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(184,150,62,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* ── PROCESS ────────────────────────────────────────────── */
.process {
  padding: 7rem 0;
  background: var(--off-white);
}
.process .section-headline { margin-bottom: 4rem; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  padding: 2rem 2.5rem 2rem 0;
  position: relative;
}
.step-icon {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.2rem;
}
.step-line {
  position: absolute;
  top: 1.8rem; left: 2.8rem;
  width: calc(100% - 1rem);
  height: 1px;
  background: linear-gradient(to right, var(--gold), var(--light-grey));
}
.step-line.hide-line { display: none; }
.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--mid-grey);
  line-height: 1.7;
}

/* ── TEAM ───────────────────────────────────────────────── */
.team {
  padding: 7rem 0;
}
.team .section-headline { margin-bottom: 4rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  background: var(--off-white);
  transition: var(--transition);
}
.team-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
}
.av-1 { background: linear-gradient(135deg, #B8963E, #D4AF6A); }
.av-2 { background: linear-gradient(135deg, #8B7355, #B8963E); }
.av-3 { background: linear-gradient(135deg, #6B6B6B, #B8963E); }

.team-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.team-role {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.team-card p {
  font-size: 0.88rem;
  color: var(--mid-grey);
  line-height: 1.65;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .step-line { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { height: 300px; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}