:root {
  --ink: #111b3a;
  --ink-soft: #42506e;
  --navy: #071431;
  --cyan: #5de0ef;
  --paper: #f8f9fd;
  --white: #ffffff;
  --line: #dce2ee;
  --blue: #315fbd;
  --published: #147a64;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wordmark { color: var(--white); font-size: 25px; font-weight: 760; letter-spacing: -.055em; text-decoration: none; }
.wordmark span { color: var(--cyan); }
.publication-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 76px);
  color: var(--white);
}
.publication-header nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.publication-header nav a { color: rgba(255,255,255,.78); font-size: 14px; text-decoration: none; }
.publication-header nav a:hover, .publication-header nav a:focus-visible { color: var(--white); }
.publication-header nav a[aria-current="page"] { color: var(--cyan); }
.publication-header .nav-contact { border: 1px solid rgba(255,255,255,.42); border-radius: 999px; padding: 10px 18px; color: var(--white); }

.papers-hero {
  min-height: min(720px, 82vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(150px, 14vw, 190px) clamp(24px, 7vw, 110px) clamp(90px, 10vw, 140px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4,12,32,.92) 0%, rgba(4,12,32,.75) 48%, rgba(4,12,32,.26) 100%),
    linear-gradient(0deg, rgba(4,12,32,.46), transparent 55%),
    url("../assets/timecone-dark.png") center / cover no-repeat,
    var(--navy);
}
.eyebrow, .series-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.papers-hero h1, .paper-title h1 {
  margin: 0;
  max-width: 1000px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .98;
}
.papers-hero > p:last-child { max-width: 720px; margin: 30px 0 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.7; }
.series-list { padding: clamp(70px, 9vw, 120px) clamp(24px, 7vw, 110px); }
.series-intro { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; margin-bottom: 56px; }
.series-intro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4vw, 58px); font-weight: 400; letter-spacing: -.035em; }
.series-intro p { margin: 5px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.paper-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.paper-card { display: flex; flex-direction: column; min-height: 285px; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.paper-card .card-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.paper-number { color: #73829e; font-family: Georgia, "Times New Roman", serif; }
.status { padding: 6px 10px; border-radius: 999px; background: #eef1f7; color: #69758c; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.status.published { background: #e2f5ef; color: var(--published); }
.paper-card h3 { margin: 42px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; line-height: 1.18; letter-spacing: -.02em; }
.paper-card h3 span { display: block; margin-top: 7px; color: #63708a; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.45; letter-spacing: 0; }
.paper-card > p { margin: 0 0 28px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.paper-card > a { margin-top: auto; color: var(--blue); font-size: 14px; font-weight: 750; text-decoration: none; }

.paper { background: var(--white); }
.paper-title {
  padding: clamp(150px, 14vw, 190px) max(24px, calc((100vw - 980px) / 2)) clamp(80px, 9vw, 120px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4,12,32,.94) 0%, rgba(4,12,32,.78) 55%, rgba(4,12,32,.34) 100%),
    url("../assets/timecone-dark.png") center / cover no-repeat,
    var(--navy);
}
.paper-title h1 { max-width: 900px; }
.paper-title .subtitle { margin: 18px 0 0; color: #b9f4ff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 3vw, 38px); }
.paper-title .thesis { max-width: 760px; margin: 36px 0 0; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.7; }
.paper-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 44px; color: rgba(255,255,255,.7); font-size: 14px; }
.download-link { margin-left: auto; padding: 11px 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: var(--white); text-decoration: none; }
.paper-toc { padding: 44px max(24px, calc((100vw - 900px) / 2)); border-bottom: 1px solid var(--line); background: #f4f6fb; }
.paper-toc > p { margin: 0 0 14px; color: #73819b; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.paper-toc ul { columns: 2; gap: 44px; margin: 0; padding-left: 20px; }
.paper-toc li { margin: 7px 0; break-inside: avoid; }
.paper-toc a { color: var(--blue); font-size: 14px; text-decoration: none; }
.paper-body { max-width: 800px; margin: 0 auto; padding: clamp(62px, 8vw, 110px) 24px 120px; }
.paper-body h2 { margin: 84px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 48px); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
.paper-body h2:first-child { margin-top: 0; }
.paper-body h3 { margin: 48px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; line-height: 1.25; }
.paper-body p, .paper-body li { color: #283653; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.78; }
.paper-body p { margin: 0 0 24px; }
.paper-body li { margin-bottom: 9px; }
.paper-body strong { color: var(--ink); }
.paper-body blockquote { margin: 46px -40px; padding: 34px 40px; border-left: 4px solid #6f8eef; background: #f2f5fb; }
.paper-body blockquote p { margin: 0; color: var(--ink); font-size: 21px; line-height: 1.6; }
.paper-body .callout { margin: 58px -60px; padding: 38px 48px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 3.5vw, 38px); font-weight: 700; line-height: 1.35; }
.paper-body figure { margin: 52px -80px; }
.paper-body figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.paper-body figcaption { margin-top: 12px; color: #73809a; font-size: 13px; line-height: 1.55; text-align: center; }
.paper-body a { color: var(--blue); }
.series-navigator { margin: 56px -80px 72px; padding: 46px; background: var(--navy); color: var(--white); }
.series-navigator > p { color: rgba(255,255,255,.75); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
.series-navigator ol { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: papers; }
.series-navigator li { counter-increment: papers; display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); color: var(--white); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 15px; line-height: 1.45; }
.series-navigator li::before { content: counter(papers, decimal-leading-zero); color: #91a4cc; font-family: Georgia, "Times New Roman", serif; }
.series-navigator .nav-status { color: #9eacd0; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.series-navigator .nav-status.published { color: var(--cyan); }
.series-navigator a { color: var(--white); text-decoration: none; }
.about-author { margin-top: 72px; padding: 34px; border: 1px solid var(--line); background: #fafbfe; }
.about-author h2 { margin-top: 0; }
.publication-footer { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 34px clamp(24px, 6vw, 88px); background: #050d20; color: rgba(255,255,255,.58); }
.publication-footer p { margin: 0; font-size: 13px; }
.publication-footer p a { color: #baf4ff; }

@media (max-width: 780px) {
  .publication-header nav { gap: 14px; }
  .publication-header nav a.nav-secondary { display: none; }
  .series-intro, .paper-cards { grid-template-columns: 1fr; }
  .paper-toc ul { columns: 1; }
  .download-link { margin-left: 0; }
  .paper-body blockquote, .paper-body .callout, .paper-body figure, .series-navigator { margin-left: 0; margin-right: 0; }
  .series-navigator { padding: 28px 24px; }
  .series-navigator li { grid-template-columns: 30px 1fr; }
  .series-navigator .nav-status { grid-column: 2; }
  .publication-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .publication-header { padding: 22px 20px; }
  .publication-header .wordmark { font-size: 22px; }
  .publication-header .nav-insights { font-size: 13px; }
  .publication-header .nav-contact { padding: 9px 13px; }
  .paper-card { min-height: 0; }
  .paper-body p, .paper-body li { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
