/* Scoped project styles: the personal homepage and other projects are unchanged. */
body:has(.jq-page) {
  --global-bg-color: #fff;
  --global-text-color: #171717;
  --global-text-color-light: #626262;
  --global-theme-color: #171717;
  background: #fff !important;
  color: #171717;
}
body:has(.jq-page)::before, body:has(.jq-page)::after { display: none !important; }
.jq-project-site { margin: 0; padding: 0; }
.jq-site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #dedede; background: #fff; font: 16px/1.5 Arial, Helvetica, sans-serif; }
.jq-site-header > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; }
.jq-site-header a { color: #171717; text-decoration: none; }
.jq-site-header a:hover { text-decoration: underline; text-underline-offset: 5px; }
.jq-site-name { font-size: 20px; font-weight: 600; }
.jq-site-header nav { display: flex; gap: 26px; align-items: center; }
.jq-site-header nav a { padding-block: 14px; }
.jq-site-footer { padding: 16px 0; margin: 0; background: #fff; border-top: 1px solid #dedede; color: #626262; font: 13px/1.5 Arial, Helvetica, sans-serif; }
.jq-skip-link { position: fixed; left: 18px; top: -80px; z-index: 30; background: #fff; color: #171717; padding: 12px 18px; }
.jq-skip-link:focus { top: 8px; }
.jq-site-header a:focus-visible { outline: 2px solid #217957; outline-offset: 4px; }
.jq-page {
  --jq-ink: #171717;
  --jq-muted: #626262;
  --jq-line: #dedede;
  --jq-surface: #f5f5f5;
  --jq-green: #176148;
  --jq-red: #993e36;
  width: 100%;
  color: var(--jq-ink);
  background: #fff;
  font: 18px/1.65 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.jq-page *, .jq-page *::before, .jq-page *::after { box-sizing: border-box; letter-spacing: 0; }
.jq-page [hidden] { display: none !important; }
.jq-container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.jq-page h1, .jq-page h2, .jq-page h3, .jq-page p, .jq-page figure { margin: 0; max-width: none; }
.jq-page h1, .jq-page h2, .jq-page h3 { font-family: inherit; color: inherit; font-style: normal; text-wrap: balance; }
.jq-page a { color: inherit; text-decoration: none; }
.jq-page a:hover { text-decoration: underline; text-underline-offset: 5px; }
.jq-page a:focus-visible, .jq-page button:focus-visible, .jq-page [tabindex]:focus-visible { outline: 2px solid #217957; outline-offset: 5px; }
.jq-page button { font: inherit; color: inherit; cursor: pointer; }
.jq-page img { display: block; height: auto; border-radius: 0; }
.jq-page .jq-eyebrow { margin-bottom: 18px; font: 13px/1.5 Consolas, "Liberation Mono", monospace; color: var(--jq-muted); }
.jq-hero { padding-top: 44px; padding-bottom: 48px; }
.jq-hero h1 { font-size: 88px; line-height: 1.05; font-weight: 650; }
.jq-page .jq-subtitle { margin-top: 12px; font-size: 24px; color: var(--jq-muted); }
.jq-resources { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 24px; font-size: 15px; }
.jq-resources > a, .jq-resources > span { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 44px; }
.jq-resources .jq-link-primary { padding: 8px 16px; background: #171717; color: #fff; border: 1px solid #171717; }
.jq-link-primary i:last-child { margin-left: 6px; font-size: 12px; }
.jq-resources .jq-unavailable { color: var(--jq-muted); }
.jq-status { color: var(--jq-muted); font: 12px/1.5 Consolas, "Liberation Mono", monospace; }
.jq-intro { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--jq-line); display: grid; grid-template-columns: 1fr 1.15fr; gap: 0 64px; }
.jq-intro > .jq-eyebrow { grid-column: 1 / -1; margin-bottom: 14px; }
.jq-intro h2 { font-size: 34px; line-height: 1.2; font-weight: 600; }
.jq-intro > p:last-child { color: #464646; font-size: 19px; line-height: 1.65; max-width: 720px; }
.jq-page .jq-teaser { margin-top: 32px; }
.jq-teaser-scroll { overflow-x: auto; padding: 12px 0; scrollbar-width: thin; scrollbar-color: #888 #eee; }
.jq-teaser img { width: 100%; min-width: 800px; height: auto; }
.jq-teaser figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.jq-teaser figcaption > span { max-width: 950px; }
.jq-teaser figcaption > a { flex-shrink: 0; text-decoration: underline; text-underline-offset: 4px; }
.jq-teaser figcaption i { margin-left: 5px; font-size: 11px; }
.jq-video-section { padding-block: 28px 56px; }
.jq-video-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 24px; margin-bottom: 18px; }
.jq-video-heading .jq-eyebrow { margin-bottom: 10px; }
.jq-video-heading h2 { font-size: 38px; line-height: 1.2; font-weight: 600; }
.jq-video-heading > a { font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.jq-video-section video, .jq-video-standalone video { display: block; width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; background: #111; }
.jq-video-standalone { min-height: calc(100vh - 180px); padding-block: 48px 72px; }
.jq-video-standalone h1 { font-size: 72px; line-height: 1.1; font-weight: 650; }
.jq-video-standalone video { margin-top: 32px; }
.jq-question { --global-text-color: #fff; padding: 48px 0; background: #171717; color: #fff; }
.jq-question .jq-eyebrow { color: #bdbdbd; }
.jq-question h2 { max-width: 1100px; font-size: 44px; line-height: 1.2; font-weight: 500; }
.jq-question p:not(.jq-eyebrow):not(.jq-notation) { max-width: 820px; margin-top: 22px; font-size: 19px; color: #d2d2d2; }
.jq-question .jq-notation { margin-top: 26px; font: 13px/1.8 Consolas, "Liberation Mono", monospace; }
.jq-notation span { margin: 0 16px; color: #999; }
.jq-results { padding-top: 56px; }
.jq-results-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.jq-results h2 { font-size: 38px; line-height: 1.2; font-weight: 600; }
.jq-result-nav { display: flex; flex-wrap: wrap; gap: 24px; font: 15px/1.5 Consolas, "Liberation Mono", monospace; }
.jq-result-nav a { padding: 12px 0; border-bottom: 1px solid var(--jq-ink); }
.jq-page .jq-legend { margin-top: 26px; color: var(--jq-muted); font-size: 14px; }
.jq-legend span { font-weight: 600; }
.jq-legend-divider { margin: 0 8px; color: #aaa; }
.jq-page .jq-op-none { color: var(--jq-green); }
.jq-page .jq-op-extra { color: var(--jq-red); }
.jq-page .jq-op-baseline { color: var(--jq-muted); }
.jq-model { margin-top: 40px; padding: 32px 0 48px; border-top: 1px solid #171717; scroll-margin-top: 100px; }
.jq-model + .jq-model { margin-top: 12px; }
.jq-model-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.jq-model-heading .jq-eyebrow { margin-bottom: 10px; }
.jq-model h3 { font-size: 36px; line-height: 1.2; font-weight: 600; }
.jq-model-heading > p { color: var(--jq-muted); text-align: right; font: 14px/1.6 Consolas, "Liberation Mono", monospace; }
.jq-page .jq-finding { max-width: 1000px; margin: 22px 0 28px; font-size: 19px; color: #444; }
.jq-finding strong { color: var(--jq-ink); font-weight: 600; }
.jq-gallery { margin: 26px 0 30px; min-width: 0; }
.jq-gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.jq-gallery-heading > p { font: 14px/1.5 Consolas, "Liberation Mono", monospace; color: var(--jq-muted); }
.jq-gallery-controls { display: none; gap: 8px; flex-shrink: 0; }
.jq-page[data-enhanced] .jq-gallery-controls { display: flex; }
.jq-gallery-controls button { width: 42px; height: 42px; padding: 0; border: 1px solid #bdbdbd; background: #fff; display: grid; place-items: center; border-radius: 0; font-size: 15px; }
.jq-gallery-controls button:hover:not(:disabled) { background: #171717; color: #fff; border-color: #171717; }
.jq-gallery-controls button:disabled { opacity: .3; cursor: default; }
.jq-gallery-track { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #888 #eee; padding-bottom: 12px; }
.jq-gallery-track figure { flex-shrink: 0; min-width: 0; scroll-snap-align: start; }
.jq-gallery-track img { width: 100%; }
.jq-page figcaption { color: var(--jq-muted); font-size: 14px; line-height: 1.6; margin-top: 12px; }
.jq-dit-track figure { width: max(100%, 1080px); }
.jq-flux-track figure { flex-basis: calc((100% - 54px) / 4); min-width: 280px; }
.jq-flux-track img { aspect-ratio: 1; object-fit: contain; background: var(--jq-surface); }
.jq-flux-track figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--jq-line); }
.jq-flux-track figcaption strong { font-size: 16px; color: var(--jq-ink); }
.jq-flux-track figcaption span { font: 12px/1.5 Consolas, "Liberation Mono", monospace; }
.jq-flux-track .jq-sample-ours figcaption { border-top: 2px solid var(--jq-green); padding-top: 11px; }
.jq-original-link { display: block; position: relative; }
.jq-original-icon { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .65); font-size: 13px; opacity: 0; }
.jq-original-link:hover .jq-original-icon, .jq-original-link:focus-visible .jq-original-icon { opacity: 1; }
.jq-scene-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 4px 0 18px; }
.jq-scene-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.jq-scene-title strong { font-size: 17px; font-weight: 600; }
.jq-scene-title > span { font: 12px/1.5 Consolas, 'Liberation Mono', monospace; color: var(--jq-muted); }
.jq-scene-navigation { display: none; gap: 8px; flex-shrink: 0; }
.jq-page[data-enhanced] .jq-scene-navigation { display: flex; }
.jq-scene-navigation button { display: grid; place-items: center; padding: 0; width: 38px; height: 38px; background: #fff; border: 1px solid #bbb; border-radius: 0; font-size: 13px; }
.jq-scene-navigation button:hover:not(:disabled) { background: #171717; border-color: #171717; color: #fff; }
.jq-scene-navigation button:disabled { opacity: .3; cursor: default; }
.jq-scene-thumbnails { position: relative; display: none; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; margin-top: 18px; padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: #888 #eee; }
.jq-page[data-enhanced] .jq-scene-thumbnails { display: flex; }
.jq-scene-thumbnails button { position: relative; flex: 0 0 76px; width: 76px; height: 76px; padding: 3px; border: 2px solid transparent; border-radius: 0; background: transparent; }
.jq-scene-thumbnails button[aria-pressed="true"] { border-color: #171717; }
.jq-scene-thumbnails button:hover { border-color: #888; }
.jq-scene-thumbnails button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jq-scene-thumbnails button > span { position: absolute; left: 5px; bottom: 5px; padding: 1px 4px; background: #171717; color: #fff; font: 10px/1.5 Consolas, 'Liberation Mono', monospace; }
.jq-page .jq-scene-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.jq-page .jq-scene-status.is-error { position: static; width: auto; height: auto; margin: 12px 0; overflow: visible; clip-path: none; color: var(--jq-red); font-size: 14px; }
[data-scene-gallery][aria-busy="true"] .jq-flux-track { opacity: .55; }
.jq-tabset { min-width: 0; }
.jq-tabs { display: none; gap: 0; margin-bottom: 18px; border-bottom: 1px solid var(--jq-line); }
.jq-page[data-enhanced] .jq-tabs { display: flex; }
.jq-tabs button { flex: 0 1 auto; padding: 14px 22px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: var(--jq-muted); font-size: 15px; line-height: 1.4; min-height: 48px; }
.jq-tabs button:first-child { padding-left: 0; padding-right: 24px; }
.jq-tabs button[aria-selected="true"] { border-bottom-color: var(--jq-ink); color: var(--jq-ink); font-weight: 600; }
.jq-tabs button:hover { color: var(--jq-ink); background: #f5f5f5; }
.jq-table-scroll { max-width: 100%; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #888 #eee; margin: 12px 0 0; }
.jq-table { width: 100%; border-collapse: separate; border-spacing: 0; font: 14px/1.5 Consolas, "Liberation Mono", monospace; font-variant-numeric: tabular-nums; }
.jq-table caption { caption-side: top; text-align: left; color: var(--jq-muted); font: 14px/1.6 Arial, Helvetica, sans-serif; padding: 0 0 14px; }
.jq-table th, .jq-table td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--jq-line); white-space: nowrap; text-align: right; vertical-align: middle; background: #fff; }
.jq-table thead th { font: 13px/1.5 Arial, Helvetica, sans-serif; color: #555; background: #f4f4f4; border-top: 1px solid #bdbdbd; border-bottom: 1px solid #aaa; padding-block: 14px; }
.jq-table th:first-child { position: sticky; left: 0; z-index: 1; text-align: left; box-shadow: 1px 0 0 #eee; }
.jq-table th[scope="row"] { font: 600 14px/1.5 Arial, Helvetica, sans-serif; min-width: 122px; }
.jq-table .jq-operator, .jq-table thead th:last-child { text-align: left; }
.jq-table .jq-operator { font-size: 12px; }
.jq-table .jq-ours th, .jq-table .jq-ours td { background: #eaf3ee; font-weight: 700; }
.jq-table .jq-ours th { box-shadow: inset 3px 0 0 var(--jq-green), 1px 0 0 #eaf3ee; }
.jq-table .jq-baseline th, .jq-table .jq-baseline td { background: #f6f6f6; }
.jq-table tbody tr:hover th, .jq-table tbody tr:hover td { background: #ededed; }
.jq-page .jq-note { margin-top: 18px; max-width: 1100px; color: var(--jq-muted); font-size: 14px; line-height: 1.7; }
.jq-method { padding: 60px 0; background: var(--jq-surface); border-top: 1px solid var(--jq-line); }
.jq-method h2 { font-size: 42px; line-height: 1.18; font-weight: 500; }
.jq-method .jq-method-intro { max-width: 820px; margin-top: 24px; color: #333; font-size: 22px; }
.jq-method p:not(.jq-eyebrow):not(.jq-method-intro) { max-width: 920px; margin-top: 20px; color: #464646; }
.jq-method .jq-method-figure { margin-top: 32px; }
.jq-page .jq-theseus { max-width: 1120px; margin: 32px 0; padding: 22px 0 20px; border-top: 1px solid var(--jq-line); border-bottom: 1px solid var(--jq-line); }
.jq-ship-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.jq-ship-stage { min-width: 0; position: relative; }
.jq-ship { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; color: var(--jq-ink); }
.jq-ship-plank { fill: #ececec; stroke: #a3a3a3; stroke-width: 1; }
.jq-ship-plank-new { fill: #202020; stroke: #f5f5f5; }
.jq-ship-grain { fill: none; stroke: #b9b9b9; stroke-width: 1; }
.jq-ship-outline { fill: none; stroke: #202020; stroke-width: 1.8; stroke-linejoin: round; }
.jq-ship-water { fill: none; stroke: #aaa; stroke-width: 1; }
.jq-ship-label { display: grid; gap: 5px; margin-top: 14px; text-align: center; }
.jq-ship-label strong { font-size: 17px; font-weight: 600; }
.jq-ship-label > span:last-child { color: var(--jq-muted); font-size: 14px; }
.jq-ship-number { color: var(--jq-muted); font: 12px/1.5 Consolas, 'Liberation Mono', monospace; }
.jq-ship-arrow { position: absolute; right: -31px; top: 46%; color: #777; font-size: 14px; }
.jq-theseus figcaption { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 26px; font-size: 13px; }
.jq-ship-key { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.jq-plank-swatch { display: inline-block; width: 14px; height: 14px; background: #ececec; border: 1px solid #a3a3a3; }
.jq-plank-swatch-new { background: #202020; border-color: #202020; margin-left: 10px; }
.jq-method-figure img { width: 100%; max-width: 1000px; background: #fff; }
.jq-read-more { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; margin-top: 44px; padding-top: 32px; border-top: 1px solid #bdbdbd; scroll-margin-top: 100px; }
.jq-read-more h3 { font-size: 28px; font-weight: 500; line-height: 1.3; }
.jq-read-more > div > p { margin-top: 0 !important; }
.jq-read-more .jq-resources { gap: 14px 22px; }
.jq-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-block: 28px; color: var(--jq-muted); font: 13px/1.6 Consolas, "Liberation Mono", monospace; }
.jq-footer a { display: inline-flex; align-items: center; gap: 12px; }
#overview { scroll-margin-top: 100px; }
@media (max-width: 1000px) {
  .jq-container { width: calc(100% - 64px); }
  .jq-intro { grid-template-columns: 1fr; gap: 0; }
  .jq-intro > p:last-child { margin-top: 18px; max-width: 850px; }
  .jq-read-more { gap: 32px; grid-template-columns: 1fr 1.5fr; }
}
@media (max-width: 600px) {
  .jq-page { font-size: 17px; }
  .jq-container { width: calc(100% - 36px); }
  .jq-site-header > div { flex-wrap: wrap; gap: 0; padding-top: 14px; padding-bottom: 4px; }
  .jq-site-header nav { width: 100%; gap: 24px; font-size: 14px; }
  .jq-model, #read-more, #overview { scroll-margin-top: 124px; }
  .jq-hero { padding-top: 32px; padding-bottom: 32px; }
  .jq-hero h1 { font-size: 54px; }
  .jq-page .jq-subtitle { font-size: 20px; }
  .jq-page .jq-eyebrow { font-size: 11px; margin-bottom: 12px; }
  .jq-resources { gap: 12px 20px; font-size: 14px; }
  .jq-intro { margin-top: 30px; padding-top: 24px; }
  .jq-intro h2 { font-size: 28px; }
  .jq-teaser figcaption { flex-direction: column; align-items: flex-start; font-size: 13px; }
  .jq-video-section { padding-block: 16px 36px; }
  .jq-video-heading h2 { font-size: 30px; }
  .jq-video-standalone { padding-block: 32px 48px; }
  .jq-video-standalone h1 { font-size: 54px; }
  .jq-intro > p:last-child, .jq-question p:not(.jq-eyebrow):not(.jq-notation), .jq-page .jq-finding { font-size: 17px; }
  .jq-question { padding: 32px 0; }
  .jq-question h2 { font-size: 30px; }
  .jq-desktop-break { display: none; }
  .jq-question .jq-notation { font-size: 11px; }
  .jq-notation span { margin: 0 6px; }
  .jq-results { padding-top: 36px; }
  .jq-results h2 { font-size: 30px; }
  .jq-results-heading { gap: 16px; }
  .jq-result-nav { width: 100%; justify-content: space-between; gap: 16px; font-size: 14px; }
  .jq-page .jq-legend { font-size: 13px; }
  .jq-model { padding: 26px 0 32px; margin-top: 26px; }
  .jq-model-heading { align-items: start; flex-direction: column; gap: 12px; }
  .jq-model-heading > p { text-align: left; font-size: 12px; }
  .jq-model h3 { font-size: 30px; }
  .jq-gallery-heading > p { font-size: 12px; }
  .jq-gallery-controls button { width: 40px; height: 40px; }
  .jq-flux-track figure { min-width: 0; flex-basis: 84%; }
  .jq-scene-title { gap: 4px 12px; }
  .jq-scene-title strong { width: 100%; font-size: 16px; }
  .jq-scene-thumbnails button { flex-basis: 68px; width: 68px; height: 68px; }
  .jq-original-icon { opacity: 1; }
  .jq-dit-track figure { width: 1080px; }
  .jq-dit-track figcaption { max-width: calc(100vw - 36px); }
  .jq-tabs button { padding: 12px; font-size: 13px; }
  .jq-tabs button:first-child { padding-right: 16px; }
  .jq-table th, .jq-table td { padding: 10px 12px; }
  .jq-table th[scope="row"] { min-width: 112px; }
  .jq-method { padding: 36px 0; }
  .jq-method h2 { font-size: 32px; }
  .jq-method .jq-method-intro { font-size: 20px; }
  .jq-ship-sequence { grid-template-columns: 1fr; gap: 24px; }
  .jq-ship-stage { display: grid; grid-template-columns: minmax(0, 1fr) 125px; gap: 12px; align-items: center; }
  .jq-ship-label { margin: 0; text-align: left; }
  .jq-ship-label strong { font-size: 15px; }
  .jq-ship-label > span:last-child { font-size: 13px; }
  .jq-ship-arrow { right: 60px; top: auto; bottom: -19px; transform: rotate(90deg); font-size: 12px; }
  .jq-theseus figcaption { font-size: 13px; }
  .jq-read-more { grid-template-columns: 1fr; gap: 20px; }
  .jq-read-more h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .jq-page * { scroll-behavior: auto !important; } }
@media print {
  .jq-page .jq-panel[hidden] { display: block !important; }
  .jq-page .jq-tabs, .jq-gallery-controls, .jq-result-nav { display: none !important; }
  .jq-container { width: 100%; }
  .jq-table-scroll, .jq-gallery-track { overflow: visible; }
  .jq-gallery-track { display: block; }
  .jq-gallery-track figure { width: 100%; min-width: 0; margin-bottom: 16px; }
  .jq-table { font-size: 9px; }
  .jq-table th, .jq-table td { padding: 5px; }
}
