@font-face {
  font-family: Geist;
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f5f6f4;
  --surface: #fff;
  --wash: #eaedeb;
  --ink: #1c211f;
  --muted: #515c58;
  --line: #bdc5c1;
  --blue: #2347cc;
  --focus: #2858df;
  --ui: Geist, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; font: 400 16px/1.5 var(--ui); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased }
input, textarea, select, button { font: inherit; color: inherit }
button, a, summary { touch-action: manipulation }
button, summary { cursor: pointer }
button { border: 0; border-radius: 0; background: transparent }
button:disabled { opacity: .43; cursor: default }
a { color: inherit; text-underline-offset: 4px }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px }
::selection { background: #c9d4fc; color: #142664 }
h1, h2, h3, p { margin: 0 }
h1, h2, h3, .decktitle { font-family: var(--ui); font-weight: 525; letter-spacing: -.048em; line-height: 1.06; overflow-wrap: anywhere }
header, main, footer { width: min(1320px, calc(100% - clamp(40px, 9vw, 150px))); margin-inline: auto }
header { z-index: 5; position: relative }
main { flex: 1; outline: none }
.top, footer, nav, .menu summary, footer div, .actions, .inline, .controls { display: flex; align-items: center }
.top { min-height: 78px; justify-content: space-between; border-bottom: 1px solid var(--ink) }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; line-height: 1; font-weight: 650; letter-spacing: -.07em; text-decoration: none }
.brand-logo { display: block; width: clamp(135px, 25vw, 195px); height: auto }
nav, footer div { gap: clamp(16px, 3vw, 40px) }
nav a, summary { text-decoration: none }
nav a, nav summary { font-size: 15px; font-weight: 520 }
nav a:hover, footer a:hover, .decktitle:hover { color: var(--blue) }
.menu { position: relative }
.menu summary { list-style: none; gap: 9px; min-height: 44px }
.menu summary::-webkit-details-marker { display: none }
.menu summary i { width: 14px; height: 6px; border-block: 1px solid currentColor }
.menu-list { position: absolute; right: 0; top: 42px; min-width: 220px; background: var(--surface); border: 1px solid var(--ink); padding: 5px }
.menu-list a { display: block; padding: 11px 13px }
.menu-list a:hover, .secondary:hover, .chip:hover, .tag-option:hover { background: var(--wash) }
footer { border-top: 1px solid var(--line); justify-content: space-between; gap: 16px; margin-top: 46px; padding: 20px 0 26px }
footer a { font-size: 14px }
.footbrand { font-size: 18px; font-weight: 590 }
.skip { position: absolute; top: -80px }
.skip:focus { top: 4px; left: 4px; z-index: 22; background: white }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 10px; padding: clamp(30px,4.7vw,72px) 0 }
.hero h1 { font-size: clamp(56px,6.7vw,102px); line-height: .985; letter-spacing: -.078em; font-weight: 490 }
.hero h1 span { display: block }
.hero h1 em { color: var(--ink); font-style: normal }
.hero p { max-width: 37ch; margin-top: 22px; font-size: clamp(16px,1.3vw,19px); color: var(--muted) }
.art { display: block; width: 100%; height: auto; max-height: 330px; object-fit: contain }
.landing-intro { padding: clamp(42px, 6vw, 86px) 0 clamp(32px, 4vw, 58px) }
.landing-intro h1 { max-width: 20ch; font-size: clamp(39px, 6.5vw, 90px); letter-spacing: -.075em; line-height: .99 }
.landing-intro p { max-width: 61ch; margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px) }
.landing-example { border-top: 1px solid var(--ink); padding-top: 18px }
.landing-example-intro { margin-bottom: 18px }
.landing-example-intro h2 { font-size: clamp(24px, 3vw, 38px) }
.landing-example-intro p { max-width: 66ch; margin-top: 8px; color: var(--muted) }
.landing-sample-link { margin-top: 18px }
.landing-views { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px }
.landing-views figure { margin: 0; min-width: 0; border: 1px solid var(--line); background: var(--surface) }
.landing-panel-label { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 14px }
.landing-panel-label span { color: var(--muted); font-variant-numeric: tabular-nums }
.landing-views img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--wash); border-block: 1px solid var(--line) }
.landing-views figcaption { padding: 14px; font-size: 15px }
.landing-views figcaption p { color: var(--muted); margin-top: 4px }
.landing-upload { margin: clamp(30px, 5vw, 66px) 0 28px }
.landing-upload .upload-choices { flex-shrink: 0 }
.drop { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px clamp(22px,3.4vw,49px); background: var(--wash); border-block: 1px solid var(--line); border-left: 3px solid var(--ink) }
.drop.over { background: #dfe7ff; border-color: var(--blue) }
.dropintro, .upload-choices { display: flex; align-items: center; gap: 20px }
.drop h2 { font-size: clamp(26px,2.6vw,39px) }
.drop p, .muted, .sub, .info { color: var(--muted) }
.drop p { font-size: 14px; margin-top: 5px }
.fileicon { width: 29px; height: 33px; flex: none; border: 1px solid var(--ink); position: relative }
.fileicon::before { content: ''; position: absolute; height: 11px; width: 1px; background: var(--ink); top: 10px; left: 13px }
.fileicon::after { content: ''; position: absolute; width: 6px; height: 6px; border-left: 1px solid; border-top: 1px solid; transform: rotate(45deg); left: 10px; top: 10px }
.primary, .secondary, .chip, .link, .back, .smallbtn, .pin-action, .tag-option { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; gap: 7px }
.primary, .secondary { padding: 12px 20px; min-height: 44px; font-size: 15px; font-weight: 560 }
.primary { background: var(--blue); color: #fff }
.primary:hover { background: #1938a9 }
.secondary { background: var(--surface); border: 1px solid var(--line) }
.smallbtn, .link, .back { color: var(--blue); font-weight: 530; text-decoration: underline; text-underline-offset: 4px }
.smallbtn { min-height: 38px; padding: 3px; font-size: 14px }
.back { margin-bottom: 20px; font-size: 14px }
.homelink { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 22px 0 32px }
.homelink p { font-size: 15px; color: var(--muted) }
.page { padding: clamp(28px,3.7vw,57px) 0 16px }
.page h1 { font-size: clamp(43px,5.8vw,85px); letter-spacing: -.075em; margin-bottom: 14px }
.page .intro { max-width: 62ch; color: var(--muted); margin: 0 0 25px; font-size: 17px }
.page:has(.feed) { position: relative }
.page:has(.feed)::before { content: ''; position: absolute; top: 20px; right: 1%; width: min(22%,245px); height: 130px; background: url('/assets/contour-study.webp') center / contain no-repeat; pointer-events: none }
.filterbar { display: flex; flex-wrap: wrap; gap: 0; border-block: 1px solid var(--line); margin: 22px 0 0 }
.chip { min-height: 46px; padding: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 530 }
.chip.active { background: var(--ink); color: white }
.feed-post { display: grid; grid-template-columns: minmax(190px,.74fr) minmax(0,1.7fr); gap: 0 clamp(28px,6vw,100px); padding: 32px 0 38px; border-bottom: 1px solid var(--line) }
.post-heading { grid-column: 1; grid-row: 1 / span 2; padding: 3px 0 10px }
.eyebrow { font-weight: 600; color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: .065em; text-transform: uppercase; margin: 0 0 12px }
.decktitle { display: inline-block; font-size: clamp(28px,3.35vw,51px); line-height: 1.05; text-decoration: none }
.question { font-size: 17px; line-height: 1.5; margin: 12px 0 20px; color: var(--muted); overflow-wrap: anywhere }
.discussion-preview { grid-column: 2 }
.discussion-preview > .link { font-size: 14px; min-height: 40px }
.wide { max-width: 940px; margin-inline: auto }
.wide h1 { font-size: clamp(42px,5.4vw,76px) }
.media, .post-heading, .two > * { min-width: 0 }
.media-switch { display: inline-flex; gap: 2px; background: var(--wash); margin-bottom: 10px }
.media-switch button { min-height: 40px; padding: 8px 16px; color: var(--muted); font-size: 14px; font-weight: 530 }
.media-switch button[aria-pressed=true] { background: var(--ink); color: white }
.viewer, .stage .hint, .media video { background: #202523; color: #fff }
.viewer { overflow: hidden }
.stage { height: clamp(230px,35vw,505px); display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; touch-action: pan-y; overflow: hidden; position: relative }
.stage canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain }
.stage .hint { position: absolute; padding: .6em }
.controls { background: #202523; border-top: 1px solid #424946; gap: 10px; padding: 4px 10px; min-height: 46px; font-size: 14px }
.controls button { min-width: 40px; min-height: 38px; border: 1px solid transparent; color: white }
.controls button:hover:enabled { border-color: #77817c }
.controls [data-prev], .controls [data-next] { font-size: 24px; line-height: 1 }
.controls .count { font-variant-numeric: tabular-nums }
.controls .expand { margin-left: auto; padding-inline: 11px }
.viewer.expanded, .viewer:fullscreen { display: flex; flex-direction: column; justify-content: center }
.viewer.expanded { position: fixed; inset: 0; z-index: 20 }
.viewer.expanded .stage, .viewer:fullscreen .stage { height: calc(100dvh - 52px) }
.media video { display: block; width: 100%; max-height: min(65vh,580px); min-height: 160px; object-fit: contain }
.media .moment { margin-top: 10px }
.two { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(260px,.83fr); gap: 30px; align-items: start }
.panel { padding: 22px; border-top: 2px solid var(--ink); background: var(--wash) }
.panel h2,.thread h2,.listing h2,.resource h2 { font-size: clamp(23px,2vw,31px) }
.label { display: block; font-size: 14px; font-weight: 580; margin: 15px 0 6px }
.field { width: 100%; border: 1px solid #89938e; border-radius: 0; background: var(--surface); padding: 11px 12px }
textarea.field { resize: vertical; min-height: 80px }
.panel .primary { margin-top: 15px }
.actions, .pin-tools, .tag-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px }
.info,.privacy-note { color: var(--muted); font-size: 14px; margin: 10px 0 }
.thread { border-top: 1px solid var(--ink); margin: 24px 0; padding-top: 20px }
.thread h2 { margin-bottom: 8px }
.tag-list,.pin-tools { margin-bottom: 10px; gap: 6px }
.tag-option,.pin-action { min-height: 38px; padding: 6px 13px; font-size: 14px; border: 1px solid var(--line); color: var(--ink) }
.tag-option[aria-pressed=true],.pin-action[aria-pressed=true] { background: var(--blue); border-color: var(--blue); color: white }
.pin-action { color: var(--blue); font-weight: 550 }
.pin-tools .info { margin: 0 }
.scope { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; accent-color: var(--blue) }
.feedbackform .actions { justify-content: space-between; margin: 7px 0 18px }
.note,.row,.resource { border-top: 1px solid var(--line); padding: 16px 0; overflow-wrap: anywhere }
.note p { white-space: pre-line }
.note strong { font-size: 14px }
.note .smallbtn { padding: 3px 7px }
.note .reply { padding-left: 12px; margin: 10px 0 0 12px; border-left: 2px solid var(--line) }
.note-tag { display: inline-block; color: #253c79; background: #e2e9f7; margin: 2px; padding: 2px 8px; font-size: 13px }
.note [tabindex="-1"]:focus { outline: 2px solid var(--focus); outline-offset: 3px }
.pin-layer { position: absolute; pointer-events: none }
.pin-layer.placing { pointer-events: auto; cursor: crosshair }
.pin-dot { position: absolute; transform: translate(-50%,-50%); width: 28px; height: 28px; display: grid; place-content: center; border: 2px solid #fff; border-radius: 50%; padding: 0; background: var(--blue); color: white; font: 600 13px var(--ui); outline: 1px solid #19254c; pointer-events: auto }
.pin-dot.selected { z-index: 2; outline: 3px solid #ffce56; outline-offset: 2px }
.pin-dot.pending { z-index: 3; background: var(--ink); pointer-events: none }
.pin-layer.placing .pin-dot { pointer-events: none }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px }
.row p { font-size: 14px }
.resource { padding: 21px 0; max-width: 880px }
.resource summary { font-size: clamp(19px,2.3vw,29px); font-weight: 500; letter-spacing: -.035em; line-height: 1.35 }
.resource p { max-width: 63ch; margin-top: 12px }
.resource .label { margin-top: 16px }
.sub { margin: 8px 0 18px }
.empty { padding: 20px 0 }
.error { color: #a12a25 }
#status:empty { display: none }
#status { position: fixed; z-index: 24; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: 90vw; background: var(--ink); color: white; padding: 9px 16px }
[hidden], .mobile-only { display: none !important }
.visuallyhidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
@media(min-width: 651px) {
  .page:has(.feed) > .intro { max-width: min(62ch,74%) }
}
@media(max-width: 800px) {
  .hero h1 { font-size: clamp(44px,6.8vw,63px) }
  .upload-choices { gap: 9px; flex-direction: column }
  .feed-post { grid-template-columns: minmax(160px,.65fr) minmax(0,1.45fr); gap: 0 24px }
  .page:has(.feed)::before { height: 97px; right: 0 }
}
@media(max-width: 650px) {
  header,main,footer { width: calc(100% - 36px) }
  .top { min-height: 62px }
  .brand { font-size: 24px; gap: 8px }
  nav { gap: 14px }
  nav a,nav summary { font-size: 14px }
  .hero { grid-template-columns: minmax(0,1fr) 29%; gap: 2px; padding: 32px 0 26px }
  .hero > div { display: contents }
  .hero h1 { font-size: clamp(38px,8.3vw,55px); letter-spacing: -.075em; grid-column: 1; grid-row: 1 }
  .hero p { grid-column: 1 / -1; grid-row: 2; margin-top: 16px; max-width: 36ch }
  .hero .art { grid-column: 2; grid-row: 1; transform: scale(1.11) }
  .drop { padding: 18px; align-items: stretch; flex-direction: column; gap: 14px }
  .dropintro { gap: 12px }
  .drop h2 { font-size: 26px }
  .upload-choices { align-items: center; justify-content: flex-start; flex-direction: row; flex-wrap: wrap; gap: 15px }
  .homelink { align-items: flex-start; flex-direction: column; gap: 5px; margin: 19px 0 }
  .page { padding-top: 26px }
  .page h1 { margin-bottom: 11px; font-size: clamp(38px,9.9vw,62px) }
  .page .intro { font-size: 16px; margin-bottom: 18px }
  .page:has(.feed)::before { display: none }
  .filterbar { gap: 1px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: var(--line); border: 1px solid var(--line) }
  .chip { background: var(--paper); font-size: 14px; min-height: 42px; padding: 6px }
  .feed-post { display: block; padding: 24px 0 }
  .post-heading { padding: 0 }
  .decktitle { font-size: 29px }
  .question { font-size: 16px; margin: 8px 0 14px }
  .eyebrow { margin-bottom: 6px }
  .stage { height: clamp(165px,56vw,350px) }
  .two { grid-template-columns: minmax(0,1fr); gap: 16px }
  .panel { padding: 16px }
  .actions { gap: 8px }
  .thread { margin: 18px 0; padding-top: 14px }
  .tag-list { gap: 4px }
  .tag-option { padding-inline: 9px }
  footer { align-items: flex-start; gap: 12px; margin-top: 22px }
  footer div { gap: 8px 15px; flex-wrap: wrap; justify-content: flex-end }
  .footbrand { font-size: 17px }
  footer a { font-size: 13px }
  .desktop-only { display: none }
  .mobile-only { display: inline !important }
}
@media(max-width: 390px) {
  .browse-top { display: none }
  .upload-choices { gap: 8px }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
}
