@font-face { font-family: Sora; src: url('assets/sora-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: Caveat; src: url('assets/caveat-700-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --ink: #30362f;
  --muted: #596151;
  --faint: #596151;
  --line: rgb(66 72 56 / 12%);
  --glass: rgb(255 255 252 / 65%);
  --panel: rgb(252 251 247 / 95%);
  --row-hover: rgb(77 99 79 / 6%);
  --accent: #556943;
  --accent-wash: #e8eddf;
  --focus: #537153;
  --shadow: 0 24px 70px rgb(63 67 49 / 13%), 0 3px 12px rgb(63 67 49 / 6%);
  --radius: 22px;
  --ease: cubic-bezier(.2,.8,.25,1);
  --dune-start: #f2dfbf;
  --dune-end: #eacbbd;
  --sky-start: #d3e1df;
  --sky-end: #e8ede2;
  --contour: rgb(116 146 139 / 14%);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #222923;
  --ink: #eeefe5;
  --muted: #b1b8a9;
  --faint: #b1b8a9;
  --line: rgb(220 232 208 / 14%);
  --glass: rgb(50 59 49 / 72%);
  --panel: rgb(41 49 41 / 97%);
  --row-hover: rgb(218 231 208 / 7%);
  --accent: #c2d1ac;
  --accent-wash: #394432;
  --focus: #c2d1ac;
  --shadow: 0 24px 70px rgb(0 0 0 / 25%), 0 3px 12px rgb(0 0 0 / 12%);
  --dune-start: #45442e;
  --dune-end: #494135;
  --sky-start: #304a43;
  --sky-end: #263a31;
  --contour: rgb(165 192 158 / 9%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --paper: #222923; --ink: #eeefe5; --muted: #b1b8a9; --faint: #b1b8a9;
    --line: rgb(220 232 208 / 14%); --glass: rgb(50 59 49 / 72%); --panel: rgb(41 49 41 / 97%);
    --row-hover: rgb(218 231 208 / 7%); --accent: #c2d1ac; --accent-wash: #394432; --focus: #c2d1ac;
    --shadow: 0 24px 70px rgb(0 0 0 / 25%), 0 3px 12px rgb(0 0 0 / 12%);
    --dune-start: #45442e; --dune-end: #494135; --sky-start: #304a43; --sky-end: #263a31; --contour: rgb(165 192 158 / 9%);
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; color: var(--ink); font-family: Sora, -apple-system, BlinkMacSystemFont, sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button { -webkit-tap-highlight-color: transparent; }
button, a, input { touch-action: manipulation; }
button:disabled { cursor: default; }
button, input { border: 0; }
button { background: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
ul, p, h1, h2 { margin: 0; }
ul { padding: 0; list-style: none; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--panel); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.wallpaper { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: radial-gradient(ellipse at 48% 35%, rgb(255 255 255 / 22%), transparent 60%), var(--paper); }
.landscape { width: 100%; height: 100%; stroke: none; }
.dune-start { stop-color: var(--dune-start); }.dune-end { stop-color: var(--dune-end); }
.sky-start { stop-color: var(--sky-start); }.sky-end { stop-color: var(--sky-end); }
.contour { stroke: var(--contour); stroke-width: 1; }.contour-warm { opacity: .7; }

.menubar { padding: 22px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 650; letter-spacing: -.7px; }
.brand img { opacity: .85; }
.brand-dot { color: var(--accent); }
.menu-note { color: var(--muted); font-size: 12px; letter-spacing: .05px; padding-left: 85px; }
.menu-note a { color: var(--ink); margin-left: 3px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.menu-note a:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-actions { display: flex; align-items: center; gap: 10px; }
.search-trigger { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: rgb(255 255 255 / 10%); color: var(--ink); font-size: 12px; }
.search-trigger svg { width: 15px; height: 15px; }
kbd { font: inherit; border: 1px solid var(--line); width: 17px; height: 18px; border-radius: 4px; margin-left: 16px; display: grid; place-items: center; }
.icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; flex-shrink: 0; transition: background .2s; }
.icon-button:hover { background: var(--row-hover); }
.icon-button svg { width: 19px; height: 19px; }
.sun-icon { display: none; }
:root[data-theme='dark'] .sun-icon { display: block; }
:root[data-theme='dark'] .moon-icon { display: none; }
:root[data-theme='dark'] .brand img, :root[data-theme='dark'] .donate-link img { filter: invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .sun-icon { display: block; }
  :root:not([data-theme='light']) .moon-icon { display: none; }
  :root:not([data-theme='light']) .brand img, :root:not([data-theme='light']) .donate-link img { filter: invert(1); }
}

main { width: min(920px, 100%); padding: 23px 40px 18px; margin: auto; outline: none; }
.desktop-heading { text-align: center; margin-bottom: 35px; }
.eyebrow { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }
h1 { font: 700 72px/1.15 Caveat, cursive; letter-spacing: -2px; margin: 5px 0 9px; }
h1 > span { color: var(--accent); }

.app-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 25px; column-gap: 18px; }
.app-tile { position: relative; flex: 0 0 calc((100% - 72px) / 5); min-width: 0; animation: arrive .6s var(--ease) both; animation-delay: calc(var(--order) * 45ms); }
.app-link { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 4px 4px 12px; border-radius: 18px; }
.app-icon { width: 104px; height: 104px; object-fit: contain; user-select: none; transition: transform .32s var(--ease), filter .32s; filter: drop-shadow(0 6px 5px rgb(48 53 32 / 4%)); }
.app-name { font-size: 15px; margin-top: 9px; font-weight: 450; letter-spacing: -.3px; white-space: nowrap; }
.app-link:hover .app-icon, .app-link:focus-visible .app-icon { transform: translateY(-6px) scale(1.06); filter: drop-shadow(0 13px 8px rgb(48 53 32 / 11%)); }
.app-link:active .app-icon { transform: translateY(-1px) scale(.97); transition-duration: .1s; }
.collections { display: flex; justify-content: center; gap: 40px; margin: 34px auto 0; }
.collection { padding: 4px 8px; width: 144px; display: flex; flex-direction: column; align-items: center; border-radius: 14px; }
.collection-name { font-size: 13px; font-weight: 450; letter-spacing: -.25px; white-space: nowrap; margin-top: 12px; }
.collection-detail { font-size: 11px; margin-top: 5px; color: var(--faint); max-width: 100%; line-height: 1.5; text-wrap: balance; }
.folder-icon { --folder-back: #b6ccd1; --folder-top: #a8c6cd; --folder-bottom: #90b7c1; position: relative; display: block; width: 76px; height: 61px; border-radius: 6px 8px 8px 8px; background: var(--folder-back); margin: 12px 0 0; box-shadow: 0 5px 7px rgb(43 64 62 / 10%); transition: transform .3s var(--ease), box-shadow .3s; }
.folder-icon::before { content: ''; position: absolute; width: 33px; height: 8px; left: 0; top: -5px; border-radius: 5px 8px 0 0; background: var(--folder-back); }
.folder-face { display: grid; place-items: center; position: absolute; inset: 7px 0 0; border-radius: 5px 5px 8px 8px; background: linear-gradient(var(--folder-top), var(--folder-bottom)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 36%); transform-origin: bottom; transition: transform .3s; }
.folder-face svg { width: 21px; height: 21px; stroke: rgb(47 87 99 / 52%); stroke-width: 1.4; }
.folder-sheet { position: absolute; top: 3px; left: 7px; right: 7px; height: 47px; border-radius: 3px; background: #f8faf9; border: 1px solid rgb(52 85 75 / 8%); transition: transform .3s var(--ease); }
.sheet-back { transform: rotate(-7deg) translateY(-6px); background: #f1f4ef; }
.sheet-front { transform: rotate(3deg) translateY(-3px); }
.sheet-front svg { width: 32px; height: 32px; stroke: #9ba99e; margin: 2px 10px; }
.collection:hover .folder-icon, .collection:focus-visible .folder-icon { transform: translateY(-4px) rotate(-3deg); box-shadow: 0 10px 10px rgb(43 64 62 / 14%); }
.collection:hover .sheet-back, .collection:focus-visible .sheet-back { transform: rotate(-12deg) translateY(-14px); }
.collection:hover .sheet-front, .collection:focus-visible .sheet-front { transform: rotate(6deg) translateY(-10px); }
.collection:hover .folder-face, .collection:focus-visible .folder-face { transform: perspective(120px) rotateX(-10deg); }
.brewing-icon { width: 73px; height: 73px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 20px; background: rgb(255 255 255 / 10%); }
.brewing-icon > svg { width: 43px; height: 43px; color: var(--muted); stroke-width: 1.65; }
.steam { animation: steam 3s ease-in-out infinite; transform-origin: 32px 22px; }
.brewing:hover .brewing-icon { border-color: var(--accent); }



.desktop-footer { position: relative; display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: auto; padding: 24px 36px 26px; }



.dock { display: flex; align-items: center; gap: 15px; padding: 10px 12px; background: var(--glass); border: 1px solid rgb(255 255 255 / 38%); outline: 1px solid var(--line); border-radius: 20px; box-shadow: 0 6px 20px rgb(43 62 50 / 5%), inset 0 1px 0 rgb(255 255 255 / 25%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.github-link { display: flex; align-items: center; gap: 9px; padding: 3px 5px; border-radius: 11px; }
.github-link > img { border-radius: 50%; }
.github-link > span:not(.dock-arrow) { display: flex; flex-direction: column; gap: 3px; }
.github-link strong { font-size: 13px; font-weight: 550; }
.github-link > span > span { font-size: 10px; color: var(--muted); }
.dock-arrow { color: var(--muted); font-size: 15px; margin-left: 9px; }
.dock-divider { width: 1px; height: 28px; background: var(--line); }
.donate-link { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 12px 12px; border-radius: 11px; background: var(--accent-wash); transition: transform .2s, background .2s; }
.donate-link img { width: 21px; height: 21px; opacity: .75; }
.donate-link > span:last-child { margin-left: 5px; color: var(--muted); }
.github-link:hover { background: var(--row-hover); }.donate-link:hover { transform: translateY(-2px); }

.app-preview { position: fixed; z-index: 10; width: 282px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); animation: preview-in .22s var(--ease) both; }
.preview-top { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.preview-top img { width: 48px; height: 48px; }.preview-top div { flex: 1; }
.preview-title { display: block; font-size: 16px; font-weight: 550; letter-spacing: -.4px; }.preview-date { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.preview-description { font-size: 15px; line-height: 1.85; font-weight: 350; }
.preview-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 17px; padding-top: 13px; font-size: 11px; color: var(--muted); }

.desktop-dialog { padding: 0; border: 1px solid var(--line); width: min(640px, calc(100vw - 40px)); max-height: min(730px, calc(100dvh - 80px)); color: var(--ink); background: var(--panel); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.desktop-dialog[open] { display: flex; flex-direction: column; animation: dialog-in .28s var(--ease) both; }
.desktop-dialog::backdrop { background: rgb(31 41 31 / 16%); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); animation: backdrop-in .25s both; }
.dialog-topbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px 10px 23px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.window-dots { display: flex; align-items: center; gap: 6px; }.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d3b7a4; }.window-dots i:nth-child(2) { background: #ddd0a5; }.window-dots i:nth-child(3) { background: #b7c4aa; }
.window-label { font-size: 11px; color: var(--muted); }
.folder-heading { padding: 28px 30px 23px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-shrink: 0; }
.folder-heading h2 { font-size: 28px; font-weight: 550; letter-spacing: -1px; margin: 8px 0; }
.folder-heading p:last-child { font-size: 13px; color: var(--muted); line-height: 1.7; }
.folder-heading-mark { font-size: 42px; font-weight: 250; color: var(--accent); }
.folder-content { overflow-y: auto; overscroll-behavior: contain; padding: 0 17px 15px; }
.project-row { display: flex; align-items: center; gap: 14px; padding: 17px 13px; border-radius: 12px; transition: background .15s; }
.project-row:hover, .project-row:focus-visible { background: var(--row-hover); }
.project-list > li + li { border-top: 1px solid var(--line); }
.project-monogram { display: grid; place-items: center; width: 34px; height: 39px; flex-shrink: 0; background: var(--accent-wash); border-radius: 7px; color: var(--accent); font-size: 12px; }
.project-row-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.project-row-copy strong { font-size: 15px; font-weight: 550; overflow-wrap: anywhere; letter-spacing: -.25px; }
.project-row-copy > span { color: var(--muted); font-size: 12px; font-weight: 350; line-height: 1.7; }
.row-arrow { font-size: 19px; color: var(--faint); padding-left: 4px; }
.dialog-footer { display: flex; justify-content: space-between; gap: 10px; padding: 15px 29px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); flex-shrink: 0; }
.search-dialog { width: min(600px, calc(100vw - 40px)); }
.search-header { display: flex; align-items: center; gap: 13px; padding: 17px 18px 17px 24px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.search-header > svg { width: 20px; height: 20px; color: var(--muted); }
.search-header input { width: 100%; min-width: 0; padding: 8px 0; outline: none; background: none; font-size: 15px; }
.search-header input:focus-visible { outline: none; }
.search-header input::placeholder { color: var(--muted); }
.search-summary { padding: 17px 26px 3px; color: var(--muted); font-size: 11px; flex-shrink: 0; }
.search-results { overflow-y: auto; overscroll-behavior: contain; padding: 5px 13px 16px; }
.search-result-icon { width: 37px; height: 37px; object-fit: contain; flex-shrink: 0; }
.search-results .project-row-copy > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-category { font-size: 10px; color: var(--faint); white-space: nowrap; }
.search-empty { padding: 40px 24px; text-align: center; font-size: 15px; }.search-empty span { display: block; color: var(--muted); font-size: 12px; margin-top: 10px; }
.key-gap { margin-left: 12px; }
.info-dialog { width: min(380px, calc(100vw - 32px)); padding: 30px; }
.info-dialog > .close-dialog { position: absolute; top: 13px; right: 13px; }
.info-hero { width: 84px; height: 84px; margin-bottom: 13px; }
.info-dialog h2 { font-size: 26px; letter-spacing: -.7px; margin: 8px 0 14px; font-weight: 550; }
.info-description { font-size: 15px; color: var(--muted); line-height: 1.9; }
.info-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 24px; background: var(--accent-wash); border-radius: 12px; padding: 15px 17px; font-size: 13px; }
.info-dialog .brewing-icon { margin-bottom: 23px; }.brewing-note { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.noscript-projects { max-width: 700px; margin: 30px auto; padding: 20px; }.noscript-projects h2 { margin: 20px 0; }

@keyframes arrive { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes steam { 0%,100% { opacity: .35; transform: translateY(2px); } 50% { opacity: .9; transform: translateY(-2px); } }
@keyframes preview-in { from { opacity: 0; transform: translateY(5px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1200px) and (min-height: 860px) {
  main { padding-top: 28px; padding-bottom: 27px; }
  .desktop-heading { margin-bottom: 43px; }
  .app-grid { row-gap: 32px; }
  .collections { margin-top: 40px; }
}
@media (max-width: 1100px) {
  .menu-note { display: none; }
}
@media (max-width: 600px) {
  .menubar { padding: 15px 20px; min-height: 68px; }
  .brand { font-size: 16px; }.brand img { width: 21px; height: 21px; }
  .menu-actions { gap: 4px; }
  .search-trigger { padding: 10px; border: 0; border-radius: 50%; }.search-trigger svg { width: 19px; height: 19px; }
  .search-trigger span, .search-trigger kbd { display: none; }
  main { padding: 30px 18px 18px; }
  .desktop-heading { margin-bottom: 32px; }
  h1 { font-size: 62px; margin-top: 7px; margin-bottom: 10px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.7px; }
  .app-grid { gap: 22px 3px; }
  .app-tile { flex-basis: calc((100% - 9px) / 4); }
  .app-link { padding: 4px 0 12px; }
  .app-icon { width: min(20vw, 86px); height: min(20vw, 86px); }
  .app-name { font-size: 11px; margin-top: 9px; letter-spacing: -.3px; }
  .collections { gap: 2px; margin-top: 34px; }
  .collection { width: 33.333%; padding: 4px; }
  .collection-name { font-size: 12px; }.collection-detail { font-size: 10px; }
  .folder-icon { width: 65px; height: 53px; margin-top: 11px; }.folder-sheet { height: 40px; }
  .brewing-icon { width: 64px; height: 64px; border-radius: 17px; }.brewing-icon > svg { width: 37px; height: 37px; }
  .desktop-footer { padding: 24px 12px max(24px, env(safe-area-inset-bottom)); }
  .dock { gap: 10px; padding: 9px; border-radius: 18px; max-width: 100%; }
  .github-link { padding: 2px; gap: 8px; }.github-link > img { width: 29px; height: 29px; }.github-link strong { font-size: 12px; }.github-link > span > span { font-size: 9px; }.dock-arrow { display: none; }
  .donate-link { gap: 7px; padding: 12px 9px; font-size: 11px; }.donate-link img { width: 18px; height: 18px; }.donate-link > span:last-child { margin-left: 0; }
  .desktop-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 48px); border-radius: 20px; }
  .folder-heading { padding: 22px 22px 18px; }.folder-heading h2 { font-size: 26px; }
  .folder-content { padding: 0 10px 12px; }.project-row { gap: 11px; padding: 15px 11px; }
  .project-row-copy strong { font-size: 13px; }.project-row-copy > span { font-size: 12px; }.project-monogram { width: 29px; }
  .dialog-footer { padding: 14px 21px; font-size: 10px; }.dialog-footer > span:last-child { max-width: 50%; text-align: right; }
  .search-header { gap: 10px; padding: 13px 12px 13px 20px; }.search-header input { font-size: 16px; }.search-header input::placeholder { font-size: 13px; }
  .search-category { display: none; }.info-dialog { width: calc(100vw - 32px); max-width: 380px; }
}
@media (max-width: 359px) {
  .app-tile { flex-basis: calc((100% - 6px) / 3); }
  .app-icon { width: 78px; height: 78px; }
  .app-name { font-size: 12px; }
  .donate-link { font-size: 10px; gap: 6px; }.github-link > span > span { display: none; }.dock { gap: 9px; }
  .collection-detail { font-size: 9px; }
}
@media (hover: none), (pointer: coarse) {
  .app-link:hover .app-icon { transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .app-link:hover .app-icon, .app-link:focus-visible .app-icon, .collection:hover .folder-icon { transform: none; }
}
