/* ==========================================================================
   My TTM — who-we-are.css (page-specific, loaded after main.css)
   Uses the tokens from main.css only. Sections: page header, story,
   timeline strip, mission, why us.
   ========================================================================== */

/* ---------- Page header ------------------------------------------------- */
.page-header--about {
  border-bottom: 1px solid var(--line);
}
.page-header__sub { max-width: 52ch; }

/* ---------- Story -------------------------------------------------------- */
.story__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.story__heading {
  font-size: clamp(2.2rem, 1.4rem + 4vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 10ch;
}
.story__accent {
  position: relative;
  display: inline-block;
  color: var(--gold-dark);
}
.story__accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.02em;
  height: 0.16em;
  background: var(--gold);
  border-radius: 999px;
  opacity: 0.45;
  z-index: -1;
}
.story__body p { color: var(--text-2); }
.story__opening {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--ink);
}
.story__opening::first-letter {
  float: left;
  font-size: 3.4em;
  line-height: 0.85;
  font-weight: 800;
  color: var(--gold-dark);
  padding-right: 0.12em;
  padding-top: 0.06em;
}
@media (min-width: 860px) {
  .story__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }
  .story__head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* ---------- Timeline strip ---------------------------------------------- */
.timeline-section { padding-top: 0; }
.timeline {
  position: relative;
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline__item {
  position: relative;
  padding-left: 2rem;
}
.timeline__marker {
  position: absolute;
  left: 0; top: 0.55rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
/* Vertical connector on mobile */
.timeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px; top: 1.6rem; bottom: -1.75rem;
  width: 2px;
  background: var(--line);
}
.timeline__year {
  font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.timeline__label {
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--ink);
}
.timeline__detail {
  margin-top: 0.3rem;
  font-size: 0.925rem;
  color: var(--muted);
  max-width: 34ch;
}
@media (min-width: 760px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 3rem;
  }
  .timeline__item { padding-left: 0; padding-top: 1.5rem; }
  .timeline__marker { left: 0; top: 0; }
  /* Horizontal connector on desktop */
  .timeline__item:not(:last-child)::after {
    left: 22px; right: -2rem; top: 6px; bottom: auto;
    width: auto; height: 2px;
  }
}

/* ---------- Mission ------------------------------------------------------ */
.mission__body p { color: var(--text-2); }
.mission__tagline {
  margin-top: 1.5rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--gold);
  font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- Why us ------------------------------------------------------- */
.why__intro + .why__intro { margin-top: -1.75rem; }
.why__intro:last-child { margin-bottom: 0; }
.why__grid { margin-top: 2.5rem; }
.why-list {
  display: grid;
  gap: 0.85rem;
}
.why-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.why-list__item:hover { border-color: var(--gold); transform: translateX(3px); }
.why-list__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: 0.1rem;
  color: var(--gold);
}
.why__outro {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 600;
  color: var(--gold-dark);
  text-wrap: balance;
}

/* ---------- Dark mode tweaks (tokens handle most of it) ----------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .timeline__marker { box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.22); }
}
:root[data-theme="dark"] .timeline__marker { box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.22); }

/* ---------- Reduced motion ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .why-list__item:hover { transform: none; }
}
