/* One desktop shell; three different objects to open. */
#win-projects { --section-accent: #486d79; --section-wash: #e5ece9; }
#win-art { --section-accent: #665e54; --section-wash: #eee9dd; }
#win-music { --section-accent: #795168; --section-wash: #e8dce4; }
.section-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 4px; padding: 8px 14px; background: var(--section-wash); border-bottom: 1px solid #a59a9a70; }
.section-nav button { min-height: 36px; padding: 8px 12px; color: #655b65; font: 13px/1.4 var(--font-body); border: 1px solid transparent; border-radius: 3px; background: transparent; cursor: pointer; }
.section-nav button:hover { color: var(--section-accent); background: #ffffff80; border-color: #a59a9a60; }
.section-nav button[aria-current="page"] { color: var(--section-accent); border-color: currentColor; background: #fffcf3; box-shadow: 2px 2px 0 #7d73732b; }
.section-heading { margin: 0 0 27px; font: italic 38px/1.2 var(--font-display); letter-spacing: -1px; color: var(--section-accent); }
#win-projects .win-body, #win-art .win-body, #win-music .win-body { padding: 0; scrollbar-gutter: auto; }

/* Projects: a ruled design notebook with a margin and numbered entries. */
#win-projects .win-body { background: #faf5e9; }
.notebook-content {
  min-height: calc(100% - 53px);
  padding: 32px 30px 30px 62px;
  background-color: #faf6eb;
  background-image: radial-gradient(circle at 15px 22px, #b8b2a3 0 3px, #ede5d4 4px 5px, transparent 6px), linear-gradient(90deg, transparent 39px, #c9828266 39px 40px, transparent 40px), repeating-linear-gradient(0deg, transparent 0 27px, #809fa219 27px 28px);
  background-size: 32px 40px, 100% 100%, 100% 28px;
  background-repeat: repeat-y, no-repeat, repeat;
}
.notebook-content > .section-heading { display: inline-block; border-bottom: 2px solid #71949b80; padding-bottom: 5px; transform: rotate(-1deg); }
.project-index { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -12px 0 22px; }
.project-index a { display: inline-flex; align-items: center; min-height: 44px; color: var(--section-accent); font: 13px/1.4 var(--font-body); text-underline-offset: 4px; }
.project-permalink { display: inline-block; margin-top: 14px; color: var(--section-accent); font: 12px/1.6 var(--font-body); text-underline-offset: 4px; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.project-actions .project-permalink { margin-top: 0; }
.project-index a:focus-visible, .project-permalink:focus-visible { outline: 2px solid var(--section-accent); outline-offset: 4px; }
#project-claudiatron .project-featured-media, #project-claudiatron .project-case-notes { grid-column: 1 / -1; margin: 0; }
#project-silent-shore > *, #project-nocturne > * { grid-column: 1 / -1; }
.project-hero-image { display: block; width: 100%; padding: 0; background: #fffcf4; border: 6px solid #fffcf4; outline: 1px solid #c4bba8; border-radius: 1px; box-shadow: 3px 4px 0 #aaa18b22; cursor: zoom-in; }
.project-hero-image img { display: block; width: 100%; height: auto; }
.case-heading { margin: 0 0 10px; color: var(--section-accent); font: 600 18px/1.4 var(--font-body); }
#win-projects .project-group-heading { margin: 3px 0 22px; padding-bottom: 10px; color: #64808b; font: 600 15px/1.4 var(--font-body); border-bottom: 1px dashed #8dabad; }
#win-projects .project-item { position: relative; grid-template-columns: 196px minmax(0, 1fr); gap: 23px; margin-bottom: 28px; padding-bottom: 32px; border-bottom: 1px dashed #a3b6b3; }
#win-projects .project-item::after { content: attr(data-page); position: absolute; bottom: 7px; right: 0; color: #87928b; font: 10px var(--font-body); }
#win-projects .thumb { position: relative; width: 196px; height: 145px; border: 6px solid #fffcf4; outline: 1px solid #c4bba8; border-radius: 1px; box-shadow: 3px 4px 0 #aaa18b22; transform: rotate(-2deg); }
#win-projects .thumb::before { content: ''; position: absolute; left: 30%; top: -14px; width: 58px; height: 18px; background: #bccbb395; border-inline: 1px dashed #84967d55; transform: rotate(6deg); pointer-events: none; }
#win-projects .project-item:nth-of-type(even) .thumb { transform: rotate(1deg); }
#win-projects .project-title { margin: 0 0 10px; color: #3d6270; font: 600 27px/1.2 var(--font-body); }
#win-projects .chip { color: #4f6b72; background: #e2e9e4; font-size: 12px; border: 1px solid #bdcfca; }
#win-projects .project-contribution { color: #5c6a68; font-size: 14px; }
#win-projects .project-contribution strong { color: #527682; }
#win-projects .desc { color: #4e5550; font-size: 14px; }
#win-projects .project-link { color: #3f6f7e; }

/* Art: loose pages held in a sketchbook, with full artwork visible. */
#win-art .win-body { background: #e3dccd; }
.sketchbook-pages { position: relative; min-height: calc(100% - 53px); padding: 32px 32px 40px; background: #faf7ed; }
.sketchbook-pages > .section-heading { color: #696257; margin-bottom: 35px; }
.portfolio-video { margin: 16px 0; }
.project-video { display: block; width: 100%; height: auto; background: #0e0d14; border: 1px solid #a59a9a70; border-radius: 3px; }
.project-video:focus-visible { outline: 2px solid var(--section-accent); outline-offset: 4px; }
.portfolio-video figcaption { margin-top: 8px; color: var(--section-accent); font: 12px/1.6 var(--font-body); }
.art-case { margin-bottom: 34px; padding-bottom: 22px; border-bottom: 1px dashed #a59a9a70; }
.art-case h3 { margin: 0 0 12px; color: var(--section-accent); font: 600 26px/1.25 var(--font-body); }
.art-case p { font: 14px/1.75 var(--font-body); }
.art-case .chip { color: var(--section-accent); background: var(--section-wash); border: 1px solid #a59a9a70; font-size: 12px; }
.uv-study-figure { margin: 20px 0 8px; }
.uv-study .project-hero-image { max-width: 560px; margin-inline: auto; }
.uv-study .project-hero-image img { width: auto; max-width: 100%; max-height: 460px; margin-inline: auto; }
.uv-study-figure figcaption { margin-top: 10px; color: var(--section-accent); font: 12px/1.6 var(--font-body); }
.art-collection-heading { margin: 0 0 30px; color: var(--section-accent); font: 600 18px/1.4 var(--font-body); }
#win-art .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; align-items: start; }
#win-art .art-item { position: relative; padding: 11px 11px 0; overflow: visible; background: #fffdf5; border: 1px solid #d8cdb9; border-radius: 1px; box-shadow: 3px 5px 0 #aaa08d25; transform: rotate(-1.5deg); }
#win-art .art-item:nth-child(even) { transform: rotate(1.5deg); margin-top: 10px; }
#win-art .art-item::before { content: ''; position: absolute; z-index: 1; width: 63px; height: 19px; left: calc(50% - 31px); top: -10px; background: #b7c6a699; border-inline: 1px dashed #87957766; transform: rotate(-5deg); pointer-events: none; }
#win-art .art-item:nth-child(even)::before { background: #d7b9b199; transform: rotate(5deg); }
#win-art .thumb { height: 190px; aspect-ratio: auto; background-size: contain; background-color: #f2eee3; background-repeat: no-repeat; border: 1px solid #e8e0d0; }
#win-art .thumb:hover { filter: none; box-shadow: inset 0 0 0 2px #9a927766; }
#win-art .caption { padding: 15px 2px 18px; }
#win-art .caption .title { color: #655b4e; font: 600 19px/1.35 var(--font-body); margin-bottom: 7px; }
#win-art .caption .meta { color: #8a8172; font: 12px/1.6 var(--font-body); }

/* Music: a record player and three small sleeves for Suri's soundtrack. */
.record-pressings { margin:0 auto 16px; padding:10px 14px; width:100%; max-width:780px; border:1px solid var(--retro-line); border-radius:5px; color:var(--retro-ink); background:var(--retro-card); }
.record-reward-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:5px 15px; }.record-reward-heading h3 { margin:0; font:600 13px/1.5 var(--font-body); }.record-reward-heading>span { font:11px/1.5 var(--font-body); }
.record-pressings>p { margin:4px 0 0; font:11px/1.6 var(--font-body); }.vinyl-finishes { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }.vinyl-finishes[hidden] { display:none; }
.vinyl-finish-button { display:flex; align-items:center; gap:7px; min-height:44px; padding:5px 10px; border:1px solid transparent; border-radius:4px; background:transparent; color:inherit; cursor:pointer; font:11px/1.4 var(--font-body); }
.vinyl-finish-button[aria-pressed="true"] { border-color:var(--retro-line); background:var(--retro-lilac); }.vinyl-finish-button:focus-visible { outline:2px solid var(--retro-ink); outline-offset:2px; }
.vinyl-finish-swatch { width:25px; height:25px; flex-shrink:0; border:1px solid #65557088; border-radius:50%; background:var(--finish-preview); box-shadow:inset 0 0 0 6px #ffffff0c; }
#win-music[data-vinyl-skin]:not([data-vinyl-skin="black"]) .vinyl-disc { background:repeating-radial-gradient(circle,transparent 0 2px,#3f385b18 3px 4px,transparent 5px 6px),var(--vinyl-finish); box-shadow:inset 0 0 0 2px #65557033,0 2px 4px #231e3350; border-color:#655570; }
#win-music[data-vinyl-skin="clear"] .vinyl-disc { border-color:#c3ceda88; box-shadow:inset 0 0 0 2px #d8e4f044,0 2px 4px #231e3325; }
.song-item[data-listened="true"] .track-name::after { content:' ✓'; color:var(--retro-ink); }
.achievement-entry+.achievement-entry { margin-top:9px; }
.achievement-toast .record-reward-icon { display:block; width:46px; height:46px; flex-shrink:0; border:1px solid var(--retro-ink); border-radius:50%; background:radial-gradient(circle,#d6a6b1 0 22%,#493e5f 24% 27%,transparent 29%),conic-gradient(#b9dfd1,#dca6bd,#e8d7aa,#b9dfd1); }
#win-music .win-body { background: #ded2dc; }
.record-content { min-height: calc(100% - 53px); padding: 28px; background: #e8dee4; }
.record-heading { color: #845b70; margin-bottom: 9px; }
.record-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 26px; align-items: start; }
#win-music .player { min-width: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0; }
#win-music .music-eyebrow { color: #786571; font: 10px/1.6 var(--font-body); letter-spacing: .5px; margin: 0 0 22px; }
.turntable { --record-color: #d6a6b1; position: relative; width: 100%; max-width: 430px; aspect-ratio: 1.32; margin: 0 auto; border: 7px solid #8b9a84; border-bottom-width: 12px; border-radius: 11px; background: linear-gradient(145deg, #b6c2a5, #9ead96); box-shadow: inset 0 0 0 1px #d3d7bd, 0 5px 0 #6c776b, 3px 9px 12px #59465825; }
.turntable-platter { position: absolute; width: 68%; aspect-ratio: 1; left: 5%; top: 7%; border: 5px solid #c7c7b6; border-radius: 50%; background: repeating-radial-gradient(circle, #45464a 0 5px, #4b4b50 6px 8px); box-shadow: 0 0 0 2px #647063, 0 3px 7px #33333150; }
.record-placement { position: absolute; inset: 1px; visibility: hidden; }
.has-record .record-placement { visibility: visible; }
.vinyl-disc { position: relative; width: 100%; height: 100%; border: 2px solid #211f28; border-radius: 50%; background: repeating-radial-gradient(circle, #29262f 0 2px, #3c3842 3px 4px, #26242c 5px 6px); box-shadow: inset 0 0 0 5px #2b2831, 0 2px 4px #231e3350; }
.vinyl-disc::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: conic-gradient(from 15deg, transparent 0 40deg, #ffffff0b 45deg 65deg, transparent 70deg 220deg, #ffffff09 225deg 245deg, transparent 250deg); pointer-events: none; }
.vinyl-label { position: absolute; left: 35%; top: 35%; width: 30%; height: 30%; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; border: 1px solid #fff5e440; background: var(--record-color, #d6a6b1); color: #423342; text-align: center; font: 600 9px/1.3 var(--font-body); letter-spacing: .4px; }
.vinyl-label > span { margin-top: 5px; font-size: .8em; font-weight: 400; }
.record-spindle { position: absolute; left: calc(50% - 3px); top: calc(50% - 3px); width: 6px; height: 6px; border-radius: 50%; background: #e0dacf; border: 1px solid #625b64; box-shadow: 1px 1px 2px #302a34; }
.tonearm { position: absolute; right: 14%; top: 12%; height: 58%; width: 7px; border: 1px solid #756a7e; border-radius: 5px; background: linear-gradient(90deg, #8f8397, #e0d5de 45%, #a293ab); transform-origin: 50% 9px; transform: rotate(-9deg); transition: transform .65s ease; box-shadow: 2px 2px 3px #51465640; }
.tonearm::before { content: ''; position: absolute; width: 27px; height: 27px; left: -11px; top: -5px; border-radius: 50%; border: 3px solid #8a7d90; background: #c2b7c7; box-shadow: inset 0 0 0 4px #a497ab; }
.tonearm::after { content: ''; position: absolute; width: 15px; height: 30px; bottom: -6px; left: -5px; background: #6e5b78; border: 1px solid #51445a; border-radius: 3px; }
.turntable-light { position: absolute; right: 13%; bottom: 10%; width: 8px; height: 8px; border: 1px solid #736c71; border-radius: 50%; background: #727b68; }
#win-music.is-playing .tonearm { transform: rotate(25deg); }
#win-music.is-playing .turntable-light { background: #edce9e; box-shadow: 0 0 5px #edce9e80; }
.record-placement .vinyl-disc { animation: vinyl-turn 1.8s linear infinite; animation-play-state: paused; }
#win-music.is-playing .record-placement .vinyl-disc { animation-play-state: running; }
@keyframes vinyl-turn { to { transform: rotate(360deg); } }
.turntable.is-drop-target .turntable-platter { outline: 2px dashed #795168; outline-offset: 6px; }
#win-music .song-title { color: #695066; font: 600 20px/1.4 var(--font-body); margin: 20px 0 0; text-align: center; }
#win-music .song-time { text-align: center; font: 12px var(--font-body); color: #846e7e; margin: 7px 0 14px; }
#win-music .controls { gap: 16px; margin-bottom: 14px; }
#win-music .control-btn { width: 47px; height: 42px; color: #775568; background: #f3ebe4; border: 1px solid #aa929e; border-radius: 4px; box-shadow: 0 3px 0 #b9a7b2; font-size: 21px; }
#win-music .control-btn:hover { background: #fff8ee; }
#win-music .control-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #b9a7b2; }
#win-music #playBtn { width: 57px; background: #bd8b9b; color: #fffaf0; border-color: #9d7081; box-shadow: 0 3px 0 #9d7081; }
#win-music #playBtn:hover { background: #ad798c; }
#win-music .progress-wrap { accent-color: #a36f87; }
.record-library { min-width: 0; padding: 15px 0; }
.record-library-title { color: #856475; font: italic 26px var(--font-display); margin: 0 0 9px; }
.record-instructions { margin: 0 0 17px; color: #7d6977; font-size: 12px; line-height: 1.65; }
#win-music .song-list { display: grid; gap: 10px; padding: 0; }
#win-music .song-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; min-height: 100px; padding: 7px; font: 13px/1.5 var(--font-body); color: #715c6c; border: 1px solid transparent; border-radius: 4px; cursor: grab; touch-action: none; user-select: none; }
#win-music .song-item:hover { background: #f4eae880; }
#win-music .song-item.active { color: #6b465e; background: #f4eae880; border-color: #b695a7; }
.record-sleeve { position: relative; display: block; width: 84px; aspect-ratio: 1; background: #f8efdc; border: 1px solid #c6bba8; box-shadow: 2px 3px 0 #a08e9f30; transform: rotate(-3deg); }
.song-item:nth-child(2) .record-sleeve { transform: rotate(2deg); }
.record-sleeve .vinyl-disc { position: absolute; width: 78%; height: 78%; top: 9%; left: 17%; }
.record-sleeve .vinyl-label { font-size: 7px; letter-spacing: 0; }
.record-sleeve .vinyl-label > span { margin-top: 1px; }
.song-item.active .record-sleeve .vinyl-disc { opacity: .4; }
.song-item:focus-visible { outline: 2px solid #795168; outline-offset: 3px; }
.track-name { font-family: var(--font-body); }
.record-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
#win-music .music-mute { color: #795769; background: transparent; border: 0; border-radius: 0; font: 12px var(--font-body); padding: 10px 0; margin: 0; min-height: 38px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
#win-music .music-mute:disabled { opacity: .45; cursor: default; text-decoration: none; }
.player-status { color: #8e5068; }
.vinyl-stage { position: relative; width: 100%; height: 380px; margin: 4px 0 10px; overflow: hidden; border-radius: 6px; }
.vinyl-stage[hidden] { display: none; }
.vinyl-canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.vinyl-canvas.can-grab { cursor: grab; }
.vinyl-canvas.is-dragging { cursor: grabbing; }
.vinyl-stage.can-drop { box-shadow: inset 0 0 0 2px #a78098; }
.vinyl-ready .record-layout { display: block; }
.vinyl-ready .player > .turntable { display: none; }
.vinyl-ready .record-library { padding: 0; }
.vinyl-ready .record-library-title, .vinyl-ready .record-sleeve { display: none; }
#win-music.vinyl-ready .song-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0; }
#win-music.vinyl-ready .song-item { display: block; width: auto; min-height: 42px; padding: 8px 16px; cursor: pointer; touch-action: manipulation; }
#win-music.vinyl-ready .song-item::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--record-swatch); }
#win-music.vinyl-ready .song-item:nth-child(1) { --record-swatch: #d6a6b1; }
#win-music.vinyl-ready .song-item:nth-child(2) { --record-swatch: #b9c6a0; }
#win-music.vinyl-ready .song-item:nth-child(3) { --record-swatch: #bcb1d4; }
#win-music.vinyl-ready .song-title { margin-top: 8px; }
.vinyl-ready .record-instructions { margin-bottom: 10px; }
#win-music.vinyl-ready .record-content { display: flex; flex-direction: column; height: auto; min-height: calc(100% - 53px); padding: 14px 18px 24px; }
.vinyl-ready .record-heading { display: none; }
#win-music.vinyl-ready .music-eyebrow { margin-bottom: 6px; }
.vinyl-ready .vinyl-stage { flex: none; height: clamp(540px, calc(100dvh - 230px), 800px); min-height: 540px; margin: 0 0 18px; }
.vinyl-ready .record-layout { flex: none; }
#win-music.vinyl-ready .player { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'title controls' 'time controls' 'seek seek' 'actions actions' 'status status'; gap: 3px 14px; }
#win-music.vinyl-ready .song-title { grid-area: title; margin: 0; text-align: left; font-size: 18px; }
#win-music.vinyl-ready .song-time { grid-area: time; margin: 0; text-align: left; }
#win-music.vinyl-ready .controls { grid-area: controls; margin: 0; gap: 10px; }
.vinyl-ready .progress-wrap { grid-area: seek; margin-block: 7px; }
.vinyl-ready .record-actions { grid-area: actions; }
.vinyl-ready .player-status { grid-area: status; margin: 0; }
.vinyl-ready .player-status:empty { display: none; }
@media (max-width: 559px) {
  .vinyl-stage { height: 420px; }
  #win-music.vinyl-ready .record-content { height: auto; min-height: 0; padding-inline: 14px; }
  .vinyl-ready .vinyl-stage { height: clamp(480px, 68dvh, 660px); min-height: 480px; }
}

/* Journal: an open writing pad with a simple chronological index. */
#win-journal { --section-accent: #80576c; --section-wash: #eee2e5; }
#win-journal .win-body { padding: 0; background: #f9f4e9; }
.journal-icon { width: 27px; height: 27px; flex-shrink: 0; }
.journal-paper { min-height: calc(100% - 53px); padding: 32px 38px 48px; background: linear-gradient(90deg, transparent 19px, #c5959b40 19px 20px, transparent 20px), #faf6ec; }
.journal-paper [hidden] { display: none !important; }
.journal-heading .section-heading { margin-bottom: 6px; }
.journal-heading > p { margin: 0 0 26px; color: #7b6b73; font-size: 14px; }
.journal-filters { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid #d6c9c4; }
.journal-categories { display: flex; flex-wrap: wrap; gap: 5px; }
.journal-categories button { min-height: 38px; padding: 7px 12px; color: #735765; border: 1px solid transparent; border-radius: 3px; background: transparent; cursor: pointer; font-size: 13px; }
.journal-categories button:hover { background: #eddfdf; }
.journal-categories button[aria-pressed="true"] { background: #ead8df; border-color: #b999aa; color: #65435a; }
.journal-search { display: grid; gap: 5px; width: min(100%, 220px); color: #79636f; font-size: 12px; }
.journal-search input { width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid #bca8af; border-radius: 3px; color: var(--text); background: #fffdf6; }
.journal-count { margin: 12px 0 0; color: #83737a; font-size: 12px; }
.journal-count:empty { display: none; }
.journal-entries { list-style: none; margin: 0; padding: 0; }
.journal-entry { margin: 0; padding: 26px 0 28px; border-bottom: 1px dashed #c5afb9; }
.journal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 13px; margin: 0 0 10px; color: #7d6d77; font-size: 12px; line-height: 1.6; }
.journal-category { color: #855a72; }
.journal-spoiler { padding: 1px 6px; border: 1px solid #c4a8a7; border-radius: 3px; color: #895d59; font-size: 11px; }
.journal-entry-title { margin: 0 0 10px; color: #75546a; font: 600 23px/1.3 var(--font-body); }
.journal-entry-title a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.journal-entry-title a:hover { color: #4d3346; }
.journal-excerpt { max-width: 62ch; margin: 0; color: #605a5d; font-size: 14px; line-height: 1.8; }
.journal-empty { padding: 28px 0; margin: 0; color: #83737a; font-size: 14px; }
.journal-back { display: inline-block; min-height: 36px; margin-bottom: 21px; color: #80576c; font-size: 13px; text-underline-offset: 4px; }
.journal-post-header h2 { margin: 0 0 13px; color: #75546a; font: 600 30px/1.25 var(--font-body); overflow-wrap: anywhere; }
.journal-post-header { padding-bottom: 16px; margin-bottom: 23px; border-bottom: 1px solid #d6c9c4; }
.journal-post-body { max-width: 66ch; color: #4f484f; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.journal-post-body p { margin: 0 0 1.2em; white-space: pre-line; }
.journal-image { margin: 0 0 1.8em; }
.journal-image img { display: block; width: 100%; height: auto; border-radius: 3px; }
.journal-image figcaption { margin-top: 8px; color: var(--section-accent); font-size: 12px; line-height: 1.6; }
.journal-post-body .journal-references { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--section-accent); font-size: 13px; }
.journal-references a { color: var(--section-accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (min-width: 769px) and (max-width: 1100px) {
  .dock .right #clock { display: none; }
  .dock .icons .task { padding-inline: 6px; gap: 6px; }
}

@media (max-width: 768px) {
  .section-nav { display: flex; flex-wrap: wrap; gap: 3px; padding: 8px 12px; }
  .section-nav button { flex: 1 0 calc(25% - 6px); min-width: 0; min-height: 37px; font-size: 11px; padding: 8px 5px; }
  .journal-paper { padding: 27px 25px 38px; background-position: -8px 0; }
  .journal-post-header h2 { font-size: 25px; }
  .dock .icons .task { padding-inline: 0; }
  .dock .icons .task .label, .dock .profile span { font-size: 9.5px; }
  .dock .icons .task img, .journal-icon { width: 23px; height: 23px; }
  .section-heading { font-size: 32px; margin-bottom: 25px; }
  .notebook-content { padding: 27px 21px 28px 42px; background-size: 23px 40px, 100% 100%, 100% 28px; background-position: -3px 0, -15px 0, 0 0; }
  #win-projects .project-item { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  #win-projects .thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; transform: none; }
  #win-projects .project-item:nth-of-type(even) .thumb { transform: none; }
  #win-projects .project-title { font-size: 27px; }
  #win-projects .project-secondary-link { margin-left: 0; display: block; }
  .sketchbook-pages { padding: 27px 22px 34px; }
  #win-art .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 29px 17px; }
  #win-art .art-item, #win-art .art-item:nth-child(even) { transform: none; margin-top: 0; }
  #win-art .thumb { height: 180px; }
  .record-content { padding: 25px 22px 28px; }
  .record-layout { grid-template-columns: minmax(0, 1fr) 200px; gap: 22px; }
  #win-music .song-title { font-size: 22px; }
}
@media (max-width: 620px) {
  .record-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #win-music .song-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  #win-music .song-item { grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: center; text-align: center; padding: 7px 3px; }
  .record-sleeve { width: min(84px, 100%); }
  .record-library { padding-top: 0; }
  #win-music .song-item { font-size: 13px; }
  #win-art .art-grid { grid-template-columns: minmax(0, 1fr); }
  #win-art .thumb { height: auto; aspect-ratio: 4 / 3; }
  #win-art .art-item { padding: 12px 12px 0; }
}
@media (max-width: 380px) {
  .dock .icons .task .label, .dock .profile span { font-size: 9px; }
  #win-music .music-eyebrow { font-size: 8px; letter-spacing: 0; }
  #win-music .song-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .record-placement .vinyl-disc { animation: none; }
  .tonearm { transition: none; }
}

