/* Emily Li — portfolio. Structure and palette follow buzzusborne.com. */
@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&family=Roboto:wght@400;500&family=Raleway:wght@400;700&display=swap');

:root{
  --ink:#2a394e; --ink-dark:#14243c; --ink-mid:#3c516f; --ink-soft:#6a8193; --caption:#8999a1;
  --purple:#4700D8; --purple-light:#874BF7; --lilac:#C285FF;
  --yellow:#FFDC00; --yellow-soft:#ffe66e; --green:#9FE6A0; --pink:#F6C6EA; --blue:#A2DBFA; --clay:#D6CDC1; --red:#fbb3c4; --orange:#ffc074;
  --promo:#F5EEFF; --blockout:#f9f6ff; --blockout-1:#efe7fe; --blockout-2:#f2ecfe; --blockout-3:#f6f1fe;
  --paper:#ffffff; --panel:#ffffff; --mint:#56F09E; --mint-ink:#283B2D; --claude:#131B24;
  --thumb-yellow:#fff8d6; --thumb-clay:#FBF8F4; --thumb-purple:#ecdcf6; --thumb-pink:#fbe3f5; --thumb-green:#f0fbf0; --thumb-blue:#e6f5fe;
  --rule:#e4e8ec;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ink:#ECDBBA; --ink-dark:#EEEEEE; --ink-mid:#FFE3D8; --ink-soft:#C4B6B6; --caption:#C4B6B6;
    --purple:#F10086; --purple-light:#F10086; --lilac:#C285FF;
    --promo:#3d07a2; --blockout:#2a1f66; --blockout-1:#2f2470; --blockout-2:#33287a; --blockout-3:#382d84;
    --paper:#231955; --panel:#231955; --claude:#0d0a26;
    --thumb-yellow:#2d2560; --thumb-clay:#2d2560; --thumb-purple:#2d2560; --thumb-pink:#2d2560; --thumb-green:#2d2560; --thumb-blue:#2d2560;
    --rule:#3b2f7a;
  }
}
:root[data-theme="dark"]{
  --ink:#ECDBBA; --ink-dark:#EEEEEE; --ink-mid:#FFE3D8; --ink-soft:#C4B6B6; --caption:#C4B6B6;
  --purple:#F10086; --purple-light:#F10086; --lilac:#C285FF;
  --promo:#3d07a2; --blockout:#2a1f66; --blockout-1:#2f2470; --blockout-2:#33287a; --blockout-3:#382d84;
  --paper:#231955; --panel:#231955; --claude:#0d0a26;
  --thumb-yellow:#2d2560; --thumb-clay:#2d2560; --thumb-purple:#2d2560; --thumb-pink:#2d2560; --thumb-green:#2d2560; --thumb-blue:#2d2560;
  --rule:#3b2f7a;
}

*{box-sizing:border-box}
html{font-size:100%;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;padding:0;font-family:'Roboto',sans-serif;font-size:15px;font-weight:400;line-height:28px;color:var(--ink);background:var(--paper);overflow-x:hidden;-webkit-font-smoothing:antialiased}
body.open{overflow:hidden}
a{color:var(--purple);text-decoration:none}
a:hover{text-decoration:underline}
img,video{max-width:100%;display:block}
figure{margin:0}
ol,ul{list-style:none;margin:0;padding:0}
h1,h2,h3,h4,h5,h6,p{margin:0}

/* ---------- header ---------- */
header.site{width:100%}
header.site .block{margin:120px auto 0;width:800px;max-width:calc(100% - 40px);display:flex;align-items:flex-start;justify-content:space-between}
header.site a.home{position:relative;display:block;width:132px;height:67px;margin-top:6px;color:var(--ink);transition:color .2s}
header.site a.home .home-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
header.site a.home .home-logo{display:block;width:100%;height:100%;background:currentColor;-webkit-mask:url("img/logo-emily.png") left center/contain no-repeat;mask:url("img/logo-emily.png") left center/contain no-repeat}
header.site a.home:hover{color:var(--purple);text-decoration:none}
header.site a.menuIcon{position:relative;display:block;margin:0;padding:20px;width:60px;height:56px;background:var(--paper);z-index:20;border-radius:100px}
header.site a.menuIcon div{position:relative;width:20px;height:16px;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink);text-indent:-1000px;overflow:hidden;transition:all .2s}
header.site a.menuIcon div::before{position:absolute;content:'';width:100%;height:2px;background:var(--ink);left:0;top:50%;margin-top:-1px;transition:all .2s}
header.site a.menuIcon div::after{position:absolute;content:'';width:2px;height:0;background:var(--ink);left:50%;top:50%;margin-left:-1px;transition:all .2s}
header.site a.menuIcon:hover div{transform:rotate(-90deg);border-color:transparent}
header.site a.menuIcon:hover div::after{height:100%;top:0}
header.site a.menuIcon.open{position:fixed;top:120px;right:calc((100% - 800px)/2)}
header.site a.menuIcon.open div{transform:rotate(-225deg);border-color:transparent}
header.site a.menuIcon.open div::after{height:100%;top:0}
header.site .siteNav{display:none;position:fixed;inset:0;z-index:15;background:rgba(255,255,255,.7);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:center;justify-content:center;flex-direction:column;text-align:center}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) header.site .siteNav{background:rgba(35,25,85,.8)}}
:root[data-theme="dark"] header.site .siteNav{background:rgba(35,25,85,.8)}
header.site .siteNav.open{display:flex;overflow:auto}
header.site .siteNav ol{width:80%;display:flex;flex-direction:column;align-items:center;justify-content:center;animation:slide-in .6s cubic-bezier(.23,1,.32,1) both}
header.site .siteNav ol li{margin:5px 0}
header.site .siteNav ol li a{display:flex;align-items:center;font-family:'Poetsen One',sans-serif;font-size:64px;line-height:1;padding:30px 60px;border-radius:100px;background:#fff;transition:all .4s cubic-bezier(.68,-.6,.32,1.6);text-decoration:none}
header.site .siteNav ol li a span{display:flex;margin:0 10px 0 0;font-size:40px}
header.site .siteNav ol li a:active{padding:15px 160px}
header.site .siteNav ol li:nth-child(1) a{background:#ffe66e;color:#3b3100}
header.site .siteNav ol li:nth-child(2) a{background:#9FE6A0;color:#066607}
header.site .siteNav ol li:nth-child(3) a{background:#F6C6EA;color:#a3007b}
header.site .siteNav ol li:nth-child(4) a{background:#C285FF;color:#36006b}
@keyframes slide-in{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0;filter:blur(40px);opacity:0}100%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}

/* ---------- text column ---------- */
.text{width:100%;margin:80px 0 50px}
.text.flush{margin-top:40px}
.text section{width:100%;margin:0}
.text section > *{width:650px;max-width:calc(100% - 40px);margin-left:auto;margin-right:auto}
.text section h1{padding:0 0 35px;font-family:'Poetsen One',sans-serif;font-weight:400;font-size:60px;line-height:1.1;color:var(--ink)}
.text section h1 span{position:relative;z-index:1;display:inline-block}
.text section h1 span::before{content:'';width:100%;height:20px;background:var(--yellow);position:absolute;left:0;bottom:2px;z-index:-1;border-radius:2px;transform:rotate(-1deg);transition:all .2s}
.text section h1.small{font-size:48px}
.text section h1.small span::before{height:10px}
.text section h2{margin-top:30px;padding:0 0 40px;font-family:'Raleway',sans-serif;font-size:32px;font-weight:700;line-height:1.2;color:var(--ink-dark)}
.text section h3{margin-top:30px;padding:0 0 30px;font-family:'Raleway',sans-serif;font-size:24px;font-weight:700;line-height:1.25;color:var(--ink-dark)}
.text section h5{width:650px;font-size:14px;font-weight:500;line-height:28px;text-transform:uppercase;letter-spacing:1px;color:var(--purple-light);margin:10px auto 20px}
.text section p{padding:0 0 30px;font-size:17px;line-height:34px;color:var(--ink)}
.text section p strong{font-weight:500;color:var(--ink-dark)}
.text section p a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.text section p a:hover{color:var(--purple)}
.text section p a.button{text-decoration:none;color:var(--ink)}
.text section p a.button:hover{color:var(--purple-light)}
.text section p.lead{font-size:20px;line-height:40px;color:var(--ink-dark)}
.text section p.lead.lrg{font-size:22px;line-height:46px}
.text section p.lead.xl{font-family:'Poetsen One',sans-serif;font-weight:400;font-size:52px;line-height:60px;color:var(--ink);text-align:center;width:850px}
.text section p.lead.xl .lead-emoji{display:inline-block;transition:transform .2s}
.text section p.lead.xl .lead-emoji:hover{transform:scale(1.3) rotate(-8deg)}
.text section p.caption{color:var(--caption);font-size:14px;line-height:22px;padding-bottom:40px}
.text section a.loud{font-weight:500;color:var(--ink-dark);text-decoration:underline;text-decoration-color:var(--ink-soft);text-underline-offset:3px;text-decoration-thickness:1px;position:relative;z-index:1;transition:text-decoration-color .2s}
.text section a.loud:hover{text-decoration-color:currentColor}
.text section a.loud::before{content:'';width:100%;height:4px;background:var(--yellow);position:absolute;bottom:0;left:0;z-index:-1;transition:all .2s}
.text section a.loud.green::before{background:var(--green)}
.text section a.loud.purple::before{background:var(--lilac)}
.text section a.loud.pink::before{background:var(--pink)}
.text section a.loud:hover::before{height:10px;bottom:-2px}
.text section ul.plain{font-size:17px;line-height:34px;padding:0 0 30px 22px;list-style:disc}
.text section ul.plain li{margin-bottom:6px}
.text section ul.plain strong{font-weight:500;color:var(--ink-dark)}
.text section .btn-group{display:flex;align-items:center;justify-content:center;padding:30px 0 0}
a.button{display:inline-flex;align-items:center;justify-content:center;background:var(--paper);color:var(--ink);padding:15px 25px;border:2px solid var(--purple);border-radius:30px;font-size:16px;font-weight:500;line-height:1.2;text-decoration:none;transition:all .2s}
a.button:hover{color:var(--purple-light);text-decoration:none}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) a.button{background:transparent;color:#EEE}:root:not([data-theme="light"]) a.button:hover{color:#3EC70B;border-color:#3EC70B}}
:root[data-theme="dark"] a.button{background:transparent;color:#EEE}
:root[data-theme="dark"] a.button:hover{color:#3EC70B;border-color:#3EC70B}

/* wide figures on home */
.text section figure.lowkey-wide{width:850px;margin:0 auto 20px;overflow:hidden;border-radius:6px;background:var(--thumb-clay);transition:transform .25s ease-out}
.text section figure.hella-round{border-radius:20px}
.text section figure.lowkey-wide img{width:100%;height:auto}
.text section a.fig{display:block;width:850px;max-width:calc(100% - 40px);margin:0 auto;text-decoration:none}
.text section a.fig:hover figure{transform:translateY(-4px)}
.text section a.fig .figcap{display:flex;justify-content:space-between;gap:20px;padding:10px 6px 40px;font-size:15px;line-height:24px;color:var(--ink-mid)}
.text section a.fig .figcap strong{font-family:'Raleway',sans-serif;font-weight:700;color:var(--ink-dark)}
.text section a.fig .figcap span{white-space:nowrap;color:var(--ink-dark);position:relative;z-index:0;align-self:flex-start}
.text section a.fig .figcap span::before{content:'';width:100%;height:4px;background:var(--yellow);position:absolute;left:0;bottom:2px;z-index:-1;transition:all .2s}
.text section a.fig:hover .figcap span::before{height:8px}
.space-up-s{margin-top:20px!important}

/* ---------- promo card (Buzz's "ai-promo") ---------- */
.text section .ai-promo{display:flex;flex-direction:column;align-items:center;margin:0 auto 30px;width:60%;max-width:1205px;min-width:800px;background:var(--promo);border-radius:20px;text-decoration:none;position:relative}
.text section .ai-promo.highlight{margin-top:60px}
.text section .ai-promo .columns{display:flex;flex-direction:row;align-items:center;width:100%;padding:20px 50px 20px 20px;gap:50px;margin:0}
.text section .ai-promo .feature{display:flex;flex-direction:column;justify-content:center;gap:14px;border-radius:8px;min-width:460px;flex-grow:1;height:430px;background:#fff;overflow:hidden;padding:0 50px 0 60px}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .text section .ai-promo .feature{background:#231955}}
:root[data-theme="dark"] .text section .ai-promo .feature{background:#231955}
.text section .ai-promo .feature .thinking{display:flex;align-items:center;gap:12px}
.text section .ai-promo .feature .thinking-dot{flex:0 0 auto;width:18px;height:18px;border-radius:50%;background:var(--ink);animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.6);opacity:.5}}
.text section .ai-promo .feature .thinking-text{font-size:18px;line-height:24px;color:var(--ink-soft)}
.text section .ai-promo .feature .lines{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.text section .ai-promo .feature .line{height:12px;border-radius:6px;background:var(--rule);width:70%}
.text section .ai-promo .feature .line.short{width:45%}
.text section .ai-promo .feature .line.flag{width:58%;background:var(--yellow-soft)}
.text section .ai-promo .feature .line.good{width:36%;background:var(--green)}
.text section .ai-promo p{width:100%;max-width:400px;margin:0;padding:0;font-size:16px;line-height:28px;color:var(--ink)}
.text section .ai-promo p.title{font-family:'Raleway',sans-serif;font-size:28px;font-weight:700;line-height:32px;color:var(--ink);margin-bottom:20px}
.text section .ai-promo p.link{font-family:'Raleway',sans-serif;font-size:17px;font-weight:700;color:var(--ink);margin-top:20px}
.text section .ai-promo p.link span{white-space:nowrap;position:relative;z-index:0}
.text section .ai-promo p.link span::before{content:'';width:100%;height:4px;background:var(--yellow);position:absolute;left:0;bottom:2px;z-index:-1;transition:all .2s}
.text section .ai-promo:hover p.title{text-decoration:underline;text-decoration-color:var(--yellow)}
.text section .ai-promo:hover p.link span::before{height:6px}
.text section .ai-promo:hover{text-decoration:none}
.text section .ai-promo .cursor{position:absolute;will-change:transform;font-size:18px;font-weight:500;display:flex;padding:12px 15px;border-radius:50px;line-height:1.2;width:auto;margin:0}
.text section .ai-promo .cursor::before{content:'';position:absolute;top:-26px;left:-16px;width:26px;height:30px;background:currentColor;clip-path:polygon(0 0,100% 55%,55% 62%,72% 100%,58% 100%,42% 66%,0 92%)}
.text section .ai-promo .cursor.me{left:-40px;top:30%;color:var(--mint-ink);background:var(--mint)}
.text section .ai-promo .cursor.me::before{color:var(--mint)}
.text section .ai-promo .cursor.left::before{transform:rotate(90deg);left:auto;right:-24px;top:-18px}
.text section .ai-promo .cursor.claude{left:50%;bottom:-20px;background:var(--claude);color:#fff}
.text section .ai-promo .cursor.claude::before{color:var(--claude)}
@keyframes drift{0%,100%{transform:translate(0,0)}50%{transform:translate(10px,-8px)}}

/* ---------- showcase (work grid) ---------- */
.showcase{width:100%;margin:0 0 50px}
.showcase section{width:100%;margin:0 auto}
.showcase .studies{width:950px;max-width:calc(100% - 40px);margin:50px auto 0}
.showcase .studies.flush{margin-top:-40px}
.showcase .studies .case-study{width:100%}
.showcase .studies .case-study a{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;text-decoration:none}
.showcase .studies .case-study a .thumb{width:100%}
.showcase .studies .case-study a .thumb .img{display:block;width:100%;border-radius:6px;overflow:hidden;padding:26px 26px 0;background:var(--thumb-clay)}
.showcase .studies .case-study a .thumb .img img{width:100%;height:auto;border-radius:6px 6px 0 0;box-shadow:0 10px 30px -12px rgba(20,36,60,.35)}
.showcase .studies .case-study a .thumb .img.transparent{background:transparent!important;padding:0}
.showcase .studies .case-study a .thumb .img.transparent img{border-radius:10px;box-shadow:none}
.showcase .studies .case-study a .description p{width:100%;margin:0;font-size:16px;line-height:28px;color:var(--ink-mid)}
.showcase .studies .case-study a .description p.title{padding-right:100px;font-family:'Raleway',sans-serif;font-size:28px;font-weight:700;line-height:32px;margin-bottom:20px;color:var(--ink-dark)}
.showcase .studies .case-study a .description p.link{margin-top:10px;font-family:'Raleway',sans-serif;font-weight:700;font-size:17px;color:var(--ink-dark)}
.showcase .studies .case-study a .description p.link span{white-space:nowrap;position:relative;z-index:0}
.showcase .studies .case-study a .description p.link span::before{content:'';width:100%;height:4px;background:var(--yellow);position:absolute;left:0;bottom:2px;z-index:-1;transition:all .2s}
.showcase .studies .case-study a .description p.badge{display:inline-block;width:auto;background:#f55347;border-radius:4px;text-transform:uppercase;color:#fff;line-height:20px;font-size:12px;font-weight:500;letter-spacing:1px;padding:4px 6px 2px;margin:0 0 20px}
.showcase .studies .case-study.two-col{display:flex;flex-direction:row;gap:20px}
.showcase .studies .case-study.two-col a.column{display:flex;flex-direction:column;justify-content:flex-start;flex:1 1 0;padding:0;margin:0}
.showcase .studies .case-study.two-col a.column .description{margin:50px 0 0;width:100%}
.showcase .studies .case-study.two-col a.column .description p{padding:0 50px}
.showcase .studies .case-study.two-col a.column .description p.title{padding-right:50px}
.showcase .studies .case-study.fullwidth a{flex-direction:column}
.showcase .studies .case-study.fullwidth.overlap a .description{background:var(--paper);margin:-80px 0 0;width:450px;max-width:100%;padding:40px;border-radius:10px;position:relative;z-index:1}
.showcase .studies .case-study.space-up{margin-top:65px}
.showcase .studies .case-study.space-down{margin-bottom:80px}
.showcase .studies .case-study a:hover .description p.title{text-decoration:underline}
.showcase .studies .case-study a:hover .description p.link span::before{height:8px}
.showcase .studies .case-study a.yellow .thumb .img{background:var(--thumb-yellow)}
.showcase .studies .case-study a.yellow .description .link span::before{background:var(--yellow-soft)}
.showcase .studies .case-study a.clay .thumb .img{background:var(--thumb-clay)}
.showcase .studies .case-study a.clay .description .link span::before{background:var(--clay)}
.showcase .studies .case-study a.purple .thumb .img{background:var(--thumb-purple)}
.showcase .studies .case-study a.purple .description .link span::before{background:#dab9ee}
.showcase .studies .case-study a.green .thumb .img{background:var(--thumb-green)}
.showcase .studies .case-study a.green .description .link span::before{background:var(--green)}
.showcase .studies .case-study a.blue .thumb .img{background:var(--thumb-blue)}
.showcase .studies .case-study a.blue .description .link span::before{background:var(--blue)}
.showcase .studies .case-study a.pink .thumb .img{background:var(--thumb-pink)}
.showcase .studies .case-study a.pink .description .link span::before{background:var(--pink)}
.showcase .studies .case-study:hover{position:relative}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .showcase .studies .case-study a:hover::after{content:'';position:absolute;left:-10%;top:10%;width:120%;height:80%;background:#210459;z-index:-1;border-radius:20px}}
:root[data-theme="dark"] .showcase .studies .case-study a:hover::after{content:'';position:absolute;left:-10%;top:10%;width:120%;height:80%;background:#210459;z-index:-1;border-radius:20px}

.showcase .blockout{max-width:1400px;margin:60px auto 0;background:var(--blockout);box-shadow:inset 0 0 0 20px var(--blockout-1),inset 0 0 0 40px var(--blockout-2),inset 0 0 0 60px var(--blockout-3);padding:12vh 0;border:20px solid var(--paper);border-radius:30px}
.showcase .blockout h2{width:850px;max-width:100%;margin:0 auto 10px;padding:0 100px;font-family:'Raleway',sans-serif;font-size:32px;font-weight:700;color:var(--ink-dark)}
.showcase .blockout > p{width:850px;max-width:100%;margin:0 auto;padding:0 100px 20px;font-size:16px;line-height:28px;color:var(--ink-mid)}
.showcase section ol.projects{width:850px;max-width:100%;margin:0 auto;padding:0 100px;display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between}
.showcase section ol.projects li{width:50%}
.showcase section ol.projects a{display:block;padding:30px 0 40px;text-decoration:none}
.showcase section ol.projects strong.title{display:block;width:100%;font-family:'Raleway',sans-serif;font-size:20px;font-weight:700;color:var(--ink-dark);margin:0 0 15px}
.showcase section ol.projects strong.title span{position:relative;z-index:0;white-space:nowrap}
.showcase section ol.projects strong.title span::before{content:'';width:100%;height:3px;background:#fff;position:absolute;left:0;bottom:0;z-index:-1;transition:all .2s}
.showcase section ol.projects em{display:block;font-style:normal;font-size:12px;line-height:20px;letter-spacing:1px;text-transform:uppercase;color:var(--ink-soft);margin:-10px 0 8px}
.showcase section ol.projects p{width:85%;font-size:16px;line-height:28px;color:var(--ink-mid)}
.showcase section ol.projects a:hover strong.title span::before{height:10px}
.showcase section ol.projects li a.clay strong.title span::before{background:var(--clay)}
.showcase section ol.projects li a.green strong.title span::before{background:var(--green)}
.showcase section ol.projects li a.purple strong.title span::before{background:#dab9ee}
.showcase section ol.projects li a.pink strong.title span::before{background:var(--pink)}
.showcase section ol.projects li a.blue strong.title span::before{background:var(--blue)}
.showcase section ol.projects li a.grey strong.title span::before{background:#c3cbd5}
.showcase section ol.projects li a.red strong.title span::before{background:var(--red)}
.showcase section ol.projects li a.yellow strong.title span::before{background:var(--yellow-soft)}
.showcase section ol.projects li a.orange strong.title span::before{background:var(--orange)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .showcase section ol.projects strong.title span::before{height:2px;bottom:-4px}}

/* ---------- about: experience ---------- */
.text section ol.timeline{width:650px;padding:0 0 20px}
.text section ol.timeline > li{display:grid;grid-template-columns:140px 1fr;gap:30px;padding:26px 0;border-top:1px solid var(--rule)}
.text section ol.timeline > li:last-child{border-bottom:1px solid var(--rule)}
.text section ol.timeline .when{font-size:13px;line-height:22px;color:var(--ink-soft);padding-top:6px}
.text section ol.timeline .when em{display:block;font-style:normal;color:var(--ink-mid)}
.text section ol.timeline h4{font-family:'Raleway',sans-serif;font-size:20px;font-weight:700;line-height:28px;color:var(--ink-dark);margin:0 0 2px}
.text section ol.timeline h4 span{position:relative;z-index:0;white-space:nowrap}
.text section ol.timeline h4 span::before{content:'';width:100%;height:4px;position:absolute;left:0;bottom:0;z-index:-1;transition:all .2s}
.text section ol.timeline li:hover h4 span::before{height:10px;bottom:-2px}
.text section ol.timeline .y span::before{background:var(--yellow-soft)}
.text section ol.timeline .g span::before{background:var(--green)}
.text section ol.timeline .p span::before{background:#dab9ee}
.text section ol.timeline .k span::before{background:var(--pink)}
.text section ol.timeline .b span::before{background:var(--blue)}
.text section ol.timeline .o span::before{background:var(--orange)}
.text section ol.timeline .c span::before{background:var(--clay)}
.text section ol.timeline .role{font-size:15px;line-height:24px;color:var(--ink-mid);margin:0 0 10px}
.text section ol.timeline ul{list-style:disc;padding-left:18px;font-size:15.5px;line-height:26px;color:var(--ink)}
.text section ol.timeline ul li{display:list-item;padding:0 0 6px;border:0;grid-template-columns:none}
.text section ol.timeline ul li::marker{color:var(--purple-light)}
.text section dl.edu{width:650px;display:grid;grid-template-columns:140px 1fr;gap:10px 30px;padding:0 0 30px;font-size:16px;line-height:26px}
.text section dl.edu dt{color:var(--ink-soft);font-size:13px;padding-top:2px}
.text section dl.edu dd{margin:0;color:var(--ink)}
.text section dl.edu dd strong{font-weight:500;color:var(--ink-dark)}
.text section .stack{width:650px;display:flex;flex-wrap:wrap;gap:8px;padding:0 0 40px}
.text section .stack span{font-size:13px;line-height:20px;padding:6px 12px;border-radius:100px;background:var(--blockout-1);color:var(--ink-dark)}

/* breakout (Say hey) */
.text section .breakout{width:850px;margin:40px auto 0;background:var(--blockout);box-shadow:inset 0 0 0 20px var(--blockout-1),inset 0 0 0 40px var(--blockout-2);border-radius:30px;padding:90px 100px;text-align:center}
.text section .breakout h2{padding-bottom:16px}
.text section .breakout p{padding-bottom:20px}
.text section .breakout p.spacer{padding:10px 0 0}

/* ---------- proposal page blocks ---------- */
.text section .wide{width:850px}
.text section .flow{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;padding:0 0 12px}
.text section .flow .step{border-radius:16px;padding:22px 20px 24px;background:var(--thumb-blue);min-width:0}
.text section .flow .step.human{background:var(--thumb-green)}
.text section .flow .step .n{font-family:'Raleway',sans-serif;font-weight:700;font-size:13px;letter-spacing:1px;color:var(--purple-light);margin:0 0 8px}
.text section .flow .step .when{font-size:12px;line-height:18px;letter-spacing:1px;text-transform:uppercase;color:var(--ink-soft);margin:0 0 8px}
.text section .flow .step h4{font-family:'Raleway',sans-serif;font-size:17px;font-weight:700;line-height:1.3;color:var(--ink-dark);margin:0 0 8px}
.text section .flow .step p{font-size:14.5px;line-height:23px;color:var(--ink);padding:0}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .text section .flow .step{background:#2d2560}:root:not([data-theme="light"]) .text section .flow .step.human{background:#1f3b3a}}
.text section .flow-key{display:flex;gap:22px;font-size:14px;color:var(--ink-mid);padding:0 0 40px}
.text section .flow-key span{display:inline-flex;align-items:center;gap:8px}
.text section .flow-key i{width:12px;height:12px;border-radius:3px;display:inline-block;background:var(--thumb-blue)}
.text section .flow-key i.h{background:var(--thumb-green)}
.text section .why{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 0 40px}
.text section .why > div{border-radius:16px;padding:22px 24px;background:var(--blockout);box-shadow:inset 0 0 0 1px var(--blockout-1)}
.text section .why h4{font-family:'Raleway',sans-serif;font-size:17px;font-weight:700;color:var(--ink-dark);margin:0 0 8px}
.text section .why p{font-size:15px;line-height:25px;padding:0}
.text section table{width:850px;border-collapse:collapse;font-size:14.5px;line-height:23px;margin-bottom:40px}
.text section table th{text-align:left;font-family:'Raleway',sans-serif;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--ink-soft);padding:0 14px 12px 0;border-bottom:2px solid var(--rule);vertical-align:bottom}
.text section table td{padding:14px 14px 14px 0;border-bottom:1px solid var(--rule);vertical-align:top;color:var(--ink)}
.text section table td.ch{font-family:'Raleway',sans-serif;font-weight:700;color:var(--ink-dark);white-space:nowrap}
.text section table td.src{font-size:13px;color:var(--ink-soft);white-space:nowrap}
.text section table td.flag{font-size:13.5px;line-height:22px;color:var(--ink-mid)}
.text section table td.v.ok{color:#269328;font-weight:500}
.text section table td.v.no{color:#d0335f;font-weight:500}
.text section table td.v.pend{color:var(--ink-soft)}
.text section .tablewrap{width:850px;overflow-x:auto}
.text section .brief{width:850px;border-radius:20px;background:var(--promo);padding:14px;margin-bottom:40px}
.text section .brief .brief-head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px 22px 18px;font-size:13px;color:var(--ink-mid)}
.text section .brief .brief-head .t{font-family:'Raleway',sans-serif;font-size:18px;font-weight:700;color:var(--ink-dark)}
.text section .brief .brief-sec{background:#fff;border-radius:12px;padding:18px 22px;margin-bottom:10px}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .text section .brief .brief-sec{background:#231955}}
.text section .brief .label{font-family:'Raleway',sans-serif;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--purple-light);margin:0 0 10px}
.text section .brief .brow{display:grid;grid-template-columns:96px 1fr;gap:16px;padding:12px 0;border-top:1px solid var(--rule);font-size:15px;line-height:25px}
.text section .brief .brow:first-of-type{border-top:0;padding-top:0}
.text section .brief .brow .c{font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--ink-soft);padding-top:4px}
.text section .brief .brow b{font-weight:500;color:var(--ink-dark)}
.text section .brief .brow .act{display:block;color:var(--ink-mid)}
.text section .brief .brow .act::before{content:'→ ';color:var(--purple-light)}
.text section .brief .brow .dec{display:inline-block;margin-top:4px;font-size:12px;letter-spacing:.5px;padding:2px 10px;border-radius:100px;background:var(--yellow-soft);color:#3b3100}
.text section .brief .brow .dec.none{background:var(--rule);color:var(--ink-mid)}
.text section .brief .chip{display:inline-block;font-size:11px;letter-spacing:1px;text-transform:uppercase;padding:2px 9px;border-radius:100px;margin-right:6px;font-weight:500}
.text section .brief .chip.crit{background:#fdd9e2;color:#a3003f}
.text section .brief .chip.high{background:var(--orange);color:#5a3200}
.text section .brief .chip.med{background:var(--blue);color:#0b3a5a}
.text section .brief .chip.test{background:#dab9ee;color:#36006b}
.text section .brief .chip.ok{background:var(--green);color:#066607}
.text section .brief .brief-ask{padding:16px 22px 8px}
.text section .brief .brief-ask p{font-size:15px;line-height:25px;padding:0}
.text section .weeks{width:650px;padding:0 0 30px}
.text section .weeks li{display:grid;grid-template-columns:90px 1fr;gap:20px;padding:14px 0;border-top:1px solid var(--rule);font-size:16px;line-height:27px}
.text section .weeks li span{font-size:13px;color:var(--ink-soft);padding-top:3px}
.text section .weeks li b{font-weight:500;color:var(--ink-dark)}
.text section .three{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 0 40px}
.text section .three > div{border-radius:16px;padding:22px 24px;background:var(--thumb-clay)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .text section .three > div{background:#2d2560}}
.text section .three .k{font-family:'Raleway',sans-serif;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--purple-light);margin:0 0 8px}
.text section .three h4{font-family:'Raleway',sans-serif;font-size:17px;font-weight:700;color:var(--ink-dark);margin:0 0 8px}
.text section .three p{font-size:15px;line-height:25px;padding:0}
.text section hr{border:none;height:6px;width:200px;margin:40px auto 60px;background:var(--purple);border-radius:3px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3 T30 3 T40 3' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") repeat-x;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3 T30 3 T40 3' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") repeat-x;-webkit-mask-size:auto 100%;mask-size:auto 100%}
.text section hr.yellow{background:var(--yellow)}

/* ---------- footer ---------- */
footer.site{margin:0 auto;width:800px;max-width:calc(100% - 40px)}
footer.site .block{display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:36px;row-gap:24px;width:100%;margin:100px 0}
footer.site ol{width:auto;flex:0 0 auto;min-width:88px}
footer.site ol.large{flex:0 1 270px;max-width:270px;margin-right:auto}
footer.site ol li{margin:0 0 10px;font-size:14px;line-height:24px}
footer.site ol li a{display:block;color:var(--ink)}
footer.site ol li a:hover{color:var(--purple);text-decoration:underline}
footer.site ol li p{font-size:14px;line-height:24px;color:var(--ink)}
footer.site ol li p em{color:var(--ink-soft)}
footer.site h5{width:92px;height:46px;margin:-8px 0 6px;overflow:hidden;text-indent:-1000px;background:var(--ink);-webkit-mask:url("img/logo-emily.png") left center/contain no-repeat;mask:url("img/logo-emily.png") left center/contain no-repeat;transition:background .2s}
footer.site ol li a:hover h5{background:var(--purple)}
footer.site h6{font-size:13px;font-weight:500;line-height:22px;color:var(--ink-mid);margin:0 0 10px;height:32px;padding-top:10px}

/* ---------- responsive ---------- */
@media only screen and (max-width: 1240px){
  .text section .ai-promo{width:calc(100% - 40px);min-width:0}
}
@media only screen and (max-width: 980px){
  header.site .block{width:80%}
  header.site a.menuIcon.open{right:10%}
  header.site .siteNav ol{align-items:stretch}
  header.site .siteNav ol li a{justify-content:center;font-size:40px;padding:25px 0}
  header.site .siteNav ol li a span{font-size:30px;margin:0 12px 0 0}
  .text section > *,.text section p.lead.xl,.text section .wide,.text section table,.text section .tablewrap,.text section .brief,.text section .breakout,.text section ol.timeline,.text section dl.edu,.text section .stack,.text section .weeks,.text section h5,.text section figure.lowkey-wide,.text section a.fig{width:80%;max-width:80%}
  .text section p.lead.xl{font-size:44px;line-height:52px}
  .text section .ai-promo{width:80%}
  .text section .ai-promo .columns{flex-direction:column;padding:20px;gap:30px}
  .text section .ai-promo .feature{min-width:0;width:100%;height:280px;padding:0 30px}
  .text section .ai-promo .cursor.me{left:-10px;top:12%}
  .text section .ai-promo .cursor.claude{left:60%;bottom:-16px}
  .text section .flow{grid-template-columns:1fr 1fr}
  .text section .breakout{padding:48px 40px;border-radius:20px;box-shadow:inset 0 0 0 10px var(--blockout-1),inset 0 0 0 20px var(--blockout-2)}
  .showcase .studies{width:80%}
  .showcase .blockout{border:none;border-radius:10px;box-shadow:none;padding:10%;width:100%}
  .showcase .blockout h2,.showcase .blockout > p,.showcase section ol.projects{width:100%;padding-left:0;padding-right:0}
  footer.site{width:80%}
  footer.site .block{margin:50px 0}
  footer.site .block{column-gap:0}
  footer.site ol{width:50%;flex:0 0 50%;margin-bottom:20px}
  footer.site ol.large{flex:0 0 100%;max-width:100%;margin-right:0}
}
@media only screen and (max-width: 600px){
  header.site .block{margin-top:60px}
  header.site a.menuIcon{position:fixed;top:56px;right:24px}
  header.site a.menuIcon.open{top:56px;right:24px}
  .text{margin-top:60px}
  .text.flush{margin-top:-10px}
  .text section > *,.text section p.lead.xl,.text section .wide,.text section table,.text section .tablewrap,.text section .brief,.text section .breakout,.text section ol.timeline,.text section dl.edu,.text section .stack,.text section .weeks,.text section h5,.text section figure.lowkey-wide,.text section a.fig,.text section .ai-promo{width:calc(100% - 32px);max-width:calc(100% - 32px)}
  .text section p.lead.xl{font-size:32px;line-height:40px}
  .text section h1{font-size:44px}
  .text section h2{font-size:26px}
  .text section p{font-size:16px;line-height:29px}
  .text section .flow{grid-template-columns:1fr}
  .text section .why,.text section .three{grid-template-columns:1fr}
  .text section table{width:700px}
  .text section .brief .brow{grid-template-columns:1fr;gap:4px}
  .text section ol.timeline > li{grid-template-columns:1fr;gap:6px}
  .text section dl.edu{grid-template-columns:1fr;gap:2px 0}
  .text section dl.edu dd{margin-bottom:12px}
  .text section .weeks li{grid-template-columns:1fr;gap:2px}
  .text section .ai-promo .feature{height:220px;padding:0 24px}
  .text section .ai-promo .feature .thinking-text{font-size:15px}
  .showcase,.text{margin-top:60px}
  .showcase .studies{width:calc(100% - 32px);max-width:calc(100% - 32px)}
  .showcase .studies .case-study.two-col{flex-direction:column;gap:50px}
  .showcase .studies .case-study.two-col a.column .description p{padding:0}
  .showcase .studies .case-study a .description p.title{padding-right:0!important;font-size:24px!important;line-height:30px!important;margin-bottom:10px!important}
  .showcase section ol.projects li{width:100%}
  .showcase section ol.projects li a{padding:20px 0}
  footer.site{width:calc(100% - 32px)}
  footer.site ol.large p{display:none}
}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}

/* about photo (Buzz's "oversize hella-round" figure) */
.text section figure.photo{width:750px;max-width:calc(100% - 40px);margin:20px auto 12px;overflow:hidden;border-radius:20px;background:var(--thumb-clay)}
.text section figure.photo img{width:100%;height:auto;display:block}
@media only screen and (max-width: 980px){.text section figure.photo{width:80%;max-width:80%}}
@media only screen and (max-width: 600px){.text section figure.photo{width:calc(100% - 32px);max-width:calc(100% - 32px)}}

/* Kitidy case study additions */
.text section .flow.four{grid-template-columns:repeat(4,1fr)}
.text section table.facts{margin-bottom:30px}
.text section table.facts td{font-size:16px;line-height:26px;padding:14px 18px 14px 0}
.text section table.facts td.ch{font-family:'Poetsen One',sans-serif;font-weight:400;font-size:30px;line-height:30px;width:130px;color:var(--purple);font-variant-numeric:tabular-nums}
.text section .figcap + h2,.text section a.fig + h2{margin-top:10px}
@media only screen and (max-width: 980px){.text section .flow.four{grid-template-columns:1fr 1fr}}
@media only screen and (max-width: 600px){.text section .flow.four{grid-template-columns:1fr}.text section table.facts{width:100%}.text section table.facts td.ch{width:90px;font-size:24px}}

/* hero motion (lead.js) */
.home-lead-line{display:block;will-change:transform}
.text section p.lead .lead-emoji{display:inline-block;will-change:transform}
.lead-xl-glitch-click{cursor:pointer;user-select:none;-webkit-user-select:none}

.keep{white-space:nowrap}

/* ---------- home: sections and brand covers ---------- */
.showcase.home{margin-top:10px}
.showcase.home .sect-head{width:650px;max-width:calc(100% - 40px);margin:70px auto 0}
.showcase.home .sect-head .eyebrow{font-size:13px;font-weight:500;letter-spacing:1.5px;text-transform:uppercase;color:var(--purple-light);margin:0 0 10px}
.showcase.home .sect-head h2{font-family:'Poetsen One',sans-serif;font-weight:400;font-size:40px;line-height:1.15;color:var(--ink);margin:0 0 22px}
.showcase.home .sect-head h2 span{position:relative;z-index:0}
.showcase.home .sect-head p{font-size:17px;line-height:32px;color:var(--ink);margin:0 0 14px}
.showcase.home .studies{margin-top:36px}
.showcase.home .studies .case-study.two-col a.column .description p{padding:0 30px}
.showcase.home .studies .case-study.two-col a.column .description p.title{font-size:24px;line-height:30px;padding-right:30px}
.showcase.home .btn-group{display:flex;justify-content:center;padding:70px 0 0}
.cover{position:relative;aspect-ratio:3/2;width:100%;border-radius:10px;overflow:hidden;background:var(--cov-bg);color:var(--cov-fg);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.showcase .studies .case-study a .thumb .img .cover .cover-logo,.cover .cover-logo{position:absolute;top:8%;left:7%;height:14%;width:auto;max-width:46%;object-fit:contain;object-position:left center}
.cover .cover-tag{position:absolute;left:7%;top:27%;font-size:12px;font-weight:500;letter-spacing:1px;text-transform:uppercase;padding:6px 11px;border-radius:100px;background:rgba(127,127,127,.18);color:var(--cov-fg);backdrop-filter:blur(4px);white-space:nowrap}
.showcase .studies .case-study a .thumb .img .cover .cover-shot,.cover .cover-shot{position:absolute;right:-5%;bottom:-7%;width:58%;aspect-ratio:4/3;object-fit:cover;object-position:left top;border-radius:8px;box-shadow:0 18px 40px -14px rgba(0,0,0,.55);transform:rotate(-3deg);transition:transform .3s ease-out;background:#fff}
.showcase .studies .case-study a:hover .cover .cover-shot{transform:rotate(-1deg) translateY(-6px)}
@media only screen and (max-width: 980px){.showcase.home .sect-head{width:80%;max-width:80%}}
@media only screen and (max-width: 600px){.showcase.home .sect-head{width:calc(100% - 32px);max-width:calc(100% - 32px);margin-top:50px}.showcase.home .sect-head h2{font-size:32px}.showcase.home .studies .case-study.two-col a.column .description p{padding:0}.cover .cover-tag{font-size:10.5px}}

/* About: "see it" links inside the What I Actually Do boxes */
.text section .three p.more{margin-top:14px}
.text section .three p.more a{font-family:'Raleway',sans-serif;font-weight:700;font-size:14.5px;color:var(--ink-dark);text-decoration:none;background-image:linear-gradient(var(--yellow),var(--yellow));background-repeat:no-repeat;background-size:100% 4px;background-position:0 calc(100% - 1px);-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background-size .2s}
.text section .three p.more a::before{content:none}
.text section .three p.more a:hover{background-size:100% 9px}

/* About timeline: company names link to their sites */
.text section ol.timeline h4 a{color:inherit;text-decoration:none}
.text section ol.timeline h4 a .ext{font-style:normal;font-size:13px;font-weight:700;margin-left:4px;color:var(--ink-soft);position:relative;top:-2px}
.text section ol.timeline h4 a:hover .ext{color:var(--purple)}

/* proposal: three role boxes in one row */
.text section .three.trio{grid-template-columns:repeat(3,1fr)}
@media only screen and (max-width: 980px){.text section .three.trio{grid-template-columns:1fr 1fr}}
@media only screen and (max-width: 600px){.text section .three.trio{grid-template-columns:1fr}}

/* wide tables on phones: say it scrolls, and show it */
@media only screen and (max-width: 600px){
  .text section .tablewrap{
    background:
      linear-gradient(90deg,var(--paper) 30%,rgba(255,255,255,0)) left/40px 100% no-repeat,
      linear-gradient(90deg,rgba(255,255,255,0),var(--paper) 70%) right/40px 100% no-repeat,
      radial-gradient(farthest-side at 0 50%,rgba(20,36,60,.22),transparent) left/16px 100% no-repeat,
      radial-gradient(farthest-side at 100% 50%,rgba(20,36,60,.22),transparent) right/16px 100% no-repeat;
    background-attachment:local,local,scroll,scroll;
  }
  .text section .tablewrap::before{content:'Swipe sideways to see the whole table \2192';display:block;position:sticky;left:0;font-size:12px;letter-spacing:.3px;color:var(--ink-soft);padding:0 0 10px}
}
