:root{color-scheme:light;--background:oklch(.965 .012 75);--foreground:oklch(.27 .025 60);--primary:oklch(.37 .045 60);--on-primary:oklch(.985 .01 75);--surface:oklch(.985 .008 75);--brand:oklch(.45 .055 55);--border:color-mix(in oklch,var(--foreground) 35%,var(--surface));--hover:color-mix(in oklch,var(--foreground) 7%,var(--surface))}
:root[data-theme=dark]{color-scheme:dark;--background:oklch(.2 .018 55);--foreground:oklch(.93 .017 75);--primary:oklch(.83 .056 65);--on-primary:oklch(.22 .025 55);--surface:oklch(.255 .025 55);--brand:oklch(.78 .075 65)}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);font-family:"Source Serif 4",Georgia,serif;font-size:1rem;line-height:1.625}button,input,select{font:inherit;color:inherit}button,select{min-height:44px;border:1px solid var(--border);border-radius:999px;background:var(--surface);padding:.5rem 1rem}button{cursor:pointer}button:hover{background:var(--hover)}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-underline-offset:.2em}button,a,input,select{touch-action:manipulation}:focus-visible{outline:3px solid var(--brand);outline-offset:4px}.primary{background:var(--primary);color:var(--on-primary);border-color:transparent}.primary:hover{background:var(--primary);filter:brightness(1.1)}.shell{max-width:1800px;margin:auto;min-height:100svh;padding:.75rem 1rem;display:flex;flex-direction:column}.masthead{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem 1rem;margin-bottom:1rem}.brand{display:flex;align-items:center;gap:.5rem;margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-size:1.75rem;font-weight:600;letter-spacing:-.025em}.brand svg{width:22px;height:24px}nav{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.25rem}nav a{display:inline-flex;align-items:center;min-height:44px}.window{flex:1;display:flex;flex-direction:column;border-radius:1rem;overflow:hidden;background:var(--surface)}.photograph{position:relative;flex:1;min-height:40svh;background:var(--hover)}.photograph img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.sample{position:absolute;bottom:1rem;left:1rem;right:auto;max-width:calc(100% - 2rem);background:var(--surface);color:var(--foreground);padding:.3rem .7rem;border-radius:.5rem;font-size:.875rem}.sill{display:grid;gap:1.5rem;padding:1.25rem 1rem}.identity{min-width:0}.caption{font-size:.875rem;margin:0 0 .35rem}h1,h2,h3{font-family:"Cormorant Garamond",Georgia,serif;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}h1{font-size:clamp(2.25rem,4vw,3rem);font-weight:500;margin:0 0 .5rem}h2{font-size:1.75rem;font-weight:500;margin:0}p{margin:0 0 1rem}.identity>p:last-of-type{margin-bottom:.4rem;max-width:42rem}.text-button{border-color:transparent;padding-left:0;background:transparent;text-decoration:underline;text-underline-offset:.2em}.player{min-width:0;width:100%;max-width:28rem}.play-row{display:flex;gap:.75rem;margin:.6rem 0 1rem}#play{min-width:9rem}.volume-row{display:flex;align-items:center;gap:.8rem}input[type=range]{min-width:0;flex:1;width:100%;height:44px;accent-color:var(--primary);margin:0}output{width:3rem;text-align:right}.player [role=status]{margin-top:.35rem;margin-bottom:0}footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 0 .5rem}.actions{display:flex;gap:.5rem;flex-wrap:wrap}.signoff{font-style:italic;margin:0}.archive{font-size:.875rem;max-width:70rem;margin:.4rem 0;color:var(--foreground)}.notice{margin:0;font-size:.95rem}.notice:not(:empty){padding:.5rem 0}dialog{border:1px solid var(--border);border-radius:1rem;background:var(--surface);color:var(--foreground);padding:0;width:calc(100% - 3rem);max-width:36rem;max-height:calc(100svh - 3rem)}dialog::backdrop{background:oklch(.1 .02 55/.55)}.panel-head{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:1.25rem;border-bottom:1px solid var(--border)}#panel-body{padding:1.25rem;overflow:auto;max-height:calc(100svh - 10rem)}.field{display:flex;flex-direction:column;gap:.5rem;margin:0 0 1.25rem}.field select{width:100%;border-radius:.5rem}.scene-list{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}.scene-choice{width:100%;display:flex;align-items:center;text-align:left;gap:1rem;border-radius:.75rem;padding:.6rem}.scene-choice img{width:88px;height:64px;object-fit:cover;border-radius:.4rem;flex-shrink:0}.scene-choice span{min-width:0;overflow-wrap:anywhere}.scene-choice small{display:block}.scene-choice[aria-current=true]{border:2px solid var(--brand)}.panel-note{font-size:.9rem;margin-top:1rem;margin-bottom:0}.record{padding:1rem;border:1px solid var(--border);border-radius:.5rem;margin-top:1rem}.record p:last-child{margin:0}
@media(min-width:640px){.shell{padding:1rem 1.5rem}.masthead{margin-bottom:1.5rem}.brand{font-size:1.875rem}button,select{min-height:48px}.photograph{min-height:48svh}.sill{padding:1.5rem 1.75rem}.sample{left:1.75rem}}
@media(min-width:1024px){.shell{padding-left:2.5rem;padding-right:2.5rem}.sill{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2.5rem}.player{width:24rem}}
@media(min-width:1280px){.shell{padding-left:3rem;padding-right:3rem}}
@media(max-width:639px){dialog{width:100%;max-width:none;margin:auto 0 0;border-radius:1rem 1rem 0 0;max-height:calc(100svh - 1rem)}#panel-body{max-height:calc(100svh - 8rem)}nav{gap:.5rem}nav a{font-size:.9rem}.sample{font-size:.8rem}.scene-choice img{width:68px;height:58px}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color 150ms,color 150ms}}
