/* =========================================================
   About page (loads after style.css and reuses its theme)
   1. Bangla type
   2. Photo + greeting
   3. Journey timeline
   4. Quote + story
   ========================================================= */

/* ---------- 1. Bangla type ---------- */
.about-page main { font-family: var(--font-bangla); }
.about-page main p, .about-page main li { line-height: 1.75; }
.bn-head, .salam, .stop__title, .stop__k {
  font-family: var(--font-bangla); letter-spacing: 0;
}

/* ---------- 2. Photo + greeting ---------- */
.about-hero { padding: 20px 0 40px; }
.about-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
  padding: 14px 14px 32px; border-radius: var(--r-xl);
  background:
    radial-gradient(60% 50% at 75% 40%, rgba(156,192,255,.22), transparent 70%),
    linear-gradient(180deg, #0B1636 0%, var(--cobalt) 60%, var(--steel) 130%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 40px 80px -30px rgba(27,63,160,.6);
}
.about-panel::before {      /* radar rings behind the text */
  content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 71px rgba(255,255,255,.07);
  pointer-events: none;
}
.about-photo { position: relative; margin: 0; }
.about-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 30%;
  border-radius: calc(var(--r-xl) - 10px);
  box-shadow: 0 30px 60px -20px rgba(4,7,15,.6);
}
.photo-tag {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: var(--pill);
  background: rgba(10,16,34,.55); color: var(--ink);
  font-family: var(--font-bangla); font-size: 15px; font-weight: 600;
}
.photo-tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(47,107,255,.3); }

.about-intro { position: relative; padding: 0 10px; }
.salam {
  margin: 0; color: var(--ink);
  font-size: clamp(16px, 1.8vw, 20px); font-weight: 500; line-height: 1.4;
  color: rgba(255,255,255,.8);
}
.intro-line { margin: 10px 0 0; max-width: 24ch; font-size: clamp(26px, 3.4vw, 38px); font-weight: 400; line-height: 1.45; color: rgba(255,255,255,.88); }
.intro-line strong { display: block; color: var(--ink); font-weight: 700; }
.intro-line__sub { display: block; margin-top: 6px; font-size: .62em; font-weight: 400; line-height: 1.6; }

.quick-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fact { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: var(--pill); }
.fact__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px rgba(47,107,255,.18);
}
.fact__icon .icon { width: 20px; height: 20px; }
.fact__k { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.fact__v { display: block; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }

@media (min-width: 860px) {
  .about-hero { padding: 28px 0 56px; }
  .about-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; padding: 18px 56px 18px 18px; }
  .about-photo img { aspect-ratio: 3 / 4; }
}

/* ---------- 3. Journey timeline ---------- */
.bn-head { margin: 0 0 10px; font-size: clamp(36px, 6vw, 60px); line-height: 1.15; font-weight: 700; }
/* Journey section: everything centred */
.journey .label, .journey .section-head { text-align: center; }
.journey .section-head p { max-width: 52ch; margin: 0 auto; font-size: 18px; }
.journey .stop__card { text-align: center; }
.journey .stop__k { justify-content: center; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.timeline::before {           /* the journey line */
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), var(--accent) 85%);
}
.stop { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.stop__node {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--space-2); border: 1px solid var(--glass-border);
}
.stop__node .icon { width: 22px; height: 22px; }
.stop--now .stop__node { background: var(--accent); border-color: transparent; box-shadow: 0 0 0 8px rgba(47,107,255,.15), 0 0 30px rgba(47,107,255,.6); }
.stop__card { padding: 20px 22px; border-radius: var(--r-md); transition: transform .2s ease; }
.stop__card:hover { transform: translateY(-3px); }
.stop__k { margin: 0; font-size: 14px; font-weight: 500; color: var(--accent-hi); display: flex; align-items: center; gap: 8px; }
.stop__title { margin: 4px 0 0; font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.stop__text { margin: 8px 0 0; font-size: 16px; color: var(--ink-soft); }
.now-pill {
  padding: 2px 10px; border-radius: var(--pill); background: var(--accent); color: #fff;
  font: 500 10px var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
}

/* Wide screens: the line runs across, cards sit in a 4-column bento row */
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .timeline::before {
    left: 12.5%; right: 12.5%; top: 23px; bottom: auto; width: auto; height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.12), var(--accent) 90%);
  }
  .stop { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
  .stop__card { width: 100%; }
  .stop__card { height: 100%; }
}

/* ---------- 4. Quote + story ---------- */
.story-panel { padding: 36px 22px; border-radius: var(--r-xl); text-align: center; }
@media (min-width: 860px) { .story-panel { padding: 64px 72px; } }
.story-head { margin: 0 0 24px; text-align: center; }
.story-lead { margin: 0 auto; max-width: 46ch; font-size: 18px; color: var(--ink-soft); }

.quote { position: relative; margin: 36px auto; max-width: 820px; }
.quote__mark {
  display: block; height: .5em; margin-bottom: 12px;
  font: 700 120px/1 var(--font-display); color: var(--accent);
  text-shadow: 0 0 40px rgba(47,107,255,.6);
}
.quote blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -.035em; color: var(--ink);
  text-wrap: balance;
}

.story-body { margin: 0 auto; max-width: 60ch; display: grid; gap: 14px; text-align: left; }
.story-body p { margin: 0; font-size: 18px; font-weight: 400; color: var(--ink-soft); }
.story-body p:first-child { text-align: center; font-weight: 600; color: var(--ink); font-size: 19px; margin-bottom: 8px; }

/* পথচলা: every box the same size (as tall as the tallest), text centred inside */
.timeline { grid-auto-rows: 1fr; }
.stop { align-items: stretch; }
.stop__node { align-self: start; }
.stop__card { display: flex; flex-direction: column; justify-content: center; height: 100%; box-sizing: border-box; }
@media (min-width: 900px) {
  .stop { grid-template-rows: auto 1fr; }
}

/* আমার গল্প (desktop only): story text 22.7px and full width of the box,
   leaving the panel padding (64px top, 72px sides) as breathing space */
@media (min-width: 860px) {
  .story-lead, .story-body { max-width: none; }
  .story-lead { font-size: 22.7px; }
  .story-body p { font-size: 22.7px; }
  .story-body p:first-child { font-size: 23.9px; }
}
