

/* Six proposals for the section with the latest notes, one at a time, on Tau's own tokens. */
:root, :root[data-theme] {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --page: #fcfcfb; --ground: #f1f0ed; --raised: #ffffff; --ink: #0b0b0b; --ink2: #52514e; --ink3: #6c6b69; --faded: #97958d;
  --line: rgb(11 11 11 / 10%); --line-strong: rgb(11 11 11 / 20%);
  --glass: rgb(255 255 255 / 78%); --accent: #6250d6;
  --e1: 0 3px 6px -2px rgb(0 0 0 / .02), 0 1px 1px rgb(0 0 0 / .04);
  --e2: 0 0 0 .5px rgb(0 0 0 / .06), 0 6px 18px rgb(0 0 0 / .05), 0 3px 9px rgb(0 0 0 / .06), 0 1px 1px rgb(0 0 0 / .04);
  --e3: 0 0 0 .5px rgb(0 0 0 / .06), 0 24px 64px rgb(0 0 0 / .16), 0 8px 24px rgb(0 0 0 / .10), 0 1px 1px rgb(0 0 0 / .04);
  --m: clamp(16px, 2.8vw, 40px);
  --statement: clamp(38px, 6.4vw, 96px);
  --tau-ease: linear(0, 0.0234 0.39%, 0.0740 1.28%, 0.1420 2.54%, 0.2210 4.15%, 0.3058 6.06%, 0.3921 8.27%, 0.4764 10.75%, 0.5561 13.48%, 0.6294 16.47%, 0.6951 19.70%, 0.7528 23.17%, 0.8025 26.86%, 0.8443 30.78%, 0.8791 34.91%, 0.9074 39.26%, 0.9301 43.81%, 0.9481 48.56%, 0.9621 53.52%, 0.9728 58.67%, 0.9810 64.02%, 0.9870 69.55%, 0.9915 75.28%, 0.9948 81.19%, 0.9972 87.28%, 0.9988 93.55%, 1);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark; --page: #0d0d0d; --ground: #161615; --raised: #1f1f1e; --ink: #f0efec; --ink2: #c3c2b7; --ink3: #8f8e89; --faded: #5f5e5a;
  --line: rgb(255 255 255 / 10%); --line-strong: rgb(255 255 255 / 20%); --glass: rgb(40 40 40 / 75%);
  --e2: 0 0 0 .5px rgb(255 255 255 / 8%), 0 6px 18px rgb(0 0 0 / .4), 0 1px 1px rgb(0 0 0 / .3);
  --e3: 0 0 0 .5px rgb(255 255 255 / 9%), 0 24px 64px rgb(0 0 0 / .6), 0 8px 24px rgb(0 0 0 / .4); } }
:root[data-theme="dark"] {
  color-scheme: dark; --page: #0d0d0d; --ground: #161615; --raised: #1f1f1e; --ink: #f0efec; --ink2: #c3c2b7; --ink3: #8f8e89; --faded: #5f5e5a;
  --line: rgb(255 255 255 / 10%); --line-strong: rgb(255 255 255 / 20%); --glass: rgb(40 40 40 / 75%);
  --e2: 0 0 0 .5px rgb(255 255 255 / 8%), 0 6px 18px rgb(0 0 0 / .4), 0 1px 1px rgb(0 0 0 / .3);
  --e3: 0 0 0 .5px rgb(255 255 255 / 9%), 0 24px 64px rgb(0 0 0 / .6), 0 8px 24px rgb(0 0 0 / .4); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); color: var(--ink); }
body { font: 400 15px/24px var(--font); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv01", "cv11"; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* the bar, as on the site */
.bar { position: fixed; z-index: 50; top: calc(12px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 4px 0 14px;
  border-radius: 9999px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 .5px var(--line), var(--e2); font-size: 13px; white-space: nowrap; }
.bar b { font-weight: 550; font-size: 14px; margin-right: 12px; }
.bar span { padding: 0 10px; color: var(--ink2); }
.bar i { font-style: normal; margin-left: 8px; height: 36px; padding: 0 16px; display: flex; align-items: center; border-radius: 9999px; background: var(--ink); color: var(--page); }
@media (max-width: 720px) { .bar span { display: none; } }

/* the switcher between the proposals */
.pick { position: fixed; z-index: 60; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(560px, calc(100% - 32px)); }
.pick-note { margin: 0; padding: 8px 14px; border-radius: 10px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 .5px var(--line), var(--e2);
  font-size: 13px; line-height: 19px; color: var(--ink2); text-align: center; }
.pick-dock { display: flex; gap: 2px; padding: 4px; border-radius: 9999px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 .5px var(--line), var(--e2); }
.pick-dock button { height: 36px; padding: 0 14px; border: 0; border-radius: 9999px; background: none; font: 500 13px/1 var(--font); color: var(--ink3); cursor: pointer; }
.pick-dock button[aria-pressed="true"] { background: color-mix(in srgb, var(--ink) 12%, transparent); color: var(--ink); }
.pick-dock button:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 2px; }

.next { padding: 120px var(--m) 200px; }
.next h2 { margin: 0 0 24px; font: 450 clamp(28px, 3.1vw, 48px)/1.06 var(--font); letter-spacing: -0.026em; }
.next p { margin: 0; max-width: 40em; color: var(--ink2); }
.small { font-size: 13px; line-height: 20px; color: var(--ink3); }



.bud { position: relative; min-height: 100vh; padding: 120px var(--m) 220px; }
.ctx { margin: 0 0 56px; padding-bottom: 20px; border-bottom: .5px solid var(--line); font-size: 13px; color: var(--ink3); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 36px; }
.sec-head h2 { margin: 0; font: 450 clamp(28px, 3.1vw, 48px)/1.06 var(--font); letter-spacing: -0.026em; }
.sec-head p { margin: 10px 0 0; max-width: 36em; color: var(--ink2); }
.more { font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.small { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink3); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0; }
.kick { font: 500 11px/16px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 9999px; background: var(--ink); color: var(--page); font: 500 14px/1 var(--font); cursor: pointer; white-space: nowrap; }
.btn.is-quiet { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.btn:focus-visible, [tabindex]:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; }
.pick { -webkit-user-select: none; user-select: none; }
.pick-dock { flex-wrap: wrap; justify-content: center; border-radius: 22px; }
@media (max-width: 720px) { .pick-dock button { padding: 0 10px; } }
img { -webkit-user-drag: none; }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: .5px solid var(--line-strong); font-size: 13px; line-height: 19px; }
.facts li span:first-child { color: var(--ink3); }
.facts li span:last-child { text-align: right; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* the three specimens */
.sp { position: relative; overflow: hidden; border-radius: 12px; background: var(--ground); touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.sp-row { cursor: grab; }
.sp-row.is-held { cursor: grabbing; }
.sp-row i { position: absolute; left: 0; top: 50%; height: 40px; margin-top: -20px; display: flex; align-items: center; justify-content: center; font: 500 13px/1 var(--font); font-style: normal; white-space: nowrap; will-change: transform; }
.sp-row i span { height: 40px; padding: 0 16px; display: flex; align-items: center; border-radius: 9999px; background: var(--raised); box-shadow: var(--e1), 0 0 0 .5px var(--line); }
.sp-row i:nth-child(5n + 3) span { background: var(--ink); color: var(--page); box-shadow: none; }
.sp-field { cursor: grab; }
.sp-field.is-held { cursor: grabbing; }
.sp-field b { position: absolute; left: 0; top: 0; display: grid; place-items: center; will-change: transform; }
.sp-field img { display: block; object-fit: cover; object-position: top; border-radius: 2px; box-shadow: 0 0 0 .5px var(--line); background: var(--raised); }
.sp-dock { display: grid; place-items: center; }
.sp-dk { position: relative; display: flex; padding: 4px; border-radius: 9999px; background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 .5px var(--line), var(--e2); }
.sp-dk button { position: relative; z-index: 2; height: 38px; padding: 0 18px; border: 0; border-radius: 9999px; background: none; font: 500 14px/1 var(--font); color: var(--ink3); cursor: pointer; transition: color .25s; }
.sp-dk button[aria-pressed="true"] { color: var(--page); }
.sp-dk .k1, .sp-dk .k2 { position: absolute; z-index: 1; top: 4px; height: 38px; border-radius: 9999px; }
.sp-dk .k1 { background: var(--ink); }
.sp-dk .k2 { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.sp-read { position: absolute; left: 8px; bottom: 8px; padding: 3px 6px; border-radius: 4px; background: var(--ground); font: 500 11px/14px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink3); pointer-events: none; z-index: 2; }

/* 1. the specimens */
.sm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sm-c { display: flex; flex-direction: column; gap: 12px; }
.sm-c .sp { aspect-ratio: 4 / 3; }
.sm-c h3 { margin: 6px 0 0; font: 450 clamp(22px, 1.9vw, 30px)/1.12 var(--font); letter-spacing: -0.02em; }
.sm-c p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.5; }
.sm-c .more { margin-top: 2px; font-size: 14px; }
@media (max-width: 960px) { .sm { grid-template-columns: 1fr; } }

/* 2. the live numbers */
.lv { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.lv-tabs { display: flex; flex-direction: column; border-top: .5px solid var(--line-strong); }
.lv-tabs button { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 14px 0; border: 0; border-bottom: .5px solid var(--line-strong); background: none; text-align: left; font: 450 clamp(19px, 1.6vw, 24px)/1.2 var(--font); letter-spacing: -0.015em; color: var(--ink3); cursor: pointer; transition: color .2s; }
.lv-tabs button span { font: 500 12px/26px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0; }
.lv-tabs button[aria-pressed="true"] { color: var(--ink); }
.lv-text { margin: 0 0 22px; font: 450 clamp(20px, 1.9vw, 28px)/1.45 var(--font); letter-spacing: -0.016em; animation: rise .45s var(--tau-ease); }
.lv-n { display: inline-block; padding: 0 .12em; border-radius: 6px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--accent) 45%, transparent); cursor: ew-resize; touch-action: none; font-variant-numeric: tabular-nums; outline: none; transition: background-color .2s; }
.lv-n:is(:hover, [data-hover]), .lv-n.is-held, .lv-n:focus-visible { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.lv-n.is-off { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); box-shadow: inset 0 -2px 0 var(--ink3); }
.lv-stage .sp { aspect-ratio: 16 / 8; }
.lv-stage .sp-row { aspect-ratio: 16 / 5; }
.lv-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-top: 14px; min-height: 38px; }
@media (max-width: 860px) { .lv { grid-template-columns: 1fr; } .lv-stage .sp { aspect-ratio: 4 / 3; } }

/* 3. the notebook */
.nb { position: relative; height: 600px; perspective: 2400px; -webkit-user-select: none; user-select: none; }
.nb-book { position: absolute; left: 50%; top: 0; bottom: 0; width: min(100%, 1180px); transform: translateX(-50%); transform-style: preserve-3d; }
.nb-pg { position: absolute; top: 0; bottom: 0; width: 50%; padding: clamp(24px, 3vw, 48px); background: #fbfaf7; color: #1a1a19; box-shadow: 0 0 0 .5px rgb(0 0 0 / .08); }
.nb-l { left: 0; border-radius: 6px 0 0 6px; background-image: linear-gradient(90deg, transparent 88%, rgb(0 0 0 / .06)); }
.nb-r { left: 50%; border-radius: 0 6px 6px 0; background-image: linear-gradient(90deg, rgb(0 0 0 / .07), transparent 12%); }
.nb-leaf { position: absolute; left: 50%; top: 0; bottom: 0; width: 50%; transform-origin: left center; transform-style: preserve-3d; cursor: pointer; touch-action: none; }
.nb-leaf .nb-pg { left: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.nb-leaf .nb-back { transform: rotateY(180deg); border-radius: 6px 0 0 6px; background-image: linear-gradient(90deg, transparent 88%, rgb(0 0 0 / .06)); }
.nb-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(0 0 0 / .18), transparent 60%); opacity: 0; }
.nb-pg .kick { color: #6c6b69; }
.nb-pg h3 { margin: 12px 0 14px; font: 450 clamp(26px, 2.6vw, 40px)/1.05 var(--font); letter-spacing: -0.03em; }
.nb-pg p { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: #3a3936; }
.nb-pg .facts li { border-color: rgb(0 0 0 / .14); }
.nb-pg .facts li span:first-child { color: #6c6b69; }
.nb-pg svg { display: block; width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.nb-pg svg text { font: 500 11px ui-monospace, "SF Mono", Menlo, monospace; fill: #52514e; }
.nb-corner { position: absolute; right: 0; bottom: 0; width: 64px; height: 64px; background: linear-gradient(135deg, transparent 50%, rgb(0 0 0 / .06) 50%, rgb(0 0 0 / .12)); border-radius: 0 0 6px 0; }
.nb-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 18px; }
@media (max-width: 860px) {
  .nb { height: auto; perspective: none; }
  .nb-book { position: static; transform: none; width: auto; }
  .nb-pg, .nb-leaf { position: static; width: auto; border-radius: 8px; }
  .nb-r, .nb-leaf { display: none; }
}

/* 4. the cases */
.vt-stage { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); min-height: 440px; padding: clamp(18px, 2vw, 28px); border-radius: 18px; background: color-mix(in srgb, var(--ink) 3%, var(--page)); box-shadow: inset 0 0 0 .5px var(--line-strong); }
.vt-slot { position: relative; border-radius: 12px; }
.vt-slot .sp { position: absolute; inset: 0; }
.vt-slot.is-empty { display: grid; place-items: center; border: 1px dashed var(--line-strong); color: var(--ink3); font-size: 14px; }
.vt-text { display: flex; flex-direction: column; gap: 14px; justify-content: center; animation: rise .45s var(--tau-ease); }
.vt-text h3 { margin: 0; font: 450 clamp(26px, 2.6vw, 40px)/1.05 var(--font); letter-spacing: -0.03em; }
.vt-text p { margin: 0; color: var(--ink2); }
.vt-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.vt-case { position: relative; display: flex; flex-direction: column; gap: 10px; cursor: grab; touch-action: none; }
.vt-case.is-held { cursor: grabbing; z-index: 20; }
.vt-glass { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-strong), 0 14px 30px rgb(0 0 0 / .08); }
.vt-glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgb(255 255 255 / .38), transparent 38%, transparent 62%, rgb(255 255 255 / .12)); }
.vt-glass .sp { position: absolute; inset: 0; border-radius: 0; pointer-events: none; }
.vt-tag { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.vt-tag b { font-weight: 500; }
.vt-tag span { color: var(--ink3); }
.vt-case.is-on .vt-glass { box-shadow: 0 0 0 2px var(--accent), 0 14px 30px rgb(0 0 0 / .08); }
@media (max-width: 860px) { .vt-stage { grid-template-columns: 1fr; } .vt-slot { min-height: 240px; } .vt-shelf { grid-template-columns: 1fr; } }

/* 5. the row */
.rw { position: relative; height: 420px; margin: 0 calc(-1 * var(--m)); overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; outline: none; }
.rw.is-held { cursor: grabbing; }
.rw-i { position: absolute; left: 0; top: 0; bottom: 0; padding: 0 10px; will-change: transform; }
.rw-i > div { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 14px; background: var(--raised); box-shadow: 0 0 0 .5px var(--line), var(--e1); }
.rw-i.is-note > div { background: var(--ink); color: var(--page); }
.rw-i.is-note .kick { color: color-mix(in srgb, var(--page) 60%, transparent); }
.rw-i h3 { margin: auto 0 0; font: 450 clamp(28px, 2.6vw, 40px)/1.05 var(--font); letter-spacing: -0.03em; }
.rw-i p { margin: 0; font-size: 15px; line-height: 1.5; opacity: .8; }
.rw-i b { margin-top: auto; font: 450 clamp(40px, 3.6vw, 56px)/1 var(--font); letter-spacing: -0.04em; }
.rw-i.is-fact p { font-size: 14px; }
.rw-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.rw-read { font: 500 12px/18px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink3); }

/* 6. the index */
.ix { border-top: .5px solid var(--line-strong); }
.ix-r { border-bottom: .5px solid var(--line-strong); }
.ix-h { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto 28px; gap: 16px; align-items: baseline; width: 100%; padding: 22px 0; border: 0; background: none; text-align: left; color: var(--ink); cursor: pointer; }
.ix-h span:first-child { font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink3); }
.ix-h b { font: 450 clamp(30px, 4vw, 64px)/1.02 var(--font); letter-spacing: -0.035em; transition: transform .45s var(--tau-ease); }
.ix-h:is(:hover, [data-hover]) b { transform: translateX(10px); }
.ix-h small { font-size: 13px; color: var(--ink3); }
.ix-h i { font-style: normal; font: 400 24px/1 var(--font); color: var(--ink3); transition: transform .4s var(--tau-ease); }
.ix-r.is-open .ix-h i { transform: rotate(45deg); }
.ix-body { overflow: hidden; height: 0; }
.ix-in { display: grid; grid-template-columns: 60px minmax(0, 6fr) minmax(0, 5fr); gap: 16px 32px; padding: 0 0 28px; }
.ix-in p { grid-column: 2; margin: 0; color: var(--ink2); max-width: 36em; }
.ix-in .facts { grid-column: 3; }
.ix-in .sp { grid-column: 2 / 4; aspect-ratio: 21 / 7; }
.ix-peek { position: fixed; z-index: 40; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; pointer-events: none; border-radius: 12px; box-shadow: var(--e3); opacity: 0; transform: scale(.94); transition: opacity .25s var(--tau-ease), transform .3s var(--tau-ease); }
.ix-peek.is-on { opacity: 1; transform: none; }
.ix-peek .sp { position: absolute; inset: 0; }
@media (max-width: 860px) { .ix-h { grid-template-columns: 36px minmax(0, 1fr) 24px; } .ix-h small { display: none; } .ix-in { grid-template-columns: 1fr; } .ix-in p, .ix-in .facts, .ix-in .sp { grid-column: 1; } .ix-in .sp { aspect-ratio: 4 / 3; } }
