:root{--bg:#fff;--surface:#f4f4f4;--card:#fff;--fg:#262626;--muted:#737373;--dim:#8a8a8a;--line:rgba(0,0,0,.12);--line-2:rgba(0,0,0,.22);--gold:#6e6e6e;--up:#54786b;--down:#6e6e6e;--font:'DM Sans',sans-serif;--serif:'Cormorant Garamond',Georgia,serif;color-scheme:light}
body{margin:0;background:var(--bg);color:var(--fg);font-size:14px}
body:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.3;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' 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%3Crect width='100%25' height='100%25' opacity='.13' filter='url(%23n)'/%3E%3C/svg%3E")}
.wrap{max-width:1300px;padding-inline:60px}#site{opacity:1;filter:none;transform:none}
header.nav{background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}
.nav .wrap{height:84px;gap:28px}.logo{font-family:var(--serif);font-size:24px;font-weight:500}.nav nav{border:0;gap:30px}.nav nav a{font-size:12px}.nav .tag{font-size:10px;letter-spacing:.15em}.nav .btn{font-size:11px;padding:11px 18px;border-radius:0}.nav #sign-in{background:transparent;color:var(--fg);border-color:var(--line-2)}
.btn{border-radius:0;background:#30322c;border:1px solid #30322c;color:#fff;font-weight:400;box-shadow:none}.btn.ghost{color:var(--fg);background:transparent;border-color:var(--line-2)}.link{font-size:12px}.label{font-size:9px;letter-spacing:.17em;color:var(--muted);font-weight:400;text-transform:uppercase}
.editorial-hero{position:relative;min-height:650px;padding-top:35px;padding-bottom:65px;display:flex;flex-direction:column;justify-content:center;isolation:isolate}
.hero-meta{position:absolute;top:30px;left:60px;right:60px;display:flex;justify-content:space-between;font:9px var(--mono);text-transform:uppercase;letter-spacing:.15em;color:var(--muted)}
.editorial-hero .eyebrow-serif{margin-top:50px;font-size:22px;color:var(--muted)}
h1,h2,h3{font-family:var(--serif);font-weight:400;color:var(--fg);letter-spacing:-.035em}
h1{font-size:clamp(62px,7.8vw,116px);line-height:.98;max-width:none;text-wrap:initial;z-index:1}
h1 em,h2 em{font-weight:400;color:#a29d91}h1 em{color:var(--muted)}
h2{font-size:clamp(36px,4vw,56px);line-height:1.08;max-width:100%;text-wrap:initial}h2 .w{color:inherit}
.hero-bottom{display:flex;align-items:end;justify-content:space-between;margin-top:45px;gap:30px;z-index:1}.hero-bottom p{font-size:13px;line-height:1.9;color:var(--muted);margin:0}.text-cta{border:0;background:transparent;padding:0 0 10px;border-bottom:1px solid var(--line-2);font:italic 22px var(--serif);cursor:pointer;color:var(--fg);display:inline-flex;gap:45px;align-items:center;text-align:left}.hero-side{position:absolute;right:0;top:210px;writing-mode:vertical-rl;font:9px var(--mono);text-transform:uppercase;letter-spacing:.25em;color:var(--dim)}
.geometry{position:absolute;inset:40px -30px 0 15%;overflow:hidden;z-index:-1;opacity:.65;background:linear-gradient(90deg,transparent calc(61.8% - 1px),var(--line) 61.8%,transparent calc(61.8% + 1px)),linear-gradient(0deg,transparent calc(38.2% - 1px),var(--line) 38.2%,transparent calc(38.2% + 1px));mask-image:linear-gradient(90deg,transparent,#000 40%)}
.geometry:before,.geometry:after{content:'';position:absolute;border:1px solid var(--line);border-radius:50%;width:760px;height:760px;right:0;top:-160px}.geometry:after{width:470px;height:470px;right:0;top:130px}.geometry i{position:absolute;width:9px;height:17px;background:#c7c1b6;border-radius:90% 0 90% 0;opacity:.18;animation:petal 16s ease-in-out infinite}.geometry i:nth-child(1){left:25%;top:20%;transform:rotate(40deg)}.geometry i:nth-child(2){left:65%;top:60%;animation-delay:-5s}.geometry i:nth-child(3){left:90%;top:10%;animation-delay:-8s}.geometry i:nth-child(4){left:50%;top:80%;animation-delay:-12s}@keyframes petal{50%{translate:35px 45px;rotate:90deg}}
.collection{padding-top:45px;padding-bottom:100px;border-top:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:40px}.section-heading h2{margin-top:15px}
#featured-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px}.feature-card{min-width:0}.feature-image{display:block;width:100%;height:310px;object-fit:contain;background:#f2f2f2;border:1px solid var(--line);cursor:zoom-in;transition:box-shadow .4s,transform .4s}.feature-image:hover{box-shadow:0 18px 35px #00000012;transform:translateY(-4px)}.feature-content{padding:27px 0 0}.feature-content h3{font-size:38px;margin:10px 0 14px;letter-spacing:-.02em}.feature-content p{max-width:430px;line-height:1.9;color:var(--muted);font-size:13px;margin:0}.feature-actions{display:flex;gap:25px;align-items:center;margin-top:24px}.feature-actions .text-cta{font-size:21px;padding-bottom:5px}.collection-note{margin-top:35px;color:var(--dim);font:9px var(--mono);letter-spacing:.04em}
.block{border-top:1px solid var(--line);padding-block:80px}.block.first{padding-top:80px}.head{margin-bottom:35px}.head h2{margin-top:15px}.head>p{max-width:600px;color:var(--muted);line-height:1.8;font-size:13px}.req-shell{gap:50px}.req-form,.calc{background:transparent;border-radius:0}.req{border-color:var(--line);background:transparent}.req h3{font-family:var(--serif);font-size:25px}.req p,.form-note{color:var(--muted)}.empty{background:#eae9e233;border:1px dashed var(--line-2);color:var(--muted)}.empty b{font-family:var(--serif);font-size:25px;color:var(--fg);font-weight:400}.f input,.f textarea,.f select,#lib-q{border:1px solid var(--line-2);background:rgba(255,255,255,.3);color:var(--fg);border-radius:0}.f input:focus,.f textarea:focus{border-color:var(--line-2);outline-color:var(--fg)}.f label{font-size:11px}.chip{border-radius:0;font-size:10px;border:1px solid transparent}.chip[aria-pressed=true]{background:#f0f0f0;border-color:var(--line-2);color:var(--fg)}.chips{border-radius:0;border-color:var(--line)}.req-form h3{font-size:30px}.vote{border-color:var(--line-2);border-radius:0;background:transparent}.vote[aria-pressed=true]{color:var(--fg);background:rgba(52,51,40,.06);border-color:var(--line-2)}.status{border-color:var(--line-2);color:var(--muted)}
.calc{border-color:var(--line)}.calc-result b{font-family:var(--serif);font-weight:400;color:var(--fg)}input[type=range]{accent-color:var(--fg)}.calc .zero{color:var(--muted)}
.lib{padding-block:65px 100px}.lib h1{font-size:clamp(42px,5vw,72px);line-height:1.05;max-width:900px}.lib .eyebrow-serif{color:var(--muted)}.lib-tools{margin-block:35px;gap:15px}.lib-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}.tile{border-radius:0;border:0;background:transparent;overflow:visible;box-shadow:none}.tile:hover{border-color:transparent;background:transparent}.tile>.thumb{width:100%;height:310px;aspect-ratio:auto;object-fit:contain;border:1px solid var(--line);background:#f2f2f2}.tile-body{padding:25px 0 15px}.tile-top h3{font-family:var(--serif);font-size:33px;font-weight:400}.tile-top .tag-sm{border-color:var(--line-2);color:var(--muted);border-radius:0}.tile-body p{font-size:13px;line-height:1.8;color:var(--muted);min-height:48px;-webkit-line-clamp:3}.tile-meta{font-size:9px;color:var(--dim)}.tile-actions{padding:0;gap:18px;flex-wrap:wrap}.tile-actions .btn{background:transparent;border-color:var(--line-2);color:var(--fg);padding:10px 15px}.tile-own{padding-inline:0}.lib-count{color:var(--muted)}
footer{border-color:var(--line);padding-block:30px}footer .wrap{font-size:10px;line-height:1.8;color:var(--muted)}
dialog{background:var(--bg);color:var(--fg);border:1px solid var(--line-2);border-radius:0;box-shadow:0 40px 100px #00000033}dialog::backdrop{background:#00000060;backdrop-filter:blur(8px)}.dlg-head h3{font:400 32px var(--serif)}.dlg-head,.dlg-foot{border-color:var(--line)}.dlg pre{background:#f2f2f2;color:#30322c;border:1px solid var(--line);border-radius:0}code{color:inherit}.x{color:var(--fg)}.drop{background:#f4f4f4;border-color:var(--line-2)}.lb-bg{background:rgba(255,255,255,.97);backdrop-filter:blur(20px)}.lb-img{box-shadow:0 15px 70px #00000022}.lb-cap,.lb-x{color:var(--fg)}.lb-x{background:#fff;border:1px solid var(--line-2)}
@media(min-width:1500px){.editorial-hero{min-height:720px}}
@media(max-width:900px){.wrap{padding-inline:30px}.hero-meta{left:30px;right:30px}.nav .wrap{gap:18px}.nav .tag{display:none}.hero-side{right:10px}.editorial-hero{min-height:600px}.feature-image,.tile>.thumb{height:240px}.feature-actions{gap:15px;flex-wrap:wrap}.req-shell{gap:30px}}
@media(max-width:600px){.wrap{padding-inline:22px}.nav .wrap{height:68px;gap:16px}.nav .logo{font-size:21px}.nav .mobile-library{font-size:11px}.nav .btn{font-size:10px;padding:9px 12px}.hero-meta{left:22px;right:22px;font-size:7px;letter-spacing:.07em;gap:20px}.editorial-hero{min-height:590px;padding-bottom:45px;padding-top:30px}.editorial-hero .eyebrow-serif{font-size:20px;margin-top:50px;margin-bottom:22px}h1{font-size:clamp(52px,11vw,70px);line-height:1.04;letter-spacing:-.045em}.hero-bottom{align-items:start;flex-direction:column;gap:25px;margin-top:32px}.hero-bottom p{font-size:12px}.hero-side{display:none}.text-cta{font-size:21px}.geometry{inset:40px -10px 0 0;opacity:.5}.geometry:before{right:-290px}.geometry:after{right:-180px}.section-heading{align-items:start;flex-direction:column;gap:20px}.section-heading h2{font-size:39px}#featured-grid,.lib-grid{grid-template-columns:1fr;gap:45px}.feature-image,.tile>.thumb{height:auto;aspect-ratio:1.6;object-fit:contain}.feature-content h3{font-size:34px}.collection{padding-top:35px;padding-bottom:60px}.collection-note{font-size:8px;line-height:1.8}.block{padding-block:55px}.block.first{padding-top:55px}.lib{padding-block:45px 65px}.lib h1{font-size:48px}.lib-tools{display:flex;flex-wrap:wrap}#lib-q{width:100%;flex-basis:100%}.chips{flex-wrap:wrap}.lib-count{margin-left:0}.tile-body{padding-top:20px}.tile-body p{min-height:0}.req-form{padding:24px 0}.dlg{padding:18px}.feature-actions{gap:25px}footer .wrap{display:flex;flex-direction:column;gap:15px}.acct span{max-width:60px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.editorial-hero{overflow:hidden}

/* One consistent presentation canvas; the original image always stays intact. */
.preview-frame{position:relative;isolation:isolate;aspect-ratio:16/10;overflow:hidden;border:1px solid #d9d9d9;border-radius:12px;background:linear-gradient(135deg,#f2f2f2,#fff 65%,#f2f2f2)}
.preview-glow{position:absolute;inset:-20%;z-index:-1;background-size:cover;background-position:center;filter:blur(45px) saturate(.55);opacity:.13;pointer-events:none}
.preview-mat{position:absolute;inset:25px 25px 47px;display:flex;align-items:center;justify-content:center}
.preview-mat .feature-image,.preview-mat .thumb{display:block;width:auto;height:auto;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;border:1px solid #0000001a;border-radius:6px;background:transparent;box-shadow:0 14px 28px #00000023,0 2px 5px #00000010;cursor:zoom-in;transition:transform .4s,box-shadow .4s}
.preview-frame:hover .preview-mat img{transform:translateY(-3px);box-shadow:0 19px 32px #0000002b}
.preview-hint{position:absolute;bottom:17px;left:25px;right:25px;display:flex;justify-content:space-between;font:9px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#777267;pointer-events:none}
.preview-frame:focus-within{outline:2px solid #30312b;outline-offset:4px}
.preview-hint{align-items:center}
.download-count{font:9px var(--mono,monospace);letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.counter-new{display:inline-block;margin-left:6px;color:var(--dim);font:7px/1 var(--mono,monospace);letter-spacing:.08em;vertical-align:middle;white-space:nowrap}
.section-heading-actions{display:flex;align-items:center;gap:24px}.download-total-wrap{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.total-downloads{display:flex;align-items:baseline;white-space:nowrap;color:var(--dim);font:9px var(--mono,monospace);letter-spacing:.08em;text-transform:uppercase}.total-downloads strong{margin-left:8px;color:var(--fg);font:400 15px var(--serif);letter-spacing:0}.total-downloads .counter-new{margin-left:5px}.counter-note{color:var(--dim);font:8px/1.5 var(--mono,monospace);letter-spacing:.02em;text-align:right}
@media(max-width:600px){.section-heading-actions{flex-wrap:wrap;gap:15px}.total-downloads{font-size:8px}}

/* Cheap static surfaces in place of large filtered layers. */
.preview-glow{inset:0;background:radial-gradient(ellipse at 85% 90%,#00000008,transparent 65%),linear-gradient(135deg,#f2f2f2,#fff);filter:none;opacity:1}
.tile .preview-mat img.thumb{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;background:transparent}
.preview-mat .feature-image,.preview-mat .thumb{transition:transform .16s ease-out}
.preview-frame:hover .preview-mat img{box-shadow:0 14px 28px #00000023,0 2px 5px #00000010}
.lb{display:grid;place-items:center;padding:45px 4vw 65px;isolation:isolate}
.lb-bg{background:rgba(255,255,255,.97);backdrop-filter:none;-webkit-backdrop-filter:none}
.lb-img{position:relative;inset:auto;width:auto;height:auto;max-width:92vw;max-height:calc(100dvh - 130px);object-fit:contain;border-radius:10px;box-shadow:0 12px 32px #0000001a;transform:none;transform-origin:center;will-change:auto}
dialog::backdrop,#dlg::backdrop{background:rgba(59,53,44,.48);backdrop-filter:none;-webkit-backdrop-filter:none}
header.nav{background:rgba(255,255,255,.97);backdrop-filter:none;-webkit-backdrop-filter:none}
.requests-page h1{max-width:900px}
.requests-intro{max-width:550px;color:var(--muted);line-height:1.9;margin:28px 0 40px}
.request-contact{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 40px;padding:22px 24px;border:1px solid var(--line);background:rgba(255,255,255,.28)}.request-contact .label{display:block;margin-bottom:8px}.request-contact p{margin:0;color:var(--muted);line-height:1.7}.request-contact .btn{white-space:nowrap;text-decoration:none;font-size:11px}
.requests-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.requests-bar .chip{padding:10px 16px}.requests-bar .chip span{margin-left:12px;opacity:.6}
.request-empty{padding:65px 0 90px}.request-empty h2{font-size:36px;margin:18px 0}.request-empty p{color:var(--muted);line-height:1.8}
.curated-request{padding:32px 0;border-bottom:1px solid var(--line)}.request-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.curated-request h2{font-size:32px}.curated-request>p{color:var(--muted);line-height:1.9;max-width:750px}.request-status{font:10px var(--mono);color:var(--muted);padding:7px 11px;border:1px solid var(--line-2)}.request-actions{display:flex;gap:28px;align-items:center;margin-top:20px}.request-actions .text-cta{font-size:20px}
@media(max-width:600px){.requests-bar{align-items:start;flex-direction:column}.request-heading{align-items:start}.curated-request h2{font-size:28px}.nav .mobile-library{margin-left:0}.nav .logo{margin-right:auto}.nav .wrap{gap:20px}.requests-page h1{font-size:49px}}
@media(max-width:600px){.request-contact{align-items:flex-start;flex-direction:column;gap:18px;padding:20px}.request-contact p{line-height:1.6}}

/* The source is the only scrolling region. Header and actions stay in place. */
#dlg{width:min(1080px,calc(100vw - 56px));height:min(86dvh,900px);max-height:none;overflow:hidden;border-radius:14px;border:1px solid #d1cec4;box-shadow:0 30px 100px #25221838}
#dlg>.dlg{height:100%;max-height:none;min-height:0;padding:0;overflow:hidden;display:flex;flex-direction:column}
#dlg .source-heading{padding:25px 30px 18px;align-items:flex-start;flex-shrink:0;border:0}
#dlg .source-heading .label{display:block;margin:0 0 8px;font-size:9px;letter-spacing:.15em}
#dlg .source-heading h3{font:400 38px/1 var(--serif);letter-spacing:-.03em;margin:0}
#dlg .source-heading .x{display:grid;place-items:center;width:32px;height:32px;flex:none;border:1px solid var(--line);border-radius:50%;padding:0;font:22px/1 var(--font);margin-top:2px}
#dlg .source-heading .x:hover{background:#f1f1f1}
#dlg .dlg-desc{padding:0 70px 20px 30px;margin:0;font:12px/1.8 var(--font);color:#737166;flex-shrink:0;max-width:850px}
.source-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 25px;border-block:1px solid var(--line);background:#f2f2f2;flex-shrink:0;font:10px var(--mono);color:#6e6a60}
.source-toolbar>span:before{content:'◉';font-size:8px;color:var(--muted);margin-right:10px}
#source-wrap{font:10px var(--mono);color:#6e6a60;background:transparent;border:1px solid #d1d1d1;border-radius:4px;padding:6px 9px;cursor:pointer;white-space:nowrap}
#source-wrap[aria-pressed=true]{background:#f0f0f0;color:#34352e}
#dlg #source-scroll{position:relative;margin:0;border:0;border-radius:0;padding:19px 0 25px;background:#fff;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4c4c4 transparent;white-space:normal;font:12px/1.85 var(--mono);font-variant-ligatures:none;color:#353a38;tab-size:4}
#dlg #dlg-code{display:block;white-space:normal;min-width:max-content;font:inherit}
.code-line{display:block;position:relative;white-space:pre;min-height:1.85em;padding:0 25px 0 68px}
.code-line:before{content:attr(data-line);position:absolute;left:0;top:0;width:46px;text-align:right;color:#a9a397;font-size:10px;user-select:none;pointer-events:none}
.code-line:hover{background:#0000000a}
#dlg .c{color:#929083}#dlg .s{color:#527965}#dlg .k{color:#4f5047}#dlg .n{color:#977147}
#dlg.wrap-source #dlg-code{min-width:0}
#dlg.wrap-source .code-line{white-space:pre-wrap;overflow-wrap:anywhere}
#dlg .source-footer{flex-shrink:0;padding:18px 26px;gap:22px;background:#fff;border-top:1px solid var(--line);flex-wrap:nowrap}
#dlg .source-footer small{margin-right:auto;min-width:0;font-size:10px;line-height:1.6}
.source-footer small b{display:block;font:italic 20px var(--serif);color:#4f5047;margin-bottom:3px;font-weight:400}
.source-footer small span{display:block}
.source-download{color:#716e64;font-size:11px;white-space:nowrap;border-bottom:1px solid #c7c1b6;padding:5px 0}
#dlg .source-footer .btn{display:flex;align-items:center;gap:24px;border-radius:5px;padding:12px 18px;margin:0;white-space:nowrap;font-size:12px;background:#343c34;border-color:#343c34;min-width:143px;justify-content:center}
#dlg::backdrop{background:#00000045;backdrop-filter:blur(12px)}
@media(max-width:600px){.preview-frame{border-radius:9px;aspect-ratio:16/11}.preview-mat{inset:18px 18px 40px}.preview-hint{bottom:14px;left:18px;right:18px;font-size:8px}#dlg{width:calc(100vw - 20px);height:calc(100dvh - 36px);border-radius:10px}#dlg .source-heading{padding:22px 20px 15px}#dlg .source-heading h3{font-size:33px}#dlg .dlg-desc{padding:0 20px 18px;font-size:11px}.source-toolbar{padding:9px 16px;font-size:9px}#dlg #source-scroll{font-size:11px}.code-line{padding-left:48px;padding-right:16px}.code-line:before{width:33px;font-size:9px}#dlg .source-footer{padding:14px 16px;gap:15px;flex-wrap:wrap}.source-footer small{flex-basis:100%}.source-footer small b{display:none}.source-footer small span{font-size:10px}#dlg .source-footer .btn{margin-left:auto;padding:11px 15px;min-width:125px;font-size:11px}.source-download{font-size:10px}}
.logo{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;width:auto;height:40px;flex:0 0 auto;text-decoration:none}.logo img{display:block;width:40px;height:40px;flex:0 0 40px;object-fit:contain}.logo span{color:var(--fg)}
@media(max-width:600px){.logo{height:34px}.logo img{width:34px;height:34px;flex-basis:34px}}

.nav .logo span{color:#000}.logo img{filter:grayscale(1) brightness(0)}

.geometry i{display:none}

body:has(#view-home:not([hidden])){-webkit-user-select:none;user-select:none}
body:has(#view-home:not([hidden])) :is(img,a){-webkit-user-drag:none}
body:has(#view-home:not([hidden])) :is(#dlg,#dlg *,input,textarea,[contenteditable="true"]){-webkit-user-select:text;user-select:text}

.collection-whole-link{display:table;margin:48px auto 0;padding-bottom:5px;border-bottom:1px solid var(--line-2)}.collection-whole-link:hover{border-color:var(--fg)}

@media (min-width:601px) and (max-width:960px){footer .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:18px 24px}footer .footer-verse{grid-column:1/-1;grid-row:2;max-width:48ch;justify-self:center}footer .wrap>p:last-child{grid-column:2;grid-row:1;justify-self:end}}
