@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono/jetbrains-mono-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono/jetbrains-mono-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono/jetbrains-mono-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
:root { color-scheme: dark; --bg: #121214; --surface: #1b1b1d; --text: #f1efe8; --muted: #aaa9a5; --accent: #ddff73; --line: #39393b; --mono: "JetBrains Mono", Consolas, "Liberation Mono", monospace; --display: var(--mono); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.7 var(--mono); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .13; z-index: -1; background-image: radial-gradient(#bcbcb7 .6px, transparent .6px); background-size: 7px 7px; }
::selection { color: #121214; background: var(--accent); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.accent { color: var(--accent); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 102px; border-bottom: 1px solid var(--line); gap: 24px; }
.wordmark { display: inline-flex; align-items: baseline; font: 700 35px/1 var(--display); letter-spacing: -.035em; }
.wordmark > span:not(.brand-symbol) { color: var(--accent); }
.brand-symbol { display: inline-flex; flex: 0 0 auto; font-size: 33px; padding: .16em; border: 1px solid #86897b; border-radius: .22em; background: var(--bg); box-shadow: 2px 2px 0 #000; margin-right: 13px; align-self: center; letter-spacing: 0; }
.brand-symbol img { display: block; width: 1em; height: 1em; }
nav { display: flex; gap: 36px; font: 11px var(--mono); }
nav a { padding-block: 8px; border-bottom: 1px solid transparent; transition: border-color .2s; }
nav a:hover { border-color: var(--accent); }
nav span { color: var(--accent); padding-left: 9px; }
.eyebrow, .category-label, .project-kicker { font: 10px/1.6 var(--mono); letter-spacing: 1px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 30px; color: #d0cec6; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; flex-shrink: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); overflow-wrap: break-word; }
h2 { font-size: clamp(34px, 3.8vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.13; margin-bottom: 0; }
h3, h4 { font-size: 23px; letter-spacing: -.035em; line-height: 1.25; margin-bottom: 0; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; position: relative; gap: 0 35px; padding-top: 58px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(90px, 9.5vw, 136px); font-weight: 700; line-height: 1.03; letter-spacing: -.035em; margin: 0; }
.hero h1 > span { font-family: var(--mono); font-style: normal; font-weight: 700; color: var(--accent); letter-spacing: -.035em; }
.hero-bottom { margin-top: 36px; display: flex; gap: 22px; flex-direction: column; align-items: start; }
.hero-bottom p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; font: 12px var(--mono); padding: 17px 21px; border: 1px solid var(--accent); border-radius: 0; transition: transform .2s, box-shadow .2s; }
.button-primary { color: #161811; background: var(--accent); box-shadow: 4px 4px 0 #000; }
.button-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #000; }
.button span { font: 23px/1 Arial, sans-serif; }
.hero-stage { position: relative; min-height: 550px; }
.stage-orbit { position: absolute; top: 60px; left: 20px; width: 430px; height: 430px; max-width: 90%; border: 1px dashed #66665e; border-radius: 50%; }
.stage-orbit::before, .stage-orbit::after { content: ""; position: absolute; inset: 30px; border: 1px solid #323232; border-radius: 50%; }
.stage-orbit::after { inset: -16px 110px; border-radius: 50%; transform: rotate(40deg); }
.stage-project { position: absolute; display: block; border: 1px solid #56504a; background: #080809; box-shadow: 15px 18px 0 #0007; transition: transform .3s, box-shadow .3s; }
.stage-project:hover, .stage-project:focus-visible { transform: rotate(0) translateY(-8px); box-shadow: 15px 26px 0 #0007; z-index: 4; }
.stage-randalo { top: 8px; right: 14px; width: 340px; transform: rotate(7deg); z-index: 2; }
.stage-label { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; font: 9px var(--mono); color: #e3b795; border-bottom: 1px solid #584031; }
.stage-label > span:last-child { font-size: 17px; }
.stage-project img { display: block; width: 100%; height: auto; }
.stage-title { display: flex; gap: 13px; align-items: baseline; padding: 10px 15px 14px; font: 700 23px/1.3 var(--display); letter-spacing: -.035em; }
.stage-title small { font: 9px var(--mono); color: #a7a39d; letter-spacing: 0; }
.stage-dhub { width: 315px; left: 4px; bottom: 44px; transform: rotate(-8deg); background: #19201e; z-index: 3; border-color: #517569; }
.stage-dhub .stage-label { color: #8fe2ce; border-color: #3f6153; }
.stage-dhub img { height: 178px; object-fit: contain; object-position: center; }
.stage-cross { position: absolute; color: #68675f; font: 28px/1 var(--mono); }
.cross-one { top: 20px; left: 32px; }.cross-two { right: 2px; bottom: 30px; }
.stage-stamp { position: absolute; left: 16px; top: 108px; width: 95px; height: 95px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 50%; background: #ff7049; color: #171411; font: 10px/1.7 var(--mono); transform: rotate(-15deg); z-index: 4; box-shadow: 4px 4px #000; }
.stage-coordinate { position: absolute; right: 0; bottom: 6px; color: #898981; font: 8px var(--mono); letter-spacing: .8px; }




.projects { padding-top: 94px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 36px; }
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filters button { background: none; color: #aaa9a4; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; font: 11px var(--mono); cursor: pointer; }
.filters button:hover { color: var(--text); }
.filters button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.project-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.project { position: relative; min-width: 0; }
.featured-project, .dhub-project { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.randalo-project { --accent: #ffae71; }
.project-copy { padding: 40px 44px; display: flex; flex-direction: column; position: relative; min-width: 0; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.category-label { color: var(--accent); font-size: 10px; }
.badge { color: #c4b5a6; border: 1px solid #5b4439; padding: 4px 8px; font: 9px var(--mono); }

.project-kicker { color: #a7998c; font-size: 9px; margin-bottom: 12px; }



.randalo-tags { display: flex; flex-wrap: wrap; list-style: none; gap: 7px 15px; margin: 0 0 28px; padding: 0; }
.randalo-tags li { color: #c7b4a3; font: 9px var(--mono); }.randalo-tags li::before { content: "+"; color: #ffae71; margin-right: 6px; }
.randalo-actions, .dhub-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: auto; }
.randalo-actions .button, .dhub-card-actions .button { font-size: 11px; padding: 14px 18px; }
.download-note { color: #aaa39a; font: 9px var(--mono); }
.randalo-art { margin: 0; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 25px 5px 37px; background: #000; border-left: 1px solid #443a34; }
.randalo-art::before { content: "01 / RANDALO"; position: absolute; top: 18px; right: 22px; font: 9px var(--mono); color: #b89e85; }
.randalo-art img { width: 100%; height: auto; display: block; }
.randalo-art figcaption { position: absolute; bottom: 15px; left: 15px; right: 15px; color: #a0a09b; text-align: center; font: 7px var(--mono); letter-spacing: .8px; }
.dhub-project { --accent: #80e1dd; }
.dhub-preview { background: #17211d; background-image: radial-gradient(#44635780 .7px, transparent .7px); background-size: 17px 17px; display: flex; flex-direction: column; justify-content: center; position: relative; border-left: 1px solid #395349; }
.dhub-preview-bar { display: flex; align-items: center; gap: 28px; min-height: 44px; padding: 10px 24px; border-bottom: 1px solid #395349; font: 9px var(--mono); color: #a6c6b9; position: absolute; top: 0; left: 0; right: 0; }
.dhub-preview-name { display: flex; align-items: center; gap: 8px; color: #e3eee8; font-weight: 700; }.dhub-preview-name img { width: 22px; height: 22px; }
.preview-separator { padding-inline: 5px; color: #6c8c80; }.preview-indicator { margin-left: auto; height: 5px; width: 5px; border-radius: 50%; background: #80e1dd; }
.dhub-preview-graph { display: block; width: 100%; height: auto; padding: 48px 0 34px; }
.dhub-preview-caption { position: absolute; bottom: 18px; left: 24px; font: 8px var(--mono); color: #9cbcaf; letter-spacing: .7px; }
.dhub-copy { padding: 40px 44px; min-width: 0; display: flex; flex-direction: column; }



.coming-project { display: grid; grid-template-columns: 1fr 1fr; border: 1px dashed #63586c; background: #211c28; --accent: #c9a9f2; overflow: hidden; }
.coming-copy { padding: 40px 44px; min-width: 0; display: flex; flex-direction: column; }
.coming-preview { display: flex; align-items: center; justify-content: center; min-height: 210px; border-left: 1px dashed #63586c; background: radial-gradient(circle, #c9a9f214, transparent 65%); }
.coming-preview .card-icon { width: 90px; height: 90px; }
.coming-project .project-meta { align-items: start; }.card-icon { width: 31px; height: 31px; color: var(--accent); flex-shrink: 0; }
.coming-project p { color: #b4a9bf; font-size: 13px; line-height: 1.8; margin: 11px 0 0; }
.coming-label { font: 9px/1.8 var(--mono); color: #bda8d0; display: flex; gap: 9px; align-items: center; }
.small-dot { height: 5px; width: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.about { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--accent); margin-top: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 52px; }
.about h2 { font: 500 58px/1.15 var(--mono); letter-spacing: -.035em; }.about .accent { color: var(--accent); }
.about-portrait { width: 100%; max-width: 420px; margin: 32px 0 0; }
.about-portrait img { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 5px 5px 0 #ddff7333; background: var(--bg); }
.about-portrait figcaption { margin-top: 14px; color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: 1px; }
.about-copy { align-self: center; }.about-copy p { font-size: 17px; line-height: 1.8; margin-bottom: 16px; }.about-copy p + p { color: #b8b5ad; font-size: 14px; }.about-copy strong { color: var(--text); font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 24px; font: 11px var(--mono); color: var(--accent); padding-bottom: 7px; border-bottom: 1px solid currentColor; }
.text-link:visited { color: var(--accent); }
.text-link:hover, .text-link:focus-visible { color: var(--text); }
.about .text-link { color: var(--accent); border-color: #ddff7366; }
.site-footer { display: flex; align-items: end; gap: 35px; padding: 50px 0 36px; }
.footer-wordmark { font-size: 62px; letter-spacing: -.035em; }.site-footer p { margin: 0 0 5px; font: 9px var(--mono); color: #aaa69c; }.back-top { margin-left: auto; font: 10px var(--mono); color: #b9b5aa; padding-bottom: 5px; }.back-top span { color: var(--accent); margin-left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 20; background: var(--accent); color: #151515; padding: 13px 18px; }.skip-link:focus { top: 16px; }
/* Project pages */
.randalo-page { --accent: #ffa366; }.dhub-page { --accent: #80e1dd; }
.game-hero { display: grid; grid-template-columns: .98fr 1.02fr; gap: 52px; padding-top: 44px; padding-bottom: 50px; align-items: center; }
.game-back-link { display: inline-block; color: #a7a197; font: 9px var(--mono); padding-bottom: 6px; border-bottom: 1px solid #625c55; margin-bottom: 39px; }
.game-hero .eyebrow { font-size: 9px; margin-bottom: 22px; }
.game-hero h1 { font-size: clamp(43px, 4.7vw, 66px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin-bottom: 0; }
.game-hero h1 > span { color: var(--accent); font-family: var(--mono); font-style: normal; font-weight: 700; letter-spacing: -.035em; }
.game-lead { color: #b2ada5; font-size: 15px; line-height: 1.85; margin: 27px 0; max-width: 490px; }
.game-key-art { position: relative; margin: 0; background: #000; border: 1px solid #815235; border-top: 4px solid var(--accent); transform: rotate(2deg); box-shadow: 13px 14px 0 #321c14; }
.game-key-art img { display: block; width: 100%; height: auto; }.game-key-art figcaption { color: #b8a493; font: 8px var(--mono); text-align: center; padding: 14px; }
.randalo-page .game-hero { background: radial-gradient(ellipse at 85% 70%, #8b3f191d, transparent 60%); }
.dhub-page .game-hero h1 { font-family: var(--mono); font-size: clamp(40px, 4vw, 57px); letter-spacing: -.035em; }
.dhub-page .game-hero h1 > span { font-size: 1em; }
.dhub-workflow { position: relative; margin: 0; min-width: 0; background: #19201e; border: 1px solid #567566; box-shadow: 13px 14px 0 #17322a; transform: rotate(-2deg); }
.dhub-workflow-bar { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #486355; padding: 18px 22px; font: 700 20px var(--mono); }
.dhub-workflow-bar img { flex-shrink: 0; }.dhub-workflow-label { margin-left: auto; color: #a3b9ac; font: 8px var(--mono); }
.dhub-workflow-image { width: 100%; height: auto; display: block; }.dhub-workflow figcaption { padding: 12px 14px; color: #a3b9ac; font: 7px var(--mono); text-align: center; letter-spacing: .3px; }
.game-facts { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 25px; border-block: 1px solid var(--line); padding: 20px 0; font: 10px var(--mono); color: #b5afa2; }.game-facts span::before { content: "+"; color: var(--accent); margin-right: 10px; }
.game-section { padding-block: 65px; }.section-intro { font-size: 16px; line-height: 1.9; color: #aaa59c; max-width: 670px; margin: 23px 0 0; }
.game-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 50px; margin-top: 45px; }
.game-features article { display: grid; grid-template-columns: 70px 1fr; gap: 6px 17px; border-top: 1px solid var(--line); padding-top: 24px; min-width: 0; }
.feature-number { grid-row: 1 / 3; font: 400 48px/1 var(--mono); color: var(--accent); opacity: .7; }
.game-features h3 { font-size: 21px; line-height: 1.35; }
.game-features p { grid-column: 2; font-size: 13px; line-height: 1.85; color: #aaa59c; margin: 7px 0 0; }
.game-status { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.game-status-copy h3 { font-size: 20px; }.game-status-copy p { color: #aaa59c; font-size: 14px; line-height: 1.85; margin: 16px 0 30px; }.game-status-copy p:last-child { margin-bottom: 0; }
.game-download { border-left: 5px solid var(--accent); background: #2b211c; padding: 38px 42px; display: flex; justify-content: space-between; align-items: center; gap: 35px; }.game-download h2 { font-size: 36px; }.game-download p { max-width: 760px; font-size: 14px; line-height: 1.85; color: #bfb2a3; margin: 20px 0 0; }
.download-pending, .dhub-status-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #79634d; background: #35281c; color: #e3c19a; padding: 12px 15px; font: 10px var(--mono); white-space: nowrap; }.download-pending svg { width: 19px; height: 19px; }
.dhub-page .game-download { background: #192a23; }.dhub-status-badge { background: #263c31; border-color: #52725b; color: #adddc6; }
.game-faq h2 { margin-bottom: 32px; }.game-faq details { border-top: 1px solid var(--line); }.game-faq details:last-child { border-bottom: 1px solid var(--line); }
.game-faq summary { position: relative; list-style: none; padding: 22px 38px 22px 0; cursor: pointer; font-size: 16px; font-weight: 500; color: #d8d1c5; }.game-faq summary::-webkit-details-marker { display: none; }.game-faq summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font: 27px var(--mono); color: var(--accent); }.game-faq details[open] summary::after { content: "−"; }.game-faq details p { margin: 0 0 26px; max-width: 790px; font-size: 14px; line-height: 1.9; color: #aaa59c; }
.dhub-examples { border-top: 1px solid var(--line); }.dhub-example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 35px; }
.dhub-example-grid article { padding: 25px 25px 28px; border: 1px solid #426355; border-top: 3px solid var(--accent); background: #1c2821; }.dhub-example-label { font: 8px var(--mono); color: #9bcdb8; letter-spacing: .5px; }.dhub-example-grid h3 { margin-top: 22px; font-size: 21px; line-height: 1.4; }.dhub-example-grid p { font-size: 13px; line-height: 1.85; color: #adbaac; margin: 16px 0 0; }
@media (min-width: 1600px) { .hero { padding-top: 78px; }.hero-stage { min-height: 580px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }.hero { grid-template-columns: 1fr 1fr; gap: 0 20px; }.hero h1 { font-size: clamp(78px, 10vw, 108px); }.hero-stage { min-height: 530px; }
  .stage-randalo { width: 290px; right: 5px; top: 25px; }.stage-dhub { width: 265px; left: 0; bottom: 55px; }.stage-stamp { left: 2px; top: 70px; width: 82px; height: 82px; font-size: 9px; }.stage-orbit { width: 350px; height: 350px; top: 90px; left: 0; }
  .project-copy, .dhub-copy, .coming-copy { padding: 32px; }
  .about { padding: 40px; gap: 35px; }.about h2 { font-size: 49px; }.game-hero { gap: 32px; }.game-hero h1 { font-size: 51px; }.dhub-page .game-hero h1 { font-size: 43px; }.dhub-workflow-label { display: none; }
  .game-download { align-items: start; flex-direction: column; }.dhub-example-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }.site-header { min-height: 82px; gap: 16px; }.wordmark { font-size: 28px; letter-spacing: -.035em; }.brand-symbol { font-size: 25px; margin-right: 8px; }nav { font-size: 9px; gap: 18px; }nav span { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }.eyebrow { font-size: 9px; margin-bottom: 26px; }.hero h1 { font-size: clamp(72px, 19vw, 116px); letter-spacing: -.035em; }.hero h1 > span { letter-spacing: -.035em; }
  .hero-bottom { margin-top: 27px; gap: 19px; }.hero-bottom p { font-size: 14px; }.button { font-size: 11px; padding: 15px 18px; gap: 22px; }
  .hero-stage { min-height: 390px; width: min(460px, 100%); margin: 38px auto 0; }.stage-randalo { width: 65%; right: 5%; top: 0; }.stage-dhub { width: 61%; left: 4%; bottom: 30px; }.stage-dhub img { height: 135px; }.stage-label { font-size: 7px; padding: 7px 11px; }.stage-title { font-size: 19px; padding: 8px 11px 11px; gap: 8px; }.stage-title small { font-size: 7px; }.stage-stamp { top: 42px; left: 4%; width: 69px; height: 69px; font-size: 8px; }.stage-orbit { width: 320px; height: 320px; left: 5%; top: 18px; }.stage-coordinate { font-size: 7px; }.cross-one { left: 0; }.cross-two { right: 0; bottom: 5px; }
  
  .projects { padding-top: 62px; }.section-heading { flex-direction: column; align-items: start; gap: 22px; margin-bottom: 24px; }h2 { font-size: 35px; letter-spacing: -.035em; }.filters { width: 100%; gap: 3px; justify-content: space-between; }.filters button { font-size: 10px; padding: 9px 5px; }
  .project-grid { gap: 26px; }.featured-project, .dhub-project { grid-template-columns: 1fr; }.project-copy, .dhub-copy, .coming-copy { padding: 27px; }.project-kicker { font-size: 8px; }.badge { font-size: 8px; }.randalo-tags { gap: 9px; }.randalo-tags li { font-size: 8px; }.randalo-art { border-left: 0; border-top: 1px solid #443a34; min-height: 250px; padding: 24px 4px 30px; }.randalo-art::before { font-size: 7px; top: 10px; right: 15px; }.randalo-art figcaption { font-size: 6px; }
  .dhub-preview { min-height: 250px; border-left: 0; border-top: 1px solid #395349; }.dhub-preview-caption { font-size: 7px; bottom: 15px; left: 20px; }.dhub-preview-bar { padding-inline: 20px; }
  .coming-project { grid-template-columns: 1fr; }.coming-preview { min-height: 180px; border-left: 0; border-top: 1px dashed #63586c; }
  .about { grid-template-columns: 1fr; padding: 30px; gap: 27px; margin-top: 55px; }.about h2 { font-size: 46px; }.about-copy p { font-size: 15px; }.about-copy p + p { font-size: 13px; }
  .site-footer { flex-wrap: wrap; align-items: end; gap: 20px; padding: 38px 0 26px; }.footer-wordmark { font-size: 45px; letter-spacing: -.035em; }.site-footer p { order: 3; flex-basis: 100%; font-size: 8px; }.back-top { font-size: 9px; }
  .game-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 26px; padding-bottom: 37px; }.game-back-link { margin-bottom: 29px; }.game-hero h1 { font-size: clamp(38px, 9.5vw, 55px); letter-spacing: -.035em; }.game-hero h1 > span { letter-spacing: -.035em; }.game-lead { font-size: 14px; margin: 23px 0; }
  .game-key-art, .dhub-workflow { transform: none; box-shadow: 6px 7px 0 #0008; }.game-key-art figcaption { font-size: 7px; }.dhub-page .game-hero h1 { font-size: clamp(29px, 8vw, 44px); letter-spacing: -.035em; }.dhub-workflow-bar { padding: 14px 18px; font-size: 18px; }.dhub-workflow figcaption { font-size: 6px; padding-inline: 8px; }
  .game-facts { justify-content: start; gap: 14px 18px; padding: 18px 0; font-size: 8px; }.game-facts span::before { margin-right: 7px; }.game-section { padding-block: 44px; }.section-intro { font-size: 14px; }.game-features { grid-template-columns: 1fr; gap: 28px; margin-top: 33px; }.game-features article { grid-template-columns: 42px 1fr; gap: 6px 13px; padding-top: 21px; }.feature-number { font-size: 39px; }.game-features h3 { font-size: 20px; }.game-features p { font-size: 13px; }
  .game-status { grid-template-columns: 1fr; gap: 28px; }.game-status-copy p { font-size: 13px; }.game-download { padding: 26px; gap: 25px; }.game-download h2 { font-size: 30px; }.game-download p { font-size: 13px; }.game-faq summary { font-size: 14px; }.game-faq details p { font-size: 13px; }.dhub-example-grid { gap: 19px; }.dhub-example-grid article { padding: 24px; }
}
@media (max-width: 380px) { .brand-symbol { display: none; }.hero h1 { font-size: 72px; }.hero-stage { min-height: 340px; }.stage-dhub img { height: 105px; }.stage-title { flex-wrap: wrap; gap: 1px 6px; }.stage-title small { font-size: 6px; }.stage-stamp { width: 60px; height: 60px; font-size: 7px; }.stage-coordinate { font-size: 6px; }.stage-orbit { height: 270px; }.project-copy, .dhub-copy, .coming-copy { padding: 23px; }.about { padding: 25px; }.about h2 { font-size: 40px; }.game-hero .eyebrow { font-size: 8px; }.game-download { padding: 23px; }.game-download h2 { font-size: 27px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Source-derived DHub project graphs. The full graph keeps readable tile sizes. */
.dhub-real-example { margin: 32px 0 0; border: 1px solid #426355; background: #17211d; min-width: 0; }
.dhub-example-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 22px; font: 10px/1.7 var(--mono); color: #a3c4b5; border-bottom: 1px solid #426355; }
.dhub-example-heading a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.dhub-graph-scroll { overflow-x: auto; scrollbar-color: #80e1dd #17211d; }
.dhub-graph-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dhub-graph-scroll img { display: block; width: 1920px; max-width: none; height: 400px; }
.dhub-real-example figcaption { padding: 15px 22px; color: #a3c4b5; font: 10px/1.8 var(--mono); border-top: 1px solid #426355; }
.dhub-logic-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.dhub-logic-notes p { color: #adbaac; font-size: 13px; line-height: 1.85; margin: 0; }
.dhub-logic-notes strong { display: block; color: #f1efe8; margin-bottom: 8px; font-size: 14px; }
@media (max-width: 760px) { .dhub-example-heading { align-items: start; flex-direction: column; padding: 15px 18px; font-size: 9px; gap: 7px; } .dhub-real-example figcaption { padding: 14px 18px; font-size: 9px; } .dhub-logic-notes { grid-template-columns: 1fr; gap: 22px; } }
.game-status > *, .game-hero-copy { min-width: 0; }
@media (max-width: 380px) { .game-status h2 { font-size: 30px; } }

/* DHub toolbox overview */
.dhub-toolbox-preview { margin: 0; min-width: 0; border: 1px solid #567566; background: #19201e; box-shadow: 13px 14px 0 #17322a; transform: rotate(-2deg); }
.dhub-preview-eyebrow { padding: 24px 26px 0; color: #a3c4b5; font: 10px var(--mono); letter-spacing: 1px; margin-bottom: 18px; }
.dhub-preview-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 26px; }
.dhub-preview-tools > span { display: block; padding: 15px 14px; background: #14221c; border: 1px solid #476255; border-left: 3px solid #80e1dd; font: 500 13px/1.5 var(--mono); }
.dhub-preview-tools > span:nth-child(3n) { border-left-color: #ffae71; }
.dhub-preview-tools > span:nth-child(3n + 2) { border-left-color: #c9a9f2; }
.dhub-preview-tools small { display: block; color: #a3b9ac; font: 400 9px/1.7 var(--mono); margin-top: 6px; }
.dhub-preview-all { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding: 19px 26px; border-top: 1px solid #426355; color: #80e1dd; font: 10px/1.7 var(--mono); }
.dhub-toolboxes { border-top: 1px solid var(--line); }
.dhub-toolbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 38px; border-top: 1px solid #426355; border-left: 1px solid #426355; }
.dhub-toolbox-grid article { min-width: 0; padding: 27px 25px 30px; border-right: 1px solid #426355; border-bottom: 1px solid #426355; background: #18231e; }
.dhub-toolbox-grid article:nth-child(3n + 2) { background: #1d2723; }
.dhub-toolbox-number { display: block; color: #80e1dd; font: 10px var(--mono); margin-bottom: 20px; }
.dhub-toolbox-grid h3 { font-size: 18px; line-height: 1.4; letter-spacing: -.02em; }
.dhub-toolbox-grid p { color: #adbaac; font-size: 12px; line-height: 1.9; margin: 16px 0 0; }
.dhub-editor-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.dhub-editor-features article { grid-template-columns: 1fr; }
.dhub-editor-features .feature-number { grid-row: auto; font-size: 38px; margin-bottom: 15px; }
.dhub-editor-features p { grid-column: 1; }
.dhub-example-details { margin-top: 38px; border-block: 1px solid var(--line); }
.dhub-example-details > summary { padding: 20px 0; font-size: 13px; cursor: pointer; color: #80e1dd; }
.dhub-example-details > summary span { color: #a3b9ac; font-size: 10px; margin-left: 18px; }
.dhub-example-details > p { color: #adbaac; font-size: 13px; line-height: 1.9; max-width: 790px; margin: 7px 0 0; }
.dhub-example-details .dhub-real-example { margin: 22px 0 26px; }
@media (max-width: 1100px) { .dhub-toolbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dhub-preview-tools { padding-inline: 18px; gap: 10px; } .dhub-preview-tools > span { font-size: 11px; padding: 12px 10px; } .dhub-preview-tools small { font-size: 8px; } .dhub-editor-features { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .dhub-toolbox-preview { transform: none; box-shadow: 6px 7px 0 #0008; } .dhub-toolbox-grid { grid-template-columns: 1fr; margin-top: 28px; } .dhub-toolbox-grid article { padding: 24px; } .dhub-toolbox-number { margin-bottom: 14px; } .dhub-example-details > summary span { display: block; margin: 8px 0 0 18px; } }
/* Keep the full domain readable alongside navigation on narrow screens. */
.wordmark { white-space: nowrap; }
@media (max-width: 480px) { .site-header { flex-wrap: wrap; padding-block: 18px; gap: 12px; } .site-header nav { width: 100%; justify-content: flex-end; } }

/* Legal pages and persistent footer navigation */
.site-footer { flex-wrap: wrap; }
.footer-legal { width: 100%; order: 4; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px 26px; border-top: 1px solid var(--line); padding-top: 19px; margin-top: 3px; color: #aaa9a5; font: 11px/1.7 var(--mono); }
.footer-legal a[aria-current="page"] { color: var(--accent); }
.legal-page { padding-block: 62px 35px; }
.legal-page h1 { font-size: clamp(36px, 5vw, 66px); line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; margin: 0; }
.legal-lead { max-width: 760px; color: #b2ada5; font-size: 15px; line-height: 1.9; margin: 25px 0 0; }
.legal-updated { color: #aaa9a5; font-size: 10px; margin-top: 18px; }
.legal-page section { max-width: 860px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 38px; }
.legal-page h2 { font-size: 24px; line-height: 1.4; letter-spacing: -.025em; }
.legal-page section p, .legal-page address { color: #b8b5ad; font: 400 14px/1.9 var(--mono); margin: 16px 0 0; overflow-wrap: anywhere; }
.legal-page address strong { color: var(--text); }
.legal-page section a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.legal-notice { max-width: 860px; margin-top: 30px; padding: 22px 25px; border-left: 3px solid #ffae71; background: #2b211c; color: #efc6a8; font-size: 12px; line-height: 1.85; }
.legal-notice p { margin: 10px 0 0; color: #c7b4a3; }
@media (max-width: 760px) { .legal-page { padding-top: 38px; } .legal-page h1 { font-size: 34px; } .legal-page h2 { font-size: 21px; } .legal-page section p, .legal-page address { font-size: 13px; } .legal-lead { font-size: 13px; } .legal-notice { padding: 18px; } .footer-legal { font-size: 10px; } }
/* Voluntary support; an active payment link is added only with the supplied destination. */
.support-section { margin-top: 55px; padding: 36px 38px; background: #20251b; border-left: 4px solid var(--accent); display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; }
.support-section h2 { font-size: 32px; }
.support-section > div { min-width: 0; }
.support-section > div > p:last-child { color: #b0b7a2; max-width: 680px; margin: 19px 0 0; font-size: 13px; line-height: 1.9; }
.support-pending { display: inline-block; border: 1px solid #68734f; padding: 14px 17px; color: #ced7b8; font: 11px/1.7 var(--mono); }
.support-action p { color: #9da88d; font-size: 10px; line-height: 1.8; max-width: 220px; margin: 12px 0 0; }
.support-section .support-action .support-note { max-width: 300px; font-size: 11px; line-height: 1.8; margin-top: 14px; color: #b0b7a2; }
@media (max-width: 760px) { .support-section { grid-template-columns: 1fr; padding: 27px; gap: 25px; } .support-section h2 { font-size: 28px; } }
/* Lowest decorative layer: binary hover field, beneath texture and all content. */
body { isolation: isolate; }
#background-canvas { position: fixed; inset: 0; display: block; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
@media (max-width: 768px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { #background-canvas { display: none; } }
/* Language navigation is available on every page without JavaScript or storage. */
.header-tools { display: flex; align-items: center; gap: 28px; min-width: 0; }
.site-header .language-switch { display: inline-flex; flex-shrink: 0; width: auto; gap: 0; border: 1px solid var(--line); justify-content: flex-start; font: 10px/1.5 var(--mono); }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 0; }
.language-switch .language-flag { display: block; width: 26px; height: auto; object-fit: contain; outline: 1px solid #aaa9a5; outline-offset: 1px; }
.language-switch a + a { border-left: 1px solid var(--line); }
.language-switch a[aria-current="page"] { background: #ddff7315; color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.language-switch a:hover { background: #ffffff0b; color: var(--text); }
@media (max-width: 900px) { .header-tools { gap: 20px; } .header-tools > nav:not(.language-switch) { gap: 18px; } }
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; padding-block: 18px; gap: 15px; }
  .header-tools { width: 100%; justify-content: space-between; gap: 14px; }
  .site-header .header-tools > nav:not(.language-switch) { width: auto; justify-content: flex-start; flex-wrap: wrap; gap: 8px 18px; }
}

/* The shell reserves the full header height while its contents become compact. */
html { scroll-padding-top: var(--header-offset, 122px); }
.header-shell { position: sticky; top: 0; z-index: 15; pointer-events: none; }
.site-header {
  width: 100%;
  padding-inline: max(56px, calc((100% - 1240px) / 2));
  pointer-events: auto;
  background: rgba(18, 18, 20, .96);
  backdrop-filter: blur(12px);
  transition: min-height .18s ease, padding-block .18s ease, gap .18s ease, box-shadow .18s ease;
}
.site-header .wordmark, .site-header .brand-symbol { transition: font-size .18s ease; }
.site-header.is-compact { min-height: 70px; box-shadow: 0 8px 24px #0004; }
.site-header.is-compact .wordmark { font-size: 28px; }
.site-header.is-compact .brand-symbol { font-size: 25px; }
.site-header.is-measuring, .site-header.is-measuring .wordmark, .site-header.is-measuring .brand-symbol { transition: none; }
@media (max-width: 1100px) { .site-header { padding-inline: 36px; } }
@media (max-width: 760px) {
  html { scroll-padding-top: var(--header-offset, 136px); }
  .site-header { padding-inline: 20px; }
  .site-header.is-compact { min-height: 82px; padding-block: 10px; gap: 8px; }
  .site-header.is-compact .wordmark { font-size: 24px; }
  .site-header.is-compact .brand-symbol { font-size: 23px; }
}

/* Project development credits. */
.development-note { padding: 20px 24px; border-left: 3px solid var(--accent); background: #ffffff06; }
.development-note.wrap { margin-block: 8px 34px; }
.development-note h2, .development-note h3 { color: var(--text); font: 500 15px/1.5 var(--mono); letter-spacing: 0; margin: 0 0 9px; }
.development-note p { color: #b8b5ad; font: 400 12px/1.9 var(--mono); margin: 0; }
.development-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.about-copy .development-note { margin: 24px 0; border-color: var(--accent); background: #ffffff03; }
.about-copy .development-note h3 { color: var(--text); }
.about-copy .development-note p { color: #b8b5ad; font-size: 12px; margin: 0; }
.about-copy .development-note a { color: var(--accent); }
@media (max-width: 760px) { .development-note { padding: 18px; } }

/* Separate project areas, visible even when JavaScript is unavailable. */
.hero-category-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.category-game-link { --accent: #ffae71; }
.category-app-link { --accent: #80e1dd; }
.project-groups { display: grid; gap: 58px; }
.project-group { position: relative; min-width: 0; padding-left: 20px; --group-accent: #c9a9f2; --group-tint: #c9a9f209; }
.project-group::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--group-accent); opacity: .32; pointer-events: none; }
.group-games { --group-accent: #ffae71; --group-tint: #ffae710b; }
.group-applications { --group-accent: #80e1dd; --group-tint: #80e1dd0b; }
.group-experiments { --group-accent: #91b5e8; --group-tint: #91b5e80b; }
.project-group-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding: 22px 26px; margin-bottom: 22px; border-bottom: 1px solid var(--line); background: var(--group-tint); }
.project-group-title { display: flex; align-items: center; gap: 18px; min-width: 0; }
.project-group-title > span { font: 10px/1.5 var(--mono); color: var(--group-accent); }
.project-group-title h3 { color: var(--group-accent); font-size: 36px; line-height: 1.2; margin: 0; }
.project-group-heading > p { max-width: 570px; font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; }
.project-group .category-label { padding: 5px 8px; border: 1px solid currentColor; font-weight: 500; letter-spacing: .8px; }
@media (max-width: 760px) {
  .hero-category-actions { width: 100%; gap: 12px; }
  .project-groups { gap: 38px; }
  .project-group { padding-left: 12px; }
  .project-group-heading { padding: 18px; margin-bottom: 18px; align-items: flex-start; gap: 12px; }
  .project-group-title { gap: 14px; }
  .project-group-title h3 { font-size: 26px; }
  .project-group-heading > p { font-size: 12px; }
  .project-group .category-label { font-size: 9px; }
}

/* Product languages, separate from the website language switch. */
.project .project-language { display: flex; flex-wrap: wrap; gap: 4px 10px; border-top: 1px solid var(--line); padding-top: 12px; margin: 0 0 24px; color: var(--muted); font: 400 10px/1.8 var(--mono); }
.project-language strong { color: var(--accent); font-weight: 500; }

.project-platforms { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }

/* Lost Hopeless TD uses the same text-left, artwork-right project layout. */
.lost-hopeless-project, .lost-hopeless-page { --accent: #e8c079; }
.lost-hopeless-project .randalo-tags li::before { color: var(--accent); }
.lost-hopeless-project .badge { color: #d1c3a5; border-color: #66563b; }
.lost-hopeless-art { margin: 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; background: #000; border-left: 1px solid #474236; }
.lost-hopeless-art img { display: block; width: 100%; height: auto; }
.lost-hopeless-art figcaption { padding: 14px 18px 20px; color: #c2b48f; text-align: center; font: 8px/1.8 var(--mono); letter-spacing: .6px; }
.lost-hopeless-key-art { border-color: #67563c; box-shadow: 13px 14px 0 #342b1b; background: #131a20; }
.lost-hopeless-page .game-download { background: #282419; }
@media (max-width: 760px) {
  .lost-hopeless-art { border-left: 0; border-top: 1px solid #474236; }
  .lost-hopeless-art figcaption { font-size: 7px; }
  .lost-hopeless-key-art { box-shadow: 6px 7px 0 #0008; }
}

/* Stratavelle */
.stratavelle-project, .stratavelle-page { --accent: #b9d88a; }

.stratavelle-project .randalo-tags li::before { color: var(--accent); }
.stratavelle-project .badge { color: #c0cbb1; border-color: #566344; }
.stratavelle-art { margin: 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; background: #000; border-left: 1px solid #414b37; }
.stratavelle-art img { display: block; width: 100%; height: auto; }
.stratavelle-art figcaption { padding: 14px 18px 20px; color: #b4c09c; text-align: center; font: 8px/1.8 var(--mono); letter-spacing: .6px; }
.stratavelle-key-art { background: #000; border-color: #566344; box-shadow: 13px 14px 0 #25311d; }
.stratavelle-key-art figcaption { color: #b4c09c; }
.stratavelle-world-view { margin: 0 0 26px; border: 1px solid #414b37; background: #192117; }
.stratavelle-world-view img { display: block; width: 100%; height: auto; }
.stratavelle-world-view figcaption { padding: 12px; font: 8px/1.8 var(--mono); color: #b4c09c; }
.stratavelle-page .game-download { background: #22291c; }
.stratavelle-page .download-pending { color: #d1e3b6; background: #2d3823; border-color: #596b42; }

@media (max-width: 760px) {
  
  .stratavelle-art { border-left: 0; border-top: 1px solid #414b37; }
  .stratavelle-art figcaption { font-size: 7px; }
  .stratavelle-key-art { box-shadow: 6px 7px 0 #0008; }
}
/* Personal introduction, based on Daniel's own motivation. */
.personal-hero { align-items: center; }
.personal-hero .hero-copy { min-width: 0; }
.personal-hero .eyebrow { margin-bottom: 22px; }
.hero-introduction { margin: 0 0 14px; color: #d0cec6; font: 500 16px/1.7 var(--mono); }
.personal-hero h1 { font-size: clamp(56px, 6.7vw, 92px); line-height: 1.06; }
.personal-hero .hero-bottom { margin-top: 28px; gap: 18px; }
.personal-hero .hero-bottom > p { max-width: 520px; font-size: 15px; line-height: 1.85; color: #c3bfb6; }

.personal-hero .hero-category-actions { margin-top: 5px; }
@media (max-width: 1100px) {
  .personal-hero h1 { font-size: clamp(48px, 6.7vw, 73px); }
}
@media (max-width: 760px) {
  .personal-hero .eyebrow { margin-bottom: 16px; }
  .hero-introduction { font-size: 14px; margin-bottom: 12px; }
  .personal-hero h1 { font-size: clamp(42px, 12vw, 80px); }
  .personal-hero .hero-bottom { margin-top: 23px; gap: 17px; }
  .personal-hero .hero-bottom > p { font-size: 14px; }
  
  
}
/* Project status is visible near the top of every project page. */
.project-status { margin-block: 0 26px; padding: 24px 28px; border: 1px solid var(--line); border-left: 4px solid var(--accent); background: #1b1b1dee; }
.project-status-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 22px; }
.project-status-heading h2 { font-size: 20px; line-height: 1.4; letter-spacing: -.02em; }
.project-status-state { display: inline-flex; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid var(--line); color: var(--accent); font: 500 11px/1.5 var(--mono); }
.project-status-summary { max-width: 850px; margin: 16px 0 20px; color: #b8b5ad; font: 400 13px/1.85 var(--mono); }
.project-status-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; padding-top: 17px; margin: 0; border-top: 1px solid var(--line); }
.project-status-details > div { min-width: 0; }
.project-status-details dt { color: var(--muted); font: 400 10px/1.7 var(--mono); margin-bottom: 6px; }
.project-status-details dd { margin: 0; color: var(--text); font: 500 12px/1.7 var(--mono); }
.project-status-details a { display: inline-flex; align-items: baseline; gap: 10px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.project-status-details a:hover { text-decoration-thickness: 2px; }
@media (max-width: 760px) {
  .project-status { padding: 20px; margin-bottom: 22px; }
  .project-status-heading h2 { font-size: 18px; }
  .project-status-summary { font-size: 12px; }
  .project-status-details { grid-template-columns: 1fr; gap: 16px; }
}
/* A single retro workstation connects games, code and hands-on making. */
.idea-stage { position: relative; min-width: 0; width: 100%; align-self: center; }
.idea-stage-art { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .idea-stage { width: min(460px, 100%); margin: 22px auto 0; }
}
/* Support remains reachable from every page and the compact header. */
.site-header .header-support-link { white-space: nowrap; }
.site-header .header-tools > nav:not(.language-switch) { min-width: 0; }
/* Keep complete project names together, including on small screens. */
.lost-hopeless-page .game-hero h1 { white-space: nowrap; overflow-wrap: normal; font-size: clamp(24px, 4.3vw, 54px); }
@media (max-width: 760px) {
  .lost-hopeless-page .game-hero h1 { font-size: clamp(24px, 6.8vw, 54px); }
}

/* Shared presentation for all three game logos, without extra labels. */
.game-logo { display: grid; place-items: center; min-width: 0; margin: 0; padding: 28px; background: #000; }
.game-logo img { display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.project-game-logo { border-left: 1px solid var(--line); }
.hero-game-logo { border: 1px solid var(--line); }
@media (max-width: 760px) {
  .game-logo { padding: 20px; }
  .project-game-logo { border-left: 0; border-top: 1px solid var(--line); }
}


/* Compensate for the black inset already present in Randalo's artwork. */
.randalo-logo-viewport { width: 100%; max-width: 520px; aspect-ratio: 3 / 2; overflow: hidden; }
.randalo-logo-viewport img { max-width: none; height: 100%; aspect-ratio: auto; transform: scale(1.2); transform-origin: 49% 14%; }


/* Prepared screenshot slots; real images can replace the noninteractive placeholders. */
.project-screenshots { border-top: 1px solid var(--line); }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.screenshot-card { min-width: 0; margin: 0; border: 1px solid var(--line); border-top: 2px solid var(--accent); background: var(--surface); }
.screenshot-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; aspect-ratio: 16 / 9; background: #151517; }
.screenshot-placeholder svg { stroke: var(--accent); stroke-width: 1.5; opacity: .55; }
.screenshot-placeholder > span { color: var(--muted); font: 10px/1.7 var(--mono); letter-spacing: .4px; }
.screenshot-card figcaption { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px 12px; padding: 20px; }
.screenshot-number { color: var(--accent); font: 10px/2.1 var(--mono); }
.screenshot-card h3 { margin: 0; color: var(--text); font: 500 14px/1.5 var(--mono); letter-spacing: 0; }
.screenshot-card figcaption p { grid-column: 2; margin: 0; color: var(--muted); font: 12px/1.8 var(--mono); }
.screenshot-link { display: block; aspect-ratio: 16 / 9; background: #000; }
.screenshot-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.screenshot-link:focus-visible { outline-offset: -3px; }
@media (max-width: 1100px) {
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .screenshot-grid { grid-template-columns: 1fr; margin-top: 26px; gap: 18px; }
}

/* Current capabilities and ongoing work in each project's progress panel. */
.project-status-updated { margin: -8px 0 24px; color: var(--muted); font: 400 10px/1.7 var(--mono); }
.project-progress-current h3, .project-progress-next h3 { margin: 0 0 16px; color: var(--accent); font: 500 13px/1.6 var(--mono); }
.project-progress-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin: 0; padding: 0; list-style: none; }
.project-progress-features li { position: relative; min-width: 0; padding-left: 17px; }
.project-progress-features li::before { content: ""; position: absolute; top: 7px; left: 0; width: 5px; height: 5px; background: var(--accent); }
.project-progress-features strong { display: block; margin-bottom: 5px; color: var(--text); font: 500 12px/1.7 var(--mono); }
.project-progress-features span { display: block; color: #b8b5ad; font: 400 12px/1.85 var(--mono); }
.project-progress-next { margin: 24px 0 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.project-progress-next h3 { color: var(--text); margin-bottom: 10px; }
.project-progress-next ul { margin: 0; padding-left: 18px; color: #b8b5ad; font: 400 12px/1.85 var(--mono); }
.project-progress-next li + li { margin-top: 8px; }
.project-progress-next li::marker { color: var(--muted); }
@media (max-width: 760px) {
  .project-progress-features { grid-template-columns: 1fr; gap: 16px; }
  .project-progress-current h3, .project-progress-next h3 { font-size: 12px; }
}


/* Full-screen screenshot viewer with compact controls and optional descriptions. */
html.screenshot-viewer-open { overflow: hidden; }
.screenshot-link { cursor: zoom-in; }
.screenshot-viewer { inset: 0; margin: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; padding: 0; color: var(--text); background: #000; border: 0; overflow: hidden; }
.screenshot-viewer::backdrop { background: #08080bf5; }
.screenshot-viewer-shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; min-width: 0; }
.screenshot-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(4px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 4px max(8px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); background: var(--bg); }
.screenshot-viewer-header h2 { margin: 0; font: 500 12px/1.6 var(--mono); }
.screenshot-viewer-actions { display: flex; gap: 8px; }
.screenshot-viewer button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); color: var(--text); background: var(--surface); cursor: pointer; font: 400 24px/1 var(--mono); }
.screenshot-viewer button:hover, .screenshot-viewer button[aria-pressed="true"], .screenshot-viewer button[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.screenshot-viewer button:focus-visible { outline-offset: -4px; }
.screenshot-viewer .screenshot-viewer-info { font-size: 18px; }
.screenshot-viewer-stage { display: grid; place-items: center; min-width: 0; min-height: 0; padding: 0; background: #000; overflow: hidden; }
.screenshot-viewer-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; cursor: zoom-in; }
.screenshot-viewer-message { margin: 0; padding: 16px; text-align: center; color: var(--muted); font: 400 12px/1.8 var(--mono); }
.screenshot-viewer-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 4px max(8px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: var(--bg); }
.screenshot-viewer-caption { display: contents; }
.screenshot-viewer-caption h3 { margin: 0; font: 500 12px/1.6 var(--mono); letter-spacing: 0; }
.screenshot-viewer-caption p { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 4px 0; color: var(--muted); font: 400 11px/1.8 var(--mono); }
.screenshot-viewer-controls { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 8px; }
.screenshot-viewer-counter { min-width: 40px; text-align: center; color: var(--accent); font: 500 12px/1.6 var(--mono); }
.screenshot-viewer.is-zoomed .screenshot-viewer-stage { display: block; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y; cursor: grab; }
.screenshot-viewer.is-zoomed .screenshot-viewer-image { width: var(--zoom-width); height: var(--zoom-height); max-width: none; max-height: none; cursor: grab; }
.screenshot-viewer.is-zoomed .screenshot-viewer-stage.is-dragging, .screenshot-viewer.is-zoomed .is-dragging .screenshot-viewer-image { cursor: grabbing; }
@media (max-width: 760px) {
  .screenshot-viewer-caption h3 { font-size: 11px; }
}

/* Four screenshots use a balanced two-by-two gallery. */
.screenshot-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .screenshot-grid-four { grid-template-columns: 1fr; }
}


/* Personal motivation and sharing stay at the centre of the about section. */
.about-copy > p:not(:first-child) { color: #b8b5ad; font-size: 14px; }
.about-sharing { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: #161618; }
.about-sharing h3 { margin: 0 0 14px; color: var(--accent); font: 500 18px/1.55 var(--mono); letter-spacing: -.02em; }
.about-copy .about-sharing p { color: #d1cdc4; font-size: 14px; line-height: 1.85; margin: 0; }
.about-copy .about-sharing p + p { margin-top: 14px; color: #b8b5ad; }
.about-project-notes { margin: 24px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.about-project-notes summary { cursor: pointer; color: var(--muted); font: 500 12px/1.8 var(--mono); }
.about-project-notes summary:hover { color: var(--accent); }
.about-project-notes .development-note:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .about-copy > p:not(:first-child) { font-size: 13px; }
  .about-sharing { padding: 16px; }
  .about-sharing h3 { font-size: 16px; }
  .about-copy .about-sharing p { font-size: 13px; }
}


/* Versioned release packages on project pages. */
.download-release { align-items: start; display: grid; grid-template-columns: 1fr; }
.download-release-packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; min-width: 0; }
.download-release-package h3 { margin: 0 0 22px; color: var(--accent); font: 500 22px/1.5 var(--mono); }
.download-release-copy, .download-release-package { min-width: 0; }
.download-release .download-version-note { color: var(--muted); font-size: 12px; }
.download-release-package { padding: 24px; border: 1px solid var(--line); background: var(--bg); }
.download-release-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 24px; font: 400 12px/1.7 var(--mono); }
.download-release-details div { min-width: 0; }
.download-release-details dt { color: var(--muted); font-size: 10px; }
.download-release-details dd { margin: 4px 0 0; color: var(--text); }
.download-release .installer-download { width: 100%; justify-content: space-between; gap: 12px; padding: 16px; font-size: 12px; }
.download-release .download-installation { font-size: 12px; margin-top: 18px; }
@media (max-width: 900px) { .download-release-packages { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .download-release-package { padding: 18px; }
  .download-release .installer-download { font-size: 11px; padding: 14px 12px; }
}


/* PStock combines a web application with a physical storage system. */
.pstock-page, .storage-project { --accent: #91b5e8; }
.storage-project { border-style: solid; background: #1b1b1d; }
.storage-project .project-kicker { color: var(--accent); font-size: 9px; }

.storage-project .coming-copy .button { font-size: 11px; padding: 14px 18px; }
.pstock-visual { display: grid; align-content: center; justify-items: center; min-width: 0; margin: 0; padding: 28px; background: #0c0c0e; border-left: 1px solid var(--line); }
.pstock-visual img { display: block; width: min(100%, 420px); height: auto; }
.pstock-hero-art { border: 1px solid var(--line); }
.pstock-visual figcaption { color: var(--muted); font: 400 10px/1.7 var(--mono); text-align: center; margin-top: 12px; }
.pstock-mechanism .screenshot-link { aspect-ratio: 1; background: #0c0c0e; }
.pstock-mechanism .screenshot-link img { object-fit: contain; }
@media (max-width: 760px) {
  .storage-project .pstock-visual { border-left: 0; border-top: 1px solid var(--line); }
  .pstock-visual { padding: 20px; }
}


/* Real PStock photographs and interface captures stay fully visible. */
.pstock-photo-visual img { max-height: 540px; object-fit: contain; }
.pstock-build .screenshot-link { aspect-ratio: 4 / 3; background: #0c0c0e; }


/* Visible integrity hashes remain readable without widening download cards. */
.download-checksum { min-width: 0; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.download-checksum-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 10px; font: 400 11px/1.6 var(--mono); color: var(--muted); }
.download-checksum-heading a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.download-checksum code { display: block; color: var(--text); font: 400 12px/1.8 var(--mono); white-space: normal; overflow-wrap: anywhere; word-break: break-all; user-select: all; }


/* Difficulty explanations remain inside the existing FAQ disclosure. */
.difficulty-levels { margin: 0 0 24px; max-width: 920px; }
.difficulty-levels > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.difficulty-levels dt { color: var(--accent); font: 500 13px/1.8 var(--mono); }
.difficulty-levels dd { min-width: 0; margin: 0; color: #aaa59c; font: 400 14px/1.9 var(--mono); }
@media (max-width: 760px) {
  .difficulty-levels > div { grid-template-columns: 1fr; gap: 6px; }
  .difficulty-levels dd { font-size: 13px; }
}



/* All overview entries share one heading hierarchy and title style. */
.project-heading { margin: 34px 0 24px; }
.project .project-title { color: var(--text); font: 700 clamp(18px, 2.6vw, 40px)/1.2 var(--display); letter-spacing: -.035em; margin: 0; white-space: nowrap; overflow-wrap: normal; }
.project-heading > .project-kicker { margin: 0 0 12px; color: var(--muted); font: 400 9px/1.6 var(--mono); letter-spacing: 1px; }
.project-heading > p:last-child { color: var(--muted); font: 400 14px/1.8 var(--mono); margin: 22px 0 0; max-width: 420px; }
@media (max-width: 760px) {
  .project-heading { margin-top: 29px; }
  .project .project-title { font-size: clamp(18px, 5.7vw, 40px); }
}

/* Optional terminal instructions keep the Linux download card compact. */
.download-install-steps { margin-top: 14px; color: var(--muted); font: 400 12px/1.8 var(--mono); }
.download-install-steps summary { color: var(--accent); cursor: pointer; }
.download-release .download-install-steps p { margin: 12px 0 0; font-size: 12px; }
.download-install-steps pre { margin: 12px 0 0; padding: 12px; border: 1px solid var(--line); background: #0c0c0e; color: var(--text); font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.download-install-steps code { font: inherit; }

/* Pixel signature: the stepped contour of the d. mark becomes a shared detail. */
.button-primary {
  --pixel-button-shape: polygon(0 0, calc(100% - 12px) 0, calc(100% - 12px) 4px, calc(100% - 8px) 4px, calc(100% - 8px) 8px, calc(100% - 4px) 8px, calc(100% - 4px) 12px, 100% 12px, 100% 100%, 12px 100%, 12px calc(100% - 4px), 8px calc(100% - 4px), 8px calc(100% - 8px), 4px calc(100% - 8px), 4px calc(100% - 12px), 0 calc(100% - 12px));
  position: relative;
  isolation: isolate;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.button-primary::before, .button-primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  clip-path: var(--pixel-button-shape);
  pointer-events: none;
}
.button-primary::before { z-index: -1; background: var(--accent); }
.button-primary::after { z-index: -2; background: #000; transform: translate(4px, 4px); transition: transform .2s; }
.button-primary:hover { box-shadow: none; }
.button-primary:hover::after { transform: translate(7px, 7px); }
.project {
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - 24px) 0, calc(100% - 24px) 8px, calc(100% - 16px) 8px, calc(100% - 16px) 16px, calc(100% - 8px) 16px, calc(100% - 8px) 24px, 100% 24px, 100% 100%, 0 100%);
}
.project::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -1px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 0v9h8v8h8v8h9' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 0v9h8v8h8v8h9' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.project-group-title > span {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  font-size: 0;
  background: var(--group-accent);
  clip-path: polygon(0 0, 100% 0, 100% 33.333%, 66.667% 33.333%, 66.667% 66.667%, 33.333% 66.667%, 33.333% 100%, 0 100%);
}
@media (prefers-reduced-motion: reduce) {
  .button-primary:hover { transform: none; }
}
@media (forced-colors: active) {
  .button-primary { color: ButtonText; background: ButtonFace; border-color: ButtonText; }
  .button-primary::before, .button-primary::after, .project::after { display: none; }
  .project { clip-path: none; }
  .project-group::before { background: CanvasText; opacity: 1; }
  .project-group-title > span { background: CanvasText; }
}


/* Static news: compact previews, a readable archive, and article pages. */
.news-teaser { margin-top: 68px; }
.news-teaser .section-heading { align-items: center; margin-bottom: 25px; }
.news-teaser h2 { font-size: clamp(28px, 3.2vw, 38px); }
.news-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.news-actions .text-link { gap: 10px; }
.news-list { border-top: 1px solid var(--line); }
.news-preview { --news-accent: var(--accent); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; min-width: 0; padding: 28px 0; border-bottom: 1px solid var(--line); }
.news-project-dhub { --news-accent: #80e1dd; }
.news-project-randalo { --news-accent: #ffae71; }
.news-project-lost-hopeless-td { --news-accent: #e8c079; }
.news-project-stratavelle { --news-accent: #b9d88a; }
.news-project-pstock { --news-accent: #91b5e8; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-content: start; color: var(--muted); font: 400 12px/1.6 var(--mono); }
.news-preview > .news-meta { flex-direction: column; }
.news-meta > span { color: var(--news-accent, var(--accent)); }
.news-preview-copy { min-width: 0; }
.news-preview h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; }
.news-preview h3 a:hover { color: var(--news-accent); }
.news-preview-copy > p { max-width: 70ch; margin: 12px 0 16px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.news-preview .text-link { color: var(--news-accent); gap: 12px; }
.news-empty { margin: 22px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.news-main { padding-block: 58px 34px; }
.news-page-heading { max-width: 850px; margin-bottom: 40px; }
.news-main h1 { font-size: clamp(32px, 4.7vw, 62px); line-height: 1.2; letter-spacing: -.035em; margin-bottom: 0; }
.news-page-heading > p { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 20px 0; }
.news-article { max-width: 900px; }
.news-article header .news-meta { margin-bottom: 18px; }
.news-article-summary { color: var(--muted); font-size: 17px; line-height: 1.8; margin: 22px 0 30px; }
.news-body { max-width: 75ch; color: #d1cdc4; font-size: 15px; line-height: 1.95; }
.news-body p { margin: 0 0 22px; }
.news-body h2 { font-size: 25px; line-height: 1.4; margin: 34px 0 18px; }
.news-body ul { padding-left: 22px; margin: 0 0 22px; }
.news-body a { color: var(--news-accent, var(--accent)); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.news-project-link { margin-top: 15px; color: var(--news-accent, var(--accent)); }
.news-image { margin: 0 0 30px; }
.news-image img { display: block; max-width: 100%; max-height: 600px; width: auto; height: auto; object-fit: contain; border: 1px solid var(--line); }
@media (max-width: 760px) {
  .news-teaser { margin-top: 44px; }
  .news-teaser .section-heading { align-items: start; gap: 16px; }
  .news-preview { grid-template-columns: minmax(0, 1fr); gap: 13px; padding-block: 23px; }
  .news-preview > .news-meta { flex-direction: row; }
  .news-preview h3 { font-size: 21px; }
  .news-main { padding-top: 34px; }
  .news-page-heading { margin-bottom: 28px; }
  .news-article-summary { font-size: 15px; }
  .news-body { font-size: 14px; }
}


/* PStock's ESP32 web server is shown in its original smartphone aspect ratio. */
.pstock-controller { align-items: start; }
.pstock-controller .screenshot-card { width: 100%; max-width: 320px; justify-self: center; }
.pstock-controller .screenshot-link { aspect-ratio: 1080 / 1826; }

/* A compact, horizontally scrollable chapter strip below the sticky header. */
.chapter-nav {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  padding-inline: max(56px, calc((100% - 1240px) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  pointer-events: auto;
  background: rgba(18, 18, 20, .98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px #0003;
  font: 11px/1.5 var(--mono);
}
.chapter-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  white-space: nowrap;
}
.chapter-nav a:hover, .chapter-nav a[aria-current="location"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.chapter-nav a:focus-visible { outline-offset: -3px; }
@media (max-width: 1100px) { .chapter-nav { padding-inline: 36px; } }
@media (max-width: 760px) { .chapter-nav { padding-inline: 20px; gap: 22px; } }


/* Let PStock's feature columns flow without gaps from taller neighboring items. */
@media (min-width: 761px) {
  .pstock-page .project-progress-features {
    display: block;
    column-count: 2;
    column-gap: 32px;
  }
  .pstock-page .project-progress-features li {
    break-inside: avoid;
    margin-bottom: 18px;
  }
  .pstock-page .project-progress-features li:last-child { margin-bottom: 0; }
}

/* Keep testing and feedback information within the existing project notes. */
.development-note p.software-testing-copy { margin-top: 12px; }


/* Quiet, factual age guidance without an unofficial age badge. */
.game-age-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px 32px;
  margin-block: 0;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font: 400 12px/1.8 var(--mono);
}
.game-age-info > div { min-width: 0; }
.game-age-info dt { color: var(--muted); font-weight: 500; }
.game-age-info dd { margin: 4px 0 0; color: #b8b5ad; }
.game-download .download-age-link { margin-top: 14px; font-size: 12px; }
.download-age-link a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .game-age-info { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
