@font-face { font-family: "Honk"; src: url("Honk-Regular-VariableFont_MORF,SHLN.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
:root { color-scheme: dark; --paper: #111211; --ink: #f4f4f1; --muted: #a4a69f; --line: #393b37; --accent: #8999ff; font-family: Arial, Helvetica, sans-serif; background: var(--paper); color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 1600px; padding: 0 6%; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.site-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.wolf-mark { display: block; width: 40px; height: 40px; flex-shrink: 0; }
.brand-wordmark { font-family: "Lacquer", system-ui; font-weight: 400; font-style: normal; font-size: 25px; }
h1, h2, h3, h4, h5, h6 { font-family: "Lacquer", system-ui; font-style: normal; font-synthesis: none; }
nav { display: flex; gap: 32px; font-size: 12px; }
nav a { text-decoration: none; color: var(--muted); padding: 8px 0; }
nav a:hover, nav a[aria-current] { color: var(--ink); }
nav a[aria-current] { box-shadow: 0 1px var(--ink); }
.intro { display: flex; align-items: flex-end; justify-content: space-between; padding: 49px 0 43px; gap: 30px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 1.7px; line-height: 1.7; margin: 0; }
h1 { font-size: clamp(32px, 3.5vw, 52px); font-weight: 500; letter-spacing: -2px; line-height: 1.08; margin: 0; }
.accent { color: var(--accent); }
.chronology { border-top: 1px solid var(--line); padding-top: 20px; }
.timeline-caption { color: var(--muted); font-size: 10px; }
.timeline { position: relative; display: flex; margin-top: 25px; padding: 0 6px; height: 34px; }
.month { position: absolute; transform: translateX(-50%); background: transparent; border: 0; padding: 3px 6px; color: var(--muted); font-size: 10px; }
.month::after { content: ''; display: block; width: 1px; height: 7px; background: var(--line); margin: 7px auto 0; }
.month[aria-current] { color: var(--accent); font-weight: 700; }
.timeline-track { position: relative; }
#position:focus-visible, #work:focus-visible { outline: none; }
.position-focus { display: block; opacity: 0; position: absolute; top: -17px; width: 24px; height: 32px; transform: translateX(-50%); color: var(--accent); filter: drop-shadow(0 0 3px var(--accent)); pointer-events: none; z-index: 2; overflow: visible; }
input[type=range] { appearance: none; -webkit-appearance: none; display: block; width: 100%; margin: 0; height: 22px; background: transparent; cursor: ew-resize; touch-action: none; position: relative; z-index: 1; }
input[type=range]::-webkit-slider-runnable-track { height: 1px; background: #fff; }
input[type=range]::-moz-range-track { height: 1px; background: #fff; }
input[type=range]::-moz-range-progress { height: 1px; background: #fff; }
input[type=range] { --pointer-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 24'%3E%3Cpath d='M8 0C3.6 0 0 3.6 0 8c0 5 5 10 8 16 3-6 8-11 8-16 0-4.4-3.6-8-8-8Z'/%3E%3C/svg%3E"); }
input[type=range]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 16px; height: 24px; border-radius: 0; background: var(--accent); margin-top: -23.5px; border: 0; mask: var(--pointer-shape) center / contain no-repeat; }
input[type=range]::-moz-range-thumb { width: 16px; height: 24px; border-radius: 0; background: var(--accent); border: 0; transform: translateY(-12px); mask: var(--pointer-shape) center / contain no-repeat; }
.density { display: block; width: 100%; height: 96px; overflow: hidden; margin-top: -11px; }
.density-mark { cursor: pointer; }
.density-bar { stroke: #fff; stroke-width: 1; }
.density-square { fill: #fff; }
.density-mark.is-current .density-bar { stroke: var(--accent); }
.density-mark.is-current .density-square { fill: var(--accent); }
.density-mark.is-popular .density-bar { stroke: #f4cf58; opacity: 1; filter: drop-shadow(0 0 2px #f4cf58b3); }
.density-mark.is-popular .density-dot, .density-mark.is-popular .density-square { fill: #f4cf58; filter: drop-shadow(0 0 2px #f4cf58b3); }
.density-mark.is-popular.is-current .density-bar, .density-mark.is-popular.is-current .density-dot, .density-mark.is-popular.is-current .density-square { filter: drop-shadow(0 0 3px #f4cf58) drop-shadow(0 0 7px #f4cf58); }
.density-hit { fill: transparent; }
.timeline-caption { display: flex; justify-content: space-between; padding-top: 8px; }
.work { padding: 36px 0; min-height: 340px; }
.work-heading { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 29px; }
.posts-viewport { margin-inline: calc(50% - var(--viewport-half, 50vw)); padding-inline: calc(var(--viewport-half, 50vw) - 50%); overflow: clip; }
.posts-stage { position: relative; }
.posts-outgoing { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; }
.post { position: relative; background: #fff; color: #171817; padding: 36px 8%; color-scheme: light; }
.post + .post { margin-top: 14px; }
.post-meta { display: flex; align-items: center; gap: 12px; min-height: 13px; margin-bottom: 16px; padding-right: 80px; }
.post-date { flex-shrink: 0; font-size: 11px; color: #666860; margin: 0; }
.post-tools { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 4px; z-index: 2; }
.post-ratings { position: relative; }
.post-english-toggle { width: 32px; height: 40px; padding: 0; border: 0; background: transparent; color: #666860; font-size: 11px; }
.post-english-toggle:hover, .post-english-toggle[aria-pressed=true] { color: #171817; }
.post-english-toggle[aria-pressed=true] { text-decoration: underline; text-underline-offset: 4px; }
.ratings-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 9px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #666860; }
.post-ratings svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ratings-toggle:hover, .ratings-toggle[aria-expanded=true] { color: #171817; }
.ratings-panel { position: absolute; top: 0; right: 46px; min-height: 40px; max-width: min(260px, 65vw); display: flex; align-items: center; gap: 12px; color: #666860; font-size: 11px; line-height: 1.5; animation: ratings-reveal .16s ease-out; }
.rating-row { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.rating-row strong { font-weight: 400; font-variant-numeric: tabular-nums; }
.ratings-panel p { margin: 0; }
.ratings-panel button { padding: 0; background: transparent; color: inherit; border: 0; text-decoration: underline; white-space: nowrap; }
@keyframes ratings-reveal { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .ratings-panel { animation: none; } }
.post-text { font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -.9px; line-height: 1.38; overflow-wrap: anywhere; }
.post-text p { margin: 0 0 .65em; }
.post-text p:last-child { margin-bottom: 0; }
.post-text a { color: #354fe8; }
.post-text pre { white-space: pre-wrap; }
.post-image { display: block; max-width: 100%; max-height: 470px; object-fit: contain; margin-top: 24px; }
.post-details { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 27px; color: #666860; font-size: 11px; }
.translation-note { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 11px; color: #666860; letter-spacing: 0; }
.translation-note > span { overflow: hidden; text-overflow: ellipsis; }
.translation-icon { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }
.engagement { display: flex; gap: 18px; }
.engagement span { display: inline-flex; gap: 5px; align-items: center; }
.engagement svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.original-link { text-decoration: none; }
.original-link:hover { color: #354fe8; }
.gallery-controls { border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: center; align-items: center; gap: 15px; }
.gallery-controls-top { border-top: 0; padding: 0 0 20px; }
.page-status { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.step-controls { display: flex; gap: 22px; align-items: center; }
.step-controls button { border: 0; background: transparent; color: var(--ink); width: 45px; height: 39px; font-size: 20px; }
.step-controls button:hover:not(:disabled) { color: var(--accent); }
.step-controls button:disabled { opacity: .25; cursor: default; }
.site-footer { display: flex; justify-content: flex-end; gap: 20px; border-top: 1px solid var(--line); padding: 25px 0 28px; color: var(--muted); font-size: 9px; letter-spacing: .8px; line-height: 1.7; }
.site-footer p { margin: 0; }
.site-footer p:last-child { letter-spacing: 0; font-size: 10px; }
.site-footer span { margin: 0 9px; color: var(--line); }
.site-footer a { text-decoration: none; }
.site-footer .brand-mark { color: var(--ink); font-family: "Honk", system-ui; font-size: 1.5rem; font-variation-settings: "MORF" 15, "SHLN" 50; letter-spacing: -.08em; line-height: 1.2; }
.site-footer .brand-mark span { margin: 0; color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.data-page { max-width: 1000px; margin: 0 auto; padding: 70px 0; }
.data-page h1 { margin: 20px 0 48px; }
.data-page h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -.7px; margin: 0; }
.data-intro { color: var(--muted); line-height: 1.6; margin: 14px 0 32px; }
.data-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-stat { padding: 28px 0; }
.data-stat + .data-stat { border-left: 1px solid var(--line); padding-left: 32px; }
.data-stat p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.data-stat strong { display: block; font-size: clamp(32px, 5vw, 52px); font-weight: 500; font-variant-numeric: tabular-nums; }
.data-stat > span { display: block; margin-top: 14px; color: var(--muted); font-size: 11px; }
.data-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.data-highlight { background: #fff; color: #171817; padding: 28px; color-scheme: light; }
.data-highlight-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.data-highlight h3 { margin: 0; color: #666860; font-size: 12px; font-weight: 400; line-height: 1.6; }
.data-highlight-heading > span { white-space: nowrap; font-size: 13px; font-variant-numeric: tabular-nums; }
.data-highlight blockquote { margin: 26px 0; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; letter-spacing: -.5px; overflow-wrap: anywhere; white-space: pre-wrap; }
.data-highlight a { font-size: 11px; text-decoration: none; color: #666860; }
.data-highlight a:hover { color: #354fe8; }
.data-caption { margin: 12px 0 0; color: #666860; font-size: 10px; }
.data-method { margin-top: 36px; max-width: 760px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.data-method h3 { color: var(--ink); font-size: 13px; font-weight: 500; }
.data-page section + section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.study-note { color: var(--muted); font-size: 12px; line-height: 1.8; }
.study-table { min-width: 0; margin-top: 28px; }
.data-page h3 { font-size: 20px; font-weight: 500; letter-spacing: -.3px; }
.data-page h4 { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.data-page .data-highlight h3 { font-size: 12px; font-weight: 400; letter-spacing: 0; }
.table-scroll { overflow-x: auto; }
.study-table table { width: 100%; border-collapse: collapse; font-size: 11px; }
.study-table th, .study-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.study-table thead th { color: var(--muted); font-weight: 400; }
.study-table tbody th { font-weight: 400; }
.metric-info { display: inline; margin-left: 6px; }
.metric-info > button { padding: 0; border: 0; background: transparent; font-size: 11px; color: var(--muted); white-space: nowrap; }
.metric-info svg { width: 14px; height: 14px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.metric-tooltip { display: none; max-width: 260px; padding: 8px 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
.metric-info > button[aria-expanded=true] + .metric-tooltip, .metric-info:hover > .metric-tooltip, .metric-info:focus-within > .metric-tooltip { display: block; }
.study-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.study-calendar { margin-top: 36px; }
.calendar-heatmap { display: block; }
.calendar-heatmap text { fill: var(--muted); font: 9px Arial, sans-serif; }
.calendar-heatmap a:hover rect { stroke: var(--ink); stroke-width: 1; }
.heat-level-0 { fill: #292c28; background: #292c28; }
.heat-level-1 { fill: #3f4a69; background: #3f4a69; }
.heat-level-2 { fill: #566ba3; background: #566ba3; }
.heat-level-3 { fill: #7185d0; background: #7185d0; }
.heat-level-4 { fill: #8999ff; background: #8999ff; }
.heat-legend { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.heat-legend i { width: 11px; height: 11px; border-radius: 2px; }
.heat-legend span { margin: 0 5px; }
.identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.identity-list { min-width: 0; }
.identity-list ul { list-style: none; padding: 0; margin: 0; }
.identity-list li { padding: 16px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.identity-list q { display: block; font-size: 16px; line-height: 1.5; }
.evidence-links { font-size: 10px; color: var(--muted); }
.identity-list details { margin-top: 20px; }
.study-subheading { margin-top: 36px; }
.skip-link { position: absolute; top: -100px; background: var(--ink); color: var(--paper); padding: 12px; z-index: 2; }
.skip-link:focus { top: 10px; }
.error { padding: 24px 0; font-size: 14px; line-height: 1.7; }
.error button { padding: 10px 20px; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.stub { max-width: 760px; min-height: 66vh; margin: 0 auto; padding: 85px 0; }
.stub h1 { margin: 20px 0 35px; font-size: clamp(40px, 6vw, 68px); }
.stub p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.8; }
.stub .back-link { display: inline-block; margin-top: 40px; font-size: 13px; }
.backstory { max-width: 900px; min-height: 66vh; margin: 0 auto; padding: 70px 0; }
.backstory > h1 { margin: 20px 0 40px; }
.article-list { border-top: 1px solid var(--line); }
.background-article { border-bottom: 1px solid var(--line); }
.background-article > summary { display: grid; grid-template-columns: 1fr auto; gap: 12px 25px; padding: 28px 0; margin: 0; list-style: none; }
.background-article > summary::-webkit-details-marker { display: none; }
.article-title { font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.5px; margin: 0; }
.article-summary { grid-column: 1; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 650px; }
.article-action { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--accent); font-size: 26px; }
.article-action::before { content: '+'; }
.background-article[open] .article-action::before { content: '\2212'; }
.article-body { padding: 15px 0 36px; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.article-body h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.5px; margin: 0 0 24px; }
.article-body h4, .article-body h5, .article-body h6 { font-size: 17px; line-height: 1.4; margin: 30px 0 14px; }
.article-body p { white-space: normal; margin: 0 0 20px; }
.article-body blockquote { margin: 20px 0; padding-left: 22px; border-left: 2px solid var(--accent); color: var(--muted); }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.article-body ul, .article-body ol { padding-left: 24px; }
.backstory .back-link { display: inline-block; margin-top: 35px; font-size: 13px; }
.text-page { padding: 60px 0; }
.text-attribution { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 24px 0; }
.text-window { position: relative; padding-top: 52px; background: #191a19; border: 1px solid var(--line); }
.text-actions { position: absolute; top: 6px; right: 6px; display: flex; align-items: center; gap: 4px; }
.text-actions button, .text-actions a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 10px; border: 0; background: transparent; color: var(--muted); }
.text-actions button:hover, .text-actions a:hover { color: var(--ink); background: var(--line); }
.text-actions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.text-actions button:disabled { opacity: .5; cursor: wait; }
#copy-status { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
#source-text { display: block; width: 100%; height: 65vh; min-height: 300px; resize: vertical; padding: 24px; border: 0; background: #191a19; color: var(--ink); font: 13px/1.7 Consolas, monospace; }
details > summary { cursor: pointer; font-size: 14px; margin-bottom: 15px; }
@media (min-width: 1500px) { .work { min-height: 400px; } }
@media (max-width: 650px) {
  body { padding: 0 6%; }
  .site-header { min-height: 98px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 14px; padding: 19px 0; }
  .brand-wordmark { font-size: 23px; }
  .wolf-mark { width: 32px; height: 32px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 11px; }
  .intro { padding: 32px 0; align-items: flex-start; flex-direction: column; gap: 20px; }
  h1 { letter-spacing: -1.4px; }
  .work { padding: 33px 0; min-height: 330px; }
  .post { padding: 26px 7%; }
  .data-page { padding: 45px 0; }
  .data-highlights, .data-stats { grid-template-columns: 1fr; }
  .study-times, .identity-grid { grid-template-columns: 1fr; }
  .data-stat + .data-stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .data-highlight { padding: 24px; }
  .post-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .translation-note[aria-hidden=true] { display: none; }
  .post-text { letter-spacing: -.5px; }
  .work-heading { margin-bottom: 24px; }
  .timeline { justify-content: space-between; padding: 0; height: 44px; }
  .month { position: static; transform: none; padding: 9px 7px; }
  .site-footer { flex-direction: column; gap: 12px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .stub { padding: 50px 0; }
  .backstory { padding: 45px 0; }
  .article-title { font-size: 20px; }
}
