:root {
  color-scheme: dark;
  --bg: #08080a;
  --surface: #111114;
  --surface-hover: #19191d;
  --text: #f7f7f8;
  --muted: #a3a3a8;
  --dim: #707076;
  --line: rgba(255, 255, 255, .14);
  --accent: #ffffff;
  --accent-bright: #ffffff;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 80% 5%, rgba(255, 255, 255, .055), transparent 36rem),
    var(--bg);
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 5px; border-radius: 3px; }
::selection { background: rgba(196, 167, 255, .3); color: #fff; }
.site-shell { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 14px; font-weight: 800; letter-spacing: -.04em; }
.site-logo { display: block; width: 34px; height: 34px; object-fit: contain; filter: grayscale(1); }
.muted { color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 10px var(--mono); text-decoration: none; transition: border-color .2s, color .2s; }
.status-pill:hover { border-color: rgba(255,255,255,.5); color: var(--text); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9ee6b3; box-shadow: 0 0 12px rgba(158,230,179,.55); }
.hero { position: relative; padding: 108px 0 0; display: grid; grid-template-columns: 1.05fr .95fr; column-gap: 5%; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 40px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; margin: 0 0 25px; }
.eyebrow-line { display: inline-block; width: 23px; height: 1px; background: var(--accent); }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(3.5rem, 7.7vw, 6.7rem); line-height: .99; letter-spacing: -.085em; font-weight: 700; margin-bottom: 27px; }
.period { color: var(--accent); }
.intro { max-width: 490px; color: #b5b1bd; font-size: 15px; line-height: 1.9; margin-bottom: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--accent-bright); text-decoration: none; font-size: 13px; font-weight: 700; transition: gap .2s; }
.text-link:hover { gap: 18px; }
.text-link span { font-size: 18px; }
.hero-art { min-height: 410px; position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.art-grid { position: absolute; inset: 0; opacity: .27; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; transform: rotate(-27deg); }
.orbit-one { width: 290px; height: 155px; animation: orbit-drift 14s ease-in-out infinite alternate; }
.orbit-two { width: 360px; height: 210px; transform: rotate(52deg); border-color: rgba(255,255,255,.2); }
.orbit-three { width: 240px; height: 310px; transform: rotate(34deg); border-color: rgba(255,255,255,.16); }
.art-core { width: 112px; height: 112px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035)); box-shadow: 0 0 80px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.16); transform: rotate(-8deg); }
.art-core span { color: #f5efff; font-size: 77px; line-height: 1; font-weight: 500; letter-spacing: -.12em; transform: rotate(8deg) translateX(-3px); }
.art-label { position: absolute; color: var(--dim); font: 9px var(--mono); letter-spacing: .09em; }
.label-top { top: 24px; left: 0; }
.label-bottom { right: 0; bottom: 22px; }
.art-cross { position: absolute; color: var(--accent); font: 20px var(--mono); }
.cross-one { top: 19%; right: 18%; }
.cross-two { bottom: 18%; left: 14%; }
.hero-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 23px 0; border-top: 1px solid var(--line); color: var(--dim); font: 9px var(--mono); letter-spacing: .1em; }
.scroll-note { display: flex; align-items: center; gap: 10px; }
.scroll-line { width: 30px; height: 1px; background: var(--dim); }
.projects-section { padding: 95px 0 82px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 17px; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1.08; letter-spacing: -.065em; }
.section-note { max-width: 245px; color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0 0 4px; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.project-card { min-width: 0; aspect-ratio: 1 / 1; min-height: 0; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 60%), var(--surface); text-decoration: none; position: relative; overflow: hidden; transition: transform .22s ease, border-color .22s ease, background .22s ease; animation: card-in .55s both; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.4); background-color: var(--surface-hover); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 30px; }
.project-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 0px; background: rgba(255,255,255,.06); color: var(--accent-bright); font-size: 22px; }
.project-icon svg { width: 22px; height: 22px; }
.project-logo { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0px; }
.project-icon:has(.project-logo) { padding: 0px; overflow: hidden; }
.project-tag { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font: 9px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.card-title { margin: 0 0 9px; font-size: 17px; letter-spacing: -.035em; font-weight: 700; }
.card-description { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0 0 24px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); color: var(--dim); font: 9px var(--mono); letter-spacing: .05em; }
.card-arrow { color: var(--accent-bright); font-size: 17px; transition: transform .2s; }
.project-card:hover .card-arrow { transform: translate(3px, -3px); }
.project-card.placeholder { border-style: dashed; background: rgba(255,255,255,.012); }
.project-card.placeholder .project-icon { color: #b1a9bd; background: rgba(255,255,255,.025); }
.loading-note { color: var(--muted); font-size: 13px; }
.bottom-note { display: flex; align-items: center; gap: 19px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note-star { color: var(--accent); font-size: 28px; }
.bottom-note p { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 0; }
.bottom-note strong { color: var(--text); font-size: 12px; }
.note-index { margin-left: auto; color: var(--dim); font: 9px var(--mono); letter-spacing: .08em; text-align: right; }
.footer { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--dim); font: 10px var(--mono); }
.footer-brand { color: var(--text); text-decoration: none; font: 700 12px var(--sans); }
.footer-brand span { color: var(--accent); margin-left: 5px; }
.skip-link { position: absolute; top: 10px; left: 10px; padding: 10px 14px; background: var(--text); color: var(--bg); border-radius: 6px; transform: translateY(-150%); z-index: 10; }
.skip-link:focus { transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit-drift { from { transform: rotate(-27deg) translateY(-3px); } to { transform: rotate(-21deg) translateY(5px); } }
@media (min-width: 1300px) { .hero { padding-top: 125px; } }
@media (max-width: 760px) {
  .site-shell { width: min(100% - 36px, 560px); }
  .topbar { min-height: 72px; }
  .status-pill { font-size: 8px; padding: 8px 9px; }
  .hero { padding-top: 72px; grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  h1 { font-size: clamp(3.6rem, 16vw, 6rem); }
  .intro { font-size: 14px; }
  .hero-art { min-height: 290px; margin: 15px 0 4px; }
  .orbit-one { width: 245px; height: 130px; }
  .orbit-two { width: 300px; height: 175px; }
  .orbit-three { width: 200px; height: 260px; }
  .art-core { width: 90px; height: 90px; border-radius: 27px; }
  .art-core span { font-size: 63px; }
  .hero-foot { font-size: 8px; }
  .projects-section { padding: 70px 0 60px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section-note { max-width: 340px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .project-card { padding: 16px; }
  .bottom-note { align-items: flex-start; }
  .note-index { display: none; }
  .footer { min-height: 82px; flex-wrap: wrap; justify-content: space-between; }
  .footer > span:nth-child(2) { order: 3; width: 100%; padding-bottom: 16px; }
}
@media (max-width: 390px) {
  .site-shell { width: calc(100% - 28px); }
  .status-pill { max-width: 150px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .project-card { aspect-ratio: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 761px) {
  .project-card .card-top { margin-bottom: auto; }
  .project-card .card-description { margin-bottom: 16px; }
}
@media (max-width: 520px) {
  .project-card { padding: 13px; }
  .project-icon { width: 38px; height: 38px; border-radius: 10px; font-size: 19px; }
  .project-tag { font-size: 8px; padding: 5px 6px; }
  .card-title { font-size: 14px; }
  .card-description { font-size: 11px; line-height: 1.65; }
  .card-bottom { font-size: 8px; }
}

/* Monochrome Y2K finish */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: .12;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.035) 4px);
}
.topbar { border-bottom-color: rgba(255,255,255,.22); }
.brand-mark, .project-card, .project-icon, .art-core { filter: grayscale(1); }
.project-card { border-radius: 9px; background-image: linear-gradient(135deg, rgba(255,255,255,.055), transparent 45%); }
.project-card:hover { box-shadow: 0 8px 30px rgba(255,255,255,.045); }
.project-icon { border-radius: 8px; border-color: rgba(255,255,255,.22); background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.025)); }
.project-tag { border-radius: 3px; }
.art-core { border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.025)); }
.status-pill { border-radius: 5px; text-transform: uppercase; }


/* === Authentic monochrome Y2K / early-2000s skin === */
:root {
  --bg: #090909;
  --surface: #171717;
  --surface-hover: #242424;
  --text: #f4f4f4;
  --muted: #b8b8b8;
  --dim: #858585;
  --line: #555;
  --accent: #fff;
  --accent-bright: #fff;
}
body {
  background-color: #090909;
  background-image:
    radial-gradient(ellipse at 50% 0%, #383838 0, #1b1b1b 22%, #090909 68%);
  background-attachment: fixed;
  font-family: Tahoma, Verdana, Arial, sans-serif;
}
body::before {
  opacity: .22;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 4px);
}
.site-shell { width: min(1080px, calc(100% - 32px)); }
.topbar {
  min-height: 70px;
  padding-inline: 12px;
  background: linear-gradient(#424242 0%, #262626 10%, #111 48%, #292929 51%, #090909 100%);
  border: 1px solid #686868;
  border-top-color: #bdbdbd;
  border-left-color: #858585;
  box-shadow: inset 0 1px 0 #ddd, inset 0 -1px 0 #000, 0 5px 18px #000;
  margin-top: 18px;
}
.wordmark { text-shadow: 0 1px 0 #000; }
.site-logo {
  width: 38px;
  height: 38px;
  padding: 1px;
  background: linear-gradient(135deg, #fff 0%, #8a8a8a 18%, #292929 36%, #eee 52%, #555 67%, #f9f9f9 82%, #555 100%);
  border: 1px solid #ddd;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #000;
}
.status-pill {
  background: linear-gradient(#666 0%, #343434 20%, #171717 50%, #333 51%, #111 100%);
  border: 1px solid #888;
  border-top-color: #ddd;
  border-left-color: #aaa;
  border-radius: 2px;
  color: #eee;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 3px #000;
  text-shadow: 0 1px #000;
}
.status-dot { background: #eee; box-shadow: 0 0 5px #fff; }
.hero { padding-top: 88px; }
.eyebrow, .hero-foot, .art-label, .note-index, .project-tag, .card-bottom {
  font-family: "DM Mono", "Lucida Console", Monaco, monospace;
  letter-spacing: .07em;
  text-shadow: 0 1px #000;
}
h1, h2 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  text-shadow: 0 2px 0 #000, 0 0 20px rgba(255,255,255,.07);
  letter-spacing: -.065em;
}
.hero-art {
  border: 1px solid #444;
  background: linear-gradient(135deg, #242424 0%, #090909 24%, #202020 49%, #050505 72%, #303030 100%);
  box-shadow: inset 0 1px 0 #777, inset 0 -1px 0 #000, 0 8px 25px rgba(0,0,0,.8);
}
.art-grid {
  opacity: .4;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 24px 24px;
}
.orbit { border-color: rgba(255,255,255,.55); border-style: dashed; }
.orbit-two { border-color: rgba(255,255,255,.25); }
.orbit-three { border-color: rgba(255,255,255,.2); }
.art-core {
  border: 2px solid #eee;
  border-radius: 3px;
  background: linear-gradient(135deg, #fff 0%, #bcbcbc 10%, #333 28%, #090909 43%, #777 55%, #eee 63%, #292929 82%, #050505 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 #000, 0 0 0 4px #111, 0 0 0 5px #777, 0 0 24px rgba(255,255,255,.16);
}
.art-core span { color: #fff; text-shadow: 0 2px 0 #000, 0 0 7px #fff; }
.hero-foot { border-top: 1px solid #666; border-bottom: 1px solid #292929; }
.projects-section { padding-top: 72px; }
.project-card {
  border: 1px solid #666;
  border-top-color: #aaa;
  border-left-color: #888;
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 24%),
    linear-gradient(180deg, #292929 0%, #171717 18%, #0d0d0d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -2px 0 #000, 0 4px 8px rgba(0,0,0,.7);
}
.project-card:hover {
  transform: translateY(-2px);
  border-color: #eee;
  background:
    linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 30%),
    linear-gradient(180deg, #414141 0%, #202020 24%, #0c0c0c 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #000, 0 0 0 1px #444, 0 7px 14px #000;
}
.project-icon {
  border: 1px solid #777;
  border-top-color: #ddd;
  border-left-color: #aaa;
  border-radius: 2px;
  background: linear-gradient(135deg, #ededed 0%, #8b8b8b 17%, #292929 35%, #080808 53%, #6b6b6b 69%, #dcdcdc 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 #000;
}
.project-tag {
  border-radius: 1px;
  background: linear-gradient(#3d3d3d, #101010);
  border: 1px solid #555;
  border-top-color: #888;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.card-bottom { border-top: 1px dotted #666; }
.bottom-note {
  background: linear-gradient(90deg, rgba(255,255,255,.06), transparent 70%);
  border-top: 1px solid #666;
  border-bottom: 1px solid #444;
  padding-inline: 12px;
}
.footer { border-top: 1px solid #242424; }
.footer-brand { text-shadow: 0 1px #000; }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
.project-card.placeholder { border-style: dashed; background: linear-gradient(#202020, #0b0b0b); }
@media (max-width: 760px) {
  .topbar { margin-top: 10px; padding-inline: 9px; }
  .hero { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
}


/* Optional source / credits links inside each project card */
.card-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}
.meta-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid #777;
  border-top-color: #c7c7c7;
  border-left-color: #aaa;
  border-radius: 2px;
  background: linear-gradient(#555 0%, #2b2b2b 45%, #111 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 0 #000;
  color: #f5f5f5;
  font: 9px "DM Mono", "Lucida Console", Monaco, monospace;
  letter-spacing: .04em;
  text-decoration: none;
  text-shadow: 0 1px #000;
  transition: filter .15s ease, transform .15s ease;
}
.meta-link:hover {
  filter: brightness(1.3);
  transform: translateY(-1px);
}
.meta-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
/* Flatten the awkward stacked bevel on the top navigation bar. */
.topbar {
  border: 1px solid #4a4a4a;
  border-top-color: #777;
  border-left-color: #555;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 8px rgba(0,0,0,.65);
  background: linear-gradient(180deg, #242424 0%, #151515 24%, #0b0b0b 100%);
}
.status-pill {
  border: 1px solid #555;
  border-top-color: #888;
  border-left-color: #666;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px #000;
  background: linear-gradient(180deg, #333 0%, #1b1b1b 48%, #101010 100%);
}


/* Reuse the site's emblem in the hero artwork instead of a giant letter C. */
.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  border-radius: 0px;
}
.art-core {
  padding: 0px;
}
/* Compact expandable About panel for card source / credit links. */
.card-about {
  margin: auto 0 13px;
  border-top: 1px dotted #666;
  border-bottom: 1px dotted #444;
}
.card-about summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  cursor: pointer;
  list-style: none;
  color: #d9d9d9;
  font: 9px "DM Mono", "Lucida Console", Monaco, monospace;
  letter-spacing: .1em;
  user-select: none;
}
.card-about summary::-webkit-details-marker { display: none; }
.card-about summary::marker { content: ""; }
.about-toggle {
  font-size: 14px;
  line-height: 1;
  transition: transform .18s ease;
}
.card-about[open] .about-toggle { transform: rotate(45deg); }
.card-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 0 10px;
  margin: 0;
}
.about-empty {
  color: #858585;
  font: 10px/1.6 Tahoma, Verdana, sans-serif;
  margin: 0;
  padding: 0 0 10px;
}
.meta-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid #777;
  border-top-color: #c7c7c7;
  border-left-color: #aaa;
  border-radius: 2px;
  background: linear-gradient(#555 0%, #2b2b2b 45%, #111 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 0 #000;
  color: #f5f5f5;
  font: 9px "DM Mono", "Lucida Console", Monaco, monospace;
  letter-spacing: .04em;
  text-decoration: none;
  text-shadow: 0 1px #000;
  transition: filter .15s ease, transform .15s ease;
}
.meta-link:hover { filter: brightness(1.3); transform: translateY(-1px); }
.meta-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }


/* The project summary belongs inside ABOUT, not on the collapsed card face. */
.card-description { display: none; }
.about-description {
  color: #aaa;
  font: 11px/1.75 Tahoma, Verdana, Arial, sans-serif;
  margin: 0;
  padding: 0 0 10px;
}
.card-about:not([open]) .about-description { display: none; }
.card-about[open] .about-description { display: block; }
.card-about { margin-top: auto; }


/* Card behavior: short description is visible; ABOUT reveals the full text.
   The source/credits chips remain visible and are pushed downward by expanded text. */
.card-description {
  display: block;
  color: #aaa;
  font: 11px/1.65 Tahoma, Verdana, Arial, sans-serif;
  margin: 0 0 10px;
}
.card-about-wrap { margin: 0 0 10px; }
.about-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
  color: #e8e8e8;
  background: transparent;
  border: 0;
  border-top: 1px dotted #666;
  border-bottom: 1px dotted #444;
  border-radius: 0;
  font: 9px "DM Mono", "Lucida Console", Monaco, monospace;
  letter-spacing: .1em;
  text-align: left;
  text-shadow: 0 1px #000;
}
.about-button:hover { color: #fff; background: rgba(255,255,255,.045); }
.about-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.about-toggle { font-size: 14px; line-height: 1; }
.about-description {
  color: #bbb;
  font: 11px/1.75 Tahoma, Verdana, Arial, sans-serif;
  margin: 0;
  padding: 9px 0 11px;
}
.about-content[hidden] { display: none; }
.card-meta-links { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
@media (max-width: 520px) {
  .card-description, .about-description { font-size: 10px; }
  .about-button { padding: 7px 0; }
}


/* Keep project tiles square, but allow their contents to scroll when needed. */
.project-card {
  overflow: hidden;
}
.project-card > .card-top,
.project-card > .card-title,
.project-card > .card-description,
.project-card > .card-about-wrap,
.project-card > .card-meta-links,
.project-card > .card-bottom {
  flex-shrink: 0;
}
.project-card {
  display: flex;
  flex-direction: column;
}
.project-card .card-scroll-area {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #777 #171717;
}
.project-card .card-scroll-area::-webkit-scrollbar { width: 7px; }
.project-card .card-scroll-area::-webkit-scrollbar-track { background: #171717; }
.project-card .card-scroll-area::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #cfcfcf, #555);
  border: 1px solid #111;
}


/* Scroll only the expanded ABOUT content; hide the scrollbar chrome. */
.project-card .card-scroll-area {
  overflow: visible;
  min-height: auto;
  overscroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.project-card .card-scroll-area::-webkit-scrollbar { display: none; }
.project-card .card-scroll-area .about-content:not([hidden]) {
  max-height: 118px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.project-card .card-scroll-area .about-content:not([hidden])::-webkit-scrollbar {
  display: none;
}


/* The card itself stays still until ABOUT is expanded. Hide scrollbar chrome everywhere. */
.project-card .card-scroll-area {
  overflow: hidden;
  min-height: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.project-card .card-scroll-area::-webkit-scrollbar,
.project-card .card-scroll-area .about-content::-webkit-scrollbar { display: none; }
.project-card.about-expanded .card-scroll-area {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.project-card .card-scroll-area .about-content:not([hidden]) {
  max-height: none;
  overflow: visible;
}
