/* Tunnelling time: the page for one paradox of quantum mechanics, its experiment and what it means. The institute's screen
   style: warm paper and ink, Inter at two sizes, small mono labels. Colour carries one meaning in the figures: ink is how likely the
   particle is to be found at each place; cyan is the outside clock; magenta is the spin clock and its field. On the page cyan also marks links. */
body.tt-body[data-rpi-page="paper-page"] {
  --tt-paper: #faf8f3; --tt-ink: #1d1d1b; --tt-body: #2a2926; --tt-soft: #3c3a36; --tt-hair: #8a8a8a;
  --tt-cyan: #009fe3; --tt-magenta: #e6007e; --tt-cyan-text: #0072b5; --tt-magenta-text: #c4006b;
  --tt-proved: #0b7a3e; --tt-rs: #ffc328; --tt-work: #8a5a00; --tt-open: #c8401f;
  --tt-rule: color-mix(in srgb, var(--tt-ink) 16%, var(--tt-paper));
  --tt-tint: color-mix(in srgb, var(--tt-ink) 4%, var(--tt-paper));
  --tt-display: "Inter Display", "InterVariable", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --tt-text: "InterVariable", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --tt-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--tt-paper); color: var(--tt-body);
}
@media screen and (prefers-color-scheme: dark) {
  body.tt-body[data-rpi-page="paper-page"] {
    --tt-paper: #141413; --tt-ink: #faf8f3; --tt-body: #e9e6df; --tt-soft: #c9c5bc;
    --tt-cyan: #2bb3f0; --tt-magenta: #ff3d9e; --tt-cyan-text: #2bb3f0; --tt-magenta-text: #ff6fb5;
    --tt-proved: #3fb871; --tt-work: #e0a43a; --tt-open: #ff6a3d;
  }
}
.tt-page { width: min(calc(100% - 4rem), 75rem); margin: 0 auto; padding: 0 0 5rem;
  font-family: var(--tt-text); font-weight: 420; line-height: 1.42; font-optical-sizing: auto; }
.tt-page a { color: var(--tt-ink); text-decoration-color: var(--tt-cyan); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.tt-page a:hover { color: var(--tt-cyan-text); }
.tt-page i, .tt-page em { font-style: italic; }
.tt-page sub, .tt-page sup { font-size: .72em; line-height: 0; }
.tt-page b, .tt-page strong { color: var(--tt-ink); font-weight: 650; }
.tt-page :focus-visible { outline: 3px solid var(--tt-cyan-text); outline-offset: 3px; }
.tt-label { margin: 0 0 1rem; font: 700 .75rem/1.3 var(--tt-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tt-soft); }
.tt-label a { color: inherit; text-decoration: none; }
.tt-label a:hover { text-decoration: underline; color: inherit; }
.tt-nw { white-space: nowrap; }
/* Large text on a narrow screen: let long formulas wrap (rem follows the reader's font size). */
@media (max-width: 22rem) { .tt-nw { white-space: normal; } }
.tt-v { font-style: italic; font-family: var(--tt-text); }
html:has(> body.tt-body[data-rpi-page="paper-page"]) { scroll-padding-top: 6rem; }
body.tt-body[data-rpi-page] > .skip { position: absolute; left: -9999px; }
body.tt-body[data-rpi-page] > .skip:focus { left: 1rem; top: 1rem; z-index: 100; padding: .5rem .8rem; background: var(--tt-ink); color: var(--tt-paper); }

/* Opening: the sentence, the picture working, the number */
.tt-opening { padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--tt-ink); }
.tt-opening > .tt-label { margin-bottom: .75rem; }
.tt-opening > .tt-label a { text-decoration: underline; text-decoration-color: var(--tt-cyan); text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
.tt-opening-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
body.tt-body .tt-opening h1 { margin: 0; font-family: var(--tt-display); font-weight: 820;
  font-size: clamp(2.3rem, 3.9vw, 3.55rem); line-height: .94; letter-spacing: -.038em; color: var(--tt-ink); text-wrap: balance;
  text-shadow: 0 0 .5px color-mix(in srgb, var(--tt-ink) 55%, transparent); overflow-wrap: break-word; }
.tt-lede { max-width: 38rem; margin: 0; font-size: clamp(1.08rem, 1.4vw, 1.27rem); font-weight: 450; line-height: 1.32;
  letter-spacing: -.008em; color: var(--tt-ink); }
.tt-hero { margin: clamp(1.25rem, 2.4vw, 1.9rem) 0 0; }
.tt-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 15.5rem; column-gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.tt-hero-fig { min-width: 0; }
.tt-hero figcaption { max-width: 52rem; margin-top: .9rem; font-size: .9rem; line-height: 1.42; color: var(--tt-soft); }
.tt-noscript { max-width: 46rem; padding: 1rem; border: 1px solid var(--tt-rule); }
.tt-num { border-left: 2px solid var(--tt-ink); padding: .1rem 0 .2rem 1.1rem; }
.tt-num .tt-label { margin-bottom: .55rem; }
.tt-num-big { margin: 0 0 .45rem; font-family: var(--tt-display); font-weight: 860; font-size: clamp(2.1rem, 3vw, 2.7rem); line-height: .9;
  letter-spacing: -.045em; color: var(--tt-ink); font-variant-numeric: tabular-nums lining-nums; }
.tt-num-big i { font-style: italic; font-weight: 800; letter-spacing: -.02em; }
.tt-num-cap { margin: 0 0 .7rem; font-size: .9rem; line-height: 1.4; color: var(--tt-body); }
.tt-num-item { margin: 0 0 1.1rem; }
.tt-num-big .tt-num-pre { display: block; margin-bottom: .3rem; font: 700 .74rem/1.3 var(--tt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tt-ink); }
.tt-num-big .tt-num-unit { display: block; margin-top: .2rem; font-size: .5em; font-weight: 780; letter-spacing: -.02em; white-space: nowrap; }
.tt-num-meas { margin: 0; font-size: .86rem; line-height: 1.4; color: var(--tt-body); }
.tt-num-meas b { display: block; margin-bottom: .15rem; font: 700 .7rem/1.2 var(--tt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tt-ink); }

.tt-status { max-width: 38rem; margin: .7rem 0 0; font-size: .86rem; line-height: 1.4; color: var(--tt-soft); }
/* Below the paper band: the paradox in three lines, the paper's own three lines in plain words */
.tt-three { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.tt-three > .tt-label { margin-bottom: .8rem; }
.tt-three-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.6vw, 2.25rem); border-top: 2px solid var(--tt-ink); }
.tt-three-list li { margin: 0; padding: .9rem 0 0; min-width: 0; }
.tt-three-list li p { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--tt-body); }
.tt-three-list li p.tt-three-head { margin: 0 0 .45rem; font-family: var(--tt-display); font-weight: 780; font-size: 1.15rem; line-height: 1.1;
  letter-spacing: -.018em; color: var(--tt-ink); }
.tt-three-list li p.tt-three-head::before { display: block; margin-bottom: .35rem; font: 700 .72rem/1 var(--tt-mono); letter-spacing: .12em; color: var(--tt-soft); }
.tt-three-list li:nth-child(1) p.tt-three-head::before { content: "1"; }
.tt-three-list li:nth-child(2) p.tt-three-head::before { content: "2"; }
.tt-three-list li:nth-child(3) p.tt-three-head::before { content: "3"; }

/* Status marks, placed where each premise and owed statement enters */
.tt-st { display: inline-block; margin: 0 .1rem; padding: .05rem .4rem .08rem; border: 1.5px solid currentColor; font: 700 .64rem/1.45 var(--tt-mono);
  letter-spacing: .08em; text-transform: uppercase; vertical-align: .12em; white-space: nowrap; }
@media (max-width: 22rem) { .tt-st { white-space: normal; } }
.tt-st i { font-style: italic; text-transform: none; letter-spacing: .02em; }
.tt-st--proved { color: var(--tt-proved); }
.tt-st--working { color: var(--tt-work); }
.tt-st--premise { color: var(--tt-work); border-style: dashed; }
.tt-st--owed { color: var(--tt-open); }
.tt-st--given { color: var(--tt-soft); }
.tt-key { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.2rem 0 0; }
.tt-key .tt-st { margin: 0; }
.tt-key-h { flex-basis: 100%; font: 700 .68rem/1.3 var(--tt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tt-soft); }
.tt-st-code { font-family: var(--tt-text); font-weight: 700; letter-spacing: 0; text-transform: none; }

/* Sections */
.tt-section { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--tt-rule); }
.tt-head { min-width: 0; }
body.tt-body .tt-section h2, body.tt-body .tt-meaning h2 { margin: 0; font-family: var(--tt-display); font-weight: 820;
  font-size: clamp(1.65rem, 2.5vw, 2.3rem); line-height: 1; letter-spacing: -.034em; color: var(--tt-ink); text-wrap: balance; overflow-wrap: break-word; }
.tt-copy { min-width: 0; max-width: 44rem; font-size: 1.06rem; }
.tt-copy > p { margin: 0 0 1rem; }
.tt-copy > p:last-child { margin-bottom: 0; }
.tt-copy h3 { margin: 2rem 0 .6rem; font-family: var(--tt-display); font-weight: 780; font-size: 1.28rem; line-height: 1.1; letter-spacing: -.02em; color: var(--tt-ink); }
.tt-copy h3:first-child { margin-top: 0; }
.tt-eq { margin: 1.1rem 0 1.2rem; padding: .7rem 1rem; border-left: 2px solid var(--tt-cyan); background: var(--tt-tint);
  font-size: 1.08rem; color: var(--tt-ink); overflow-x: auto; }
.tt-eq-note { display: block; margin-top: .3rem; font-size: .88rem; color: var(--tt-soft); }
.tt-tag { font: 700 .7rem/1 var(--tt-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tt-soft); white-space: nowrap; }
.tt-wide { grid-column: 1 / -1; min-width: 0; }

/* The proofs in full, folded under the plain account */
.tt-full { margin: 1.4rem 0 .4rem; border-top: 1px solid var(--tt-rule); border-bottom: 1px solid var(--tt-rule); }
.tt-full summary { cursor: pointer; padding: .75rem 0; font-weight: 650; color: var(--tt-ink); list-style-position: inside; }
.tt-full summary:hover { color: var(--tt-cyan-text); }
.tt-full-label { margin-right: .6rem; font: 700 .7rem/1 var(--tt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tt-soft); }
.tt-full-body { padding: 0 0 .6rem; font-size: .98rem; }
.tt-full-body p { margin: 0 0 .85rem; }

/* History: a timeline */
.tt-time { list-style: none; margin: 1.4rem 0 0; padding: 0; border-left: 2px solid var(--tt-ink); }
.tt-time li { position: relative; display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); column-gap: 1rem; margin: 0; padding: .55rem 0 .9rem 1.1rem; }
.tt-time li::before { content: ""; position: absolute; left: -6px; top: .95rem; width: 10px; height: 10px; background: var(--tt-paper); border: 2px solid var(--tt-ink); }
.tt-time li.tt-time-turn::before { background: var(--tt-ink); }
.tt-time-year { font: 700 .82rem/1.6 var(--tt-mono); letter-spacing: .06em; color: var(--tt-ink); }
.tt-time p { margin: 0; }
.tt-time p + p { margin-top: .35rem; }
.tt-time .tt-src { font-size: .86rem; color: var(--tt-soft); }

/* The live figures: the page's box frames them; their notes say how to use them */
.tt-figure { margin: 1.6rem 0; padding: clamp(1rem, 2vw, 1.6rem); border: 1px solid var(--tt-rule); min-width: 0; }
.tt-figure figcaption { max-width: 52rem; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--tt-rule); font-size: .9rem; line-height: 1.42; color: var(--tt-soft); }
.tt-figure figcaption b, .tt-summary figcaption b, .tt-hero figcaption b { color: var(--tt-ink); }
.tt-copy--more { grid-column: 2; }
.tt-summary { margin: clamp(1.5rem, 3vw, 2.2rem) 0 0; padding-top: 1.2rem; border-top: 1px solid var(--tt-rule); min-width: 0; }
.tt-summary figcaption { max-width: 52rem; margin-top: .8rem; font-size: .9rem; line-height: 1.42; color: var(--tt-soft); }

/* Break it */

/* What it means */
.tt-meaning { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.tt-meaning-head { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 4rem); }
.tt-meaning-lede { max-width: 44rem; margin: 0 0 1rem; font-size: 1.16rem; line-height: 1.4; color: var(--tt-ink); }
.tt-meaning-sub { max-width: 44rem; margin: 0; font-size: 1.02rem; color: var(--tt-body); }
.tt-truths { display: grid; gap: 0; margin-top: clamp(1.75rem, 3.5vw, 2.5rem); border-top: 2px solid var(--tt-ink); }
.tt-truth { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); column-gap: clamp(1.5rem, 4vw, 4rem); padding: 1.5rem 0; border-bottom: 1px solid var(--tt-rule); }
.tt-truth-num { margin: 0 0 .45rem; font: 700 .72rem/1.4 var(--tt-mono); letter-spacing: .12em; color: var(--tt-soft); }
.tt-truth h3 { margin: 0; font-family: var(--tt-display); font-weight: 780; font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.06; letter-spacing: -.024em; color: var(--tt-ink); text-wrap: balance; }
.tt-truth-body { max-width: 44rem; font-size: 1.04rem; }
.tt-truth-body p { margin: 0 0 .8rem; }
.tt-truth-body p:last-child { margin-bottom: 0; }
.tt-truth-rests { font-size: .88rem; color: var(--tt-soft); }
.tt-truth-rests .tt-tag { margin-right: .2rem; }

/* Hard questions */
.tt-hard dl { margin: 0; }
.tt-hard dt { margin: 0 0 .4rem; font-family: var(--tt-display); font-weight: 780; font-size: 1.2rem; line-height: 1.15; letter-spacing: -.018em; color: var(--tt-ink); }
.tt-hard dd { margin: 0 0 1.6rem; }
.tt-hard dd:last-child { margin-bottom: 0; }

/* Not claimed */
.tt-not { list-style: none; margin: 0; padding: 0; }
.tt-not li { position: relative; padding: .6rem 0 .6rem 1.6rem; border-top: 1px solid var(--tt-rule); }
.tt-not li:last-child { border-bottom: 1px solid var(--tt-rule); }
.tt-not li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .8rem; height: 2px; background: var(--tt-open); }

/* Read it */
.tt-paper-cite { margin: 0 0 1.2rem; padding: 1rem 1.1rem; border: 1.5px solid var(--tt-ink); }
.tt-paper-cite p { margin: 0; }
.tt-paper-cite .tt-paper-title { font-family: var(--tt-display); font-weight: 780; font-size: 1.2rem; line-height: 1.15; letter-spacing: -.018em; color: var(--tt-ink); }
.tt-paper-cite .tt-paper-meta { margin-top: .4rem; font-size: .95rem; color: var(--tt-soft); }
.tt-vor { margin: .9rem 0 0; padding-top: .8rem; border-top: 1px solid var(--tt-rule); font-size: .95rem; }
.tt-refs { margin: 1.2rem 0 0; padding-left: 1.3rem; font-size: .92rem; color: var(--tt-body); }
.tt-refs li { margin: 0 0 .45rem; padding-left: .2rem; }
.tt-set { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.1rem; border-top: 2px solid var(--tt-ink); }
.tt-set-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; }
.tt-set-list li { margin: 0; border-bottom: 1px solid var(--tt-rule); }
.tt-set-list li > a, .tt-set-list li.tt-set-here, .tt-set-list li.tt-set-soon { display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: .55rem 0; font-size: .95rem; line-height: 1.3; text-decoration: none; }
.tt-set-list li > a { color: var(--tt-ink); }
.tt-set-list li > a span:last-child { text-decoration: underline; text-decoration-color: var(--tt-cyan); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.tt-set-list li > a:hover span:last-child { color: var(--tt-cyan-text); }
.tt-section:has(+ .tt-set) { border-bottom: 0; }
.tt-set-n { font: 700 .72rem/1.85 var(--tt-mono); letter-spacing: .08em; color: var(--tt-soft); }
.tt-set-here { color: var(--tt-ink); font-weight: 650; }
.tt-set-here i { font-style: normal; font-weight: 420; color: var(--tt-soft); }
.tt-set-soon { color: var(--tt-soft); }
.tt-set-up { margin: 1rem 0 0; font: 700 .75rem/1.4 var(--tt-mono); letter-spacing: .1em; text-transform: uppercase; }
.tt-set-up a { text-decoration: none; border-bottom: 2px solid var(--tt-cyan); }
.tt-next { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 2rem 0 0; font: 700 .75rem/1.4 var(--tt-mono); letter-spacing: .1em; text-transform: uppercase; }
.tt-next a { text-decoration: none; border-bottom: 2px solid var(--tt-cyan); }

/* Narrow screens */
@media (max-width: 960px) {
  .tt-hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.2rem; }
  .tt-num { border-left: 0; border-top: 2px solid var(--tt-ink); padding: .8rem 0 0; }
  .tt-num-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
  .tt-num-cap { max-width: 40rem; }
}
@media (max-width: 860px) {
  .tt-page { width: min(calc(100% - 2.5rem), 75rem); }
  .tt-opening-top, .tt-section, .tt-meaning-head, .tt-truth, .tt-three-list { grid-template-columns: minmax(0, 1fr); }
  .tt-set-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-three-list li + li { margin-top: .4rem; border-top: 1px solid var(--tt-rule); }
  .tt-opening-top { row-gap: .9rem; }
  .tt-head { margin-bottom: 1.2rem; }
  .tt-copy--more { grid-column: 1; }
  .tt-truth-head { margin-bottom: .8rem; }
  .tt-meaning-head .tt-head { margin-bottom: 1rem; }
}
@media (max-width: 560px) {
  .tt-page { width: calc(100% - 2rem); }
  body.tt-body .tt-opening h1 { font-size: clamp(1.8rem, 8.2vw, 2.2rem); }
  .tt-lede { font-size: 1rem; line-height: 1.3; }
  .tt-hero { margin-top: 1rem; }
  .tt-hero-grid { row-gap: .9rem; }
  /* Phone: the two measured numbers side by side above the running screen; the note on them under it */
  .tt-hero-grid { display: flex; flex-direction: column; row-gap: 0; }
  .tt-num { display: contents; }
  .tt-num > .tt-label { order: 1; margin: 0 0 .35rem; }
  .tt-num-pair { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; margin-bottom: .6rem; }
  .tt-num-item { margin: 0; }
  .tt-num-big { margin: 0 0 .2rem; font-size: 1.55rem; }
  .tt-num-big .tt-num-unit { display: block; margin-top: .12rem; font-size: .52em; }
  .tt-num-meas { font-size: .72rem; line-height: 1.28; }
  .tt-num-meas b { font-size: .64rem; }
  .tt-hero-fig { order: 3; }
  .tt-num-cap { order: 4; margin: .9rem 0 0; font-size: .84rem; }
  .tt-lede { font-size: .98rem; }
  .tt-hero figcaption { font-size: .86rem; }
  .tt-time li { grid-template-columns: minmax(0, 1fr); row-gap: .15rem; }
    .tt-copy { font-size: 1.02rem; }
  .tt-set-list { grid-template-columns: minmax(0, 1fr); }
  .tt-status { font-size: .78rem; line-height: 1.35; }
}

@media (prefers-reduced-motion: reduce) {
  .tt-page * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .tt-time li::before { forced-color-adjust: none; border-color: CanvasText; background: Canvas; }
  .tt-st { border-color: CanvasText; color: CanvasText; }
  .tt-not li::before { background: CanvasText; }
}
@media print {
  body.tt-body[data-rpi-page="paper-page"] { --tt-paper: #fff; --tt-ink: #000; --tt-body: #111; --tt-soft: #333; --tt-cyan-text: #0072b5; --tt-magenta-text: #c4006b; background: #fff; }
  .tt-page { width: 100%; padding: 0; }
  .tt-hero, .tt-truth, .tt-time li, .tt-three-list li { break-inside: avoid; }
  .tt-section, .tt-meaning-head, .tt-truth { display: block; }
  .tt-head, .tt-truth-head, .tt-copy h3 { break-inside: avoid; break-after: avoid; }
  .tt-hard dt { break-after: avoid; }
  .tt-paper-cite { break-inside: avoid; }
  .tt-copy > p:has(+ .tt-refs) { break-after: avoid; }
  .tt-next, .tt-set { display: none; }
  .tt-page a { text-decoration: none; }
}
