/* LE. The chrome follows the chat interface guidelines (brand/chat-guidelines.html): its tokens, its type scale,
   its 96px section rhythm, its one line colour. The work carries the colour; the tool stays out of the way. */
@font-face{font-family:'Season';src:url(../fonts/SeasonMix-Medium.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Season Mix';src:url(../fonts/SeasonMix-Medium.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}
/* Macan with a plain question mark (tools/macan-q.py), so canvas exports are covered too */
@font-face{font-family:'Macan';src:url(../fonts/Macan-Book-Q.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Macan';src:url(../fonts/Macan-Medium-Q.woff2) format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Macan';src:url(../fonts/Macan-SemiBold-Q.woff2) format('woff2');font-weight:600;font-style:normal;font-display:swap}
/* and the guidelines' own trick: U+003F always comes from Helvetica Neue, never from Macan or Season */
@font-face{font-family:'QMark';src:local('Helvetica Neue'),local('HelveticaNeue'),local('Helvetica'),local('Arial');unicode-range:U+003F}

:root{
  --ink:#0f0f10;--g1:#5c5f66;--g2:#9a9ca1;--g3:#c9cacd;--line:#ececed;--soft:#f4f4f5;
  --sky:#80ACED;--sky-bg:#EEF4FD;--sun:#F4C766;
  --font:'QMark','Macan',-apple-system,BlinkMacSystemFont,sans-serif;
  --display:'QMark','Season','Season Mix',Georgia,serif;
  --helv:'Helvetica Neue',Helvetica,Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,monospace;
  --r:6px;--ease:cubic-bezier(.2,.8,.2,1);
  --navw:220px;--gut:48px;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:#fff}
body{font-family:var(--font);font-size:15px;line-height:1.5;color:var(--ink);-webkit-font-smoothing:antialiased;overflow:hidden}
button{font:inherit;color:inherit;cursor:pointer;background:none;border:0}
input,textarea,select{font:inherit;color:var(--ink)}
svg,img,video,iframe{display:block}
a{color:inherit}
h1{font-size:40px;line-height:1;letter-spacing:-.035em;font-weight:500;height:40px;margin-bottom:28px}
h2{font-size:32px;line-height:1.1;letter-spacing:-.025em;font-weight:500;margin-bottom:28px}
h3{font-size:14px;font-weight:500}
.ico{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* controls: flat, 6px, no pills */
.btn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 14px;border-radius:var(--r);background:var(--soft);color:var(--ink);font-weight:500;font-size:14px;white-space:nowrap;text-decoration:none;transition:background .15s}
.btn:hover{background:var(--line)}
.btn.black{background:var(--ink);color:#fff}.btn.black:hover{background:#000}
.btn.sm{height:30px;padding:0 10px;font-size:13px}
.btn[disabled]{opacity:.28;cursor:default}
.link{color:var(--g2);font-size:14px;font-weight:500;text-decoration:none;transition:color .15s}.link:hover{color:var(--ink)}
.seg{display:inline-flex;gap:16px}
.seg button{height:28px;font-size:14px;font-weight:500;color:var(--g2);transition:color .15s}
.seg button:hover{color:var(--g1)}.seg button.on{color:var(--ink)}

/* ===== chrome ===== */
.top{height:72px;display:flex;align-items:center}
.logo{width:var(--navw);padding-left:36px;display:flex;align-items:center;gap:5px;text-decoration:none;flex:none}
.logo .lmw{width:36px;margin-left:-6px}
.logo .le{font-family:var(--helv);font-weight:500;font-size:17px;letter-spacing:-.01em;line-height:1;color:var(--ink)}
.lmw{position:relative;aspect-ratio:1;width:100%;display:block}
.lmw svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.lmi .ink{fill:#0b0b0b}.lmw.white .lmi .ink{fill:#fff}
[id^="arcs"] path{fill:none;stroke:#fff;stroke-linecap:butt}

.search{position:relative;margin-left:var(--gut);width:360px;height:40px;border:1px solid var(--line);border-radius:999px;display:flex;align-items:center;gap:10px;padding:0 16px;color:var(--g2);transition:width .4s var(--ease),border-color .25s,box-shadow .4s}
.search:focus-within{width:440px;border-color:var(--g3);box-shadow:0 10px 30px -14px rgba(15,15,16,.22);color:var(--ink)}
.search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:15px}
.search .ph{position:absolute;left:42px;top:0;line-height:38px;font-size:15px;color:var(--g2);pointer-events:none;white-space:nowrap}
.search .ph:after{content:'';display:inline-block;width:1.5px;height:16px;background:var(--g3);vertical-align:-3px;margin-left:1px;animation:blink 1s steps(1) infinite}
.search:focus-within .ph:after,.search.has .ph{display:none}
.search:focus-within .ph{color:var(--g3)}
@keyframes blink{50%{opacity:0}}
.sugg{position:absolute;top:48px;left:-1px;right:-1px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 60px -24px rgba(15,15,16,.3);padding:6px;display:none;max-height:min(70vh,560px);overflow:auto;z-index:70;color:var(--ink)}
.sugg.on{display:block;animation:drop .22s var(--ease)}
@keyframes drop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.sugg h4{font-size:12px;font-weight:500;color:var(--g2);padding:8px 10px 4px}
.sugg button{display:flex;align-items:center;gap:10px;width:100%;padding:6px 10px;border-radius:var(--r);font-size:14px;text-align:left}
.sugg button:hover,.sugg button.on{background:var(--soft)}
.sugg button img{width:28px;height:28px;object-fit:contain;flex:none}
.sugg button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sugg .none{padding:10px;font-size:14px;color:var(--g2)}

.app{display:flex;height:calc(100% - 72px)}
.side{width:var(--navw);flex:none;padding:20px 0 0 36px;display:flex;flex-direction:column;gap:9px;font-family:var(--helv);font-size:14px}
.side a{color:var(--g2);text-decoration:none;transition:color .2s;align-self:flex-start}
.side a:hover{color:var(--g1)}.side a.on{color:var(--ink)}
/* the gutter is always reserved, so a short shelf and a long one start at the same x */
.main{flex:1;min-width:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;position:relative}
.wrap{max-width:1216px;padding:20px var(--gut) 120px}
.wrap.text{max-width:916px}
.screen{display:none}.screen.on{display:block}
.hrow{display:flex;align-items:flex-start;justify-content:space-between;height:68px}
.hrow .acts{display:flex;align-items:center;gap:8px}.hrow .acts .link{margin-right:12px}
.empty{color:var(--g2);font-size:14px;padding:36px 0}.empty.big{padding:80px 0}

/* ===== make: three illustrations from the library. No boxes; each breathes, sways and floats a small piece, a little more under the pointer ===== */
@property --sw{syntax:'<angle>';initial-value:1deg;inherits:true}
@property --fk{syntax:'<number>';initial-value:1;inherits:true}
.picks{display:grid;grid-template-columns:repeat(3,minmax(0,280px));gap:32px;padding-top:40px}
.pick{display:flex;flex-direction:column;align-items:flex-start;text-align:left}
.pick .art{width:100%;aspect-ratio:1;border-radius:14px;overflow:hidden;margin-bottom:16px;background:var(--soft)}
.pick .art img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.2s var(--ease)}
button.pick:hover .art img,button.pick:focus-visible .art img{transform:scale(1.04)}
@media(prefers-reduced-motion:reduce){.pick .art img{transition:none}}
.pick b{font-size:17px;font-weight:500;line-height:24px}
.pick span{font-size:14px;line-height:20px;color:var(--g2)}
@keyframes mbreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.015)}}
@keyframes msway{0%,100%{transform:rotate(calc(var(--sw) * -1))}50%{transform:rotate(var(--sw))}}
@keyframes mfloat{0%,100%{transform:translateY(calc(var(--amp) * var(--fk) * -1))}50%{transform:translateY(calc(var(--amp) * var(--fk)))}}

/* ===== pick a type ===== */
.types{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 24px}
.type{text-align:left;display:flex;flex-direction:column;gap:10px}
.type .th{aspect-ratio:4/5;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff}.type .th.r169{aspect-ratio:16/9}
.type .th img{width:100%;height:100%;object-fit:cover}
.type b{font-size:15px;font-weight:500}
#pick .types:not(.wide){max-width:920px}

/* ===== library: every row has a fixed height, so the grid starts at the same y on every shelf ===== */
.tabs{display:flex;gap:28px;height:44px;align-items:center}
.tabs button{font-size:17px;font-weight:500;color:var(--g2);transition:color .15s;display:inline-flex;align-items:center;gap:8px}
.tabs .ti{width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}
.tabs button:hover{color:var(--g1)}.tabs button.on{color:var(--ink)}
.subs{display:flex;gap:20px;height:36px;align-items:center;margin-bottom:24px;white-space:nowrap}
.subs button{font-size:14px;font-weight:500;color:var(--g2);transition:color .15s}
.subs button:hover{color:var(--g1)}.subs button.on{color:var(--ink)}
.subs .filters{margin-left:auto;display:flex;gap:16px}
#grid{min-height:60vh}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;align-content:start}
.grid.three{grid-template-columns:repeat(3,1fr)}
.grid.video{grid-template-columns:repeat(2,1fr);gap:20px}
.grid.icons{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px}
.grid.orgs{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:28px 12px}
.grid.ills{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
.grid.people{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px 14px}
.card{cursor:pointer;position:relative;min-width:0}
.card .th{aspect-ratio:16/9;border-radius:var(--r);background:var(--soft) center/cover no-repeat;overflow:hidden;position:relative}
.card .th.sq{aspect-ratio:1}
.card .th.r32{aspect-ratio:3/2;background-color:#fff;background-size:contain}
.card .th img{width:100%;height:100%;object-fit:cover}
/* graphics, gifs, films: a hairline, because their own field is white */
.card .th.contain{aspect-ratio:4/3;background:#fff;border:1px solid var(--line);padding:22px}.card .th.contain img{object-fit:contain}
.card .th.contain.flush{padding:0}
.card .th.contain.dark{background:var(--ink);border-color:var(--ink)}
.card.gif .th,.card.vid .th,.card.pack .th{background-color:#fff;border:1px solid var(--line)}
.card .th.icon{aspect-ratio:1;background:none;padding:30%}.card .th.icon img{object-fit:contain}
.card .th.ill{aspect-ratio:1;background:none;padding:12%}.card .th.ill img{object-fit:contain}
/* logos as they are, on white, at one optical size, name beneath */
.card.org .th{aspect-ratio:auto;height:64px;background:none;border-radius:0;display:grid;place-items:center;overflow:visible}
.card.org .th img{width:56px;height:56px;object-fit:contain}
.card .t{font-size:13px;color:var(--g1);margin-top:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
.card.org .t{text-align:center}
.card.vid .th video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s}
.card.vid:hover .th video{opacity:1}
.card.pack .th iframe{width:100%;height:100%;border:0;pointer-events:none}
/* photos: rows of three at their true shape */
.prow{display:flex;gap:12px;margin-bottom:12px;align-items:flex-start}
.prow .card{border-radius:var(--r);overflow:hidden;background:var(--soft)}
.prow .card img{width:100%;height:100%;object-fit:cover}
/* copy: the line, click to copy */
.line{display:block;text-align:left;color:var(--ink);transition:color .15s}
.line:hover{color:var(--g1)}
.lines{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.line.tagline{font-family:var(--display);font-weight:500;font-size:40px;line-height:1.05;letter-spacing:-.025em}
.posts{columns:3;column-gap:40px}
.line.post{width:100%;break-inside:avoid;white-space:pre-wrap;font-size:14px;line-height:1.55;margin-bottom:44px}
.grid .line{font-family:var(--font);font-size:14px;line-height:1.45;letter-spacing:0;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden;align-self:start}
.grid .font{grid-column:span 2}
/* fonts */
.fonts,.voice{max-width:820px}
.font{padding:0 0 44px}
.font p{font-size:44px;line-height:1.1;letter-spacing:-.02em;margin-bottom:14px}
.font div{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.font b{font-size:14px;font-weight:500}

/* rules, as the guidelines set them */
.rules{list-style:none;display:flex;flex-direction:column;gap:8px;margin-top:24px}
.rules li{font-size:16px;line-height:1.4;display:grid;grid-template-columns:28px 1fr}
.rules li span{color:var(--g2);font-variant-numeric:tabular-nums}
h2+.rules,.lead+.rules{margin-top:0}
.lead{font-size:22px;line-height:1.35;letter-spacing:-.01em;margin-bottom:36px}
.examples{display:flex;flex-direction:column;gap:22px;margin-top:56px}
.examples p{font-size:17px;line-height:1.4;white-space:pre-wrap}
.examples span{display:block;font-size:14px;color:var(--g1);margin-top:4px}
.examples .bad p{color:var(--g2);text-decoration:line-through}

/* ===== preview ===== */
.pv{position:fixed;inset:0;background:rgba(15,15,16,.55);display:none;align-items:center;justify-content:center;z-index:1005;padding:32px}
.pv.on{display:flex}
.pv .box{background:#fff;border-radius:var(--r);width:min(1040px,100%);max-height:100%;overflow:auto;display:grid;grid-template-columns:minmax(0,1fr) 280px}
.pv .stage{background:var(--soft);display:flex;align-items:center;justify-content:center;min-height:360px;padding:24px;border-radius:0}
.pv .stage.dark{background:var(--ink)}
.pv .stage img,.pv .stage video{max-width:100%;max-height:72vh;border-radius:4px;box-shadow:none}
.pv .stage.icon img{width:160px;height:160px}
.pv .stage.ill img{width:60%;max-width:360px}
.pv .stage.pack{padding:0;background:#fff}.pv .stage.pack iframe{width:100%;height:min(60vh,520px);border:0}
.pv .stage audio{width:100%}
.pv .stage .logo3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:100%}.pv .stage .logo3>div{height:200px;border-radius:4px;background:#fff;display:flex;align-items:center;justify-content:center;padding:40px}.pv .stage .logo3>div.dark{background:var(--ink)}.pv .stage .logo3 img{width:100%;height:100%;object-fit:contain}
.pv .side2{padding:24px;display:flex;flex-direction:column;gap:8px}
.pv .side2 h2{font-size:22px;letter-spacing:-.02em;margin-bottom:14px}
.pv .side2 .btn{width:100%}
.pv .side2 .two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pv .close,.pv .nav{position:absolute;width:36px;height:36px;border-radius:var(--r);background:#fff;display:flex;align-items:center;justify-content:center;color:var(--ink);z-index:2}
.pv .close{top:18px;right:18px}
.pv .nav{top:50%;transform:translateY(-50%)}.pv .nav.prev{left:18px}.pv .nav.next{right:18px}

/* ===== editor ===== */
.ehead{display:flex;align-items:center;gap:10px;height:36px;margin-bottom:20px}
.ehead .back{display:flex;align-items:center;gap:4px;color:var(--g2);font-size:14px;font-weight:500;margin-left:-4px;transition:color .15s}
.ehead .back:hover{color:var(--ink)}
.ehead input.title{font-size:22px;font-weight:500;letter-spacing:-.02em;border:0;outline:0;background:transparent;padding:2px 8px;border-radius:var(--r);width:340px;transition:background .15s}
.ehead input.title:hover,.ehead input.title:focus{background:var(--soft)}
.ehead .right{margin-left:auto;display:flex;gap:8px}
.egrid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.estage{min-width:0}
.stage{background:var(--soft);border-radius:var(--r);padding:32px;display:flex;align-items:center;justify-content:center;min-height:520px}
.stage img{max-width:100%;max-height:72vh;border-radius:2px;box-shadow:0 12px 40px -16px rgba(15,15,16,.25)}
.stage.r45 img{max-height:62vh}
.stagebar{display:flex;align-items:center;gap:10px;margin-top:14px;min-height:28px}
.panel{display:flex;flex-direction:column;gap:28px}
.panel .sec h3{margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}
.f{margin-bottom:12px}.f:last-child{margin-bottom:0}
.f label{display:flex;justify-content:space-between;font-size:13px;color:var(--g1);margin-bottom:5px}
.f label .link{font-size:13px}
.f input,.f textarea{width:100%;border:1px solid var(--line);border-radius:var(--r);padding:9px 11px;outline:0;background:#fff;font-size:14px;transition:border-color .15s}
.f input:focus,.f textarea:focus{border-color:var(--ink)}
.f textarea{resize:vertical;min-height:64px;line-height:1.45}.f textarea.tall{min-height:236px;white-space:pre;overflow-x:auto}
.sw{display:flex;gap:7px;flex-wrap:wrap}
.sw button{width:34px;height:34px;border-radius:4px;position:relative;background:var(--soft) center/cover no-repeat}
.sw button.on::after{content:'';position:absolute;inset:-3px;border:1.5px solid var(--ink);border-radius:6px}
.sw button.more{background:none;border:1px solid var(--line);color:var(--g2);font-size:14px}
.pal{display:flex;gap:7px}.pal button{width:30px;height:30px;border-radius:4px;position:relative;box-shadow:inset 0 0 0 1px var(--line)}
.pal button.on::after{content:'';position:absolute;inset:-3px;border:1.5px solid var(--ink);border-radius:6px}
.copylist{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.copylist button{text-align:left;font-size:14px;line-height:1.35;color:var(--g1);transition:color .15s}
.copylist button:hover{color:var(--ink)}
.slides{display:flex;gap:8px;overflow-x:auto;padding:4px;margin:12px -4px 0}
.slides:empty{display:none}
.slide{flex:none;width:144px;aspect-ratio:16/9;border-radius:4px;background:var(--soft) center/cover no-repeat;cursor:pointer;position:relative;overflow:hidden;box-shadow:0 0 0 1px var(--line)}
.slide.on{box-shadow:0 0 0 1.5px var(--ink)}
.slide .n{display:none}
.drawer{position:fixed;left:var(--navw);right:0;bottom:0;height:0;background:#fff;box-shadow:0 -20px 60px -30px rgba(15,15,16,.3);overflow:hidden;transition:height .3s var(--ease);z-index:50;display:flex;flex-direction:column}
.drawer.on{height:62vh;border-top:1px solid var(--line)}
.drawer .dhead{display:flex;align-items:center;gap:16px;padding:10px var(--gut)}
.drawer .tabs{gap:18px;flex:1}.drawer .tabs button{font-size:14px}
.dsearch{width:220px;height:32px;border:1px solid var(--line);border-radius:999px;padding:0 14px;outline:0;font-size:14px}
.dsearch:focus{border-color:var(--g3)}
.drawer .grid{padding:4px var(--gut) 24px;overflow:auto;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px 12px}
.drawer .rows{padding:4px var(--gut) 24px;overflow:auto}
.drawer .grid.icons{grid-template-columns:repeat(auto-fill,minmax(64px,1fr))}
.drawer .grid.orgs{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}

/* ===== projects ===== */
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px 16px}
.proj .th{aspect-ratio:16/9;border-radius:var(--r);border:1px solid var(--line);background:#fff center/contain no-repeat;cursor:pointer}
.prow2{display:flex;justify-content:space-between;align-items:center;gap:12px;height:36px;font-size:14px}
.prow2 .t{font-weight:500;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prow2 button{color:var(--g2);font-size:14px;transition:color .15s}.prow2 button:hover{color:var(--ink)}
.prow2 .del{visibility:hidden}.proj:hover .del,.prow2 .del:focus-visible{visibility:visible}
.prow2 .ask{display:flex;gap:12px;flex:none}.prow2 .ask button:first-child{color:var(--ink);font-weight:500}

/* ===== skill ===== */
.md{max-width:820px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.md pre{font-family:var(--mono);font-size:13px;line-height:1.55;white-space:pre-wrap;color:var(--g1);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px}
.md h2{font-size:22px;letter-spacing:-.02em;margin:56px 0 16px}
.md p{margin-bottom:12px}
.md code{font-family:var(--mono);font-size:.84em}
.md a{text-decoration-color:var(--g3);text-underline-offset:3px}
.md .rules{margin:0 0 16px}
.md .dash{list-style:none;display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.md table{border-collapse:collapse;width:100%;font-size:14px;margin:20px 0}
.md th{white-space:nowrap;text-align:left;font-weight:500;color:var(--g2);padding:8px 16px 8px 0}
.md td{border-top:1px solid var(--line);padding:8px 16px 8px 0;vertical-align:top}

/* ===== motion and brand: sections 96px apart, as in the guidelines ===== */
.doc{max-width:820px}
.doc section{padding-top:96px}
.doc section:first-child{padding-top:36px}
/* motion: a rule is a line, its demo sits under it. Nothing is boxed except a film frame. */
.mrule{padding-bottom:44px}.mrule:last-child{padding-bottom:0}
.mline{display:grid;grid-template-columns:28px 1fr;font-size:16px;line-height:1.4}
.mline span{color:var(--g2);font-variant-numeric:tabular-nums}
.mdemo{margin:18px 0 0 28px;position:relative}
.mdemo .say{font-size:22px;line-height:40px;letter-spacing:-.01em;white-space:nowrap}
.mdemo .head{font-family:var(--display);font-weight:500;font-size:32px;line-height:44px;letter-spacing:-.025em;white-space:nowrap}
.mdemo>.lmw{width:96px}
/* text: the guidelines' spoken word, then the three film presets */
.w{opacity:0;transition:opacity .09s linear}.w.on{opacity:1}
.mw{display:inline-block;opacity:0;transform:translateY(.3em);filter:blur(6px);transition:opacity .25s linear,transform .25s var(--ease),filter .25s linear}.mw.on{opacity:1;transform:none;filter:none}
.mr{opacity:0;transform:translateY(12px);transition:opacity .4s linear,transform .4s var(--ease)}.mr.on{opacity:1;transform:none}
.mf{transition:opacity .35s linear,filter .35s linear}.mf.out{opacity:0;filter:blur(8px)}
.ms{opacity:0;transform:translateY(10px);transition:opacity .7s,transform .9s var(--ease)}.ms.on{opacity:1;transform:none}
/* buttons */
.mb{position:relative;transition:transform .2s var(--ease),opacity .2s}
.mb:hover,.mb.hv{opacity:.85}
.mb:active,.mb.dn{transform:scale(.97);transition-duration:.12s}
.mb:focus-visible,.mb.fc{outline:2px solid var(--ink);outline-offset:2px}
.mb.off,.mb.off:hover{opacity:.28}
.mb .lb{transition:opacity .2s}
.mb .ck{position:absolute;inset:0;margin:auto;width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .2s}
.mb.ld .lb{background:linear-gradient(90deg,rgba(255,255,255,.35) 0%,#fff 45%,rgba(255,255,255,.35) 90%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shim 1.4s linear infinite}
.mb.ok .lb{opacity:0}.mb.ok .ck{opacity:1}
@keyframes shim{from{background-position:120% 0}to{background-position:-120% 0}}
.opts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:640px}
.opt{position:relative;height:48px;border:1px solid var(--line);border-radius:var(--r);padding:0 40px 0 14px;font-size:14px;font-weight:500;line-height:46px;white-space:nowrap;transition:border-color .2s,box-shadow .2s,opacity .3s}
.opt.sel{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.opt.sel:after{content:'';position:absolute;right:11px;top:11px;width:17px;height:17px;border-radius:50%;background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat}
.locked .opt:not(.sel){opacity:.35}
.macts{display:flex;justify-content:flex-end;width:640px;margin-top:12px}
/* a film frame: white fields get the hairline, as on the shelves */
.mfr{position:relative;width:320px;height:180px;border-radius:var(--r);border:1px solid var(--line);background:#fff;overflow:hidden;display:grid;place-items:center;align-content:center}
.mfr.dark{background:var(--ink);border-color:var(--ink);color:#fff;gap:14px}
.mfr>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s linear}.mfr>img.on{opacity:1}
.mfr>img.lk{position:static;width:auto;height:15px;transition-duration:.25s}
.mfr.dark .head{font-size:24px;line-height:1.1}
.lock{display:flex;align-items:flex-start;height:56px}
.lock .lmw{width:56px;flex:none}
.lock .wm{width:0;height:38.6px;margin-top:5.8px;overflow:hidden;transition:width .12s var(--ease)}
.lock .wm svg{height:38.6px;width:auto;max-width:none;fill:#010101}
.mtime{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:72px;align-items:start}
.mtime table{border-collapse:collapse;width:100%;font-size:16px;line-height:1.4}
.mtime td{padding:9px 0;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}
.mtime tr:first-child td{border-top:0;padding-top:0}
.mtime td:first-child{color:var(--g1)}
.mcurve{padding-top:4px}
.mcurve svg{width:120px;height:120px;overflow:visible;fill:none}
.mcurve .ax{stroke:var(--g3)}.mcurve .cv{stroke:var(--ink);stroke-width:1.5}
.mcurve i{display:block;width:8px;height:8px;border-radius:50%;background:var(--ink);margin-top:20px;transition:transform 1s var(--ease)}.mcurve i.on{transform:translateX(112px)}

.board{aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;background:#000;margin-top:8px}
.board iframe{width:100%;height:100%;border:0}
.doc .sw{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.doc .sw div{border-radius:var(--r);height:120px;padding:14px;display:flex;flex-direction:column;justify-content:flex-end;font-size:13px;box-shadow:inset 0 0 0 1px rgba(15,15,16,.06)}
.doc .sw b{font-weight:500;font-size:16px}.doc .sw span{opacity:.75}
.lockups{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.lockups div{aspect-ratio:4/3;border-radius:var(--r);display:flex;align-items:center;justify-content:center;padding:22%;box-shadow:inset 0 0 0 1px rgba(15,15,16,.06)}
.lockups img{width:100%}.lockups img.mk{width:38%}
.typebox{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.typebox div{border:1px solid var(--line);border-radius:var(--r);padding:26px;display:flex;flex-direction:column;gap:18px;min-height:190px;justify-content:space-between}
.typebox .s{font-family:var(--display);font-weight:500;font-size:40px;line-height:1.02;letter-spacing:-.03em}
.typebox .m{font-size:19px;line-height:1.35}
.typebox small{font-size:13px;color:var(--g1)}
.illrow{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}
.illrow div{aspect-ratio:1;cursor:pointer}.illrow img{width:100%;height:100%;object-fit:contain}
/* the guidelines switch to their phone layout at 900px, so the frame is a little wider than the 820px column it holds */
#guide{width:904px;border:0;min-height:100vh}

/* overlay / toast */
.ov{position:fixed;inset:0;background:rgba(255,255,255,.94);display:none;align-items:center;justify-content:center;z-index:1010;flex-direction:column;gap:8px;text-align:center}
.ov.on{display:flex}
.ov h1{font-size:28px;height:auto;margin:0}.ov p{color:var(--g1);min-height:1.5em;font-size:14px}
.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%) translateY(12px);background:var(--ink);color:#fff;padding:9px 14px;border-radius:var(--r);font-size:14px;opacity:0;transition:.2s var(--ease);z-index:1013;pointer-events:none;max-width:90vw}
.toast.on{opacity:1;transform:translateX(-50%)}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:1000px){.side{display:none}.logo{width:auto;padding:0 0 0 20px}.search{margin-left:16px;flex:1;width:auto!important;margin-right:20px}:root{--gut:20px}.egrid{grid-template-columns:1fr}.picks{flex-wrap:wrap;gap:40px}.types,.pgrid,.grid,.grid.three,.grid.video{grid-template-columns:1fr 1fr}.posts{columns:1}.pv .box{grid-template-columns:1fr}.drawer{left:0}.opts,.macts{width:100%}.mtime{grid-template-columns:1fr}.doc .sw,.lockups,.typebox{grid-template-columns:1fr 1fr}.illrow{grid-template-columns:repeat(4,1fr)}.line.tagline{font-size:30px}}
