/* ==========================================================================
   IN7 GAME — About page
   Story timeline • pillars • editorial standards • what we are / are not
   ========================================================================== */

/* --- Split intro with a stat rail --- */
.about-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 66px);
  align-items: start;
}

.about-rail {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 116px;
}

.about-rail__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-soft);
}

.about-rail__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex: none;
  min-width: 62px;
}

.about-rail__txt { font-size: var(--fs-xs); color: var(--color-text-muted); line-height: 1.6; }
.about-rail__txt b { display: block; font-family: var(--font-display); font-size: 0.9rem; color: var(--color-black); }

@media (max-width: 940px) {
  .about-intro__inner { grid-template-columns: 1fr; }
  .about-rail { position: static; }
}

/* --- Vertical timeline --- */
.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--color-gold-light) 12%, var(--color-gold-light) 88%, transparent);
}

.timeline li {
  position: relative;
  margin: 0 0 var(--sp-6);
  width: calc(50% - 44px);
}

.timeline li:nth-child(odd) { margin-right: auto; text-align: right; }
.timeline li:nth-child(even) { margin-left: auto; }

.timeline__dot {
  position: absolute;
  top: 26px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 0 5px var(--color-bg), var(--shadow-gold-glow);
  z-index: 2;
}

.timeline li:nth-child(odd) .timeline__dot { right: -53px; }
.timeline li:nth-child(even) .timeline__dot { left: -53px; }

.timeline__card {
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.timeline__card:hover { transform: translateY(-4px); border-color: var(--color-gold-light); }

.timeline__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-crimson);
  margin-bottom: 8px;
}

.timeline__card h3 { font-size: 1.06rem; margin-bottom: 7px; }
.timeline__card p { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0; max-width: none; }

@media (max-width: 780px) {
  .timeline::before { left: 9px; transform: none; }
  .timeline li,
  .timeline li:nth-child(odd),
  .timeline li:nth-child(even) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 44px;
    text-align: left;
  }
  .timeline li:nth-child(odd) .timeline__dot,
  .timeline li:nth-child(even) .timeline__dot { left: 0; right: auto; }
}

/* --- Pillar blocks (big numbered) --- */
.pillars { display: grid; gap: var(--sp-5); }

.pillar {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-soft);
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.pillar:hover { border-color: var(--color-gold); transform: translateX(6px); }

.pillar__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--color-gold-light);
}

.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: 0; }
.pillar p + p { margin-top: 10px; }

@media (max-width: 560px) {
  .pillar { grid-template-columns: 1fr; gap: var(--sp-3); }
  .pillar__num { font-size: 2.2rem; }
}

/* --- Editorial standards strip --- */
.standards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-4); }

.standard {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) calc(var(--sp-5) + 6px);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(238, 222, 159, 0.18);
  overflow: hidden;
}

.standard::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-gold);
}

.standard h3 { font-size: 1rem; margin-bottom: 7px; color: var(--color-text-inverse); }
.standard p { font-size: var(--fs-sm); color: var(--color-text-inverse-muted); margin: 0; }

/* --- Team-free "how we work" grid --- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-4); }

.work-step {
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--color-surface-sunken);
  border: 1px dashed var(--color-border);
}

.work-step__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--color-black);
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.work-step h3 { font-size: 0.99rem; margin-bottom: 6px; }
.work-step p { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0; }
