@font-face {
    font-family: "Permanent Marker";
    src: url("fonts/permanent-marker.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #292820;
    --desk-color: #f3f3f3;
    background: var(--desk-color);
    font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; height: 100dvh; overflow: hidden; display: grid; grid-template-columns: 46% 54%; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #2828a0; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.paper {
    display: flex;
    flex-direction: column;
    font-family: "Courier New", Courier, monospace;
    position: relative;
    margin: 24px 0 24px 24px;
    min-height: 0;
    background: #fdfcf9;
    box-shadow: 1px 2px 4px #00000012, 5px 8px 20px #0000000a;
    isolation: isolate;
}
.paper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .16;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23808080' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.holes { position: absolute; inset: 9% auto 9% 21px; display: flex; flex-direction: column; justify-content: space-between; }
.holes i { width: 17px; height: 17px; border-radius: 50%; background: var(--desk-color); box-shadow: inset 1px 2px 3px #00000025, 0 1px 0 white; }
.paper-content { flex: 1; min-height: 0; overflow-y: auto; padding: clamp(12px, 2.5vh, 28px) 54px 28px; text-align: center; }
.profile-logo {
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, calc(100% + 64px));
    height: auto;
    filter: url(#printed-ink);
}
.paper-content > header { padding-bottom: 24px; }
.paper .brand { margin: 0 0 16px; line-height: 1; }
.paper .reading h2 { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.paper a { text-decoration-thickness: 1px; }
p { line-height: 1.55; margin: 0; }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 15px; }
nav a { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; }
.reading { margin-top: 42px; display: grid; gap: 24px; }
.reading h2 { margin: 0 0 8px; font-size: 15px; font-weight: 500; }
.reading a { display: block; width: fit-content; margin-inline: auto; padding-block: 5px; font-size: 13px; line-height: 1.4; }
.paper-footer { flex: none; padding: 12px 36px 24px; text-align: center; font-size: 11px; letter-spacing: .08em; color: #68665d; }
.paper-footer nav { margin-top: 0; color: #292820; letter-spacing: normal; }
.paper-footer p { margin-top: 8px; }
.project-pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding-top: 24px; container-type: inline-size; }
.project-header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.project-header h2, .project-header span { margin: 0; font-size: 12px; font-weight: 400; }
.project-header span { color: #646258; }
.project-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; overflow-anchor: none; scrollbar-width: none; }
.project-scroll::-webkit-scrollbar { display: none; }
.project-scroll:focus-visible { outline-offset: -6px; }
.index-view { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 24px; }
.index-view:focus-visible { outline-offset: -6px; }
.index-table { width: 100%; border-collapse: collapse; table-layout: fixed; font: 13px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: left; color: #171717; }
.index-table thead { position: sticky; top: 0; background: var(--desk-color); }
.index-table th, .index-table td { padding: 9px 16px 9px 0; vertical-align: top; overflow-wrap: anywhere; border-bottom: 1px solid #0000001a; }
.index-table th:last-child, .index-table td:last-child { padding-right: 0; }
.index-table thead th { font-size: 11px; font-weight: 500; color: #626262; border-bottom-color: #00000050; }
.index-table thead th:first-child { width: 32%; }
.index-table tbody th { font-weight: 400; }
.index-table a { text-decoration: none; }
.index-table a:hover { text-decoration: underline; }
.index-table tbody tr:hover { background: #ffffff60; }
.view-switcher { display: flex; justify-content: center; gap: 6px; padding: 0 0 16px; }
.view-switcher button { min-height: 36px; padding: 6px 14px; font: 12px "Courier New", Courier, monospace; color: #68665d; border: 0; border-radius: 3px; background: transparent; cursor: pointer; }
.view-switcher button[aria-pressed="true"] { background: #292820; color: #fff; }
.view-switcher button:hover:not([aria-pressed="true"]) { background: #e7e7e7; }
.project-set {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 20px;
    align-items: start;
    padding: 0 24px 24px;
}
.post-it {
    font-family: "Permanent Marker", cursive;
    color: #171717;
    position: relative;
    min-width: 0;
    width: 100%;
    aspect-ratio: 1;
    margin: 0;
    padding: 20px 18px 48px;
    background: var(--note-color);
    transform: rotate(var(--rotation));
    transform-origin: 50% 0;
    box-shadow: 0 1px 1px #00000012, 1px 5px 7px -3px #00000024, 3px 12px 12px -10px #00000028;
    background-image:
        linear-gradient(180deg, #00000004, transparent 10%, #ffffff0c 15%, transparent 28%, #ffffff04 78%, #00000004 100%),
        radial-gradient(ellipse at 15% 35%, #ffffff08, transparent 65%),
        radial-gradient(ellipse at 95% 95%, #00000004, transparent 48%);
    isolation: isolate;
    overflow-wrap: anywhere;
}
.post-it::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .055;
    mix-blend-mode: multiply;
    background-size: 180px 180px;
    background-image: url("paper-texture.svg");
}
.post-it::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-radius: 0 0 12px 0;
    background:
        radial-gradient(ellipse at 100% 100%, #fff9, transparent 23%),
        linear-gradient(174deg, transparent 83%, #0000000a 92%, #ffffff40 99%);
    opacity: .35;
}
.post-it:focus-within { z-index: 2; box-shadow: 0 1px 2px #00000014, 3px 16px 20px -9px #00000036, 7px 28px 28px -16px #00000026; }
@media (hover: hover) and (pointer: fine) {
    .post-it:hover { z-index: 2; box-shadow: 0 1px 2px #00000014, 3px 16px 20px -9px #00000036, 7px 28px 28px -16px #00000026; }
    .post-it:hover::after { opacity: .9; }
}
@media (prefers-reduced-motion: no-preference) {
    .post-it { transition: transform 220ms ease-out, box-shadow 220ms ease-out; }
    .post-it::after { transition: opacity 220ms ease-out; }
    .post-it:focus-within { transform: perspective(900px) rotate(var(--rotation)) rotateX(9deg); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .post-it:hover { transform: perspective(900px) rotate(var(--rotation)) rotateX(9deg); }
}
.note-number { font-family: "Courier New", Courier, monospace; font-size: 11px; color: #555143; }
.post-it h3 { font-size: clamp(16px, 2.4cqw, 24px); font-weight: 400; line-height: 1.2; letter-spacing: 0; margin: 16px 0 12px; }
.post-it p { font-size: 13px; line-height: 1.5; max-width: 44ch; }
.post-it a { text-decoration: none; }
.note-label { font-family: "Courier New", Courier, monospace; display: inline-block; margin-top: 16px; font-size: 11px; color: #555143; }
.note-annotations {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    color: #46483e;
    filter: url(#printed-ink);
    pointer-events: none;
    user-select: none;
}
.note-annotations text { fill: currentColor; font: italic 9px "Courier New", Courier, monospace; }
.note-annotations path { fill: none; stroke: currentColor; stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }
.note-annotations .revision-marks { opacity: .2; }
.paper-projects { margin-top: 42px; }
.paper-projects h2 { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 28px; }
.paper-projects article + article { margin-top: 30px; }
.paper-projects h3 { font-size: 15px; font-weight: 400; margin: 0 0 10px; }
.paper-projects p { font-size: 13px; line-height: 1.6; max-width: 42ch; margin-inline: auto; }
.thoughts-pane { min-width: 0; min-height: 0; overflow-y: auto; display: grid; place-items: center; padding: 40px 32px; }
.thought-card { width: min(100%, 400px); padding: 36px; display: grid; place-items: center; text-align: center; }
.thought-card p { font-size: clamp(24px, 2.5vw, 36px); font-weight: 400; line-height: 1.35; max-width: 14ch; text-wrap: balance; }
@container (max-width: 620px) {
    .project-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 400px) {
    .project-set { grid-template-columns: minmax(0, 1fr); padding-inline: 28px; }
}
@media (max-width: 680px) {
    body { display: block; height: auto; overflow: auto; }
    .paper { margin: 12px; min-height: calc(100svh - 24px); }
    .paper-content { flex: 1 0 auto; overflow: visible; padding: 8px 36px 24px; }
    .holes { left: 15px; }
    .holes i { width: 12px; height: 12px; }
    .profile-logo { width: min(360px, calc(100% + 24px)); margin-bottom: 12px; }
    .paper-content > header p { font-size: 14px; }
    nav { margin-top: 6px; }
    .reading { margin-top: 24px; }
    .paper-footer { padding: 4px 24px 10px; }
    .project-pane { padding-top: 18px; }
    .post-it { padding: 24px 24px 48px; }
    .post-it h3 { font-size: 22px; margin: 18px 0 12px; }
    .post-it p { font-size: 14px; line-height: 1.45; }
    .note-label { margin-top: 16px; }
    .thoughts-pane { display: none; }
    .thought-card { padding: 28px; }
    .thought-card p { font-size: clamp(22px, 6vw, 30px); line-height: 1.35; }
}
