/* Atlas — About page styles */

/* ─── Hero ─────────────────────────────────────────────────── */
.about-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 60px;
  position: relative;
}
.about-hero__inner {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.about-hero__h {
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.005em;
  max-width: 18ch;
}
.about-hero__sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text);
  max-width: 56ch;
}
.about-hero__marker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  margin-top: 8px;
}
.about-hero__marker-line {
  width: 80px;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue-bloom-soft);
}

/* ─── Story two-column ─────────────────────────────────────── */
.story { padding: clamp(60px, 9vw, 120px) 0; }
.story__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: flex-start;
}
.story__text { display: flex; flex-direction: column; gap: 18px; }
.story__h {
  font-size: clamp(36px, 4.6vw, 64px);
  margin-bottom: 8px;
  max-width: 18ch;
}
.story__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}
.story__text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}
.story__text p span.blue { color: var(--blue); }

.story__pillars {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.story__pillars li {
  padding: 20px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  background: rgba(14, 21, 34, 0.4);
  transition: background var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
  position: relative;
}
.story__pillars li:hover {
  background: rgba(0, 200, 255, 0.04);
}
.story__pillars-h {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--blue);
}

.story__sig {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.story__sig-line {
  width: 60px;
  height: 1px;
  background: var(--blue);
}
.story__sig-name {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--text);
}
.story__sig-role {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--text-muted);
}

/* ── Static schematic ─────────────────────────────────────── */
.schematic {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.schematic__frame {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0, 200, 255, 0.1),
    0 0 60px rgba(0, 200, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.5);
}
.schematic__frame::before,
.schematic__frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--blue);
}
.schematic__frame::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.schematic__frame::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }

.schematic__head,
.schematic__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  padding: 6px 4px;
}
.schematic__head { border-bottom: 1px solid var(--border-soft); margin-bottom: 12px; }
.schematic__foot { border-top: 1px solid var(--border-soft); margin-top: 12px; }

.schematic__art {
  background: #000;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 4px;
}
.schematic__art svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .story__inner { grid-template-columns: 1fr; }
  .schematic { position: static; }
  .story__pillars { grid-template-columns: 1fr; }
}

/* ─── Timeline ─────────────────────────────────────────────── */
.timeline { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.timeline__head {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.timeline__head h2 { font-size: clamp(40px, 5.2vw, 72px); }

.tl-wrap {
  position: relative;
}
.tl {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tl__rail {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 2px;
  pointer-events: none;
}
.tl__rail-line {
  position: absolute;
  inset: 0;
  background: var(--border);
}
.tl__rail-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  box-shadow: 0 0 12px var(--blue-bloom);
  transition: height 0.1s linear;
}

.tl__node {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  min-height: 220px;
}
.tl__dot {
  grid-column: 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  justify-self: center;
  z-index: 2;
  position: relative;
  transition: all var(--t-slow) var(--ease-out);
}
.tl__node.is-active .tl__dot {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 200, 255, 0.18),
              0 0 24px var(--blue);
}
.tl__dot--live::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  animation: tl-pulse 2s var(--ease-in-out) infinite;
  opacity: 0;
}
.tl__node.is-active .tl__dot--live::after { opacity: 1; }
@keyframes tl-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

.tl__card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  position: relative;
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out),
              border-color var(--t-med) var(--ease-out);
  opacity: 0;
}
.tl__node[data-tl-step="1"] .tl__card,
.tl__node[data-tl-step="3"] .tl__card {
  grid-column: 1;
  transform: translateX(-40px);
  text-align: right;
  margin-right: 14px;
}
.tl__node[data-tl-step="2"] .tl__card,
.tl__node[data-tl-step="4"] .tl__card {
  grid-column: 3;
  transform: translateX(40px);
  margin-left: 14px;
}
.tl__node.is-active .tl__card {
  opacity: 1;
  transform: translateX(0);
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue-bloom-soft),
              0 24px 48px rgba(0, 0, 0, 0.4);
}
.tl__card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--border);
  transform: translateY(-50%);
}
.tl__node[data-tl-step="1"] .tl__card::before,
.tl__node[data-tl-step="3"] .tl__card::before {
  right: -14px;
}
.tl__node[data-tl-step="2"] .tl__card::before,
.tl__node[data-tl-step="4"] .tl__card::before {
  left: -14px;
}
.tl__node.is-active .tl__card::before { background: var(--blue); }

.tl__card--current {
  background: linear-gradient(135deg, var(--surface-1), rgba(0, 102, 255, 0.06));
}
.tl__year {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}
.tl__h {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 12px;
  letter-spacing: 0.03em;
}
.tl__card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 760px) {
  .tl__rail { left: 24px; transform: none; }
  .tl__node {
    grid-template-columns: 48px 1fr;
    min-height: 0;
    padding: 14px 0;
  }
  .tl__dot { grid-column: 1; justify-self: start; margin-left: 16px; }
  .tl__node[data-tl-step="1"] .tl__card,
  .tl__node[data-tl-step="2"] .tl__card,
  .tl__node[data-tl-step="3"] .tl__card,
  .tl__node[data-tl-step="4"] .tl__card {
    grid-column: 2;
    text-align: left;
    margin: 0;
    transform: translateY(20px);
  }
  .tl__card::before { display: none; }
  .tl__node.is-active .tl__card { transform: translateY(0); }
}

/* ─── Values ───────────────────────────────────────────────── */
.values { padding: clamp(80px, 12vw, 140px) 0; }
.values__head {
  margin-bottom: 64px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.values__head h2 { font-size: clamp(40px, 5.2vw, 72px); max-width: 18ch; }

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1080px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .values__grid { grid-template-columns: 1fr; } }

.val-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  isolation: isolate;
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
  min-height: 280px;
}
.val-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width var(--t-slow) var(--ease-out);
  box-shadow: 0 0 8px var(--blue-bloom);
}
.val-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 24px 48px rgba(0, 102, 255, 0.16);
}
.val-card:hover::before { width: 100%; }

.val-card__index {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}
.val-card__h {
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: 0.03em;
  margin: 0;
}
.val-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.val-card__line {
  margin-top: auto;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

/* ─── Connect strip ────────────────────────────────────────── */
.connect { padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 140px); }
.connect__inner {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.connect__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(0, 200, 255, 0.06), transparent 50%);
  pointer-events: none;
}
.connect__inner h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin: 16px 0 14px;
  max-width: 14ch;
}
.connect__inner > div p { font-size: 15px; }

.connect__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.connect__link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: all var(--t-med) var(--ease-out);
}
.connect__link:hover {
  border-color: var(--blue);
  background: rgba(0, 200, 255, 0.04);
  transform: translateX(4px);
}
.connect__link:hover .connect__link-icon { color: var(--blue); }
.connect__link-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.connect__link:hover .connect__link-icon { border-color: var(--blue); }
.connect__link-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.connect__link-text .mono {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}
.connect__link-val { font-size: 16px; }
.connect__link .arrow {
  background: var(--text-muted);
  transition: background var(--t-med) var(--ease-out),
              transform var(--t-med) var(--ease-out);
}
.connect__link .arrow::after {
  border-color: var(--text-muted);
}
.connect__link:hover .arrow { background: var(--blue); transform: translateX(4px); }
.connect__link:hover .arrow::after { border-color: var(--blue); }

@media (max-width: 880px) {
  .connect__inner { grid-template-columns: 1fr; gap: 32px; }
}
