:root {
  color-scheme: light;
  --paper: #f3efe4;
  --white: #fffdf6;
  --ink: #24261e;
  --green: #263e33;
  --muted: #57564a;
  --line: #cec7b4;
  --orange: #a74612;
  --mono: "Courier New", monospace;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button:not(:disabled), summary { cursor: pointer; }
:focus-visible { outline: 3px solid #b74d17; outline-offset: 3px; }
.wrap { width: min(1200px, 100% - 80px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { clip-path: inset(50%); position: absolute; overflow: hidden; width: 1px; height: 1px; white-space: nowrap; }
.skip:focus { position: absolute; z-index: 5; top: 4px; left: 4px; background: var(--white); padding: 8px; }
.utility { background: var(--green); color: #faf3df; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 8px; font: bold 11px/1.4 var(--mono); letter-spacing: .09em; }
.signal { display: inline-block; width: 7px; height: 7px; background: #f09152; margin-right: 4px; vertical-align: 1px; }
.site-header { border-bottom: 1px solid var(--line); background: #faf7ee; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; gap: 10px; text-decoration: none; font: bold 30px/.95 var(--serif); letter-spacing: -.055em; }
.brand-dot, .hero h1 span { color: var(--orange); }
.brand img { border-radius: 50%; }
.main-nav { display: flex; gap: 8px; justify-content: center; align-self: stretch; }
.main-nav a { display: grid; place-items: center; border-bottom: 2px solid transparent; padding: 0 12px; font-size: 14px; font-weight: bold; text-decoration: none; white-space: nowrap; color: #44473a; }
.main-nav a[aria-current], .main-nav a:hover { border-color: var(--orange); color: var(--orange); }
.x-link { font: bold 12px/1.4 var(--mono); white-space: nowrap; color: var(--green); text-underline-offset: 3px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 23px 0 0; color: var(--muted); font: bold 12px/1.4 var(--mono); }
.breadcrumb a { text-underline-offset: 3px; }
.hero { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(22px, 5.25vw, 76px); align-items: center; padding: 39px 0 42px; }
.eyebrow { margin: 0; color: var(--green); font: bold 11px/1.5 var(--mono); letter-spacing: .125em; text-transform: uppercase; }
.ann { display: inline-block; padding: 2px 5px; margin-right: 5px; color: var(--orange); background: #fae8d2; border: 1px solid #dfb892; letter-spacing: normal; }
.hero h1 { margin: 12px 0 15px; font: bold clamp(59px, 6.8vw, 104px)/.86 var(--serif); letter-spacing: -.083em; }
.hero-copy > p:not(.eyebrow) { max-width: 37ch; margin: 0; color: #48483d; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.54; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 19px; margin-top: 22px; }
.btn { display: inline-flex; gap: 13px; align-items: center; min-height: 43px; padding: 8px 12px; border: 1px solid var(--green); box-shadow: 2px 2px 0 #a6a091; font: bold 13px/1.4 var(--mono); text-decoration: none; }
.primary { color: #fffdf6; background: var(--green); }
.primary:hover { background: #3b5747; }
.text-link { color: var(--green); font: bold 13px/1.5 var(--mono); text-underline-offset: 4px; }
.text-link:hover, .x-link:hover { color: var(--orange); }
.hero-art { min-width: 0; border: 1px solid #ac9d81; background: #e9dfc9; box-shadow: 4px 4px 0 #ddd4bf; margin: 0; padding: 8px; }
.art-frame { overflow: hidden; border: 1px solid #3c261a; background: #2a190e; }
.art-frame img { width: 100%; }
.hero-art figcaption { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10px 0 3px; text-align: center; }
.hero-art figcaption span + span { border-left: 1px solid #beb297; }
.hero-art b, .hero-art small { display: block; }
.hero-art b { font: bold clamp(14px, 2.1vw, 25px)/1.17 var(--serif); color: #35271c; letter-spacing: -.04em; }
.hero-art small { color: #4c4232; font: 11px/1.2 var(--mono); margin-top: 4px; }
.board-section { padding: 23px 0 0; border-top: 1px solid var(--line); scroll-margin-top: 14px; }
.board-section + .board-section { margin-top: 45px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 22px; margin-bottom: 14px; }
.section-head h2 { font: bold clamp(32px, 4.1vw, 55px)/.98 var(--serif); margin: 5px 0 0; letter-spacing: -.062em; }
.section-head p:not(.eyebrow) { margin: 0 0 1px; color: var(--muted); font-size: 14px; }
.thread { border: 1px solid #a9af9c; box-shadow: 3px 3px 0 #dfd8c4; }
.thread-bar, .board-card-bar { background: var(--green); color: #fbf5e4; }
.thread-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 13px; min-height: 46px; }
.thread-bar b { font: bold 15px/1.3 var(--mono); }
.thread-icon { color: #f0a068; margin-right: 4px; }
.thread-ticker { color: #ddd6bf; font: 12px var(--mono); }
.modes { display: flex; gap: 2px; }
.modes button { background: transparent; color: #fbf5e4; padding: 4px 8px; border: 1px solid transparent; font: bold 12px/1.3 var(--mono); }
.modes button[aria-pressed="true"] { color: var(--green); background: #fbf5e4; border-color: #fbf5e4; }
.modes button:hover:not([aria-pressed="true"]) { border-color: #adb6a8; }
.thread-body { display: grid; grid-template-columns: minmax(205px, 26%) minmax(0, 1fr); background: #faf8ef; }
.thread-rail { background: #ecebdd; border-right: 1px solid #c9ceba; }
.thread-rail ol { list-style: none; margin: 0; padding: 5px 0; }
.thread-rail li { position: relative; }
.thread-rail li::before { content: ""; position: absolute; left: 20px; top: 0; height: 100%; width: 1px; background: #aab09b; pointer-events: none; }
.thread-rail a { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 39px; font-size: 13px; line-height: 1.23; padding: 6px 8px 6px 33px; text-decoration: none; border-block: 1px solid transparent; }
.thread-rail a::before { content: ""; position: absolute; z-index: 1; top: 50%; left: 17px; width: 7px; height: 7px; border: 1px solid #7e8574; background: #ecebdd; transform: translateY(-50%); }
.thread-rail a time { font: bold 11px/1.3 var(--mono); color: #535748; }
.thread-rail a:hover { background: #e1e3d4; }
.thread-rail a[aria-current] { color: #3b2c21; background: #f9e9d5; border-color: #e4c29d; font-weight: bold; }
.thread-rail a[aria-current]::before { background: #b14f21; border-color: #b14f21; }
.thread-content { min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
.post { display: flex; flex-direction: column; flex: 1; }
.post + .post { border-top: 1px solid var(--line); }
.post-heading { display: flex; justify-content: space-between; gap: 10px; padding: 10px 15px; color: #3d483c; border-bottom: 1px solid #ced1bd; font: bold 12px/1.35 var(--mono); background: #e6eadc; }
.post-heading time { text-align: right; font-weight: normal; }
.post-layout { display: grid; grid-template-columns: 132px minmax(0, 1fr); flex: 1; }
.author { padding: 20px 14px; border-right: 1px solid var(--line); font-size: 13px; overflow-wrap: anywhere; color: var(--green); }
.author small { display: block; margin-top: 4px; color: var(--muted); font: 11px/1.35 var(--mono); }
.avatar { width: 42px; aspect-ratio: 1; background: #e1e5d4; color: var(--green); border: 1px solid #adb7a0; display: grid; place-items: center; margin-bottom: 9px; font: bold 23px/1 var(--mono); }
.avatar-vlad { background: #f3ddc0; color: #8b431b; border-color: #d9aa7b; }
.avatar-dev { background: #e2e4db; color: #334240; border-color: #afb5a7; font-size: 19px; }
.post-copy { padding: clamp(19px, 3.2vw, 42px); }
.post-copy h3 { color: var(--ink); font: bold clamp(24px, 3.05vw, 42px)/1.03 var(--serif); letter-spacing: -.055em; margin: 0 0 12px; }
.post-copy p { max-width: 60ch; font-size: 15px; line-height: 1.55; margin: 0 0 13px; color: #45463a; }
.post-copy blockquote { margin: 15px 0; border-left: 3px solid var(--orange); padding: 9px 12px; font: italic bold 19px/1.3 var(--serif); background: #f3ebd9; }
.source-link { display: inline-block; color: var(--green); font: bold 12px/1.4 var(--mono); text-underline-offset: 4px; }
.source-link:hover { color: var(--orange); }
.source-link + .source-link { margin-left: 8px; }
.transport { display: flex; align-items: center; gap: 6px 13px; flex-wrap: wrap; padding: 9px 12px; min-height: 53px; border-top: 1px solid var(--line); font: bold 12px/1.35 var(--mono); }
.stepper { display: inline-flex; gap: 3px; align-items: center; }
.stepper span { margin-inline: 5px; min-width: 3ch; color: var(--muted); }
.transport button { padding: 5px 8px; min-height: 31px; background: #f7f3e9; color: var(--green); border: 1px solid #a8b19e; }
.transport button:hover:not(:disabled) { background: #e8eadd; }
.transport button:disabled { opacity: .5; }
.transport .copy-link { margin-left: auto; }
.elapsed { color: #784526; font-weight: bold; white-space: nowrap; }
.thread-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 15px; padding: 8px 12px; border-top: 1px solid #c9ceba; background: #e6eadc; color: #404b3e; font: 11px/1.4 var(--mono); }
.thread-foot a { font-weight: bold; text-underline-offset: 3px; }
.archive-search { display: grid; grid-template-columns: auto minmax(150px, 225px); align-items: center; gap: 9px; font: bold 12px/1.3 var(--mono); }
.archive-search input { min-width: 0; width: 100%; border: 1px solid #b9b29f; background: var(--white); padding: 7px 8px; color: var(--ink); }
.source-board { border: 1px solid #a9af9c; background: var(--white); }
.source-board-heading, .source-board li a { display: grid; grid-template-columns: minmax(0, 1fr) 120px 80px 20px; align-items: center; gap: 12px; padding: 10px 14px; }
.source-board-heading { background: var(--green); color: var(--white); font: bold 12px/1.3 var(--mono); }
.source-board ul { list-style: none; padding: 0; margin: 0; }
.source-board li + li:not([hidden]) { border-top: 1px solid var(--line); }
.source-board li a { text-decoration: none; }
.source-board li a:hover { background: #f5edd9; }
.source-board b { color: var(--green); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.source-board small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.source-board li a > span:nth-child(2), .source-board time { color: var(--muted); font: 12px/1.3 var(--mono); }
.source-board i { color: var(--orange); font-style: normal; }
.no-sources { margin: 0; padding: 15px; }
.bottom-boards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 32px 0 0; align-items: start; }
.board-card { border: 1px solid #a9af9c; background: var(--white); scroll-margin-top: 14px; }
.board-card-bar { padding: 9px 13px; font: bold 13px/1.3 var(--mono); }
.board-card details, .mint { padding: 16px; }
.board-card summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; }
.board-card summary::-webkit-details-marker { display: none; }
.board-card summary, .mint h2 { font: bold 23px/1.1 var(--serif); margin: 0; letter-spacing: -.04em; }
.board-card summary span { color: var(--orange); }
.board-card details[open] summary span { transform: rotate(90deg); }
.board-card figure { margin: 15px 0 0; padding: 11px; border: 1px solid var(--line); background: #fff; }
.board-card figure img { width: min(100%, 220px); margin-inline: auto; }
.board-card figcaption { margin-top: 4px; font: 12px var(--mono); color: var(--muted); text-align: center; }
.mint-status { padding: 7px 8px; font-size: 13px; background: #f3eee0; border: 1px dashed #b0a68f; color: #4a483c; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 16px 20px; margin-top: 32px; border-top: 1px solid var(--line); font: 12px/1.4 var(--mono); color: var(--muted); }
.footer-divider { color: var(--orange); }
.site-footer a { font-weight: bold; text-underline-offset: 3px; }
@media (max-width: 890px) {
  .wrap { width: calc(100% - 42px); }
  .masthead { column-gap: 12px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding-inline: 8px; }
  .thread-rail a { grid-template-columns: 1fr; gap: 1px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 28px); }
  .utility-inner { font-size: 9px; }
  .masthead { flex-wrap: wrap; gap: 0 8px; min-height: 0; }
  .brand { margin-block: 10px; font-size: 27px; }
  .brand img { width: 35px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; gap: 5px; overflow-x: auto; }
  .main-nav a { font-size: 12px; min-height: 40px; padding-inline: 7px; }
  .x-link { margin-left: auto; }
  .breadcrumb { margin-top: 14px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 23px; padding: 24px 0 29px; }
  .hero h1 { font-size: clamp(56px, 12.5vw, 82px); }
  .hero-actions { margin-top: 15px; }
  .hero-art { padding: 5px; }
  .hero-art small { font-size: 9px; }
  .section-head { flex-wrap: wrap; }
  .thread-bar { min-height: 46px; padding-inline: 8px; gap: 4px; }
  .thread-bar b { font-size: 13px; }
  .thread-ticker { display: none; }
  .modes button { padding-inline: 5px; font-size: 11px; }
  .thread-body { grid-template-columns: minmax(0, 1fr); }
  .thread-rail { overflow-x: auto; border-right: 0; border-bottom: 1px solid #c9ceba; scroll-snap-type: x proximity; }
  .thread-rail ol { display: flex; padding: 0; }
  .thread-rail li { flex: 0 0 136px; scroll-snap-align: start; }
  .thread-rail li::before { inset: 17px 0 auto; width: 100%; height: 1px; }
  .thread-rail a { min-height: 76px; padding: 27px 8px 7px 10px; font-size: 12px; }
  .thread-rail a::before { top: 16px; left: 10px; }
  .post-heading { flex-wrap: wrap; font-size: 11px; padding-inline: 9px; }
  .post-heading time { text-align: left; }
  .post-layout { grid-template-columns: 1fr; }
  .author { display: flex; align-items: center; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); padding: 6px 10px; }
  .author small { margin: 0 0 0 auto; }
  .avatar { width: 27px; font-size: 15px; margin: 0; }
  .post-copy { min-height: 218px; }
  .source-board-heading, .source-board li a { grid-template-columns: minmax(0, 1fr) 70px 17px; gap: 4px 8px; padding-inline: 9px; }
  .source-board-heading span:nth-child(2), .source-board li a > span:nth-child(2) { display: none; }
  .source-board small { font-size: 12px; }
  .bottom-boards { gap: 15px; }
}
@media (max-width: 475px) {
  .bottom-boards { grid-template-columns: 1fr; }
  .transport { gap: 7px; padding-inline: 7px; }
  .transport button { padding-inline: 5px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
