/* =========================================================
   Regenix 2026 – Our Story (About) page
   Load AFTER css/regenix-home.css and css/regenix-method.css
   (the dark split, buttons, type and Starter Kit come from those).
   ========================================================= */

/* ---------- Hero ---------- */
.rgx-ahero { padding: 120px 0 0; }
.rgx-ahero h1 { margin: 6px 0 20px; }
.rgx-ahero .rgx-lead { color: var(--rgx-ink); }
.rgx-ahero__rule { border: 0; border-top: 1px solid var(--rgx-soft); margin: 48px 0 0; }

/* ---------- Timeline ---------- */
.rgx-tl-section { padding: clamp(48px, 6vw, 80px) 0 var(--rgx-section); }
.rgx .rgx-tl { list-style: none; position: relative; margin-top: 0; margin-bottom: 0; }
.rgx-tl::before {                       /* centre line */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--rgx-muted); opacity: 0.6;
}
.rgx-tl__item {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 96px; align-items: center;
  padding: 28px 0;
}
.rgx-tl__item::before {                 /* tick on the line */
  content: ""; position: absolute; top: 50%; width: 32px; height: 1px;
  background: var(--rgx-muted); opacity: 0.6;
}
.rgx-tl__item--left::before  { right: 50%; }
.rgx-tl__item--right::before { left: 50%; }

.rgx-tl__item--left  .rgx-tl__text { grid-column: 1; grid-row: 1; }
.rgx-tl__item--left  .rgx-tl__img  { grid-column: 2; grid-row: 1; }
.rgx-tl__item--right .rgx-tl__text { grid-column: 2; grid-row: 1; }
.rgx-tl__item--right .rgx-tl__img  { grid-column: 1; grid-row: 1; }

.rgx-tl__text { max-width: 440px; }
.rgx-tl__item--left .rgx-tl__text { justify-self: end; }
.rgx .rgx-tl__text h3 { color: var(--rgx-azure); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; margin-bottom: 14px; }
.rgx-tl__year { display: block; }
.rgx .rgx-tl__text p { font-size: 16px; margin: 0; }

.rgx-tl__img { margin: 0; max-width: 440px; border-radius: 10px; overflow: hidden; background: var(--rgx-ocean); aspect-ratio: 4 / 3; }
.rgx-tl__item--right .rgx-tl__img { justify-self: end; }
.rgx-tl__img img { width: 100%; height: 100% !important; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .rgx-tl::before { left: calc(var(--rgx-gutter) + 6px); }
  .rgx-tl__item { grid-template-columns: 1fr; row-gap: 18px; padding: 24px 0 24px 36px; }
  .rgx-tl__item::before { left: 6px !important; right: auto !important; top: 40px; width: 22px; }
  .rgx-tl__item .rgx-tl__text,
  .rgx-tl__item .rgx-tl__img { grid-column: 1 !important; justify-self: stretch !important; max-width: none; }
  .rgx-tl__item .rgx-tl__text { grid-row: 1 !important; }
  .rgx-tl__item .rgx-tl__img  { grid-row: 2 !important; }
}

/* ---------- Mission ---------- */
.rgx-mission h2 { margin-bottom: 28px; }
.rgx .rgx-mission__sign { font-family: var(--rgx-serif); font-size: 26px; color: #fff; margin: 26px 0 6px; }
.rgx-mission .rgx-eyebrow { color: var(--rgx-ivory); }

/* ---------- Promise cards ---------- */
.rgx-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; text-align: left; max-width:1280px; margin-left: auto; margin-right: auto; }
.rgx-promise__card { background: rgba(255, 255, 255, 0.7); border-radius: 12px; padding: 28px 28px 30px; }
.rgx-promise__card svg {
  width: 42px; height: 42px; margin-bottom: 30px;
  fill: none; stroke: var(--rgx-azure); stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round;
}
.rgx-promise__card img {
	margin-bottom:18px;
}
.rgx .rgx-promise__card h3 { font-size: 22px; margin-bottom: 14px; color: var(--rgx-ink); }
.rgx .rgx-promise__card p { font-size: 16px; margin: 0; }
@media (max-width: 760px) { .rgx-promise { grid-template-columns: 1fr; } }
