/* chronology.agenticlearning.ai — site layer. Tokens and components come
   from the lab's shared stylesheet (agenticlearning.ai/css/lab-*.css),
   linked before this file, as on outerloop.science. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin: 0.5rem 0 1.5rem; padding: 3rem 3.25rem 2.25rem; background: var(--card-bg); border-radius: var(--radius-lg); }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); line-height: 1.1; font-weight: 500; margin: 0; max-width: 22ch; }
.hero p { max-width: 62ch; font-size: 1.1rem; margin: 1rem 0 0.5rem; }
svg.timeline { width: 100%; height: auto; display: block; }
.timeline .axis { stroke: var(--fg-muted); stroke-width: 2; }
.timeline .known { fill: var(--accent); }
.timeline .future { fill: none; stroke: var(--fg-muted); stroke-width: 2; stroke-dasharray: 3 3; opacity: 0.6; }
.timeline .futurezone { fill: var(--fg); opacity: 0.05; }
.timeline .cut { stroke: var(--accent); stroke-width: 3; }
.timeline .lbl { font-family: var(--mono); font-size: 15px; fill: var(--fg-muted); }
.timeline .tlbl { font-family: var(--mono); font-size: 17px; font-weight: 700; fill: var(--accent); }
.timeline .ev { font-family: var(--serif); font-size: 13.5px; fill: var(--fg); }
.timeline .evf { font-family: var(--serif); font-size: 13.5px; fill: var(--fg-muted); opacity: 0.7; }
.lede { max-width: 66ch; }
ul.data { padding-left: 1.2rem; max-width: 66ch; }
ul.data li { margin: 0.35rem 0; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.grid4 .box h3 { margin-top: 0; }
@media (max-width: 860px) { .hero { padding: 2rem 1.5rem; } }

svg.rings { width: 100%; height: auto; display: block; }
.rings .ring { fill: none; }
.rings .past { stroke: var(--accent); stroke-width: 2; opacity: 0.4; }
.rings .now { stroke: var(--accent); stroke-width: 4.5; opacity: 1; }
.rings .future { stroke: var(--fg-muted); stroke-width: 2; stroke-dasharray: 4 5; opacity: 0.55; }
.rings .futurezone { fill: var(--fg); opacity: 0.045; }
.rings .ev { fill: var(--accent); }
.rings .evf { fill: var(--bg); stroke: var(--fg-muted); stroke-width: 2; stroke-dasharray: 3 3; }
.rings .lbl { font-family: var(--serif); font-size: 15px; fill: var(--fg); }
.rings .lblf { font-family: var(--serif); font-size: 15px; fill: var(--fg-muted); opacity: 0.75; }
.rings .wk { font-family: var(--mono); font-size: 12px; fill: var(--fg-muted); }
.rings .wk.tnow { font-size: 14px; font-weight: 700; fill: var(--accent); }
.rings .cap { font-family: var(--mono); font-size: 13px; fill: var(--fg-muted); }
.rings .q { font-family: var(--serif); font-size: 15px; font-style: italic; fill: var(--fg-muted); }

.rings .lbl, .rings .lblf, .rings .cap { paint-order: stroke; stroke: var(--card-bg); stroke-width: 6px; stroke-linejoin: round; }
.rings .ring { stroke-linecap: round; }

.example { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 0.9rem; margin: 0.5rem 0 -0.5rem; }
.example .eq { grid-column: 2; text-align: center; }
.example .asked { grid-column: 3; justify-self: start; }
.example .tag { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 0.1rem 0.6rem; }
.example .eq { margin: 0; font-size: 1.2rem; font-weight: 400; color: var(--fg); }
.example .asked { font-family: var(--mono); font-size: 0.85rem; color: var(--fg-muted); }

@media (max-width: 720px) { .example { grid-template-columns: 1fr; text-align: center; } .example .eq, .example .asked { grid-column: 1; justify-self: center; } }




@media (max-width: 720px) {
  .fig-d { display: none; }
  .fig-m { display: block; }
  .hero h1 { font-size: 2rem; }
  .example .eq { font-size: 1.05rem; }
}

.fig { position: relative; }
.fig-m { display: none; }
.fig .labels span { position: absolute; white-space: nowrap; line-height: 1; transform: translate(0, -85%);
  text-shadow: 0 0 3px var(--card-bg), 0 0 3px var(--card-bg), 0 0 4px var(--card-bg), 0 0 6px var(--card-bg); }
.fig .labels span.a-middle { transform: translate(-50%, -85%); }
.fig .labels span.a-end { transform: translate(-100%, -85%); }
.fig .lbl, .fig .ml { font-family: var(--serif); font-size: 0.95rem; color: var(--fg); }
.fig .lblf, .fig .mlf { font-family: var(--serif); font-size: 0.95rem; color: var(--fg-muted); }
.fig .cap, .fig .mc, .fig .wk { font-family: var(--mono); font-size: 0.75rem; color: var(--fg-muted); }
.fig .wk.tnow { font-size: 0.85rem; font-weight: 700; color: var(--accent); }

@media (max-width: 720px) { .fig-d { display: none; } .fig-m { display: block; } }

.ledger { margin: 0.25rem 0 0.5rem; }
.ledger td.h { min-width: 0; }
@media (max-width: 720px) { .ledger th:nth-child(2), .ledger td:nth-child(2) { display: none; } .ledger td.h { white-space: normal; } }

.fig-m .ml, .fig-m .mlf { font-size: 0.8rem; }
.fig-m .mc { font-size: 0.7rem; }

.fig-m .wk { font-size: 0.62rem; }
.fig-m .wk.tnow { font-size: 0.7rem; }

@media (max-width: 720px) { .fig-m { margin: 0.25rem 0 0; } }

@media (max-width: 400px) { .hero h1 { font-size: 1.65rem; } }

@media (max-width: 860px) { .hero { padding: 2.25rem 2.25rem 1.75rem; } }
@media (max-width: 480px) { .hero { padding: 1.75rem 1.4rem 1.5rem; } }

.example .asked { white-space: nowrap; }
@media (max-width: 900px) { .example { grid-template-columns: 1fr; text-align: center; } .example .eq, .example .asked { grid-column: 1; justify-self: center; } }

@media (max-width: 480px) { .fig-m .mc, .fig-m .wk { font-size: 0.58rem; } .fig-m .wk.tnow { font-size: 0.64rem; } }

/* slightly larger figure text */
.fig .lbl, .fig .lblf { font-size: 1.02rem; }
.fig .cap, .fig .wk { font-size: 0.8rem; }
.fig .wk.tnow { font-size: 0.9rem; }
.fig-m .ml, .fig-m .mlf { font-size: 0.88rem; }
.fig-m .mc, .fig-m .wk { font-size: 0.66rem; }
.fig-m .wk.tnow { font-size: 0.72rem; }
@media (max-width: 480px) { .fig-m .ml, .fig-m .mlf { font-size: 0.84rem; } .fig-m .mc, .fig-m .wk { font-size: 0.64rem; } .fig-m .wk.tnow { font-size: 0.7rem; } }
