/* Unveiled — Copyright (c) 2026 Andre Prior // PushingPandas // a.prior@pushingpandas.io
   All rights reserved. No distribution, modification, or sale without written consent. */

/* Timeline page (/timeline) — long-form scrolling registry. Inherits
   black background + Geist Mono body from style.css; adds the
   sticky-rail / content-stream split + per-entry case-card chrome.
   Marketing voice: out-of-fiction Unveiled framing, but the entries
   themselves stay in OSAR registry tone (consistent with the
   in-fiction backbone of the project). */

.timeline-body {
  /* Marketing site's body sets `min-height: 100vh` only. Timeline
     content drives a much taller page; let it. */
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* Topbar pill row — sits over the parallax sky. Visually parallels the
   .login-pill from index.html so a visitor toggling between the two
   pages doesn't feel a stylistic break. */
.t-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.55) 80%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.t-brand {
  text-decoration: none;
  color: #f6f8fc;
  letter-spacing: 4px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  font-family: "GeistPixel Circle", ui-monospace, "JetBrains Mono", Consolas,
    monospace;
}
.t-topnav {
  display: flex;
  gap: 8px;
}
/* Pills sit naked on top of the parallax sky by default — no
   border, no plate. Just text + transparent backdrop blur. The
   visible chrome is reserved for two specific roles:
     - .is-active  → static 1px ring marking the current page
     - .t-pill--signin → permanent orbiting glow halo (CTA) */
.t-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #f6f8fc;
  text-decoration: none;
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.t-pill:hover {
  color: #ffffff;
  border-color: rgba(246, 248, 252, 0.25);
}
/* Reset native button chrome so a <button class="t-pill"> renders
   identical to an <a class="t-pill"> — the Sign-in pill is the only
   button-typed nav item, and we don't want a system font fallback
   or a focus halo that breaks the row's visual rhythm. */
button.t-pill {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

/* Active-page indicator — just an underline. No border, no plate,
   no animation — the only nav element with chrome is Sign in by
   design. The underline sits a hair below the text baseline so it
   reads as a typographic "you are here" mark, not as a button
   bottom-edge. The .is-active class is set per-page on the
   <a class="t-pill"> matching the current URL. */
.t-pill.is-active {
  text-decoration: underline;
  text-decoration-color: #f6f8fc;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Sign-in pill — permanent orbiting glow ring + halo, regardless
   of which page you're on. This is the marketing surface's CTA;
   it always pulses to draw the eye. Two pseudos: ::before paints
   a 1px conic-gradient ring (double-mask trick), ::after blurs a
   wider halo. Both ride --glow-angle driven by `signup-orbit
   4.2 s linear infinite`, kept in lock-step with the newsletter
   signup field at the bottom of the page so the two CTAs feel
   like one luminous system. The chevron nudges right on hover —
   same affordance as the legacy .login-pill this replaced. */
.t-pill--signin {
  position: relative;
  background: rgba(10, 13, 18, 0.65);
  border: 0;
  isolation: isolate;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.t-pill--signin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--glow-angle),
    rgba(255, 255, 255, 1) 0deg,
    rgba(255, 255, 255, 0.55) 10deg,
    transparent 38deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  animation: signup-orbit 4.2s linear infinite;
}
.t-pill--signin::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--glow-angle),
    rgba(255, 255, 255, 0.85) 0deg,
    rgba(255, 255, 255, 0.35) 14deg,
    transparent 50deg,
    transparent 360deg
  );
  filter: blur(10px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
  animation: signup-orbit 4.2s linear infinite;
}
.t-pill--signin .t-pill__arrow {
  font-size: 13px;
  font-weight: 600;
  transition: transform 160ms ease;
}
.t-pill--signin:hover .t-pill__arrow {
  transform: translateX(2px);
}

.t-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 28px 80px;
  position: relative;
  z-index: 5;
}

/* Hero — sets the OOC frame. Heading uses the body Geist Mono with a
   single emphasised word in GeistPixel Circle so the page leads with
   a visual rhyme to the wordmark on the homepage. */
.t-hero {
  max-width: 760px;
  margin: 24px auto 56px;
  text-align: center;
}
.t-eyebrow {
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(246, 248, 252, 0.55);
  margin: 0 0 18px;
}
.t-title {
  /* Headline in the same LED-matrix face as the homepage wordmark
     (GeistPixel Circle). Letter-spacing + soft glow match
     .wordmark so the two pages share a typographic spine, and the
     size now matches it too — Andre flagged that smaller dots
     just don't read. clamp(58, 9vw, 124px) is the same as the
     wordmark; font-weight 700 makes the matrix punch through.
     Multi-line sentence titles will wrap at this size, which is
     intended — readability over compactness. */
  font-family: "GeistPixel Circle", ui-monospace, "JetBrains Mono", Consolas,
    monospace;
  font-size: clamp(58px, 9vw, 124px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 4px;
  margin: 0 0 28px;
  color: #f6f8fc;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.18),
    0 0 48px rgba(180, 200, 255, 0.08);
}
.t-lede {
  margin: 0 auto 10px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(246, 248, 252, 0.78);
}
.t-lede--quiet {
  color: rgba(246, 248, 252, 0.5);
  font-size: 13px;
}
.t-lede--quiet em {
  font-style: italic;
  color: rgba(246, 248, 252, 0.85);
}

/* Two-column layout — sticky rail + scrolling content. Same idea as
   ai-2027.com. Rail collapses on narrow viewports. */
.t-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
}
@media (max-width: 900px) {
  .t-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.t-rail {
  position: sticky;
  top: 86px;
  align-self: start;
  height: calc(100vh - 110px);
  /* Inner scroll stays — the 26-entry rail still needs to slide when
     the viewport is too short to fit them all. Visible scrollbar
     hidden though: ai-2027.com's rail sits clean against the page
     and a chrome bar would break that vibe. The active-state
     highlight is the visual anchor instead, and the JS auto-scrolls
     the active entry into view. */
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: none;
}
.t-rail::-webkit-scrollbar {
  display: none;
}
.t-rail__list {
  display: flex;
  flex-direction: column;
}
@media (max-width: 900px) {
  .t-rail {
    display: none;
  }
}

.t-rail__item {
  appearance: none;
  background: transparent;
  border: 0;
  border-left: 2px solid rgba(246, 248, 252, 0.16);
  padding: 8px 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  color: rgba(246, 248, 252, 0.5);
  transition: color 160ms ease, border-color 160ms ease;
}
.t-rail__item:hover {
  color: #f6f8fc;
  border-left-color: rgba(246, 248, 252, 0.55);
}
.t-rail__item.is-active {
  color: #f6f8fc;
  border-left-color: #f6f8fc;
}
.t-rail__item .date {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(246, 248, 252, 0.7);
}
.t-rail__item.is-active .date {
  color: #f6f8fc;
}
.t-rail__item .title {
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.35;
  letter-spacing: 0.2px;
}

/* Stream of articles. Each entry: text body + evidence card side by
   side. Generous gap between entries reads as a long, deliberate
   document — not a feed. */
.t-stream {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.t-entry {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 720px) {
  .t-entry {
    grid-template-columns: 1fr;
  }
}
.t-entry__date {
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(246, 248, 252, 0.6);
  margin: 0 0 8px;
}
.t-entry__heading {
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1.25;
  color: #f6f8fc;
}
.t-entry__body p {
  margin: 0 0 12px;
  color: rgba(246, 248, 252, 0.78);
  font-size: 15px;
  line-height: 1.65;
}
.t-entry__body p:last-child {
  margin-bottom: 0;
}
/* Inline emphasis (**…** in entries.body) — bright white + bold +
   slight letter-spacing. No glow on body text by default; the
   wordmark / headline already carry the lit-up role on this page. */
.t-entry__body strong {
  color: #f6f8fc;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* Source link — quiet bottom-of-entry affordance. Routes through
   the in-house URL shortener (`/url/<code>` → 302 → real source).
   Lower contrast than body text by default; brightens on hover so
   the player can spot the trail without the link competing with
   the prose. */
.t-entry__source {
  margin: 14px 0 0;
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.t-entry__source a {
  color: rgba(246, 248, 252, 0.5);
  text-decoration: none;
  border-bottom: 1px dotted rgba(246, 248, 252, 0.3);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.t-entry__source a:hover,
.t-entry__source a:focus-visible {
  color: #f6f8fc;
  border-bottom-color: rgba(246, 248, 252, 0.8);
  outline: none;
}

/* Evidence card — flat case-file affordance, monochrome. Status drives
   the stamp colour. SVGs are pure white-on-transparent, blend mode
   plate(screen) so they read as backlit etchings rather than printed
   ink. */
.t-card {
  border: 1px solid rgba(246, 248, 252, 0.28);
  border-radius: 4px;
  background: rgba(10, 13, 18, 0.55);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  position: relative;
  overflow: hidden;
  /* Tinted backlight glow — same blue-white tone as the wordmark's
     text-shadow so the cards feel lit by the same light source.
     Three layers: an inset highlight ring (so the border doesn't
     dissolve into the glow), a tight close bloom, and a wide
     diffuse halo. */
  box-shadow:
    inset 0 0 0 1px rgba(246, 248, 252, 0.06),
    0 0 24px rgba(180, 200, 255, 0.1),
    0 0 64px rgba(180, 200, 255, 0.06);
  transition: border-color 200ms ease, box-shadow 200ms ease,
    transform 200ms ease;
}
.t-card:hover {
  border-color: rgba(246, 248, 252, 0.5);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(246, 248, 252, 0.12),
    0 0 32px rgba(180, 200, 255, 0.18),
    0 0 80px rgba(180, 200, 255, 0.1);
}
.t-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 7px,
      rgba(246, 248, 252, 0.025) 7px,
      rgba(246, 248, 252, 0.025) 8px
    );
  pointer-events: none;
}
.t-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(225deg, rgba(0, 0, 0, 1) 50%, transparent 50%);
  border-bottom: 1px solid rgba(246, 248, 252, 0.2);
  border-left: 1px solid rgba(246, 248, 252, 0.2);
}
.t-card__stamp {
  align-self: flex-start;
  font-size: 9px;
  letter-spacing: 2.4px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.t-card__stamp.is-confirmed {
  color: #b8e0c0;
  background: rgba(184, 224, 192, 0.06);
}
.t-card__stamp.is-redacted {
  color: #f0a4a4;
  background: rgba(240, 164, 164, 0.06);
}
.t-card__stamp.is-open {
  color: #f6f8fc;
  background: rgba(246, 248, 252, 0.06);
}
.t-card__stamp.is-archived {
  color: rgba(246, 248, 252, 0.55);
  background: transparent;
}
.t-card__svg-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  position: relative;
  z-index: 1;
}
.t-card__svg-wrap svg {
  width: 100%;
  height: 140px;
  max-width: 260px;
  stroke: #f6f8fc;
  fill: none;
}
.t-card__caption {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: rgba(246, 248, 252, 0.55);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* Conclusion + footer at the bottom. The conclusion mirrors the hero's
   centered framing so the page bookends cleanly. */
.t-conclusion {
  max-width: 640px;
  margin: 80px auto 32px;
  padding: 28px;
  background: rgba(10, 13, 18, 0.55);
  border: 1px solid rgba(246, 248, 252, 0.2);
  border-radius: 6px;
  text-align: center;
}
.t-conclusion__line {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f6f8fc;
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
}
.t-conclusion__sub {
  margin: 0 0 18px;
  color: rgba(246, 248, 252, 0.6);
  font-size: 13px;
  line-height: 1.6;
}
.t-cta {
  display: inline-block;
  padding: 10px 24px;
  background: #f6f8fc;
  color: #04060b;
  border-radius: 999px;
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 11px;
  transition: transform 160ms ease, background 160ms ease;
}
.t-cta:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

/* Inline signup variant — re-uses the .signup styles from style.css
   but trims the homepage-specific 6vh top margin (the conclusion
   card already provides its own padding) and pulls the form a touch
   tighter so it sits balanced inside the bordered box. */
.signup.signup--inline {
  margin: 14px auto 0;
}

/* RSS affordance under the conclusion signup. Quiet — newsletter is
   the primary subscribe path; RSS is for the readership that brings
   their own reader. Link styled like the per-entry source link
   (dotted underline, low contrast → bright on hover). */
.t-conclusion__rss {
  margin: 18px 0 0;
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.t-conclusion__rss a {
  color: rgba(246, 248, 252, 0.5);
  text-decoration: none;
  border-bottom: 1px dotted rgba(246, 248, 252, 0.3);
  padding-bottom: 1px;
  transition: color 160ms ease, border-color 160ms ease;
}
.t-conclusion__rss a:hover,
.t-conclusion__rss a:focus-visible {
  color: #f6f8fc;
  border-bottom-color: rgba(246, 248, 252, 0.8);
  outline: none;
}

/* Page-specific footer was retired in v0.46 in favour of the shared
   .site-footer used on both index.html and timeline.html. Markup
   moved; this stub kept as documentation of the change so a future
   reader doesn't grep for `.t-footer` and find nothing. */

/* Imprint page (/imprint.html) — long-form prose page. Reuses the
   timeline page's chrome (topbar + sky canvas + headline) so the
   visual frame is consistent across the marketing surface. The
   body itself stays narrow + readable, no two-column rail. */
.imprint__body {
  max-width: 720px;
  margin: 0 auto 64px;
  color: rgba(246, 248, 252, 0.78);
  font-size: 15px;
  line-height: 1.7;
}
.imprint__body h2 {
  margin: 32px 0 12px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f6f8fc;
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  font-weight: 600;
}
.imprint__body h2:first-of-type {
  margin-top: 0;
}
.imprint__body p,
.imprint__body address {
  margin: 0 0 14px;
  font-style: normal;
}
.imprint__body a {
  color: #f6f8fc;
  text-decoration: none;
  border-bottom: 1px dotted rgba(246, 248, 252, 0.4);
}
.imprint__body a:hover {
  border-bottom-color: rgba(246, 248, 252, 0.85);
}
.imprint__body code {
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  background: rgba(246, 248, 252, 0.08);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}
.imprint__note {
  margin-top: 40px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 248, 252, 0.12);
  font-size: 12px;
  color: rgba(246, 248, 252, 0.45);
  font-family: "Geist Mono", ui-monospace, "JetBrains Mono", Consolas, monospace;
  letter-spacing: 1px;
}
/* Imprint / About headlines stay on the same wordmark scale as the
   timeline hero — Andre wants every subpage title big and bold so
   the pixel matrix actually reads. The .t-title base rule already
   sets clamp(58, 9vw, 124px) + weight 700; this override is a
   no-op kept as documentation of the deliberate parity. */
.imprint .t-title {
  /* same as base — kept explicit for the future-reader */
  font-size: clamp(58px, 9vw, 124px);
}
