html{scroll-behavior:smooth;scroll-padding-top:80px}body{flex-direction:column;min-height:100vh;display:flex}.footer{margin-top:auto}.wrap{box-sizing:border-box;width:100%;max-width:90rem;margin:0 auto;padding:0 16px}h1,h2,.brand,.card-title{font-family:var(--serif)}.skip{position:absolute;left:-999px}.skip:focus{z-index:10;background:var(--card);padding:8px 12px;top:12px;left:16px}.topbar{z-index:5;background:var(--bar);color:var(--bar-ink);position:sticky;top:0;box-shadow:0 1px #00000014}.topbar-inner{justify-content:space-between;align-items:center;gap:12px;min-height:60px;display:flex}.brand{color:inherit;white-space:nowrap;align-items:center;gap:10px;font-size:1.25rem;text-decoration:none;display:inline-flex}.brand-mark{flex:none;width:40px;height:40px}nav{gap:4px;display:flex}nav a{color:inherit;border-radius:6px;padding:8px 10px;font-size:.95rem;text-decoration:none}nav{align-items:center}nav a{white-space:nowrap}.theme-toggle{width:40px;height:40px;color:inherit;cursor:pointer;background:0 0;border:1.5px solid;border-radius:50%;place-items:center;margin-left:6px;padding:0;display:inline-grid}.theme-toggle svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.theme-toggle .icon-sun{display:none}:root[data-theme=dark] .theme-toggle .icon-sun{display:block}:root[data-theme=dark] .theme-toggle .icon-moon{display:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .theme-toggle .icon-sun{display:block}:root:not([data-theme=light]) .theme-toggle .icon-moon{display:none}}nav a[aria-current=page]{text-underline-offset:6px;text-decoration:underline 2px}.theme-toggle:focus-visible,.topbar a:focus-visible{outline:3px solid var(--bar-ink);outline-offset:3px}.hero{background:var(--hero);border-bottom:1px solid var(--grid-line);position:relative;overflow:hidden}.hero-art{opacity:.9;width:min(60%,1000px);height:100%;position:absolute;inset:0 0 0 auto;-webkit-mask-image:linear-gradient(90deg,#0000,#000 40%);mask-image:linear-gradient(90deg,#0000,#000 40%)}.art-grid{fill:none;stroke:var(--grid-line);stroke-width:1.5px}.art-axes{stroke:var(--green);stroke-opacity:.35;stroke-width:2px}.art-dot{fill:var(--maroon);opacity:0;stroke:#0000;stroke-width:30px;pointer-events:all;cursor:grab;touch-action:none;transition:r .15s;animation:.4s ease-out 2.5s forwards dot-in}.art-dot.is-held{cursor:grabbing;r:12px}.art-dot.is-gone{visibility:hidden}.guide{fill:none;stroke:var(--maroon);stroke-width:2.5px;stroke-dasharray:7 6;stroke-linecap:round;opacity:0;pointer-events:none;transition:opacity .2s ease-out}.guide.is-shown{opacity:.8;transition-duration:.1s}@media (prefers-reduced-motion:reduce){.guide{transition:none}}.secret{z-index:6;border:1.5px solid var(--box-line);background:var(--box);max-width:calc(100vw - 32px);box-shadow:var(--shadow);font-family:var(--serif);color:var(--ink);visibility:hidden;opacity:0;pointer-events:none;border-radius:8px;margin:0;padding:10px 16px;font-size:1.1rem;line-height:1.3;position:fixed;top:72px;left:16px;transform:translateY(-8px)}.secret.is-shown{visibility:visible;opacity:1;transition:opacity .3s ease-out,transform .4s cubic-bezier(.16,1,.3,1);transform:none}.secret-lead{color:var(--green-ink);font-style:italic}.secret-count{color:var(--maroon);font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){.secret.is-shown{transition:none}}@keyframes dot-in{to{opacity:1}}.hero-curve{fill:none;stroke:var(--green);stroke-width:5px;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1px;animation:2.4s ease-out .2s forwards draw}@keyframes draw{to{stroke-dashoffset:0}}@media (prefers-reduced-motion:reduce){.hero-curve{stroke-dashoffset:0;animation:none}.art-dot{opacity:1;animation:none}html{scroll-behavior:auto}}.hero-inner{pointer-events:none;padding-top:72px;padding-bottom:80px;position:relative}.hero-inner>*{pointer-events:auto}.hero-head{align-items:center;gap:clamp(16px,2.5vw,28px);display:flex}.hero-mark{flex:none;width:auto;height:clamp(84px,11vw,136px)}.hero h1{max-width:14ch;color:var(--green);margin:0;font-size:clamp(2.4rem,7vw,4rem);font-weight:400;line-height:1.05}.lede{max-width:34rem;color:var(--ink);margin:18px 0 0;font-size:1.15rem}.hero-actions{flex-wrap:wrap;gap:12px;margin-top:28px;display:flex}.button{border:1.5px solid var(--green);background:var(--green);color:var(--green-on);font:inherit;cursor:pointer;border-radius:6px;padding:11px 20px;font-weight:600;text-decoration:none;transition:filter .15s;display:inline-block}.button-ghost{color:var(--green-ink);background:0 0}#main{padding-top:36px;padding-bottom:72px}.page-head{border-bottom:2px solid var(--green);margin-bottom:24px;padding:12px 0 14px}.page-head h1{color:var(--green);margin:0;font-size:clamp(2rem,5vw,2.6rem);font-weight:400;line-height:1.1}.page-head p{color:var(--muted);margin:6px 0 0}.lock-again{color:var(--green-ink);margin-top:10px}.page .filters{margin-bottom:24px}.page .empty{margin-top:24px}.doors{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px;display:grid}.door{border:1.5px solid var(--box-line);background:var(--card);color:var(--ink);box-shadow:var(--shadow);border-radius:10px;flex-direction:column;gap:8px;padding:26px 26px 24px;text-decoration:none;transition:box-shadow .18s;display:flex}.door-title{color:var(--green);font-family:var(--serif);align-items:center;gap:10px;font-size:1.7rem;line-height:1.15;display:inline-flex}.door-lock{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.door-text{color:var(--muted)}.door-meta{color:var(--maroon);letter-spacing:.06em;text-transform:uppercase;margin-top:auto;padding-top:6px;font-size:.8rem}.filters{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filters-label{color:var(--muted);margin-right:4px}.chip{border:1.5px solid var(--box-line);background:var(--card);color:var(--ink);font:inherit;cursor:pointer;border-radius:999px;padding:7px 14px;font-size:.95rem}.chip[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--green-on)}.tool-section{margin-top:44px}.section-head{border-bottom:2px solid var(--green);flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-bottom:20px;padding-bottom:10px;display:flex}.section-head h2,.about h2{color:var(--green);margin:0;font-size:1.8rem;font-weight:400}.section-head p{color:var(--muted);margin:0}.grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:24px;margin:0;padding:0;list-style:none;display:grid}.card{transition:transform .18s;position:relative}.card[hidden]{display:none}.card-link{border:1.5px solid var(--box-line);background:var(--card);height:100%;color:var(--ink);box-shadow:var(--shadow);border-radius:10px;flex-direction:column;text-decoration:none;transition:transform .18s,box-shadow .18s;display:flex;overflow:hidden}.card-picture{aspect-ratio:16/10;background:var(--box);border-bottom:1.5px solid var(--box-line);display:block;position:relative}.card-picture img{object-fit:cover;object-position:top center;width:100%;height:100%;display:block}.badge-new[hidden]{display:none}.badge-new{background:var(--maroon);color:var(--badge-ink);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:3px 10px;font-size:.8rem;font-weight:700;position:absolute;top:12px;left:12px}.card-body{flex-direction:column;flex:1;gap:6px;padding:18px 20px 20px;display:flex}.card-course{color:var(--maroon);letter-spacing:.06em;text-transform:uppercase;font-size:.8rem}.card-title{font-size:1.35rem;font-weight:700;line-height:1.2}.card-text{color:var(--muted)}.card-open{color:var(--green-ink);align-self:flex-start;margin-top:auto;padding-top:8px;font-weight:600}.copy-link{border:1.5px solid var(--box-line);background:var(--card);min-height:40px;color:var(--green-ink);font:inherit;cursor:pointer;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:.9rem;font-weight:600;display:inline-flex;position:absolute;bottom:12px;right:12px}.copy-link svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round}.copy-link.is-copied{border-color:var(--maroon);color:var(--maroon)}.empty{border:1.5px dashed var(--box-line);color:var(--muted);text-align:center;border-radius:10px;margin:0;padding:20px}.locked-teacher{margin-top:44px}.locked-wrap{position:relative}.ghost-grid{filter:blur(5px);opacity:.75;pointer-events:none;user-select:none}.ghost-card{border:1.5px solid var(--box-line);background:var(--card);border-radius:10px;flex-direction:column;gap:10px;padding-bottom:22px;display:flex;overflow:hidden}.ghost-picture{aspect-ratio:16/10;background:linear-gradient(160deg, transparent 45%, var(--green) 46%, var(--green) 49%, transparent 50%), repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 28px), var(--hero);margin-bottom:8px;display:block}.ghost-picture-1{background:linear-gradient(20deg, transparent 50%, var(--maroon) 51%, var(--maroon) 53%, transparent 54%), repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 28px), var(--box)}.ghost-picture-2{background:linear-gradient(90deg, var(--green) 0 30%, transparent 30%) 20px 60% / 70% 14px no-repeat, linear-gradient(90deg, var(--grid-line) 0 100%) 20px 35% / 50% 14px no-repeat, var(--hero)}.ghost-line{background:var(--grid-line);border-radius:6px;height:12px;margin:0 20px;display:block}.ghost-line-short{background:var(--maroon);opacity:.4;width:35%}.ghost-line-title{background:var(--muted);opacity:.5;width:70%;height:18px}.ghost-line-mid{width:55%}.lock-overlay{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:24px 16px;display:flex;position:absolute;inset:0}.lock-badge{background:var(--green);width:64px;height:64px;box-shadow:var(--shadow-lift);border-radius:50%;place-items:center;margin-bottom:6px;display:grid}.lock-badge svg{fill:none;stroke:var(--green-on);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.lock-title{font-family:var(--serif);color:var(--green);margin:0;font-size:1.5rem}.lock-text{max-width:22rem;color:var(--ink);margin:0 0 12px}.about{border:1.5px solid var(--box-line);background:var(--box);border-radius:10px;margin-top:48px;overflow:hidden}.about h2{background:var(--bar);color:var(--bar-ink);padding:12px 22px;font-size:1.7rem}.about-layout{grid-template-columns:minmax(0,clamp(300px,24vw,380px)) minmax(0,1fr);gap:8px 32px;padding:22px;display:grid}.about-body{min-width:0}.photos{margin:0}.photo-frame{aspect-ratio:1;border:1.5px solid var(--box-line);background:var(--card);box-shadow:var(--shadow);border-radius:10px;position:relative;overflow:hidden}.photo{object-fit:cover;opacity:0;width:100%;height:100%;transition:opacity .9s cubic-bezier(.16,1,.3,1);position:absolute;inset:0}.photo.is-shown{opacity:1}.photo-caption{min-height:2.9em;color:var(--muted);font-family:var(--serif);margin:10px 2px 4px;font-size:1.02rem;font-style:italic;line-height:1.4}.photo-controls{align-items:center;gap:4px;display:flex}.photo-dots{flex:1;justify-content:center;display:flex}.photo-button{border:1.5px solid var(--box-line);background:var(--card);width:40px;height:40px;color:var(--green-ink);cursor:pointer;border-radius:6px;place-items:center;padding:0;display:grid}.photo-button svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round}.photo-button .icon-play{fill:currentColor;stroke-width:1.5px}.photo-button .icon-play,.photo-button.is-paused .icon-pause{display:none}.photo-button.is-paused .icon-play{display:block}.photo-dot{cursor:pointer;background:0 0;border:0;width:28px;height:40px;padding:0}.photo-dot:before{content:"";border:1.5px solid var(--green-ink);border-radius:50%;width:10px;height:10px;margin:auto;transition:background-color .2s;display:block}.photo-dot[aria-current]:before{background:var(--maroon);border-color:var(--maroon)}.photo-button:focus-visible,.photo-dot:focus-visible{outline:3px solid var(--maroon);outline-offset:2px}@media (hover:hover){.photo-button:hover{background:var(--hero)}.photo-dot:hover:before{background:var(--box-line)}}@media (prefers-reduced-motion:reduce){.photo{transition:none}}.resume-card{border-top:1.5px solid var(--grid-line);margin-top:22px;padding-top:18px}.resume-card h3{color:var(--green);font-family:var(--serif);margin:0 0 6px;font-size:1.35rem;font-weight:400;line-height:1.2}.resume-card ul{margin:0;padding-left:1.2em;font-size:.95rem}.resume-card li{margin:3px 0}.resume-card li::marker{color:var(--maroon)}.resume-card-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.resume-card-actions .button{padding:9px 14px;font-size:.95rem}@media (width<=720px){.about-layout{grid-template-columns:minmax(0,1fr)}.about-side{width:100%;max-width:420px;margin:0 auto 14px}}.resume-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px 24px;display:flex}.resume-head .resume-role{color:var(--ink);font-family:var(--serif);margin-top:4px;font-size:1.35rem}.resume-head a:not(.button){color:var(--green-ink);text-underline-offset:3px}.resume-head .button,.resume-card .button{align-items:center;gap:8px;display:inline-flex}.resume-head svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.resume{padding-bottom:56px}@media (width>=1180px){.resume-body{grid-template-columns:minmax(0,40rem) minmax(0,1fr);gap:0 56px;display:grid}}.resume-section{max-width:40rem;margin-top:40px}.resume-section h2{border-bottom:2px solid var(--green);color:var(--green);margin:0 0 14px;padding-bottom:6px;font-size:1.8rem;font-weight:400;line-height:1.2}.resume-section p{margin:0}.resume-place{font-weight:600}.resume-role-block{margin-top:22px}.resume-role-block h3{font-family:var(--serif);margin:0;font-size:1.35rem;font-weight:700;line-height:1.25}.resume-dates{color:var(--maroon);letter-spacing:.06em;text-transform:uppercase;font-size:.8rem;margin:2px 0 6px!important}.resume-section ul{margin:0;padding-left:1.3em}.resume-section li{margin:4px 0}.resume-section li::marker{color:var(--maroon)}.resume-section li ul{margin-top:4px}.resume-section li li::marker{color:var(--green)}.resume-section a{color:var(--green-ink);text-underline-offset:3px}.resume-skills{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:0 32px;display:grid}.resume-foot{color:var(--muted);margin-top:40px;font-style:italic}.resume-section a:focus-visible,.resume-head a:focus-visible,.footer .link-button:focus-visible{outline:3px solid var(--maroon);outline-offset:3px}@media print{.topbar,.footer,.resume-head .button{display:none}}.about-intro{max-width:60ch;margin:0 0 12px}.about-groups{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:8px 40px;margin:22px 0 6px;display:grid}.about-group h3{color:var(--green);line-height:1.2;font-family:var(--serif);margin:0 0 6px;font-size:1.35rem;font-weight:400}.about-group ul{margin:0;padding-left:1.2em}.about-group li{margin:3px 0}.about-group li::marker{color:var(--maroon)}.about-outside{color:var(--muted);margin:18px 0 0}.about-contact{border-top:1.5px solid var(--grid-line);flex-wrap:wrap;align-items:center;gap:10px 16px;margin:22px 0 0;padding-top:18px;display:flex}.about-contact .button{text-align:left;align-items:center;gap:8px;max-width:100%;display:inline-flex}.about-contact svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linejoin:round;flex:none}.footer-email{color:inherit;text-underline-offset:3px}.footer-email:focus-visible{outline-offset:3px;outline:3px solid #f2d3dc}.footer{background:var(--green-deep);color:#e6efe4}.footer-inner{flex-wrap:wrap;justify-content:space-between;gap:20px;padding-top:32px;padding-bottom:32px;display:flex}.footer p{margin:0}.footer .footer-logo{margin-bottom:14px}.footer-logo img{width:180px;height:auto;display:block}.footer-right{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.footer-small{opacity:.75;font-size:.85rem}.link-button{color:inherit;font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}@media (width<=1000px){.hero-art{opacity:.3}}@media (width<=640px){.ghost-card:nth-child(n+2){display:none}}@media (width<=430px){.brand-long{display:none}}@media (width<=700px){.nav-long{display:none}}@media (width<=400px){.nav-about{display:none}}@media (width<=360px){.topbar .brand-mark{width:32px;height:32px}.topbar .brand{gap:6px;font-size:.95rem}.topbar nav a{padding:8px 4px;font-size:.88rem}}@media (width<=560px){.footer-right{align-items:flex-start}.brand{font-size:1.05rem}nav a{padding:8px 6px}.hero-art{opacity:.16;width:100%}.art-dot{pointer-events:none}.hero-inner{padding-top:48px;padding-bottom:56px}}dialog{border:1.5px solid var(--box-line);background:var(--card);width:min(26rem,100% - 32px);color:var(--ink);box-shadow:var(--shadow-lift);border-radius:10px;padding:0}dialog::backdrop{background:#0a140c73}#login-form{padding:22px}#login-form h2{color:var(--green);margin:0 0 14px;font-weight:400}#login-form label{margin-bottom:6px;font-weight:600;display:block}#login-form input{border:1.5px solid var(--box-line);background:var(--bg);width:100%;color:var(--ink);font:inherit;border-radius:6px;padding:10px 12px}.login-message{min-height:1.5em;color:var(--maroon);margin:8px 0 0}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:10px;display:flex}.button:focus-visible,.chip:focus-visible,.card-link:focus-visible,.copy-link:focus-visible,.door:focus-visible,.link-button:focus-visible,#login-form input:focus-visible{outline:3px solid var(--maroon);outline-offset:3px}@media (hover:hover){nav a:hover,.theme-toggle:hover{background:#ffffff24}.button:hover{filter:brightness(1.1)}.door:hover{box-shadow:var(--shadow-lift);transform:translateY(-4px)}.card:hover{transform:translateY(-4px)}.card:hover .card-link{box-shadow:var(--shadow-lift)}.copy-link:hover{background:var(--box)}.card-link:hover .card-open{text-underline-offset:3px;text-decoration:underline}}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.nf-problem{border:1.5px solid var(--box-line);background:var(--box);border-radius:10px;max-width:34rem;padding:24px 28px}.nf-math{font-family:var(--serif);flex-wrap:wrap;align-items:baseline;gap:0 16px;margin:0;font-size:clamp(2.2rem,8vw,3.4rem);line-height:1.2;display:flex}.nf-answer{color:var(--maroon);font-style:italic}.nf-note{color:var(--muted);margin:12px 0 0}.nf-actions{flex-wrap:wrap;gap:12px;margin:28px 0 0;display:flex}
