.contributions-page .site-nav a[aria-current="page"] { color: #658b1d; }
.contributions-page .site-nav a[aria-current="page"]::after { right: 0; }
.contrib-main { overflow: hidden; }
.contrib-wheel-layout { display: grid; grid-template-columns: minmax(0, 56%) minmax(0, 44%); min-height: min(850px, calc(100vh - 78px)); }
.contrib-wheel-panel { position: relative; min-width: 0; min-height: 720px; overflow: hidden; background: #24272e; color: var(--white); isolation: isolate; }
.ascii-cog { position: absolute; top: 50%; left: 0; width: max-content; margin: 0; transform: translate(-50%, -50%); color: rgba(247,247,242,.6); font: 700 12px/12px var(--mono); letter-spacing: 0; white-space: pre; user-select: none; pointer-events: none; animation: ascii-cog-turn 20s linear infinite; }
@keyframes ascii-cog-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cog-panel-shade { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 14%, rgba(36,39,46,.38) 37%, #24272e 73%); pointer-events: none; }
.contribution-slots { position: relative; z-index: 1; display: grid; grid-template-rows: repeat(var(--visible-count, 5), minmax(0, 1fr)); height: 100%; min-height: 720px; margin: 0; padding: 32px clamp(28px, 3.7vw, 65px) 32px clamp(270px, 29vw, 430px); list-style: none; }
.contribution-slot { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 0; padding: 15px 0; border-bottom: 1px solid rgba(247,247,242,.18); }
.contribution-slot:last-child { border-bottom: 0; }
.contribution-slot:nth-child(n+6) { display: none; }
.contribution-meta { margin-bottom: 7px; color: var(--lime); font: 700 10px/1.4 var(--mono); letter-spacing: .04em; }
.contribution-slot h2 { margin: 0; font-size: clamp(20px, 2.2vw, 33px); line-height: 1.16; letter-spacing: -.045em; overflow-wrap: anywhere; }
.contribution-slot h2 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contribution-slot h2 a:hover, .contribution-slot h2 a:focus-visible { color: var(--lime); text-decoration: underline; }
.contribution-slot p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 8px 0 0; color: #bdc4b8; font-size: clamp(12px, 1.15vw, 15px); line-height: 1.45; }
.contrib-empty { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; max-width: 560px; min-height: 720px; padding: 80px 55px 80px clamp(275px, 29vw, 430px); }
.contrib-empty span { color: var(--lime); font: 700 11px var(--mono); }
.contrib-empty h2 { margin: 20px 0 12px; font-size: clamp(27px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.06em; }
.contrib-empty p { margin: 0; color: #bdc4b8; font-size: 14px; line-height: 1.55; }
.contrib-wheel-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(70px, 7vw, 115px) clamp(35px, 5.2vw, 100px); }
.contrib-wheel-copy .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: #5b6952; }
.contrib-wheel-copy h1 { max-width: 560px; margin: 0; font-size: clamp(56px, 5.7vw, 94px); line-height: .96; letter-spacing: -.077em; }
.contrib-wheel-copy h1 .period { display: inline; color: #95b844; }
.contrib-wheel-copy h1.has-typewriter { position: relative; }
.contrib-wheel-copy h1 .title-ghost { display: block; visibility: hidden; }
.contrib-wheel-copy h1 .title-typed { position: absolute; inset: 0; display: block; }
.contrib-wheel-copy h1 .title-caret { display: inline-block; }
.contrib-wheel-copy h1 > .glitch-layer { display: block; }
.contrib-description { max-width: 510px; margin: 27px 0 0; color: #555d52; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; }
.contrib-carousel-controls { display: none; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; width: 100%; margin-top: clamp(52px, 7vw, 105px); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.contrib-js .contrib-carousel-controls { display: grid; }
.contrib-carousel-controls button { display: flex; align-items: center; justify-content: center; min-width: 0; height: clamp(100px, 11vw, 170px); padding: 0; border: 0; background: transparent; color: var(--ink); font: 400 clamp(70px, 8.5vw, 135px)/.8 var(--sans); cursor: pointer; transition: color .2s ease, transform .2s ease; }
.contrib-carousel-controls button svg { display: block; width: min(80%, 122px); height: min(80%, 122px); fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: square; stroke-linejoin: miter; }
.contrib-carousel-controls button:first-child:hover:not(:disabled) { color: #79a622; transform: translateY(6px); }
.contrib-carousel-controls button:last-child:hover:not(:disabled) { color: #79a622; transform: translateY(-6px); }
.contrib-carousel-controls button:disabled { opacity: .28; cursor: default; }
.contrib-controls-divider { color: #91b53d; font: 700 clamp(30px, 3.7vw, 57px)/1 var(--mono); letter-spacing: -.12em; }
.contrib-position { margin: 17px 0 0; color: #6a7564; font: 700 11px var(--mono); letter-spacing: .04em; text-align: right; text-transform: uppercase; }
.contrib-position-visual { display: inline-block; min-width: 22ch; text-align: left; }
.contrib-position.is-typing::before { content: '> '; color: #91b53d; }
.contrib-position.is-typing .contrib-position-visual::after { content: '_'; margin-left: .35em; color: #91b53d; animation: intro-caret-blink .78s steps(1) infinite; }
.contrib-position-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 821px) {
  .contrib-wheel-copy { justify-content: flex-start; padding-top: clamp(42px, 4.2vw, 76px); }
  .contrib-carousel-controls { margin-top: clamp(30px, 3.2vw, 52px); }
}
@media (max-width: 1120px) {
  .contrib-wheel-layout { grid-template-columns: minmax(0, 57%) minmax(0, 43%); }
  .contribution-slots { padding-left: clamp(205px, 25vw, 300px); padding-right: 25px; }
  .contrib-empty { padding-left: clamp(205px, 25vw, 300px); }
  .contrib-wheel-copy { padding-inline: 35px; }
}
@media (max-width: 820px) {
  .contrib-wheel-layout { display: flex; flex-direction: column; }
  .contrib-wheel-panel { order: 2; min-height: 660px; }
  .contrib-wheel-copy { order: 1; padding: 85px var(--pad) 68px; }
  .contrib-wheel-copy h1 { max-width: 680px; }
  .contrib-carousel-controls { max-width: 520px; margin-top: 40px; }
  .contrib-position { max-width: 520px; }
  .contribution-slots { min-height: 660px; padding-left: clamp(260px, 34vw, 330px); }
  .contrib-empty { min-height: 660px; padding-left: clamp(260px, 34vw, 330px); }
}
@media (max-width: 550px) {
  .contrib-wheel-copy { padding-top: 70px; padding-bottom: 55px; }
  .contrib-wheel-copy h1 { font-size: clamp(55px, 13vw, 74px); }
  .contrib-description { font-size: 16px; }
  .contrib-carousel-controls button { height: 110px; font-size: 92px; }
  .contrib-wheel-panel { min-height: 610px; }
  .ascii-cog { font-size: 10px; line-height: 10px; }
  .contribution-slots { min-height: 610px; padding: 18px 18px 18px clamp(145px, 40vw, 205px); }
  .contribution-slot { padding-block: 10px; }
  .contribution-slot h2 { font-size: clamp(18px, 5.1vw, 24px); }
  .contribution-slot p { font-size: 11px; }
  .contribution-meta { font-size: 9px; }
  .contrib-empty { min-height: 610px; padding: 60px 22px 60px clamp(145px, 40vw, 205px); }
  .contrib-empty h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .ascii-cog { animation: none; }
  .contrib-position.is-typing .contrib-position-visual::after { animation: none; }
  .contrib-carousel-controls button { transition: none; }
}
